public class GetTokenRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientId
This parameter is required.
|
String |
clientSecret
This parameter is required.
|
String |
grantType
This parameter is required.
|
| 构造器和说明 |
|---|
GetTokenRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetTokenRequest |
build(Map<String,?> map) |
String |
getClientId() |
String |
getClientSecret() |
String |
getGrantType() |
GetTokenRequest |
setClientId(String clientId) |
GetTokenRequest |
setClientSecret(String clientSecret) |
GetTokenRequest |
setGrantType(String grantType) |
@NameInMap(value="client_id") public String clientId
This parameter is required.
@NameInMap(value="client_secret") public String clientSecret
This parameter is required.
@NameInMap(value="grant_type") public String grantType
This parameter is required.
public static GetTokenRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetTokenRequest setClientId(String clientId)
public String getClientId()
public GetTokenRequest setClientSecret(String clientSecret)
public String getClientSecret()
public GetTokenRequest setGrantType(String grantType)
public String getGrantType()
Copyright © 2025. All rights reserved.