| 1 | <?php declare(strict_types=1); |
||
| 14 | class VolumeType extends OperatorResource implements Listable, Creatable, Updateable, Deletable |
||
| 15 | { |
||
| 16 | /** @var string */ |
||
| 17 | public $id; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | public $name; |
||
| 21 | |||
| 22 | protected $resourceKey = 'volume_type'; |
||
| 23 | protected $resourcesKey = 'volume_types'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param array $userOptions {@see \OpenStack\BlockStorage\v2\Api::postTypes} |
||
| 27 | * |
||
| 28 | * @return Creatable |
||
| 29 | */ |
||
| 30 | 1 | public function create(array $userOptions): Creatable |
|
| 35 | |||
| 36 | 1 | public function update() |
|
| 40 | |||
| 41 | 1 | public function delete() |
|
| 45 | } |
||
| 46 |