com.aliyun.sdk.service.iot20180120.models.ListDistributedDeviceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListDistributedDeviceResponseBody} extends {@link TeaModel}
*
* ListDistributedDeviceResponseBody
*/
public class ListDistributedDeviceResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Data")
private Data data;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private ListDistributedDeviceResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorMessage = builder.errorMessage;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListDistributedDeviceResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private Data data;
private String errorMessage;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* ErrorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListDistributedDeviceResponseBody build() {
return new ListDistributedDeviceResponseBody(this);
}
}
public static class Items extends TeaModel {
@NameInMap("DeviceName")
private String deviceName;
@NameInMap("GmtCreate")
private Long gmtCreate;
@NameInMap("GmtModified")
private Long gmtModified;
@NameInMap("ProductKey")
private String productKey;
@NameInMap("SourceInstanceId")
private String sourceInstanceId;
@NameInMap("SourceInstanceName")
private String sourceInstanceName;
@NameInMap("SourceRegion")
private String sourceRegion;
@NameInMap("SourceUid")
private String sourceUid;
@NameInMap("TargetAliyunId")
private String targetAliyunId;
@NameInMap("TargetInstanceId")
private String targetInstanceId;
@NameInMap("TargetInstanceName")
private String targetInstanceName;
@NameInMap("TargetRegion")
private String targetRegion;
@NameInMap("TargetUid")
private String targetUid;
private Items(Builder builder) {
this.deviceName = builder.deviceName;
this.gmtCreate = builder.gmtCreate;
this.gmtModified = builder.gmtModified;
this.productKey = builder.productKey;
this.sourceInstanceId = builder.sourceInstanceId;
this.sourceInstanceName = builder.sourceInstanceName;
this.sourceRegion = builder.sourceRegion;
this.sourceUid = builder.sourceUid;
this.targetAliyunId = builder.targetAliyunId;
this.targetInstanceId = builder.targetInstanceId;
this.targetInstanceName = builder.targetInstanceName;
this.targetRegion = builder.targetRegion;
this.targetUid = builder.targetUid;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return gmtCreate
*/
public Long getGmtCreate() {
return this.gmtCreate;
}
/**
* @return gmtModified
*/
public Long getGmtModified() {
return this.gmtModified;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return sourceInstanceId
*/
public String getSourceInstanceId() {
return this.sourceInstanceId;
}
/**
* @return sourceInstanceName
*/
public String getSourceInstanceName() {
return this.sourceInstanceName;
}
/**
* @return sourceRegion
*/
public String getSourceRegion() {
return this.sourceRegion;
}
/**
* @return sourceUid
*/
public String getSourceUid() {
return this.sourceUid;
}
/**
* @return targetAliyunId
*/
public String getTargetAliyunId() {
return this.targetAliyunId;
}
/**
* @return targetInstanceId
*/
public String getTargetInstanceId() {
return this.targetInstanceId;
}
/**
* @return targetInstanceName
*/
public String getTargetInstanceName() {
return this.targetInstanceName;
}
/**
* @return targetRegion
*/
public String getTargetRegion() {
return this.targetRegion;
}
/**
* @return targetUid
*/
public String getTargetUid() {
return this.targetUid;
}
public static final class Builder {
private String deviceName;
private Long gmtCreate;
private Long gmtModified;
private String productKey;
private String sourceInstanceId;
private String sourceInstanceName;
private String sourceRegion;
private String sourceUid;
private String targetAliyunId;
private String targetInstanceId;
private String targetInstanceName;
private String targetRegion;
private String targetUid;
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
/**
* GmtCreate.
*/
public Builder gmtCreate(Long gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
/**
* GmtModified.
*/
public Builder gmtModified(Long gmtModified) {
this.gmtModified = gmtModified;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.productKey = productKey;
return this;
}
/**
* SourceInstanceId.
*/
public Builder sourceInstanceId(String sourceInstanceId) {
this.sourceInstanceId = sourceInstanceId;
return this;
}
/**
* SourceInstanceName.
*/
public Builder sourceInstanceName(String sourceInstanceName) {
this.sourceInstanceName = sourceInstanceName;
return this;
}
/**
* SourceRegion.
*/
public Builder sourceRegion(String sourceRegion) {
this.sourceRegion = sourceRegion;
return this;
}
/**
* SourceUid.
*/
public Builder sourceUid(String sourceUid) {
this.sourceUid = sourceUid;
return this;
}
/**
* TargetAliyunId.
*/
public Builder targetAliyunId(String targetAliyunId) {
this.targetAliyunId = targetAliyunId;
return this;
}
/**
* TargetInstanceId.
*/
public Builder targetInstanceId(String targetInstanceId) {
this.targetInstanceId = targetInstanceId;
return this;
}
/**
* TargetInstanceName.
*/
public Builder targetInstanceName(String targetInstanceName) {
this.targetInstanceName = targetInstanceName;
return this;
}
/**
* TargetRegion.
*/
public Builder targetRegion(String targetRegion) {
this.targetRegion = targetRegion;
return this;
}
/**
* TargetUid.
*/
public Builder targetUid(String targetUid) {
this.targetUid = targetUid;
return this;
}
public Items build() {
return new Items(this);
}
}
}
public static class Info extends TeaModel {
@NameInMap("items")
private java.util.List < Items> items;
private Info(Builder builder) {
this.items = builder.items;
}
public static Builder builder() {
return new Builder();
}
public static Info create() {
return builder().build();
}
/**
* @return items
*/
public java.util.List < Items> getItems() {
return this.items;
}
public static final class Builder {
private java.util.List < Items> items;
/**
* items.
*/
public Builder items(java.util.List < Items> items) {
this.items = items;
return this;
}
public Info build() {
return new Info(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("Info")
private Info info;
@NameInMap("Total")
private Integer total;
private Data(Builder builder) {
this.info = builder.info;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return info
*/
public Info getInfo() {
return this.info;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Info info;
private Integer total;
/**
* Info.
*/
public Builder info(Info info) {
this.info = info;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy