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

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

There is a newer version: 2.1.88
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 GetUserTokenRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("clientId") public String clientId; @NameInMap("clientSecret") public String clientSecret; @NameInMap("code") public String code; @NameInMap("grantType") public String grantType; @NameInMap("refreshToken") public String refreshToken; public static GetUserTokenRequest build(java.util.Map map) throws Exception { GetUserTokenRequest self = new GetUserTokenRequest(); return TeaModel.build(map, self); } public GetUserTokenRequest setClientId(String clientId) { this.clientId = clientId; return this; } public String getClientId() { return this.clientId; } public GetUserTokenRequest setClientSecret(String clientSecret) { this.clientSecret = clientSecret; return this; } public String getClientSecret() { return this.clientSecret; } public GetUserTokenRequest setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public GetUserTokenRequest setGrantType(String grantType) { this.grantType = grantType; return this; } public String getGrantType() { return this.grantType; } public GetUserTokenRequest setRefreshToken(String refreshToken) { this.refreshToken = refreshToken; return this; } public String getRefreshToken() { return this.refreshToken; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy