Skip to content

Commit 4de1aba

Browse files
rawvegTim Green
and
Tim Green
authored
Update to surface resource tiers min & max ram and cpu (#504)
* Removed duplicate method * Updated resource tier entity EC-252 php-sdk: add image metadata get endpoints * Updated properties to surface parent cpu/ram EC-437 Update SDK to surface resource tiers min/max ram and cpu * Updated properties to surface parent cpu/ram EC-437 Update SDK to surface resource tiers min/max ram and cpu * Updated reference to object type EC-437 Update SDK to surface resource tiers min/max ram and cpu Co-authored-by: Tim Green <tim.green@ukfast.co.uk>
1 parent 6bff2a1 commit 4de1aba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/eCloud/Entities/ResourceTier.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
use UKFast\SDK\Entity;
66

77
/**
8-
* @property int $id
8+
* @property string $id
99
* @property string $name
1010
* @property string $availabilityZoneId
11+
* @property object $cpu
12+
* @property object $ram
1113
* @property string $createdAt
1214
* @property string $updatedAt
1315
*/
@@ -19,6 +21,8 @@ class ResourceTier extends Entity
1921
'id' => 'id',
2022
'name' => 'name',
2123
'availability_zone_id' => 'availabilityZoneId',
24+
'cpu' => 'cpu',
25+
'ram' => 'ram',
2226
'created_at' => 'createdAt',
2327
'updated_at' => 'updatedAt',
2428
];

0 commit comments

Comments
 (0)