FutureReservationStoragePoolProperties.fromJson constructor
FutureReservationStoragePoolProperties.fromJson(
- Object? j
Implementation
factory FutureReservationStoragePoolProperties.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return FutureReservationStoragePoolProperties(
requestedExapoolProvisionedCapacityGb:
switch (json['requestedExapoolProvisionedCapacityGb']) {
null => null,
Object $1 => StoragePoolExapoolProvisionedCapacityGb.fromJson($1),
},
requestedStoragePoolProvisionedCapacity:
switch (json['requestedStoragePoolProvisionedCapacity']) {
null => null,
Object $1 =>
FutureReservationStoragePoolProvisionedCapacity.fromJson($1),
},
storagePoolType: switch (json['storagePoolType']) {
null => null,
Object $1 => decodeString($1),
},
);
}