Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CS/DAW/GLS_2StructCServiceDAW.php
<?php
/**
 * File for class GLS_2StructCServiceDAW
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
/**
 * This class stands for GLS_2StructCServiceDAW originally named cServiceDAW
 * 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_2StructCServiceDAW extends GLS_2WsdlClass
{
    /**
     * The name
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $name;
    /**
     * The building
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $building;
    /**
     * The floor
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $floor;
    /**
     * The room
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $room;
    /**
     * The phone
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $phone;
    /**
     * The altrec
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $altrec;
    /**
     * Constructor method for cServiceDAW
     * @see parent::__construct()
     * @param string $_name
     * @param string $_building
     * @param string $_floor
     * @param string $_room
     * @param string $_phone
     * @param string $_altrec
     * @return GLS_2StructCServiceDAW
     */
    public function __construct($_name,$_building = NULL,$_floor = NULL,$_room = NULL,$_phone = NULL,$_altrec = NULL)
    {
        parent::__construct(array('name'=>$_name,'building'=>$_building,'floor'=>$_floor,'room'=>$_room,'phone'=>$_phone,'altrec'=>$_altrec),false);
    }
    /**
     * Get name value
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param string $_name the name
     * @return string
     */
    public function setName($_name)
    {
        return ($this->name = $_name);
    }
    /**
     * Get building value
     * @return string|null
     */
    public function getBuilding()
    {
        return $this->building;
    }
    /**
     * Set building value
     * @param string $_building the building
     * @return string
     */
    public function setBuilding($_building)
    {
        return ($this->building = $_building);
    }
    /**
     * Get floor value
     * @return string|null
     */
    public function getFloor()
    {
        return $this->floor;
    }
    /**
     * Set floor value
     * @param string $_floor the floor
     * @return string
     */
    public function setFloor($_floor)
    {
        return ($this->floor = $_floor);
    }
    /**
     * Get room value
     * @return string|null
     */
    public function getRoom()
    {
        return $this->room;
    }
    /**
     * Set room value
     * @param string $_room the room
     * @return string
     */
    public function setRoom($_room)
    {
        return ($this->room = $_room);
    }
    /**
     * Get phone value
     * @return string|null
     */
    public function getPhone()
    {
        return $this->phone;
    }
    /**
     * Set phone value
     * @param string $_phone the phone
     * @return string
     */
    public function setPhone($_phone)
    {
        return ($this->phone = $_phone);
    }
    /**
     * Get altrec value
     * @return string|null
     */
    public function getAltrec()
    {
        return $this->altrec;
    }
    /**
     * Set altrec value
     * @param string $_altrec the altrec
     * @return string
     */
    public function setAltrec($_altrec)
    {
        return ($this->altrec = $_altrec);
    }
    /**
     * 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_2StructCServiceDAW
     */
    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__;
    }
}