GoogleCloudApigeeV1TlsInfoConfig.fromJson constructor

GoogleCloudApigeeV1TlsInfoConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1TlsInfoConfig.fromJson(core.Map json_)
    : this(
        ciphers: json_.containsKey('ciphers')
            ? (json_['ciphers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        clientAuthEnabled: json_.containsKey('clientAuthEnabled')
            ? json_['clientAuthEnabled'] as core.bool
            : null,
        commonName: json_.containsKey('commonName')
            ? GoogleCloudApigeeV1CommonNameConfig.fromJson(
                json_['commonName'] as core.Map<core.String, core.dynamic>)
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        ignoreValidationErrors: json_.containsKey('ignoreValidationErrors')
            ? json_['ignoreValidationErrors'] as core.bool
            : null,
        keyAlias: json_.containsKey('keyAlias')
            ? json_['keyAlias'] as core.String
            : null,
        keyAliasReference: json_.containsKey('keyAliasReference')
            ? GoogleCloudApigeeV1KeyAliasReference.fromJson(
                json_['keyAliasReference']
                    as core.Map<core.String, core.dynamic>)
            : null,
        protocols: json_.containsKey('protocols')
            ? (json_['protocols'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        trustStore: json_.containsKey('trustStore')
            ? json_['trustStore'] as core.String
            : null,
      );