<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddGatewayEndpointDigitalAccessPriReq StructType
 * @subpackage Structs
 */
class AddGatewayEndpointDigitalAccessPriReq extends APIRequest
{
    /**
     * The gatewayEndpointDigitalAccessPri
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointDigitalAccessPri
     */
    public $gatewayEndpointDigitalAccessPri;
    /**
     * Constructor method for AddGatewayEndpointDigitalAccessPriReq
     * @uses AddGatewayEndpointDigitalAccessPriReq::setGatewayEndpointDigitalAccessPri()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointDigitalAccessPri $gatewayEndpointDigitalAccessPri
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointDigitalAccessPri $gatewayEndpointDigitalAccessPri = null)
    {
        $this
            ->setGatewayEndpointDigitalAccessPri($gatewayEndpointDigitalAccessPri);
    }
    /**
     * Get gatewayEndpointDigitalAccessPri value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointDigitalAccessPri|null
     */
    public function getGatewayEndpointDigitalAccessPri()
    {
        return $this->gatewayEndpointDigitalAccessPri;
    }
    /**
     * Set gatewayEndpointDigitalAccessPri value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointDigitalAccessPri $gatewayEndpointDigitalAccessPri
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddGatewayEndpointDigitalAccessPriReq
     */
    public function setGatewayEndpointDigitalAccessPri(\\Losc\CucmBundle\Model\Webservice\StructType\XGatewayEndpointDigitalAccessPri $gatewayEndpointDigitalAccessPri = null)
    {
        $this->gatewayEndpointDigitalAccessPri = $gatewayEndpointDigitalAccessPri;
        return $this;
    }
}
