Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CP/Rofile/GLS_2StructCProfile.php
<?php
/**
 * File for class GLS_2StructCProfile
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
/**
 * This class stands for GLS_2StructCProfile originally named cProfile
 * 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_2StructCProfile extends GLS_2WsdlClass
{
    /**
     * The id
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var int
     */
    public $id;
    /**
     * The desc
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $desc;
    /**
     * Constructor method for cProfile
     * @see parent::__construct()
     * @param int $_id
     * @param string $_desc
     * @return GLS_2StructCProfile
     */
    public function __construct($_id,$_desc)
    {
        parent::__construct(array('id'=>$_id,'desc'=>$_desc),false);
    }
    /**
     * Get id value
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Set id value
     * @param int $_id the id
     * @return int
     */
    public function setId($_id)
    {
        return ($this->id = $_id);
    }
    /**
     * Get desc value
     * @return string
     */
    public function getDesc()
    {
        return $this->desc;
    }
    /**
     * Set desc value
     * @param string $_desc the desc
     * @return string
     */
    public function setDesc($_desc)
    {
        return ($this->desc = $_desc);
    }
    /**
     * 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_2StructCProfile
     */
    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__;
    }
}