ConformancePackStatusDetail.fromJson constructor
ConformancePackStatusDetail.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ConformancePackStatusDetail.fromJson(Map<String, dynamic> json) {
return ConformancePackStatusDetail(
conformancePackArn: json['ConformancePackArn'] as String,
conformancePackId: json['ConformancePackId'] as String,
conformancePackName: json['ConformancePackName'] as String,
conformancePackState:
(json['ConformancePackState'] as String).toConformancePackState(),
lastUpdateRequestedTime: nonNullableTimeStampFromJson(
json['LastUpdateRequestedTime'] as Object),
stackArn: json['StackArn'] as String,
conformancePackStatusReason:
json['ConformancePackStatusReason'] as String?,
lastUpdateCompletedTime:
timeStampFromJson(json['LastUpdateCompletedTime']),
);
}