<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetDeviceListResponse StructType
 * @subpackage Structs
 */
class GetDeviceListResponse extends AbstractStructBase
{
    /**
     * The GetDeviceListResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\ArrayType\ArrayOfPanelDevice
     */
    public $GetDeviceListResult;
    /**
     * Constructor method for GetDeviceListResponse
     * @uses GetDeviceListResponse::setGetDeviceListResult()
     * @param \CustomerManagement\ArrayType\ArrayOfPanelDevice $getDeviceListResult
     */
    public function __construct(\CustomerManagement\ArrayType\ArrayOfPanelDevice $getDeviceListResult = null)
    {
        $this
            ->setGetDeviceListResult($getDeviceListResult);
    }
    /**
     * Get GetDeviceListResult value
     * @return \CustomerManagement\ArrayType\ArrayOfPanelDevice|null
     */
    public function getGetDeviceListResult()
    {
        return $this->GetDeviceListResult;
    }
    /**
     * Set GetDeviceListResult value
     * @param \CustomerManagement\ArrayType\ArrayOfPanelDevice $getDeviceListResult
     * @return \CustomerManagement\StructType\GetDeviceListResponse
     */
    public function setGetDeviceListResult(\CustomerManagement\ArrayType\ArrayOfPanelDevice $getDeviceListResult = null)
    {
        $this->GetDeviceListResult = $getDeviceListResult;
        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 \CustomerManagement\StructType\GetDeviceListResponse
     */
    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__;
    }
}
