<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateGatewayEndpointAnalogAccessReq StructType
 * @subpackage Structs
 */
class UpdateGatewayEndpointAnalogAccessReq extends NameAndGUIDRequest
{
    /**
     * The endpoint
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointAnalog
     */
    public $endpoint;
    /**
     * Constructor method for UpdateGatewayEndpointAnalogAccessReq
     * @uses UpdateGatewayEndpointAnalogAccessReq::setEndpoint()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointAnalog $endpoint
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointAnalog $endpoint = null)
    {
        $this
            ->setEndpoint($endpoint);
    }
    /**
     * Get endpoint value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointAnalog|null
     */
    public function getEndpoint()
    {
        return $this->endpoint;
    }
    /**
     * Set endpoint value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointAnalog $endpoint
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateGatewayEndpointAnalogAccessReq
     */
    public function setEndpoint(\\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointAnalog $endpoint = null)
    {
        $this->endpoint = $endpoint;
        return $this;
    }
}
