VpnTunnelInfo constructor

VpnTunnelInfo({
  1. String? displayName,
  2. String? uri,
  3. String? sourceGateway,
  4. String? remoteGateway,
  5. String? remoteGatewayIp,
  6. String? sourceGatewayIp,
  7. String? networkUri,
  8. String? region,
  9. VpnTunnelInfo_RoutingType? routingType,
})

Implementation

factory VpnTunnelInfo({
  $core.String? displayName,
  $core.String? uri,
  $core.String? sourceGateway,
  $core.String? remoteGateway,
  $core.String? remoteGatewayIp,
  $core.String? sourceGatewayIp,
  $core.String? networkUri,
  $core.String? region,
  VpnTunnelInfo_RoutingType? routingType,
}) {
  final $result = create();
  if (displayName != null) {
    $result.displayName = displayName;
  }
  if (uri != null) {
    $result.uri = uri;
  }
  if (sourceGateway != null) {
    $result.sourceGateway = sourceGateway;
  }
  if (remoteGateway != null) {
    $result.remoteGateway = remoteGateway;
  }
  if (remoteGatewayIp != null) {
    $result.remoteGatewayIp = remoteGatewayIp;
  }
  if (sourceGatewayIp != null) {
    $result.sourceGatewayIp = sourceGatewayIp;
  }
  if (networkUri != null) {
    $result.networkUri = networkUri;
  }
  if (region != null) {
    $result.region = region;
  }
  if (routingType != null) {
    $result.routingType = routingType;
  }
  return $result;
}