Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CS/Tatus/GLS_2StructCStatus.php
<?php
/**
 * File for class GLS_2StructCStatus
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
/**
 * This class stands for GLS_2StructCStatus originally named cStatus
 * Meta informations extracted from the WSDL
 * - from schema : {@link https://ade-test.gls-poland.com/adeplus/pm1/ade_webapi2.php?wsdl}
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
class GLS_2StructCStatus extends GLS_2WsdlClass
{
    /**
     * The status
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var int
     */
    public $status;
    /**
     * Constructor method for cStatus
     * @see parent::__construct()
     * @param int $_status
     * @return GLS_2StructCStatus
     */
    public function __construct($_status)
    {
        parent::__construct(array('status'=>$_status),false);
    }
    /**
     * Get status value
     * @return int
     */
    public function getStatus()
    {
        return $this->status;
    }
    /**
     * Set status value
     * @param int $_status the status
     * @return int
     */
    public function setStatus($_status)
    {
        return ($this->status = $_status);
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see GLS_2WsdlClass::__set_state()
     * @uses GLS_2WsdlClass::__set_state()
     * @param array $_array the exported values
     * @return GLS_2StructCStatus
     */
    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__;
    }
}