DescribeArchiveResponse.fromJson constructor
DescribeArchiveResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeArchiveResponse.fromJson(Map<String, dynamic> json) {
return DescribeArchiveResponse(
archiveArn: json['ArchiveArn'] as String?,
archiveName: json['ArchiveName'] as String?,
creationTime: timeStampFromJson(json['CreationTime']),
description: json['Description'] as String?,
eventCount: json['EventCount'] as int?,
eventPattern: json['EventPattern'] as String?,
eventSourceArn: json['EventSourceArn'] as String?,
retentionDays: json['RetentionDays'] as int?,
sizeBytes: json['SizeBytes'] as int?,
state: (json['State'] as String?)?.toArchiveState(),
stateReason: json['StateReason'] as String?,
);
}