<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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