<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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