com.antgroup.antchain.openapi.bot.models.SendCollectorBychainidRequest 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 SendCollectorBychainidRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 链上设备Id
@NameInMap("chain_device_id")
@Validation(required = true)
public String chainDeviceId;
// 收集数据
@NameInMap("collect_content_list")
@Validation(required = true)
public java.util.List collectContentList;
// 随机数,防重放
@NameInMap("nonce")
@Validation(required = true)
public String nonce;
// 数据模型Id
@NameInMap("data_model_id")
public String dataModelId;
public static SendCollectorBychainidRequest build(java.util.Map map) throws Exception {
SendCollectorBychainidRequest self = new SendCollectorBychainidRequest();
return TeaModel.build(map, self);
}
public SendCollectorBychainidRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public SendCollectorBychainidRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public SendCollectorBychainidRequest setChainDeviceId(String chainDeviceId) {
this.chainDeviceId = chainDeviceId;
return this;
}
public String getChainDeviceId() {
return this.chainDeviceId;
}
public SendCollectorBychainidRequest setCollectContentList(java.util.List collectContentList) {
this.collectContentList = collectContentList;
return this;
}
public java.util.List getCollectContentList() {
return this.collectContentList;
}
public SendCollectorBychainidRequest setNonce(String nonce) {
this.nonce = nonce;
return this;
}
public String getNonce() {
return this.nonce;
}
public SendCollectorBychainidRequest setDataModelId(String dataModelId) {
this.dataModelId = dataModelId;
return this;
}
public String getDataModelId() {
return this.dataModelId;
}
}