We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd63984 commit a9c0719Copy full SHA for a9c0719
src/Compute/v2/Models/Fault.php
@@ -0,0 +1,23 @@
1
+<?php declare(strict_types=1);
2
+
3
+namespace OpenStack\Compute\v2\Models;
4
5
+use OpenStack\Common\Resource\AbstractResource;
6
7
+/**
8
+ * Represents a Compute v2 Fault.
9
+ */
10
+class Fault extends AbstractResource
11
+{
12
+ /** @var int **/
13
+ public $code;
14
15
+ /** @var \DateTimeImmutable **/
16
+ public $created;
17
18
+ /** @var string **/
19
+ public $message;
20
21
+ /** @var string */
22
+ public $details;
23
+}
src/Compute/v2/Models/Server.php
@@ -91,7 +91,7 @@ class Server extends OperatorResource implements
91
/** @var string */
92
public $vmState;
93
94
- /** @var array */
+ /** @var Fault */
95
public $fault;
96
97
protected $resourceKey = 'server';
0 commit comments