com.antgroup.antchain.openapi.twc.models.CreateCourtTextnotaryRequest 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 CreateCourtTextnotaryRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 对应的法院编号
@NameInMap("agency_code")
public String agencyCode;
// 对应的法院应用ID
@NameInMap("application_code")
public String applicationCode;
// 业务类型标识
@NameInMap("business_type")
public String businessType;
// 数据类型标识
@NameInMap("data_type")
public String dataType;
// 地理位置信息
@NameInMap("location")
public Location location;
// 存证阶段
@NameInMap("phase")
@Validation(required = true)
public String phase;
// 扩展属性
@NameInMap("properties")
public String properties;
// 文本数据
@NameInMap("text_content")
@Validation(required = true)
public String textContent;
// 存证事务ID
@NameInMap("transaction_id")
@Validation(required = true)
public String transactionId;
// 是否使用可信时间戳
@NameInMap("tsr")
public Boolean tsr;
public static CreateCourtTextnotaryRequest build(java.util.Map map) throws Exception {
CreateCourtTextnotaryRequest self = new CreateCourtTextnotaryRequest();
return TeaModel.build(map, self);
}
public CreateCourtTextnotaryRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateCourtTextnotaryRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateCourtTextnotaryRequest setAgencyCode(String agencyCode) {
this.agencyCode = agencyCode;
return this;
}
public String getAgencyCode() {
return this.agencyCode;
}
public CreateCourtTextnotaryRequest setApplicationCode(String applicationCode) {
this.applicationCode = applicationCode;
return this;
}
public String getApplicationCode() {
return this.applicationCode;
}
public CreateCourtTextnotaryRequest setBusinessType(String businessType) {
this.businessType = businessType;
return this;
}
public String getBusinessType() {
return this.businessType;
}
public CreateCourtTextnotaryRequest setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public CreateCourtTextnotaryRequest setLocation(Location location) {
this.location = location;
return this;
}
public Location getLocation() {
return this.location;
}
public CreateCourtTextnotaryRequest setPhase(String phase) {
this.phase = phase;
return this;
}
public String getPhase() {
return this.phase;
}
public CreateCourtTextnotaryRequest setProperties(String properties) {
this.properties = properties;
return this;
}
public String getProperties() {
return this.properties;
}
public CreateCourtTextnotaryRequest setTextContent(String textContent) {
this.textContent = textContent;
return this;
}
public String getTextContent() {
return this.textContent;
}
public CreateCourtTextnotaryRequest setTransactionId(String transactionId) {
this.transactionId = transactionId;
return this;
}
public String getTransactionId() {
return this.transactionId;
}
public CreateCourtTextnotaryRequest setTsr(Boolean tsr) {
this.tsr = tsr;
return this;
}
public Boolean getTsr() {
return this.tsr;
}
}