GoogleChromePolicyVersionsV1DefineCertificateRequest.fromJson constructor

GoogleChromePolicyVersionsV1DefineCertificateRequest.fromJson(
  1. Map json_
)

Implementation

GoogleChromePolicyVersionsV1DefineCertificateRequest.fromJson(core.Map json_)
    : this(
        ceritificateName: json_.containsKey('ceritificateName')
            ? json_['ceritificateName'] as core.String
            : null,
        certificate: json_.containsKey('certificate')
            ? json_['certificate'] as core.String
            : null,
        settings: json_.containsKey('settings')
            ? (json_['settings'] as core.List)
                .map((value) =>
                    GoogleChromePolicyVersionsV1NetworkSetting.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        targetResource: json_.containsKey('targetResource')
            ? json_['targetResource'] as core.String
            : null,
      );