AwsRdsDbSnapshotDetails.fromJson constructor
AwsRdsDbSnapshotDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsRdsDbSnapshotDetails.fromJson(Map<String, dynamic> json) {
return AwsRdsDbSnapshotDetails(
allocatedStorage: json['AllocatedStorage'] as int?,
availabilityZone: json['AvailabilityZone'] as String?,
dbInstanceIdentifier: json['DbInstanceIdentifier'] as String?,
dbSnapshotIdentifier: json['DbSnapshotIdentifier'] as String?,
dbiResourceId: json['DbiResourceId'] as String?,
encrypted: json['Encrypted'] as bool?,
engine: json['Engine'] as String?,
engineVersion: json['EngineVersion'] as String?,
iamDatabaseAuthenticationEnabled:
json['IamDatabaseAuthenticationEnabled'] as bool?,
instanceCreateTime: json['InstanceCreateTime'] as String?,
iops: json['Iops'] as int?,
kmsKeyId: json['KmsKeyId'] as String?,
licenseModel: json['LicenseModel'] as String?,
masterUsername: json['MasterUsername'] as String?,
optionGroupName: json['OptionGroupName'] as String?,
percentProgress: json['PercentProgress'] as int?,
port: json['Port'] as int?,
processorFeatures: (json['ProcessorFeatures'] as List?)
?.whereNotNull()
.map((e) =>
AwsRdsDbProcessorFeature.fromJson(e as Map<String, dynamic>))
.toList(),
snapshotCreateTime: json['SnapshotCreateTime'] as String?,
snapshotType: json['SnapshotType'] as String?,
sourceDbSnapshotIdentifier: json['SourceDbSnapshotIdentifier'] as String?,
sourceRegion: json['SourceRegion'] as String?,
status: json['Status'] as String?,
storageType: json['StorageType'] as String?,
tdeCredentialArn: json['TdeCredentialArn'] as String?,
timezone: json['Timezone'] as String?,
vpcId: json['VpcId'] as String?,
);
}