com.aliyun.sdk.service.iot20180120.models.ImportDeviceResponseBody 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 ImportDeviceResponseBody} extends {@link TeaModel}
*
* ImportDeviceResponseBody
*/
public class ImportDeviceResponseBody 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 ImportDeviceResponseBody(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 ImportDeviceResponseBody 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 ImportDeviceResponseBody build() {
return new ImportDeviceResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("DeviceName")
private String deviceName;
@NameInMap("DeviceSecret")
private String deviceSecret;
@NameInMap("IotId")
private String iotId;
@NameInMap("Nickname")
private String nickname;
@NameInMap("ProductKey")
private String productKey;
@NameInMap("Sn")
private String sn;
private Data(Builder builder) {
this.deviceName = builder.deviceName;
this.deviceSecret = builder.deviceSecret;
this.iotId = builder.iotId;
this.nickname = builder.nickname;
this.productKey = builder.productKey;
this.sn = builder.sn;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return deviceSecret
*/
public String getDeviceSecret() {
return this.deviceSecret;
}
/**
* @return iotId
*/
public String getIotId() {
return this.iotId;
}
/**
* @return nickname
*/
public String getNickname() {
return this.nickname;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return sn
*/
public String getSn() {
return this.sn;
}
public static final class Builder {
private String deviceName;
private String deviceSecret;
private String iotId;
private String nickname;
private String productKey;
private String sn;
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
/**
* DeviceSecret.
*/
public Builder deviceSecret(String deviceSecret) {
this.deviceSecret = deviceSecret;
return this;
}
/**
* IotId.
*/
public Builder iotId(String iotId) {
this.iotId = iotId;
return this;
}
/**
* Nickname.
*/
public Builder nickname(String nickname) {
this.nickname = nickname;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.productKey = productKey;
return this;
}
/**
* Sn.
*/
public Builder sn(String sn) {
this.sn = sn;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy