<?php

namespace Sabre\BargainFinderMax\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for FareFocusRules Structs
 * @subpackage Structs
 */
class FareFocusRules extends AbstractStructBase
{
    /**
     * The Exclude
     * Meta informations extracted from the WSDL
     * - documentation: Exclude fare focus rules.
     * - use: optional
     * @var bool
     */
    public $Exclude;
    /**
     * Constructor method for FareFocusRules
     * @uses FareFocusRules::setExclude()
     * @param bool $exclude
     */
    public function __construct($exclude = null)
    {
        $this
            ->setExclude($exclude);
    }
    /**
     * Get Exclude value
     * @return bool|null
     */
    public function getExclude()
    {
        return $this->Exclude;
    }
    /**
     * Set Exclude value
     * @param bool $exclude
     * @return \Sabre\BargainFinderMax\Structs\FareFocusRules
     */
    public function setExclude($exclude = null)
    {
        $this->Exclude = $exclude;
        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\BargainFinderMax\Structs\FareFocusRules
     */
    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__;
    }
}
