UpdateDomainNameResponse.fromJson constructor
UpdateDomainNameResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory UpdateDomainNameResponse.fromJson(Map<String, dynamic> json) {
return UpdateDomainNameResponse(
apiMappingSelectionExpression:
json['apiMappingSelectionExpression'] as String?,
domainName: json['domainName'] as String?,
domainNameConfigurations: (json['domainNameConfigurations'] as List?)
?.whereNotNull()
.map((e) =>
DomainNameConfiguration.fromJson(e as Map<String, dynamic>))
.toList(),
mutualTlsAuthentication: json['mutualTlsAuthentication'] != null
? MutualTlsAuthentication.fromJson(
json['mutualTlsAuthentication'] as Map<String, dynamic>)
: null,
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}