<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddGatewayEndpointDigitalAccessBriReq StructType
 * @subpackage Structs
 */
class AddGatewayEndpointDigitalAccessBriReq extends APIRequest
{
    /**
     * The gatewayEndpointDigitalAccessBri
     * @var XGatewayEndpointDigitalAccessBri
     */
    public $gatewayEndpointDigitalAccessBri;
    /**
     * Constructor method for AddGatewayEndpointDigitalAccessBriReq
     * @uses AddGatewayEndpointDigitalAccessBriReq::setGatewayEndpointDigitalAccessBri()
     * @param XGatewayEndpointDigitalAccessBri $gatewayEndpointDigitalAccessBri
     */
    public function __construct(XGatewayEndpointDigitalAccessBri $gatewayEndpointDigitalAccessBri = null)
    {
        $this
            ->setGatewayEndpointDigitalAccessBri($gatewayEndpointDigitalAccessBri);
    }
    /**
     * Get gatewayEndpointDigitalAccessBri value
     * @return XGatewayEndpointDigitalAccessBri|null
     */
    public function getGatewayEndpointDigitalAccessBri()
    {
        return $this->gatewayEndpointDigitalAccessBri;
    }
    /**
     * Set gatewayEndpointDigitalAccessBri value
     * @param XGatewayEndpointDigitalAccessBri $gatewayEndpointDigitalAccessBri
     * @return AddGatewayEndpointDigitalAccessBriReq
     */
    public function setGatewayEndpointDigitalAccessBri(XGatewayEndpointDigitalAccessBri $gatewayEndpointDigitalAccessBri = null)
    {
        $this->gatewayEndpointDigitalAccessBri = $gatewayEndpointDigitalAccessBri;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return AddGatewayEndpointDigitalAccessBriReq
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
