InterconnectRemoteLocation.fromJson constructor

InterconnectRemoteLocation.fromJson(
  1. Map json_
)

Implementation

InterconnectRemoteLocation.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? json_['address'] as core.String
            : null,
        attachmentConfigurationConstraints:
            json_.containsKey('attachmentConfigurationConstraints')
                ? InterconnectAttachmentConfigurationConstraints.fromJson(
                    json_['attachmentConfigurationConstraints']
                        as core.Map<core.String, core.dynamic>)
                : null,
        city: json_.containsKey('city') ? json_['city'] as core.String : null,
        constraints: json_.containsKey('constraints')
            ? InterconnectRemoteLocationConstraints.fromJson(
                json_['constraints'] as core.Map<core.String, core.dynamic>)
            : null,
        continent: json_.containsKey('continent')
            ? json_['continent'] as core.String
            : null,
        creationTimestamp: json_.containsKey('creationTimestamp')
            ? json_['creationTimestamp'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        facilityProvider: json_.containsKey('facilityProvider')
            ? json_['facilityProvider'] as core.String
            : null,
        facilityProviderFacilityId:
            json_.containsKey('facilityProviderFacilityId')
                ? json_['facilityProviderFacilityId'] as core.String
                : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        lacp: json_.containsKey('lacp') ? json_['lacp'] as core.String : null,
        maxLagSize100Gbps: json_.containsKey('maxLagSize100Gbps')
            ? json_['maxLagSize100Gbps'] as core.int
            : null,
        maxLagSize10Gbps: json_.containsKey('maxLagSize10Gbps')
            ? json_['maxLagSize10Gbps'] as core.int
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        peeringdbFacilityId: json_.containsKey('peeringdbFacilityId')
            ? json_['peeringdbFacilityId'] as core.String
            : null,
        permittedConnections: json_.containsKey('permittedConnections')
            ? (json_['permittedConnections'] as core.List)
                .map((value) =>
                    InterconnectRemoteLocationPermittedConnections.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        remoteService: json_.containsKey('remoteService')
            ? json_['remoteService'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );