DescribeOrganizationResponse.fromJson constructor

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

Implementation

factory DescribeOrganizationResponse.fromJson(Map<String, dynamic> json) {
  return DescribeOrganizationResponse(
    arn: json['ARN'] as String?,
    alias: json['Alias'] as String?,
    completedDate: timeStampFromJson(json['CompletedDate']),
    defaultMailDomain: json['DefaultMailDomain'] as String?,
    directoryId: json['DirectoryId'] as String?,
    directoryType: json['DirectoryType'] as String?,
    errorMessage: json['ErrorMessage'] as String?,
    organizationId: json['OrganizationId'] as String?,
    state: json['State'] as String?,
  );
}