RegionalEndpoint.fromJson constructor

RegionalEndpoint.fromJson(
  1. Map json_
)

Implementation

RegionalEndpoint.fromJson(core.Map json_)
    : this(
        accessType: json_.containsKey('accessType')
            ? json_['accessType'] as core.String
            : null,
        address: json_.containsKey('address')
            ? json_['address'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        pscForwardingRule: json_.containsKey('pscForwardingRule')
            ? json_['pscForwardingRule'] as core.String
            : null,
        subnetwork: json_.containsKey('subnetwork')
            ? json_['subnetwork'] as core.String
            : null,
        targetGoogleApi: json_.containsKey('targetGoogleApi')
            ? json_['targetGoogleApi'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );