PrivateConnection.fromJson constructor

PrivateConnection.fromJson(
  1. Map json_
)

Implementation

PrivateConnection.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        peeringId: json_.containsKey('peeringId')
            ? json_['peeringId'] as core.String
            : null,
        peeringState: json_.containsKey('peeringState')
            ? json_['peeringState'] as core.String
            : null,
        routingMode: json_.containsKey('routingMode')
            ? json_['routingMode'] as core.String
            : null,
        serviceNetwork: json_.containsKey('serviceNetwork')
            ? json_['serviceNetwork'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        vmwareEngineNetwork: json_.containsKey('vmwareEngineNetwork')
            ? json_['vmwareEngineNetwork'] as core.String
            : null,
        vmwareEngineNetworkCanonical:
            json_.containsKey('vmwareEngineNetworkCanonical')
                ? json_['vmwareEngineNetworkCanonical'] as core.String
                : null,
      );