<?php

namespace Sabre\BargainFinderMax\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CompressResponse Structs
 * Meta informations extracted from the WSDL
 * - documentation: Decides if the response should be compressed.
 * @subpackage Structs
 */
class CompressResponse extends AbstractStructBase
{
    /**
     * The Value
     * Meta informations extracted from the WSDL
     * - default: false
     * @var bool
     */
    public $Value;
    /**
     * Constructor method for CompressResponse
     * @uses CompressResponse::setValue()
     * @param bool $value
     */
    public function __construct($value = false)
    {
        $this
            ->setValue($value);
    }
    /**
     * Get Value value
     * @return bool|null
     */
    public function getValue()
    {
        return $this->Value;
    }
    /**
     * Set Value value
     * @param bool $value
     * @return \Sabre\BargainFinderMax\Structs\CompressResponse
     */
    public function setValue($value = false)
    {
        $this->Value = $value;
        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\CompressResponse
     */
    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__;
    }
}
