<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ZipCodeWeatherResponse Struct
 * @subpackage Structs
 */
class ZipCodeWeatherResponse extends ServiceResponseBase
{
    /**
     * The ZipCodeWeathers
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Array\ArrayOfZipCodeWeather
     */
    public $ZipCodeWeathers;
    /**
     * The ZipCodeWeather
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\ZipCodeWeather
     */
    public $ZipCodeWeather;
    /**
     * Constructor method for ZipCodeWeatherResponse
     * @uses ZipCodeWeatherResponse::setZipCodeWeathers()
     * @uses ZipCodeWeatherResponse::setZipCodeWeather()
     * @param \SGCIS\Array\ArrayOfZipCodeWeather $zipCodeWeathers
     * @param \SGCIS\Struct\ZipCodeWeather $zipCodeWeather
     */
    public function __construct(\SGCIS\Array\ArrayOfZipCodeWeather $zipCodeWeathers = null, \SGCIS\Struct\ZipCodeWeather $zipCodeWeather = null)
    {
        $this
            ->setZipCodeWeathers($zipCodeWeathers)
            ->setZipCodeWeather($zipCodeWeather);
    }
    /**
     * Get ZipCodeWeathers value
     * @return \SGCIS\Array\ArrayOfZipCodeWeather|null
     */
    public function getZipCodeWeathers()
    {
        return $this->ZipCodeWeathers;
    }
    /**
     * Set ZipCodeWeathers value
     * @param \SGCIS\Array\ArrayOfZipCodeWeather $zipCodeWeathers
     * @return \SGCIS\Struct\ZipCodeWeatherResponse
     */
    public function setZipCodeWeathers(\SGCIS\Array\ArrayOfZipCodeWeather $zipCodeWeathers = null)
    {
        $this->ZipCodeWeathers = $zipCodeWeathers;
        return $this;
    }
    /**
     * Get ZipCodeWeather value
     * @return \SGCIS\Struct\ZipCodeWeather|null
     */
    public function getZipCodeWeather()
    {
        return $this->ZipCodeWeather;
    }
    /**
     * Set ZipCodeWeather value
     * @param \SGCIS\Struct\ZipCodeWeather $zipCodeWeather
     * @return \SGCIS\Struct\ZipCodeWeatherResponse
     */
    public function setZipCodeWeather(\SGCIS\Struct\ZipCodeWeather $zipCodeWeather = null)
    {
        $this->ZipCodeWeather = $zipCodeWeather;
        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 \SGCIS\Struct\ZipCodeWeatherResponse
     */
    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__;
    }
}
