<?php

namespace Sabre\OTAAirSchedule\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for OperationTime Structs
 * @subpackage Structs
 */
class OperationTime extends AbstractStructBase
{
    /**
     * The Fri
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Fri;
    /**
     * The Mon
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Mon;
    /**
     * The Sat
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Sat;
    /**
     * The Sun
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Sun;
    /**
     * The Thur
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Thur;
    /**
     * The Tue
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Tue;
    /**
     * The Weds
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $Weds;
    /**
     * Constructor method for OperationTime
     * @uses OperationTime::setFri()
     * @uses OperationTime::setMon()
     * @uses OperationTime::setSat()
     * @uses OperationTime::setSun()
     * @uses OperationTime::setThur()
     * @uses OperationTime::setTue()
     * @uses OperationTime::setWeds()
     * @param bool $fri
     * @param bool $mon
     * @param bool $sat
     * @param bool $sun
     * @param bool $thur
     * @param bool $tue
     * @param bool $weds
     */
    public function __construct($fri = null, $mon = null, $sat = null, $sun = null, $thur = null, $tue = null, $weds = null)
    {
        $this
            ->setFri($fri)
            ->setMon($mon)
            ->setSat($sat)
            ->setSun($sun)
            ->setThur($thur)
            ->setTue($tue)
            ->setWeds($weds);
    }
    /**
     * Get Fri value
     * @return bool|null
     */
    public function getFri()
    {
        return $this->Fri;
    }
    /**
     * Set Fri value
     * @param bool $fri
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setFri($fri = null)
    {
        $this->Fri = $fri;
        return $this;
    }
    /**
     * Get Mon value
     * @return bool|null
     */
    public function getMon()
    {
        return $this->Mon;
    }
    /**
     * Set Mon value
     * @param bool $mon
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setMon($mon = null)
    {
        $this->Mon = $mon;
        return $this;
    }
    /**
     * Get Sat value
     * @return bool|null
     */
    public function getSat()
    {
        return $this->Sat;
    }
    /**
     * Set Sat value
     * @param bool $sat
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setSat($sat = null)
    {
        $this->Sat = $sat;
        return $this;
    }
    /**
     * Get Sun value
     * @return bool|null
     */
    public function getSun()
    {
        return $this->Sun;
    }
    /**
     * Set Sun value
     * @param bool $sun
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setSun($sun = null)
    {
        $this->Sun = $sun;
        return $this;
    }
    /**
     * Get Thur value
     * @return bool|null
     */
    public function getThur()
    {
        return $this->Thur;
    }
    /**
     * Set Thur value
     * @param bool $thur
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setThur($thur = null)
    {
        $this->Thur = $thur;
        return $this;
    }
    /**
     * Get Tue value
     * @return bool|null
     */
    public function getTue()
    {
        return $this->Tue;
    }
    /**
     * Set Tue value
     * @param bool $tue
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setTue($tue = null)
    {
        $this->Tue = $tue;
        return $this;
    }
    /**
     * Get Weds value
     * @return bool|null
     */
    public function getWeds()
    {
        return $this->Weds;
    }
    /**
     * Set Weds value
     * @param bool $weds
     * @return \Sabre\OTAAirSchedule\Structs\OperationTime
     */
    public function setWeds($weds = null)
    {
        $this->Weds = $weds;
        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\OTAAirSchedule\Structs\OperationTime
     */
    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__;
    }
}
