OrganizationConformancePackDetailedStatus.fromJson constructor

OrganizationConformancePackDetailedStatus.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory OrganizationConformancePackDetailedStatus.fromJson(
    Map<String, dynamic> json) {
  return OrganizationConformancePackDetailedStatus(
    accountId: json['AccountId'] as String,
    conformancePackName: json['ConformancePackName'] as String,
    status: (json['Status'] as String).toOrganizationResourceDetailedStatus(),
    errorCode: json['ErrorCode'] as String?,
    errorMessage: json['ErrorMessage'] as String?,
    lastUpdateTime: timeStampFromJson(json['LastUpdateTime']),
  );
}