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

com.antgroup.antchain.openapi.bot.models.AddTenantRequest Maven / Gradle / Ivy

There is a newer version: 1.11.48
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;

import com.aliyun.tea.*;

public class AddTenantRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 租户
    @NameInMap("tenant_name")
    @Validation(required = true)
    public String tenantName;

    // 组织名称
    @NameInMap("org_name")
    @Validation(required = true)
    public String orgName;

    // 企业执照号
    @NameInMap("owner")
    public String owner;

    // 网关私钥
    @NameInMap("gateway_private_key")
    public String gatewayPrivateKey;

    // 网关公钥
    @NameInMap("gateway_public_key")
    public String gatewayPublicKey;

    // 是否需要生成秘钥对,默认为false
    @NameInMap("generate_gateway_keys")
    public Boolean generateGatewayKeys;

    // 是否为测试租户
    @NameInMap("mock")
    public Boolean mock;

    public static AddTenantRequest build(java.util.Map map) throws Exception {
        AddTenantRequest self = new AddTenantRequest();
        return TeaModel.build(map, self);
    }

    public AddTenantRequest setAuthToken(String authToken) {
        this.authToken = authToken;
        return this;
    }
    public String getAuthToken() {
        return this.authToken;
    }

    public AddTenantRequest setProductInstanceId(String productInstanceId) {
        this.productInstanceId = productInstanceId;
        return this;
    }
    public String getProductInstanceId() {
        return this.productInstanceId;
    }

    public AddTenantRequest setTenantName(String tenantName) {
        this.tenantName = tenantName;
        return this;
    }
    public String getTenantName() {
        return this.tenantName;
    }

    public AddTenantRequest setOrgName(String orgName) {
        this.orgName = orgName;
        return this;
    }
    public String getOrgName() {
        return this.orgName;
    }

    public AddTenantRequest setOwner(String owner) {
        this.owner = owner;
        return this;
    }
    public String getOwner() {
        return this.owner;
    }

    public AddTenantRequest setGatewayPrivateKey(String gatewayPrivateKey) {
        this.gatewayPrivateKey = gatewayPrivateKey;
        return this;
    }
    public String getGatewayPrivateKey() {
        return this.gatewayPrivateKey;
    }

    public AddTenantRequest setGatewayPublicKey(String gatewayPublicKey) {
        this.gatewayPublicKey = gatewayPublicKey;
        return this;
    }
    public String getGatewayPublicKey() {
        return this.gatewayPublicKey;
    }

    public AddTenantRequest setGenerateGatewayKeys(Boolean generateGatewayKeys) {
        this.generateGatewayKeys = generateGatewayKeys;
        return this;
    }
    public Boolean getGenerateGatewayKeys() {
        return this.generateGatewayKeys;
    }

    public AddTenantRequest setMock(Boolean mock) {
        this.mock = mock;
        return this;
    }
    public Boolean getMock() {
        return this.mock;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy