<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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