DomainNameConfiguration.fromJson constructor

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

Implementation

factory DomainNameConfiguration.fromJson(Map<String, dynamic> json) {
  return DomainNameConfiguration(
    apiGatewayDomainName: json['apiGatewayDomainName'] as String?,
    certificateArn: json['certificateArn'] as String?,
    certificateName: json['certificateName'] as String?,
    certificateUploadDate: timeStampFromJson(json['certificateUploadDate']),
    domainNameStatus:
        (json['domainNameStatus'] as String?)?.toDomainNameStatus(),
    domainNameStatusMessage: json['domainNameStatusMessage'] as String?,
    endpointType: (json['endpointType'] as String?)?.toEndpointType(),
    hostedZoneId: json['hostedZoneId'] as String?,
    securityPolicy: (json['securityPolicy'] as String?)?.toSecurityPolicy(),
  );
}