com.aliyun.sdk.service.iot20180120.models.CreateProductResponseBody 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 CreateProductResponseBody} extends {@link TeaModel}
*
* CreateProductResponseBody
*/
public class CreateProductResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Data")
private Data data;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("ProductKey")
private String productKey;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private CreateProductResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorMessage = builder.errorMessage;
this.productKey = builder.productKey;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static CreateProductResponseBody 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 productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @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 productKey;
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;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.productKey = productKey;
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 CreateProductResponseBody build() {
return new CreateProductResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AliyunCommodityCode")
private String aliyunCommodityCode;
@NameInMap("AuthType")
private String authType;
@NameInMap("DataFormat")
private Integer dataFormat;
@NameInMap("Description")
private String description;
@NameInMap("Id2")
private Boolean id2;
@NameInMap("NodeType")
private Integer nodeType;
@NameInMap("ProductKey")
private String productKey;
@NameInMap("ProductName")
private String productName;
@NameInMap("ProductSecret")
private String productSecret;
@NameInMap("ProtocolType")
private String protocolType;
private Data(Builder builder) {
this.aliyunCommodityCode = builder.aliyunCommodityCode;
this.authType = builder.authType;
this.dataFormat = builder.dataFormat;
this.description = builder.description;
this.id2 = builder.id2;
this.nodeType = builder.nodeType;
this.productKey = builder.productKey;
this.productName = builder.productName;
this.productSecret = builder.productSecret;
this.protocolType = builder.protocolType;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return aliyunCommodityCode
*/
public String getAliyunCommodityCode() {
return this.aliyunCommodityCode;
}
/**
* @return authType
*/
public String getAuthType() {
return this.authType;
}
/**
* @return dataFormat
*/
public Integer getDataFormat() {
return this.dataFormat;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return id2
*/
public Boolean getId2() {
return this.id2;
}
/**
* @return nodeType
*/
public Integer getNodeType() {
return this.nodeType;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return productName
*/
public String getProductName() {
return this.productName;
}
/**
* @return productSecret
*/
public String getProductSecret() {
return this.productSecret;
}
/**
* @return protocolType
*/
public String getProtocolType() {
return this.protocolType;
}
public static final class Builder {
private String aliyunCommodityCode;
private String authType;
private Integer dataFormat;
private String description;
private Boolean id2;
private Integer nodeType;
private String productKey;
private String productName;
private String productSecret;
private String protocolType;
/**
* AliyunCommodityCode.
*/
public Builder aliyunCommodityCode(String aliyunCommodityCode) {
this.aliyunCommodityCode = aliyunCommodityCode;
return this;
}
/**
* AuthType.
*/
public Builder authType(String authType) {
this.authType = authType;
return this;
}
/**
* DataFormat.
*/
public Builder dataFormat(Integer dataFormat) {
this.dataFormat = dataFormat;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Id2.
*/
public Builder id2(Boolean id2) {
this.id2 = id2;
return this;
}
/**
* NodeType.
*/
public Builder nodeType(Integer nodeType) {
this.nodeType = nodeType;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.productKey = productKey;
return this;
}
/**
* ProductName.
*/
public Builder productName(String productName) {
this.productName = productName;
return this;
}
/**
* ProductSecret.
*/
public Builder productSecret(String productSecret) {
this.productSecret = productSecret;
return this;
}
/**
* ProtocolType.
*/
public Builder protocolType(String protocolType) {
this.protocolType = protocolType;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy