com.antgroup.antchain.openapi.bot.models.BizContentGroup 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 BizContentGroup extends TeaModel {
// 设备链上ID(与scene参数、可信设备ID至少有一个参数不为空)
@NameInMap("chain_device_id")
public String chainDeviceId;
// 可信设备ID(与scene参数、设备链上ID至少有一个参数不为空)
@NameInMap("trustiot_device_id")
public Long trustiotDeviceId;
// 业务Id
//
//
@NameInMap("biz_id")
@Validation(required = true)
public String bizId;
// 业务类型
//
//
@NameInMap("biz_type")
@Validation(required = true)
public String bizType;
// 数据内容 JSON字符串
//
//
@NameInMap("content")
@Validation(required = true)
public String content;
public static BizContentGroup build(java.util.Map map) throws Exception {
BizContentGroup self = new BizContentGroup();
return TeaModel.build(map, self);
}
public BizContentGroup setChainDeviceId(String chainDeviceId) {
this.chainDeviceId = chainDeviceId;
return this;
}
public String getChainDeviceId() {
return this.chainDeviceId;
}
public BizContentGroup setTrustiotDeviceId(Long trustiotDeviceId) {
this.trustiotDeviceId = trustiotDeviceId;
return this;
}
public Long getTrustiotDeviceId() {
return this.trustiotDeviceId;
}
public BizContentGroup setBizId(String bizId) {
this.bizId = bizId;
return this;
}
public String getBizId() {
return this.bizId;
}
public BizContentGroup setBizType(String bizType) {
this.bizType = bizType;
return this;
}
public String getBizType() {
return this.bizType;
}
public BizContentGroup setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
}