<?php
/**
 * File for class DhlApiStructGetLabelsResponse
 * @package DhlApi
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20140325-01
 * @date 2015-02-05
 */
/**
 * This class stands for DhlApiStructGetLabelsResponse originally named getLabelsResponse
 * Meta informations extracted from the WSDL
 * - from schema : {@link https://dhl24.com.pl/webapi2.html}
 * @package DhlApi
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20140325-01
 * @date 2015-02-05
 */
class DhlApiStructGetLabelsResponse extends DhlApiWsdlClass
{
    /**
     * The getLabelsResult
     * @var DhlApiStructArrayOfItemtoprintresponse
     */
    public $getLabelsResult;
    /**
     * Constructor method for getLabelsResponse
     * @see parent::__construct()
     * @param DhlApiStructArrayOfItemtoprintresponse $_getLabelsResult
     * @return DhlApiStructGetLabelsResponse
     */
    public function __construct($_getLabelsResult = NULL)
    {
        parent::__construct(array('getLabelsResult'=>($_getLabelsResult instanceof DhlApiStructArrayOfItemtoprintresponse)?$_getLabelsResult:new DhlApiStructArrayOfItemtoprintresponse($_getLabelsResult)),false);
    }
    /**
     * Get getLabelsResult value
     * @return DhlApiStructArrayOfItemtoprintresponse|null
     */
    public function getGetLabelsResult()
    {
        return $this->getLabelsResult;
    }
    /**
     * Set getLabelsResult value
     * @param DhlApiStructArrayOfItemtoprintresponse $_getLabelsResult the getLabelsResult
     * @return DhlApiStructArrayOfItemtoprintresponse
     */
    public function setGetLabelsResult($_getLabelsResult)
    {
        return ($this->getLabelsResult = $_getLabelsResult);
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see DhlApiWsdlClass::__set_state()
     * @uses DhlApiWsdlClass::__set_state()
     * @param array $_array the exported values
     * @return DhlApiStructGetLabelsResponse
     */
    public static function __set_state(array $_array,$_className = __CLASS__)
    {
        return parent::__set_state($_array,$_className);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
