ExportSnapshotRecordSourceInfo.fromJson constructor
ExportSnapshotRecordSourceInfo.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ExportSnapshotRecordSourceInfo.fromJson(Map<String, dynamic> json) {
return ExportSnapshotRecordSourceInfo(
arn: json['arn'] as String?,
createdAt: timeStampFromJson(json['createdAt']),
diskSnapshotInfo: json['diskSnapshotInfo'] != null
? DiskSnapshotInfo.fromJson(
json['diskSnapshotInfo'] as Map<String, dynamic>)
: null,
fromResourceArn: json['fromResourceArn'] as String?,
fromResourceName: json['fromResourceName'] as String?,
instanceSnapshotInfo: json['instanceSnapshotInfo'] != null
? InstanceSnapshotInfo.fromJson(
json['instanceSnapshotInfo'] as Map<String, dynamic>)
: null,
name: json['name'] as String?,
resourceType:
(json['resourceType'] as String?)?.toExportSnapshotRecordSourceType(),
);
}