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

com.aliyun.dingtalkoauth2_1_0.models.GetCorpAccessTokenRequest Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkoauth2_1_0.models;

import com.aliyun.tea.*;

public class GetCorpAccessTokenRequest extends TeaModel {
    // OAuth 2.0 临时授权码
    @NameInMap("authCorpId")
    public String authCorpId;

    // 应用id
    @NameInMap("suiteKey")
    public String suiteKey;

    // 应用密码
    @NameInMap("suiteSecret")
    public String suiteSecret;

    // suiteTicket
    @NameInMap("suiteTicket")
    public String suiteTicket;

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

    public GetCorpAccessTokenRequest setAuthCorpId(String authCorpId) {
        this.authCorpId = authCorpId;
        return this;
    }
    public String getAuthCorpId() {
        return this.authCorpId;
    }

    public GetCorpAccessTokenRequest setSuiteKey(String suiteKey) {
        this.suiteKey = suiteKey;
        return this;
    }
    public String getSuiteKey() {
        return this.suiteKey;
    }

    public GetCorpAccessTokenRequest setSuiteSecret(String suiteSecret) {
        this.suiteSecret = suiteSecret;
        return this;
    }
    public String getSuiteSecret() {
        return this.suiteSecret;
    }

    public GetCorpAccessTokenRequest setSuiteTicket(String suiteTicket) {
        this.suiteTicket = suiteTicket;
        return this;
    }
    public String getSuiteTicket() {
        return this.suiteTicket;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy