com.antgroup.antchain.openapi.bot.models.CreateDeviceDatamodelRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-bot Show documentation
Show all versions of openapi-bot Show documentation
Ant Chain BOT SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;
import com.aliyun.tea.*;
public class CreateDeviceDatamodelRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 数据模型
@NameInMap("data_model")
@Validation(required = true)
public String dataModel;
// 数据模型名称
@NameInMap("data_model_name")
public String dataModelName;
// 数据模型类别
@NameInMap("biz_type")
public String bizType;
// 用户自定义版本
@NameInMap("customer_version")
public String customerVersion;
// 数据样例
@NameInMap("data_demo")
public String dataDemo;
public static CreateDeviceDatamodelRequest build(java.util.Map map) throws Exception {
CreateDeviceDatamodelRequest self = new CreateDeviceDatamodelRequest();
return TeaModel.build(map, self);
}
public CreateDeviceDatamodelRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateDeviceDatamodelRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateDeviceDatamodelRequest setDataModel(String dataModel) {
this.dataModel = dataModel;
return this;
}
public String getDataModel() {
return this.dataModel;
}
public CreateDeviceDatamodelRequest setDataModelName(String dataModelName) {
this.dataModelName = dataModelName;
return this;
}
public String getDataModelName() {
return this.dataModelName;
}
public CreateDeviceDatamodelRequest setBizType(String bizType) {
this.bizType = bizType;
return this;
}
public String getBizType() {
return this.bizType;
}
public CreateDeviceDatamodelRequest setCustomerVersion(String customerVersion) {
this.customerVersion = customerVersion;
return this;
}
public String getCustomerVersion() {
return this.customerVersion;
}
public CreateDeviceDatamodelRequest setDataDemo(String dataDemo) {
this.dataDemo = dataDemo;
return this;
}
public String getDataDemo() {
return this.dataDemo;
}
}