<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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