com.antgroup.antchain.openapi.bot.models.SyncIotbasicDevicestatusRequest 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 SyncIotbasicDevicestatusRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 设备did
@NameInMap("device_did")
@Validation(required = true)
public String deviceDid;
// 设备状态
@NameInMap("device_status")
public String deviceStatus;
// 设备签名
@NameInMap("device_signature")
@Validation(required = true)
public String deviceSignature;
// 业务状态
@NameInMap("biz_status_info")
public BizStatusInfoOp bizStatusInfo;
public static SyncIotbasicDevicestatusRequest build(java.util.Map map) throws Exception {
SyncIotbasicDevicestatusRequest self = new SyncIotbasicDevicestatusRequest();
return TeaModel.build(map, self);
}
public SyncIotbasicDevicestatusRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public SyncIotbasicDevicestatusRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public SyncIotbasicDevicestatusRequest setDeviceDid(String deviceDid) {
this.deviceDid = deviceDid;
return this;
}
public String getDeviceDid() {
return this.deviceDid;
}
public SyncIotbasicDevicestatusRequest setDeviceStatus(String deviceStatus) {
this.deviceStatus = deviceStatus;
return this;
}
public String getDeviceStatus() {
return this.deviceStatus;
}
public SyncIotbasicDevicestatusRequest setDeviceSignature(String deviceSignature) {
this.deviceSignature = deviceSignature;
return this;
}
public String getDeviceSignature() {
return this.deviceSignature;
}
public SyncIotbasicDevicestatusRequest setBizStatusInfo(BizStatusInfoOp bizStatusInfo) {
this.bizStatusInfo = bizStatusInfo;
return this;
}
public BizStatusInfoOp getBizStatusInfo() {
return this.bizStatusInfo;
}
}