151 lines
2.8 KiB
PHP
151 lines
2.8 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\Baremetalsolution;
|
|
|
|
class VlanAttachment extends \Google\Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $id;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $interconnectAttachment;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $pairingKey;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $peerIp;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $peerVlanId;
|
|
protected $qosPolicyType = QosPolicy::class;
|
|
protected $qosPolicyDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $routerIp;
|
|
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setId($id)
|
|
{
|
|
$this->id = $id;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setInterconnectAttachment($interconnectAttachment)
|
|
{
|
|
$this->interconnectAttachment = $interconnectAttachment;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getInterconnectAttachment()
|
|
{
|
|
return $this->interconnectAttachment;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setPairingKey($pairingKey)
|
|
{
|
|
$this->pairingKey = $pairingKey;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPairingKey()
|
|
{
|
|
return $this->pairingKey;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setPeerIp($peerIp)
|
|
{
|
|
$this->peerIp = $peerIp;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPeerIp()
|
|
{
|
|
return $this->peerIp;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setPeerVlanId($peerVlanId)
|
|
{
|
|
$this->peerVlanId = $peerVlanId;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPeerVlanId()
|
|
{
|
|
return $this->peerVlanId;
|
|
}
|
|
/**
|
|
* @param QosPolicy
|
|
*/
|
|
public function setQosPolicy(QosPolicy $qosPolicy)
|
|
{
|
|
$this->qosPolicy = $qosPolicy;
|
|
}
|
|
/**
|
|
* @return QosPolicy
|
|
*/
|
|
public function getQosPolicy()
|
|
{
|
|
return $this->qosPolicy;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setRouterIp($routerIp)
|
|
{
|
|
$this->routerIp = $routerIp;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRouterIp()
|
|
{
|
|
return $this->routerIp;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(VlanAttachment::class, 'Google_Service_Baremetalsolution_VlanAttachment');
|