<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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