<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ConnectionTimetableServiceCapabilitiesStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for Connection Timetable Capabilities.
 * @subpackage Structs
 */
class ConnectionTimetableServiceCapabilitiesStructure 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
     * - minOccurs: 0
     * @var \StructType\RequestPolicy
     */
    public $RequestPolicy;
    /**
     * The SubscriptionPolicy
     * Meta informations extracted from the WSDL
     * - documentation: Subscription Policy capabilities.
     * - minOccurs: 0
     * @var \StructType\CapabilitySubscriptionPolicyStructure
     */
    public $SubscriptionPolicy;
    /**
     * The AccessControl
     * Meta informations extracted from the WSDL
     * - documentation: Optional Access control capabilities.
     * - minOccurs: 0
     * @var \StructType\ConnectionCapabilityAccessControlStructure
     */
    public $AccessControl;
    /**
     * The Extensions
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - ref: Extensions
     * @var \StructType\ExtensionsStructure
     */
    public $Extensions;
    /**
     * Constructor method for ConnectionTimetableServiceCapabilitiesStructure
     * @uses ConnectionTimetableServiceCapabilitiesStructure::setTopicFiltering()
     * @uses ConnectionTimetableServiceCapabilitiesStructure::setRequestPolicy()
     * @uses ConnectionTimetableServiceCapabilitiesStructure::setSubscriptionPolicy()
     * @uses ConnectionTimetableServiceCapabilitiesStructure::setAccessControl()
     * @uses ConnectionTimetableServiceCapabilitiesStructure::setExtensions()
     * @param \StructType\TopicFiltering $topicFiltering
     * @param \StructType\RequestPolicy $requestPolicy
     * @param \StructType\CapabilitySubscriptionPolicyStructure $subscriptionPolicy
     * @param \StructType\ConnectionCapabilityAccessControlStructure $accessControl
     * @param \StructType\ExtensionsStructure $extensions
     */
    public function __construct(\StructType\TopicFiltering $topicFiltering = null, \StructType\RequestPolicy $requestPolicy = null, \StructType\CapabilitySubscriptionPolicyStructure $subscriptionPolicy = null, \StructType\ConnectionCapabilityAccessControlStructure $accessControl = null, \StructType\ExtensionsStructure $extensions = null)
    {
        $this
            ->setTopicFiltering($topicFiltering)
            ->setRequestPolicy($requestPolicy)
            ->setSubscriptionPolicy($subscriptionPolicy)
            ->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\ConnectionTimetableServiceCapabilitiesStructure
     */
    public function setTopicFiltering(\StructType\TopicFiltering $topicFiltering = null)
    {
        $this->TopicFiltering = $topicFiltering;
        return $this;
    }
    /**
     * Get RequestPolicy value
     * @return \StructType\RequestPolicy|null
     */
    public function getRequestPolicy()
    {
        return $this->RequestPolicy;
    }
    /**
     * Set RequestPolicy value
     * @param \StructType\RequestPolicy $requestPolicy
     * @return \StructType\ConnectionTimetableServiceCapabilitiesStructure
     */
    public function setRequestPolicy(\StructType\RequestPolicy $requestPolicy = null)
    {
        $this->RequestPolicy = $requestPolicy;
        return $this;
    }
    /**
     * Get SubscriptionPolicy value
     * @return \StructType\CapabilitySubscriptionPolicyStructure|null
     */
    public function getSubscriptionPolicy()
    {
        return $this->SubscriptionPolicy;
    }
    /**
     * Set SubscriptionPolicy value
     * @param \StructType\CapabilitySubscriptionPolicyStructure $subscriptionPolicy
     * @return \StructType\ConnectionTimetableServiceCapabilitiesStructure
     */
    public function setSubscriptionPolicy(\StructType\CapabilitySubscriptionPolicyStructure $subscriptionPolicy = null)
    {
        $this->SubscriptionPolicy = $subscriptionPolicy;
        return $this;
    }
    /**
     * Get AccessControl value
     * @return \StructType\ConnectionCapabilityAccessControlStructure|null
     */
    public function getAccessControl()
    {
        return $this->AccessControl;
    }
    /**
     * Set AccessControl value
     * @param \StructType\ConnectionCapabilityAccessControlStructure $accessControl
     * @return \StructType\ConnectionTimetableServiceCapabilitiesStructure
     */
    public function setAccessControl(\StructType\ConnectionCapabilityAccessControlStructure $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\ConnectionTimetableServiceCapabilitiesStructure
     */
    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\ConnectionTimetableServiceCapabilitiesStructure
     */
    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__;
    }
}
