<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CruiseAvailResponse StructType
 * @subpackage Structs
 */
class CruiseAvailResponse extends AbstractStructBase
{
    /**
     * The AvailabilityRS
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_AvailResponseRS
     */
    public $AvailabilityRS;
    /**
     * Constructor method for CruiseAvailResponse
     * @uses CruiseAvailResponse::setAvailabilityRS()
     * @param \StructType\JP_AvailResponseRS $availabilityRS
     */
    public function __construct(\StructType\JP_AvailResponseRS $availabilityRS = null)
    {
        $this
            ->setAvailabilityRS($availabilityRS);
    }
    /**
     * Get AvailabilityRS value
     * @return \StructType\JP_AvailResponseRS|null
     */
    public function getAvailabilityRS()
    {
        return $this->AvailabilityRS;
    }
    /**
     * Set AvailabilityRS value
     * @param \StructType\JP_AvailResponseRS $availabilityRS
     * @return \StructType\CruiseAvailResponse
     */
    public function setAvailabilityRS(\StructType\JP_AvailResponseRS $availabilityRS = null)
    {
        $this->AvailabilityRS = $availabilityRS;
        return $this;
    }
}
