com.antgroup.antchain.openapi.deps.models.RollbackPlanServiceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-deps Show documentation
Show all versions of openapi-deps Show documentation
Ant Chain deps SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;
import com.aliyun.tea.*;
public class RollbackPlanServiceRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// 发布单ID
@NameInMap("plan_id")
@Validation(required = true)
public String planId;
// rollback_info
@NameInMap("rollback_info")
@Validation(required = true)
public RollbackInfo rollbackInfo;
// 发布服务
@NameInMap("service")
@Validation(required = true)
public String service;
// workspace
@NameInMap("workspace")
@Validation(required = true)
public String workspace;
public static RollbackPlanServiceRequest build(java.util.Map map) throws Exception {
RollbackPlanServiceRequest self = new RollbackPlanServiceRequest();
return TeaModel.build(map, self);
}
public RollbackPlanServiceRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public RollbackPlanServiceRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public RollbackPlanServiceRequest setPlanId(String planId) {
this.planId = planId;
return this;
}
public String getPlanId() {
return this.planId;
}
public RollbackPlanServiceRequest setRollbackInfo(RollbackInfo rollbackInfo) {
this.rollbackInfo = rollbackInfo;
return this;
}
public RollbackInfo getRollbackInfo() {
return this.rollbackInfo;
}
public RollbackPlanServiceRequest setService(String service) {
this.service = service;
return this;
}
public String getService() {
return this.service;
}
public RollbackPlanServiceRequest setWorkspace(String workspace) {
this.workspace = workspace;
return this;
}
public String getWorkspace() {
return this.workspace;
}
}