<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddGatewayReq StructType
 * @subpackage Structs
 */
class AddGatewayReq extends APIRequest
{
    /**
     * The gateway
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XGateway
     */
    public $gateway;
    /**
     * Constructor method for AddGatewayReq
     * @uses AddGatewayReq::setGateway()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XGateway $gateway
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XGateway $gateway = null)
    {
        $this
            ->setGateway($gateway);
    }
    /**
     * Get gateway value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XGateway|null
     */
    public function getGateway()
    {
        return $this->gateway;
    }
    /**
     * Set gateway value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XGateway $gateway
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddGatewayReq
     */
    public function setGateway(\\Losc\CucmBundle\Model\Webservice\StructType\XGateway $gateway = null)
    {
        $this->gateway = $gateway;
        return $this;
    }
}
