StoragePoolResourceStatus.fromJson constructor
StoragePoolResourceStatus.fromJson(
- Object? j
Implementation
factory StoragePoolResourceStatus.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return StoragePoolResourceStatus(
diskCount: switch (json['diskCount']) {
null => null,
Object $1 => decodeInt64($1),
},
exapoolMaxReadIops: switch (json['exapoolMaxReadIops']) {
null => null,
Object $1 => decodeInt64($1),
},
exapoolMaxReadThroughput: switch (json['exapoolMaxReadThroughput']) {
null => null,
Object $1 => decodeInt64($1),
},
exapoolMaxWriteIops: switch (json['exapoolMaxWriteIops']) {
null => null,
Object $1 => decodeInt64($1),
},
exapoolMaxWriteThroughput: switch (json['exapoolMaxWriteThroughput']) {
null => null,
Object $1 => decodeInt64($1),
},
lastResizeTimestamp: switch (json['lastResizeTimestamp']) {
null => null,
Object $1 => decodeString($1),
},
maxTotalProvisionedDiskCapacityGb:
switch (json['maxTotalProvisionedDiskCapacityGb']) {
null => null,
Object $1 => decodeInt64($1),
},
poolUsedCapacityBytes: switch (json['poolUsedCapacityBytes']) {
null => null,
Object $1 => decodeInt64($1),
},
poolUsedIops: switch (json['poolUsedIops']) {
null => null,
Object $1 => decodeInt64($1),
},
poolUsedThroughput: switch (json['poolUsedThroughput']) {
null => null,
Object $1 => decodeInt64($1),
},
poolUserWrittenBytes: switch (json['poolUserWrittenBytes']) {
null => null,
Object $1 => decodeInt64($1),
},
totalProvisionedDiskCapacityGb:
switch (json['totalProvisionedDiskCapacityGb']) {
null => null,
Object $1 => decodeInt64($1),
},
totalProvisionedDiskIops: switch (json['totalProvisionedDiskIops']) {
null => null,
Object $1 => decodeInt64($1),
},
totalProvisionedDiskThroughput:
switch (json['totalProvisionedDiskThroughput']) {
null => null,
Object $1 => decodeInt64($1),
},
);
}