GoogleCloudApigeeV1TargetServerConfig.fromJson constructor

GoogleCloudApigeeV1TargetServerConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1TargetServerConfig.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        protocol: json_.containsKey('protocol')
            ? json_['protocol'] as core.String
            : null,
        tlsInfo: json_.containsKey('tlsInfo')
            ? GoogleCloudApigeeV1TlsInfoConfig.fromJson(
                json_['tlsInfo'] as core.Map<core.String, core.dynamic>)
            : null,
      );