<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getReklamacjeResponse StructType
 * @subpackage Structs
 */
class GetReklamacjeResponse extends AbstractStructBase
{
    /**
     * The reklamacja
     * Meta informations extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var ReklamacjaRozpatrzonaType[]
     */
    public $reklamacja;
    /**
     * Constructor method for getReklamacjeResponse
     * @uses GetReklamacjeResponse::setReklamacja()
     * @param ReklamacjaRozpatrzonaType[] $reklamacja
     */
    public function __construct(array $reklamacja = array())
    {
        $this
            ->setReklamacja($reklamacja);
    }
    /**
     * Get reklamacja value
     * @return ReklamacjaRozpatrzonaType[]|null
     */
    public function getReklamacja()
    {
        return $this->reklamacja;
    }
    /**
     * Set reklamacja value
     * @param ReklamacjaRozpatrzonaType[] $reklamacja
     * @return GetReklamacjeResponse
     */
    public function setReklamacja(array $reklamacja = array())
    {
        $this->reklamacja = $reklamacja;
        return $this;
    }
    /**
     * Add item to reklamacja value
     * @throws \InvalidArgumentException
     * @param ReklamacjaRozpatrzonaType $item
     * @return GetReklamacjeResponse
     */
    public function addToReklamacja(ReklamacjaRozpatrzonaType $item)
    {
        $this->reklamacja[] = $item;
        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 GetReklamacjeResponse
     */
    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__;
    }
}
