| 1 | <?php declare(strict_types=1); |
||
| 15 | class Credential extends OperatorResource implements Creatable, Updateable, Retrievable, Listable, Deletable |
||
| 16 | { |
||
| 17 | /** @var string */ |
||
| 18 | public $blob; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | public $id; |
||
| 22 | |||
| 23 | /** @var array */ |
||
| 24 | public $links; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | public $projectId; |
||
| 28 | |||
| 29 | /** @var string */ |
||
| 30 | public $type; |
||
| 31 | |||
| 32 | /** @var string */ |
||
| 33 | public $userId; |
||
| 34 | |||
| 35 | protected $aliases = [ |
||
| 36 | 'project_id' => 'projectId', |
||
| 37 | 'user_id' => 'userId', |
||
| 38 | ]; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritDoc} |
||
| 42 | */ |
||
| 43 | 1 | public function create(array $data): Creatable |
|
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritDoc} |
||
| 51 | */ |
||
| 52 | 1 | public function retrieve() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritDoc} |
||
| 60 | */ |
||
| 61 | 1 | public function update() |
|
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritDoc} |
||
| 69 | */ |
||
| 70 | 1 | public function delete() |
|
| 74 | } |
||
| 75 |