SslPolicy.fromJson constructor

SslPolicy.fromJson(
  1. Map json_
)

Implementation

SslPolicy.fromJson(core.Map json_)
    : this(
        creationTimestamp: json_.containsKey('creationTimestamp')
            ? json_['creationTimestamp'] as core.String
            : null,
        customFeatures: json_.containsKey('customFeatures')
            ? (json_['customFeatures'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        enabledFeatures: json_.containsKey('enabledFeatures')
            ? (json_['enabledFeatures'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        minTlsVersion: json_.containsKey('minTlsVersion')
            ? json_['minTlsVersion'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        profile: json_.containsKey('profile')
            ? json_['profile'] as core.String
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        warnings: json_.containsKey('warnings')
            ? (json_['warnings'] as core.List)
                .map((value) => SslPolicyWarnings.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );