OrderableReplicationInstance.fromJson constructor
OrderableReplicationInstance.fromJson(
- Map<String, dynamic> json
)
Implementation
factory OrderableReplicationInstance.fromJson(Map<String, dynamic> json) {
return OrderableReplicationInstance(
availabilityZones: (json['AvailabilityZones'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
defaultAllocatedStorage: json['DefaultAllocatedStorage'] as int?,
engineVersion: json['EngineVersion'] as String?,
includedAllocatedStorage: json['IncludedAllocatedStorage'] as int?,
maxAllocatedStorage: json['MaxAllocatedStorage'] as int?,
minAllocatedStorage: json['MinAllocatedStorage'] as int?,
releaseStatus:
(json['ReleaseStatus'] as String?)?.toReleaseStatusValues(),
replicationInstanceClass: json['ReplicationInstanceClass'] as String?,
storageType: json['StorageType'] as String?,
);
}