com.aliyun.sdk.service.iot20180120.models.QueryDeviceDistributeJobResponseBody 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 QueryDeviceDistributeJobResponseBody} extends {@link TeaModel}
*
* QueryDeviceDistributeJobResponseBody
*/
public class QueryDeviceDistributeJobResponseBody 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 QueryDeviceDistributeJobResponseBody(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 QueryDeviceDistributeJobResponseBody 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 QueryDeviceDistributeJobResponseBody build() {
return new QueryDeviceDistributeJobResponseBody(this);
}
}
public static class TargetInstanceConfigs extends TeaModel {
@NameInMap("TargetInstanceId")
private String targetInstanceId;
private TargetInstanceConfigs(Builder builder) {
this.targetInstanceId = builder.targetInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static TargetInstanceConfigs create() {
return builder().build();
}
/**
* @return targetInstanceId
*/
public String getTargetInstanceId() {
return this.targetInstanceId;
}
public static final class Builder {
private String targetInstanceId;
/**
* TargetInstanceId.
*/
public Builder targetInstanceId(String targetInstanceId) {
this.targetInstanceId = targetInstanceId;
return this;
}
public TargetInstanceConfigs build() {
return new TargetInstanceConfigs(this);
}
}
}
public static class DataTargetInstanceConfigs extends TeaModel {
@NameInMap("targetInstanceConfigs")
private java.util.List < TargetInstanceConfigs> targetInstanceConfigs;
private DataTargetInstanceConfigs(Builder builder) {
this.targetInstanceConfigs = builder.targetInstanceConfigs;
}
public static Builder builder() {
return new Builder();
}
public static DataTargetInstanceConfigs create() {
return builder().build();
}
/**
* @return targetInstanceConfigs
*/
public java.util.List < TargetInstanceConfigs> getTargetInstanceConfigs() {
return this.targetInstanceConfigs;
}
public static final class Builder {
private java.util.List < TargetInstanceConfigs> targetInstanceConfigs;
/**
* targetInstanceConfigs.
*/
public Builder targetInstanceConfigs(java.util.List < TargetInstanceConfigs> targetInstanceConfigs) {
this.targetInstanceConfigs = targetInstanceConfigs;
return this;
}
public DataTargetInstanceConfigs build() {
return new DataTargetInstanceConfigs(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("GmtCreate")
private Long gmtCreate;
@NameInMap("JobId")
private String jobId;
@NameInMap("ProductKey")
private String productKey;
@NameInMap("SourceInstanceId")
private String sourceInstanceId;
@NameInMap("SourceUid")
private String sourceUid;
@NameInMap("Status")
private Integer status;
@NameInMap("Strategy")
private Integer strategy;
@NameInMap("TargetInstanceConfigs")
private DataTargetInstanceConfigs targetInstanceConfigs;
@NameInMap("TargetUid")
private String targetUid;
@NameInMap("Total")
private Integer total;
private Data(Builder builder) {
this.gmtCreate = builder.gmtCreate;
this.jobId = builder.jobId;
this.productKey = builder.productKey;
this.sourceInstanceId = builder.sourceInstanceId;
this.sourceUid = builder.sourceUid;
this.status = builder.status;
this.strategy = builder.strategy;
this.targetInstanceConfigs = builder.targetInstanceConfigs;
this.targetUid = builder.targetUid;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return gmtCreate
*/
public Long getGmtCreate() {
return this.gmtCreate;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return sourceInstanceId
*/
public String getSourceInstanceId() {
return this.sourceInstanceId;
}
/**
* @return sourceUid
*/
public String getSourceUid() {
return this.sourceUid;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return strategy
*/
public Integer getStrategy() {
return this.strategy;
}
/**
* @return targetInstanceConfigs
*/
public DataTargetInstanceConfigs getTargetInstanceConfigs() {
return this.targetInstanceConfigs;
}
/**
* @return targetUid
*/
public String getTargetUid() {
return this.targetUid;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Long gmtCreate;
private String jobId;
private String productKey;
private String sourceInstanceId;
private String sourceUid;
private Integer status;
private Integer strategy;
private DataTargetInstanceConfigs targetInstanceConfigs;
private String targetUid;
private Integer total;
/**
* GmtCreate.
*/
public Builder gmtCreate(Long gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
/**
* JobId.
*/
public Builder jobId(String jobId) {
this.jobId = jobId;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.productKey = productKey;
return this;
}
/**
* SourceInstanceId.
*/
public Builder sourceInstanceId(String sourceInstanceId) {
this.sourceInstanceId = sourceInstanceId;
return this;
}
/**
* SourceUid.
*/
public Builder sourceUid(String sourceUid) {
this.sourceUid = sourceUid;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* Strategy.
*/
public Builder strategy(Integer strategy) {
this.strategy = strategy;
return this;
}
/**
* TargetInstanceConfigs.
*/
public Builder targetInstanceConfigs(DataTargetInstanceConfigs targetInstanceConfigs) {
this.targetInstanceConfigs = targetInstanceConfigs;
return this;
}
/**
* TargetUid.
*/
public Builder targetUid(String targetUid) {
this.targetUid = targetUid;
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