VirtualGatewayListenerTlsCertificate.fromJson constructor

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

Implementation

factory VirtualGatewayListenerTlsCertificate.fromJson(
    Map<String, dynamic> json) {
  return VirtualGatewayListenerTlsCertificate(
    acm: json['acm'] != null
        ? VirtualGatewayListenerTlsAcmCertificate.fromJson(
            json['acm'] as Map<String, dynamic>)
        : null,
    file: json['file'] != null
        ? VirtualGatewayListenerTlsFileCertificate.fromJson(
            json['file'] as Map<String, dynamic>)
        : null,
  );
}