RouterInterface.fromJson constructor

RouterInterface.fromJson(
  1. Map json_
)

Implementation

RouterInterface.fromJson(core.Map json_)
    : this(
        ipRange: json_.containsKey('ipRange')
            ? json_['ipRange'] as core.String
            : null,
        linkedInterconnectAttachment:
            json_.containsKey('linkedInterconnectAttachment')
                ? json_['linkedInterconnectAttachment'] as core.String
                : null,
        linkedVpnTunnel: json_.containsKey('linkedVpnTunnel')
            ? json_['linkedVpnTunnel'] as core.String
            : null,
        managementType: json_.containsKey('managementType')
            ? json_['managementType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        privateIpAddress: json_.containsKey('privateIpAddress')
            ? json_['privateIpAddress'] as core.String
            : null,
        redundantInterface: json_.containsKey('redundantInterface')
            ? json_['redundantInterface'] as core.String
            : null,
        subnetwork: json_.containsKey('subnetwork')
            ? json_['subnetwork'] as core.String
            : null,
      );