com.antgroup.antchain.openapi.deps.models.ExistConfigAppRequest 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 ExistConfigAppRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// 应用名称
@NameInMap("app_name")
@Validation(required = true)
public String appName;
// 应用参数名称,同一个 appName + scope + scopeId 下不能有同名的应用参数
@NameInMap("key")
@Validation(required = true)
public String key;
// 作用域 id 数组,比如作用域类型(type)是 workspace,那么 scopeId 就是 workspace 的 id
@NameInMap("scope_ids")
@Validation(required = true)
public java.util.List scopeIds;
// 作用域类型
@NameInMap("type")
@Validation(required = true)
public String type;
public static ExistConfigAppRequest build(java.util.Map map) throws Exception {
ExistConfigAppRequest self = new ExistConfigAppRequest();
return TeaModel.build(map, self);
}
public ExistConfigAppRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public ExistConfigAppRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public ExistConfigAppRequest setAppName(String appName) {
this.appName = appName;
return this;
}
public String getAppName() {
return this.appName;
}
public ExistConfigAppRequest setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public ExistConfigAppRequest setScopeIds(java.util.List scopeIds) {
this.scopeIds = scopeIds;
return this;
}
public java.util.List getScopeIds() {
return this.scopeIds;
}
public ExistConfigAppRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}