DescribeDomainConfigurationResponse.fromJson constructor
DescribeDomainConfigurationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeDomainConfigurationResponse.fromJson(
Map<String, dynamic> json) {
return DescribeDomainConfigurationResponse(
authorizerConfig: json['authorizerConfig'] != null
? AuthorizerConfig.fromJson(
json['authorizerConfig'] as Map<String, dynamic>)
: null,
domainConfigurationArn: json['domainConfigurationArn'] as String?,
domainConfigurationName: json['domainConfigurationName'] as String?,
domainConfigurationStatus: (json['domainConfigurationStatus'] as String?)
?.toDomainConfigurationStatus(),
domainName: json['domainName'] as String?,
domainType: (json['domainType'] as String?)?.toDomainType(),
lastStatusChangeDate: timeStampFromJson(json['lastStatusChangeDate']),
serverCertificates: (json['serverCertificates'] as List?)
?.whereNotNull()
.map((e) =>
ServerCertificateSummary.fromJson(e as Map<String, dynamic>))
.toList(),
serviceType: (json['serviceType'] as String?)?.toServiceType(),
);
}