com.antgroup.antchain.openapi.bot.models.CreateXrXrticketpoolRequest 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 CreateXrXrticketpoolRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 业务类型
@NameInMap("biz_scene")
@Validation(required = true)
public String bizScene;
// 资源id
@NameInMap("resource_id")
@Validation(required = true)
public String resourceId;
// 有效期
@NameInMap("valid_time")
@Validation(required = true)
public String validTime;
// 体验时长
@NameInMap("test_time")
@Validation(required = true)
public Long testTime;
// vr设备集合
@NameInMap("xr_apps")
public String xrApps;
// 券池数量,能发多少张券
@NameInMap("max_pool_count")
@Validation(required = true)
public Long maxPoolCount;
// 券池名称
@NameInMap("xr_ticket_pool_name")
@Validation(required = true)
public String xrTicketPoolName;
// 核销类型
@NameInMap("xr_verification_type")
@Validation(required = true)
public String xrVerificationType;
public static CreateXrXrticketpoolRequest build(java.util.Map map) throws Exception {
CreateXrXrticketpoolRequest self = new CreateXrXrticketpoolRequest();
return TeaModel.build(map, self);
}
public CreateXrXrticketpoolRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateXrXrticketpoolRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateXrXrticketpoolRequest setBizScene(String bizScene) {
this.bizScene = bizScene;
return this;
}
public String getBizScene() {
return this.bizScene;
}
public CreateXrXrticketpoolRequest setResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
public String getResourceId() {
return this.resourceId;
}
public CreateXrXrticketpoolRequest setValidTime(String validTime) {
this.validTime = validTime;
return this;
}
public String getValidTime() {
return this.validTime;
}
public CreateXrXrticketpoolRequest setTestTime(Long testTime) {
this.testTime = testTime;
return this;
}
public Long getTestTime() {
return this.testTime;
}
public CreateXrXrticketpoolRequest setXrApps(String xrApps) {
this.xrApps = xrApps;
return this;
}
public String getXrApps() {
return this.xrApps;
}
public CreateXrXrticketpoolRequest setMaxPoolCount(Long maxPoolCount) {
this.maxPoolCount = maxPoolCount;
return this;
}
public Long getMaxPoolCount() {
return this.maxPoolCount;
}
public CreateXrXrticketpoolRequest setXrTicketPoolName(String xrTicketPoolName) {
this.xrTicketPoolName = xrTicketPoolName;
return this;
}
public String getXrTicketPoolName() {
return this.xrTicketPoolName;
}
public CreateXrXrticketpoolRequest setXrVerificationType(String xrVerificationType) {
this.xrVerificationType = xrVerificationType;
return this;
}
public String getXrVerificationType() {
return this.xrVerificationType;
}
}