NetworksAddPeeringRequest.fromJson constructor

NetworksAddPeeringRequest.fromJson(
  1. Map json_
)

Implementation

NetworksAddPeeringRequest.fromJson(core.Map json_)
    : this(
        autoCreateRoutes: json_.containsKey('autoCreateRoutes')
            ? json_['autoCreateRoutes'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        networkPeering: json_.containsKey('networkPeering')
            ? NetworkPeering.fromJson(json_['networkPeering']
                as core.Map<core.String, core.dynamic>)
            : null,
        peerNetwork: json_.containsKey('peerNetwork')
            ? json_['peerNetwork'] as core.String
            : null,
      );