com.antgroup.antchain.openapi.deps.models.CreateAppbaselineSidecarRequest 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 CreateAppbaselineSidecarRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// 应用名
@NameInMap("app_name")
@Validation(required = true)
public String appName;
// sidecar类型
@NameInMap("category")
@Validation(required = true)
public String category;
// 应用基线适用条件,网商仅能指定workspaceGroups属性,并且只能指定一个workspaceGroup
@NameInMap("conditions")
@Validation(required = true)
public java.util.List conditions;
// 是否开启sidecar
@NameInMap("enable")
@Validation(required = true)
public Boolean enable;
// sidecar版本号
@NameInMap("sidecar_version")
@Validation(required = true)
public String sidecarVersion;
public static CreateAppbaselineSidecarRequest build(java.util.Map map) throws Exception {
CreateAppbaselineSidecarRequest self = new CreateAppbaselineSidecarRequest();
return TeaModel.build(map, self);
}
public CreateAppbaselineSidecarRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateAppbaselineSidecarRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public CreateAppbaselineSidecarRequest setAppName(String appName) {
this.appName = appName;
return this;
}
public String getAppName() {
return this.appName;
}
public CreateAppbaselineSidecarRequest setCategory(String category) {
this.category = category;
return this;
}
public String getCategory() {
return this.category;
}
public CreateAppbaselineSidecarRequest setConditions(java.util.List conditions) {
this.conditions = conditions;
return this;
}
public java.util.List getConditions() {
return this.conditions;
}
public CreateAppbaselineSidecarRequest setEnable(Boolean enable) {
this.enable = enable;
return this;
}
public Boolean getEnable() {
return this.enable;
}
public CreateAppbaselineSidecarRequest setSidecarVersion(String sidecarVersion) {
this.sidecarVersion = sidecarVersion;
return this;
}
public String getSidecarVersion() {
return this.sidecarVersion;
}
}