All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.iot20180120.models.ListOTAUnfinishedTaskByDeviceRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;

import com.aliyun.tea.*;

public class ListOTAUnfinishedTaskByDeviceRequest extends TeaModel {
    /**
     * 

The DeviceName of the device.

*
*

If you specify this parameter, you must also specify the ProductKey parameter.

*
* * example: *

light

*/ @NameInMap("DeviceName") public String deviceName; /** *

The ID of the device.

*
*

If you specify this parameter, you do not need to specify ProductKey or DeviceName. The IotId parameter specifies a globally unique identifier (GUID) of the device, which corresponds to a combination of ProductKey and DeviceName. If you specify both IotId and the combination of ProductKey and DeviceName, IotId takes precedence.

*
* * example: *

TfmUAeJjQQhCPH84UVNn0010c6****

*/ @NameInMap("IotId") public String iotId; /** *

The ID of the instance. You can view the instance ID on the Overview page in the IoT Platform console.

*
*
    *
  • If your instance has an ID, you must configure this parameter. If you do not set this parameter, the call fails.
  • *
  • If your instance has no Overview page or ID, you do not need to set this parameter.
  • *
*
*

For more information, see Overview.

* * example: *

iot-c3j***

*/ @NameInMap("IotInstanceId") public String iotInstanceId; /** *

The name of the OTA module.

*
    *
  • If you specify this parameter, update tasks of the specified module are queried.
  • *
  • If you do not specify this parameter, update tasks of all modules are queried.
  • *
* * example: *

WifiConfigModify

*/ @NameInMap("ModuleName") public String moduleName; /** *

The ProductKey of the product to which the device belongs.

*
*

If you specify this parameter, you must also specify the DeviceName parameter.

*
* * example: *

a19mzPZ****

*/ @NameInMap("ProductKey") public String productKey; /** *

The status of the update task.

*
    *
  • CONFIRM: The update task is pending confirmation.
  • *
  • QUEUED: The update notification is to be pushed.
  • *
  • NOTIFIED: The update notification is pushed to the device.
  • *
  • IN_PROGRESS: The update task is in progress.
  • *
* * example: *

CONFIRM

*/ @NameInMap("TaskStatus") public String taskStatus; @NameInMap("TaskStatusList") public java.util.List taskStatusList; public static ListOTAUnfinishedTaskByDeviceRequest build(java.util.Map map) throws Exception { ListOTAUnfinishedTaskByDeviceRequest self = new ListOTAUnfinishedTaskByDeviceRequest(); return TeaModel.build(map, self); } public ListOTAUnfinishedTaskByDeviceRequest setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } public String getDeviceName() { return this.deviceName; } public ListOTAUnfinishedTaskByDeviceRequest setIotId(String iotId) { this.iotId = iotId; return this; } public String getIotId() { return this.iotId; } public ListOTAUnfinishedTaskByDeviceRequest setIotInstanceId(String iotInstanceId) { this.iotInstanceId = iotInstanceId; return this; } public String getIotInstanceId() { return this.iotInstanceId; } public ListOTAUnfinishedTaskByDeviceRequest setModuleName(String moduleName) { this.moduleName = moduleName; return this; } public String getModuleName() { return this.moduleName; } public ListOTAUnfinishedTaskByDeviceRequest setProductKey(String productKey) { this.productKey = productKey; return this; } public String getProductKey() { return this.productKey; } public ListOTAUnfinishedTaskByDeviceRequest setTaskStatus(String taskStatus) { this.taskStatus = taskStatus; return this; } public String getTaskStatus() { return this.taskStatus; } public ListOTAUnfinishedTaskByDeviceRequest setTaskStatusList(java.util.List taskStatusList) { this.taskStatusList = taskStatusList; return this; } public java.util.List getTaskStatusList() { return this.taskStatusList; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy