GoogleCloudApigeeV1TargetServer.fromJson constructor

GoogleCloudApigeeV1TargetServer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1TargetServer.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        isEnabled: json_.containsKey('isEnabled')
            ? json_['isEnabled'] as core.bool
            : 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,
        sSLInfo: json_.containsKey('sSLInfo')
            ? GoogleCloudApigeeV1TlsInfo.fromJson(
                json_['sSLInfo'] as core.Map<core.String, core.dynamic>)
            : null,
      );