<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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