com.antgroup.antchain.openapi.deps.models.ExistConfigGlobalRequest 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 ExistConfigGlobalRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// 全局参数名称,同一个 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 ExistConfigGlobalRequest build(java.util.Map map) throws Exception {
ExistConfigGlobalRequest self = new ExistConfigGlobalRequest();
return TeaModel.build(map, self);
}
public ExistConfigGlobalRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public ExistConfigGlobalRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public ExistConfigGlobalRequest setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public ExistConfigGlobalRequest setScopeIds(java.util.List scopeIds) {
this.scopeIds = scopeIds;
return this;
}
public java.util.List getScopeIds() {
return this.scopeIds;
}
public ExistConfigGlobalRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}