<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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