com.antgroup.antchain.openapi.twc.models.CreateLeaseBizRequest 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 CreateLeaseBizRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 租赁订单相关内容,以json形式发送
@NameInMap("biz_content")
@Validation(required = true)
public String bizContent;
// 租赁订单所属阶段
@NameInMap("type")
@Validation(required = true)
public String type;
// 租赁订单操作类型
@NameInMap("operation_type")
public String operationType;
public static CreateLeaseBizRequest build(java.util.Map map) throws Exception {
CreateLeaseBizRequest self = new CreateLeaseBizRequest();
return TeaModel.build(map, self);
}
public CreateLeaseBizRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateLeaseBizRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateLeaseBizRequest setBizContent(String bizContent) {
this.bizContent = bizContent;
return this;
}
public String getBizContent() {
return this.bizContent;
}
public CreateLeaseBizRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public CreateLeaseBizRequest setOperationType(String operationType) {
this.operationType = operationType;
return this;
}
public String getOperationType() {
return this.operationType;
}
}