com.antgroup.antchain.openapi.bot.models.QueryDeviceStatusRequest 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 QueryDeviceStatusRequest 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;
// 设备did签名
@NameInMap("signature")
@Validation(required = true)
public String signature;
public static QueryDeviceStatusRequest build(java.util.Map map) throws Exception {
QueryDeviceStatusRequest self = new QueryDeviceStatusRequest();
return TeaModel.build(map, self);
}
public QueryDeviceStatusRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryDeviceStatusRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public QueryDeviceStatusRequest setDeviceDid(String deviceDid) {
this.deviceDid = deviceDid;
return this;
}
public String getDeviceDid() {
return this.deviceDid;
}
public QueryDeviceStatusRequest setSignature(String signature) {
this.signature = signature;
return this;
}
public String getSignature() {
return this.signature;
}
}