<?php

namespace Sabre\EnhancedAirBook\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PreProcessing Structs
 * @subpackage Structs
 */
class PreProcessing extends AbstractStructBase
{
    /**
     * The UniqueID
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \Sabre\EnhancedAirBook\Structs\UniqueID
     */
    public $UniqueID;
    /**
     * The IgnoreBefore
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $IgnoreBefore;
    /**
     * Constructor method for PreProcessing
     * @uses PreProcessing::setUniqueID()
     * @uses PreProcessing::setIgnoreBefore()
     * @param \Sabre\EnhancedAirBook\Structs\UniqueID $uniqueID
     * @param bool $ignoreBefore
     */
    public function __construct(\Sabre\EnhancedAirBook\Structs\UniqueID $uniqueID = null, $ignoreBefore = null)
    {
        $this
            ->setUniqueID($uniqueID)
            ->setIgnoreBefore($ignoreBefore);
    }
    /**
     * Get UniqueID value
     * @return \Sabre\EnhancedAirBook\Structs\UniqueID|null
     */
    public function getUniqueID()
    {
        return $this->UniqueID;
    }
    /**
     * Set UniqueID value
     * @param \Sabre\EnhancedAirBook\Structs\UniqueID $uniqueID
     * @return \Sabre\EnhancedAirBook\Structs\PreProcessing
     */
    public function setUniqueID(\Sabre\EnhancedAirBook\Structs\UniqueID $uniqueID = null)
    {
        $this->UniqueID = $uniqueID;
        return $this;
    }
    /**
     * Get IgnoreBefore value
     * @return bool|null
     */
    public function getIgnoreBefore()
    {
        return $this->IgnoreBefore;
    }
    /**
     * Set IgnoreBefore value
     * @param bool $ignoreBefore
     * @return \Sabre\EnhancedAirBook\Structs\PreProcessing
     */
    public function setIgnoreBefore($ignoreBefore = null)
    {
        $this->IgnoreBefore = $ignoreBefore;
        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 \Sabre\EnhancedAirBook\Structs\PreProcessing
     */
    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__;
    }
}
