GetTableResult.fromMap constructor
GetTableResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetTableResult.fromMap(Map<String, dynamic> map) {
return GetTableResult(
arn: (() { final guardedValue = map['arn']; if (guardedValue == null) return null; return guardedValue as String; })(),
creationTime: (() { final guardedValue = map['creationTime']; if (guardedValue == null) return null; return guardedValue as String; })(),
databaseName: (() { final guardedValue = map['databaseName']; if (guardedValue == null) return null; return guardedValue as String; })(),
lastUpdatedTime: (() { final guardedValue = map['lastUpdatedTime']; if (guardedValue == null) return null; return guardedValue as String; })(),
magneticStoreWriteProperties: (() { final guardedValue = map['magneticStoreWriteProperties']; if (guardedValue == null) return null; return pulumi.Input.decodeList<GetTableMagneticStoreWriteProperty>(guardedValue, (value) => GetTableMagneticStoreWriteProperty.fromMap((value as Map).cast<String, dynamic>())); })(),
name: (() { final guardedValue = map['name']; if (guardedValue == null) return null; return guardedValue as String; })(),
region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return guardedValue as String; })(),
retentionProperties: (() { final guardedValue = map['retentionProperties']; if (guardedValue == null) return null; return pulumi.Input.decodeList<GetTableRetentionProperty>(guardedValue, (value) => GetTableRetentionProperty.fromMap((value as Map).cast<String, dynamic>())); })(),
schemas: (() { final guardedValue = map['schemas']; if (guardedValue == null) return null; return pulumi.Input.decodeList<GetTableSchema>(guardedValue, (value) => GetTableSchema.fromMap((value as Map).cast<String, dynamic>())); })(),
tableStatus: (() { final guardedValue = map['tableStatus']; if (guardedValue == null) return null; return guardedValue as String; })(),
);
}