com.antgroup.antchain.openapi.twc.models.GetCourtTextnotaryRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class GetCourtTextnotaryRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 地理位置信息
@NameInMap("location")
public Location location;
// 存证阶段
@NameInMap("phase")
public String phase;
// 扩展属性
@NameInMap("properties")
public String properties;
// 存证事务ID
@NameInMap("transaction_id")
public String transactionId;
// 交易哈希
@NameInMap("tx_hash")
@Validation(required = true)
public String txHash;
public static GetCourtTextnotaryRequest build(java.util.Map map) throws Exception {
GetCourtTextnotaryRequest self = new GetCourtTextnotaryRequest();
return TeaModel.build(map, self);
}
public GetCourtTextnotaryRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public GetCourtTextnotaryRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public GetCourtTextnotaryRequest setLocation(Location location) {
this.location = location;
return this;
}
public Location getLocation() {
return this.location;
}
public GetCourtTextnotaryRequest setPhase(String phase) {
this.phase = phase;
return this;
}
public String getPhase() {
return this.phase;
}
public GetCourtTextnotaryRequest setProperties(String properties) {
this.properties = properties;
return this;
}
public String getProperties() {
return this.properties;
}
public GetCourtTextnotaryRequest setTransactionId(String transactionId) {
this.transactionId = transactionId;
return this;
}
public String getTransactionId() {
return this.transactionId;
}
public GetCourtTextnotaryRequest setTxHash(String txHash) {
this.txHash = txHash;
return this;
}
public String getTxHash() {
return this.txHash;
}
}