<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for HotelAvailCalendar StructType
 * @subpackage Structs
 */
class HotelAvailCalendar extends AbstractStructBase
{
    /**
     * The HotelAvailCalendarRQ
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_HotelAvailCalendar
     */
    public $HotelAvailCalendarRQ;
    /**
     * Constructor method for HotelAvailCalendar
     * @uses HotelAvailCalendar::setHotelAvailCalendarRQ()
     * @param \StructType\JP_HotelAvailCalendar $hotelAvailCalendarRQ
     */
    public function __construct(\StructType\JP_HotelAvailCalendar $hotelAvailCalendarRQ = null)
    {
        $this
            ->setHotelAvailCalendarRQ($hotelAvailCalendarRQ);
    }
    /**
     * Get HotelAvailCalendarRQ value
     * @return \StructType\JP_HotelAvailCalendar|null
     */
    public function getHotelAvailCalendarRQ()
    {
        return $this->HotelAvailCalendarRQ;
    }
    /**
     * Set HotelAvailCalendarRQ value
     * @param \StructType\JP_HotelAvailCalendar $hotelAvailCalendarRQ
     * @return \StructType\HotelAvailCalendar
     */
    public function setHotelAvailCalendarRQ(\StructType\JP_HotelAvailCalendar $hotelAvailCalendarRQ = null)
    {
        $this->HotelAvailCalendarRQ = $hotelAvailCalendarRQ;
        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\HotelAvailCalendar
     */
    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__;
    }
}
