<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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