<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for StopTimetableServiceCapabilitiesStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for Capabilities of Stop Timetable Service.
 * @subpackage Structs
 */
class StopTimetableServiceCapabilitiesStructure extends AbstractCapabilitiesStructure
{
    /**
     * The TopicFiltering
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\TopicFiltering
     */
    public $TopicFiltering;
    /**
     * The RequestPolicy
     * Meta informations extracted from the WSDL
     * - documentation: Available request policy options.
     * - minOccurs: 0
     * @var \StructType\StopTimetableCapabilityRequestPolicyStructure
     */
    public $RequestPolicy;
    /**
     * The AccessControl
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\AccessControl
     */
    public $AccessControl;
    /**
     * The Extensions
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - ref: Extensions
     * @var \StructType\ExtensionsStructure
     */
    public $Extensions;
    /**
     * Constructor method for StopTimetableServiceCapabilitiesStructure
     * @uses StopTimetableServiceCapabilitiesStructure::setTopicFiltering()
     * @uses StopTimetableServiceCapabilitiesStructure::setRequestPolicy()
     * @uses StopTimetableServiceCapabilitiesStructure::setAccessControl()
     * @uses StopTimetableServiceCapabilitiesStructure::setExtensions()
     * @param \StructType\TopicFiltering $topicFiltering
     * @param \StructType\StopTimetableCapabilityRequestPolicyStructure $requestPolicy
     * @param \StructType\AccessControl $accessControl
     * @param \StructType\ExtensionsStructure $extensions
     */
    public function __construct(\StructType\TopicFiltering $topicFiltering = null, \StructType\StopTimetableCapabilityRequestPolicyStructure $requestPolicy = null, \StructType\AccessControl $accessControl = null, \StructType\ExtensionsStructure $extensions = null)
    {
        $this
            ->setTopicFiltering($topicFiltering)
            ->setRequestPolicy($requestPolicy)
            ->setAccessControl($accessControl)
            ->setExtensions($extensions);
    }
    /**
     * Get TopicFiltering value
     * @return \StructType\TopicFiltering|null
     */
    public function getTopicFiltering()
    {
        return $this->TopicFiltering;
    }
    /**
     * Set TopicFiltering value
     * @param \StructType\TopicFiltering $topicFiltering
     * @return \StructType\StopTimetableServiceCapabilitiesStructure
     */
    public function setTopicFiltering(\StructType\TopicFiltering $topicFiltering = null)
    {
        $this->TopicFiltering = $topicFiltering;
        return $this;
    }
    /**
     * Get RequestPolicy value
     * @return \StructType\StopTimetableCapabilityRequestPolicyStructure|null
     */
    public function getRequestPolicy()
    {
        return $this->RequestPolicy;
    }
    /**
     * Set RequestPolicy value
     * @param \StructType\StopTimetableCapabilityRequestPolicyStructure $requestPolicy
     * @return \StructType\StopTimetableServiceCapabilitiesStructure
     */
    public function setRequestPolicy(\StructType\StopTimetableCapabilityRequestPolicyStructure $requestPolicy = null)
    {
        $this->RequestPolicy = $requestPolicy;
        return $this;
    }
    /**
     * Get AccessControl value
     * @return \StructType\AccessControl|null
     */
    public function getAccessControl()
    {
        return $this->AccessControl;
    }
    /**
     * Set AccessControl value
     * @param \StructType\AccessControl $accessControl
     * @return \StructType\StopTimetableServiceCapabilitiesStructure
     */
    public function setAccessControl(\StructType\AccessControl $accessControl = null)
    {
        $this->AccessControl = $accessControl;
        return $this;
    }
    /**
     * Get Extensions value
     * @return \StructType\ExtensionsStructure|null
     */
    public function getExtensions()
    {
        return $this->Extensions;
    }
    /**
     * Set Extensions value
     * @param \StructType\ExtensionsStructure $extensions
     * @return \StructType\StopTimetableServiceCapabilitiesStructure
     */
    public function setExtensions(\StructType\ExtensionsStructure $extensions = null)
    {
        $this->Extensions = $extensions;
        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 \StructType\StopTimetableServiceCapabilitiesStructure
     */
    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__;
    }
}
