TargetSslProxy.fromJson constructor

TargetSslProxy.fromJson(
  1. Map json_
)

Implementation

TargetSslProxy.fromJson(core.Map json_)
    : this(
        certificateMap: json_.containsKey('certificateMap')
            ? json_['certificateMap'] as core.String
            : null,
        creationTimestamp: json_.containsKey('creationTimestamp')
            ? json_['creationTimestamp'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        proxyHeader: json_.containsKey('proxyHeader')
            ? json_['proxyHeader'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        service: json_.containsKey('service')
            ? json_['service'] as core.String
            : null,
        sslCertificates: json_.containsKey('sslCertificates')
            ? (json_['sslCertificates'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sslPolicy: json_.containsKey('sslPolicy')
            ? json_['sslPolicy'] as core.String
            : null,
      );