All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.deps.models.ExistConfigGlobalRequest Maven / Gradle / Ivy

There is a newer version: 3.2.40
Show newest version
// 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy