<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AffectedStopPlaceElementStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for information about the quays affected by an SITUATION.
 * @subpackage Structs
 */
class AffectedStopPlaceElementStructure extends AbstractStructBase
{
    /**
     * The AccessibilityAssessment
     * Meta informations extracted from the WSDL
     * - documentation: Disruption of accessibility.
     * - minOccurs: 0
     * @var \StructType\AccessibilityAssessmentStructure
     */
    public $AccessibilityAssessment;
    /**
     * Constructor method for AffectedStopPlaceElementStructure
     * @uses AffectedStopPlaceElementStructure::setAccessibilityAssessment()
     * @param \StructType\AccessibilityAssessmentStructure $accessibilityAssessment
     */
    public function __construct(\StructType\AccessibilityAssessmentStructure $accessibilityAssessment = null)
    {
        $this
            ->setAccessibilityAssessment($accessibilityAssessment);
    }
    /**
     * Get AccessibilityAssessment value
     * @return \StructType\AccessibilityAssessmentStructure|null
     */
    public function getAccessibilityAssessment()
    {
        return $this->AccessibilityAssessment;
    }
    /**
     * Set AccessibilityAssessment value
     * @param \StructType\AccessibilityAssessmentStructure $accessibilityAssessment
     * @return \StructType\AffectedStopPlaceElementStructure
     */
    public function setAccessibilityAssessment(\StructType\AccessibilityAssessmentStructure $accessibilityAssessment = null)
    {
        $this->AccessibilityAssessment = $accessibilityAssessment;
        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\AffectedStopPlaceElementStructure
     */
    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__;
    }
}
