VlanAttachment.fromJson constructor

VlanAttachment.fromJson(
  1. Map json_
)

Implementation

VlanAttachment.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        interconnectAttachment: json_.containsKey('interconnectAttachment')
            ? json_['interconnectAttachment'] as core.String
            : null,
        pairingKey: json_.containsKey('pairingKey')
            ? json_['pairingKey'] as core.String
            : null,
        peerIp: json_.containsKey('peerIp')
            ? json_['peerIp'] as core.String
            : null,
        peerVlanId: json_.containsKey('peerVlanId')
            ? json_['peerVlanId'] as core.String
            : null,
        qosPolicy: json_.containsKey('qosPolicy')
            ? QosPolicy.fromJson(
                json_['qosPolicy'] as core.Map<core.String, core.dynamic>)
            : null,
        routerIp: json_.containsKey('routerIp')
            ? json_['routerIp'] as core.String
            : null,
      );