|
21 | 21 | * @property boolean $online
|
22 | 22 | * @property boolean $agentRunning
|
23 | 23 | * @property boolean $backupEnabled
|
| 24 | + * @property boolean $backupVmEnabled |
| 25 | + * @property boolean $backupAgentEnabled |
24 | 26 | * @property boolean $isEncrypted
|
25 | 27 | * @property string $hostGroupId
|
26 | 28 | * @property string $volumeGroupId
|
|
30 | 32 | class Instance extends Entity
|
31 | 33 | {
|
32 | 34 | protected $dates = ['createdAt', 'updatedAt'];
|
| 35 | + |
| 36 | + public static $entityMap = [ |
| 37 | + 'id' => 'id', |
| 38 | + 'name' => 'name', |
| 39 | + 'vpc_id' => 'vpcId', |
| 40 | + 'availability_zone_id' => 'availabilityZoneId', |
| 41 | + 'image_id' => 'imageId', |
| 42 | + 'platform' => 'platform', |
| 43 | + 'vcpu_cores' => 'vcpuCores', |
| 44 | + 'vcpu_sockets' => 'vcpuSockets', |
| 45 | + 'vcpu_cores_per_socket' => 'vcpuCoresPerSocket', |
| 46 | + 'ram_capacity' => 'ramCapacity', |
| 47 | + 'volume_capacity' => 'volumeCapacity', |
| 48 | + 'locked' => 'locked', |
| 49 | + 'status' => 'status', |
| 50 | + 'online' => 'online', |
| 51 | + 'agent_running' => 'agentRunning', |
| 52 | + 'backup_enabled' => 'backupEnabled', |
| 53 | + 'backup_vm_enabled' => 'backupVmEnabled', |
| 54 | + 'backup_agent_enabled' => 'backupAgentEnabled', |
| 55 | + 'backup_gateway_id' => 'backupGatewayId', |
| 56 | + 'is_encrypted' => 'isEncrypted', |
| 57 | + 'host_group_id' => 'hostGroupId', |
| 58 | + 'volume_group_id' => 'volumeGroupId', |
| 59 | + 'created_at' => 'createdAt', |
| 60 | + 'updated_at' => 'updatedAt', |
| 61 | + ]; |
33 | 62 | }
|
0 commit comments