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

com.antgroup.antchain.openapi.twc.models.AuthContractSignRequest 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 AuthContractSignRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 授权人ID,即个人账号ID或机构账号ID
    @NameInMap("account_id")
    @Validation(required = true)
    public String accountId;

    // 授权截止时间, 格式为yyyy-MM-dd HH:mm:ss,默认无限期
    @NameInMap("deadline")
    public String deadline;

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

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

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

    public AuthContractSignRequest setAccountId(String accountId) {
        this.accountId = accountId;
        return this;
    }
    public String getAccountId() {
        return this.accountId;
    }

    public AuthContractSignRequest setDeadline(String deadline) {
        this.deadline = deadline;
        return this;
    }
    public String getDeadline() {
        return this.deadline;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy