TlsInspectionPolicy.fromJson constructor

TlsInspectionPolicy.fromJson(
  1. Map json_
)

Implementation

TlsInspectionPolicy.fromJson(core.Map json_)
    : this(
        caPool: json_.containsKey('caPool')
            ? json_['caPool'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        customTlsFeatures: json_.containsKey('customTlsFeatures')
            ? (json_['customTlsFeatures'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        excludePublicCaSet: json_.containsKey('excludePublicCaSet')
            ? json_['excludePublicCaSet'] as core.bool
            : null,
        minTlsVersion: json_.containsKey('minTlsVersion')
            ? json_['minTlsVersion'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        tlsFeatureProfile: json_.containsKey('tlsFeatureProfile')
            ? json_['tlsFeatureProfile'] as core.String
            : null,
        trustConfig: json_.containsKey('trustConfig')
            ? json_['trustConfig'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );