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

com.antgroup.antchain.openapi.twc.models.CreateContractPlatformRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

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

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 平台方经办人信息
    @NameInMap("creator")
    @Validation(required = true)
    public ContractAccountApplication creator;

    // 平台机构信息
    @NameInMap("platform")
    @Validation(required = true)
    public ContractOrganizationApplication platform;

    // 代理客户时,实际用户的租户ID
    // 
    @NameInMap("sub_tenant_id")
    public String subTenantId;

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

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

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

    public CreateContractPlatformRequest setCreator(ContractAccountApplication creator) {
        this.creator = creator;
        return this;
    }
    public ContractAccountApplication getCreator() {
        return this.creator;
    }

    public CreateContractPlatformRequest setPlatform(ContractOrganizationApplication platform) {
        this.platform = platform;
        return this;
    }
    public ContractOrganizationApplication getPlatform() {
        return this.platform;
    }

    public CreateContractPlatformRequest setSubTenantId(String subTenantId) {
        this.subTenantId = subTenantId;
        return this;
    }
    public String getSubTenantId() {
        return this.subTenantId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy