public class GetAuthTokenResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
code
The status code.
|
String |
data
The returned authentication token.
|
String |
message
The returned message.
|
String |
requestId
The request ID.
|
Boolean |
success
Indicates whether the request was successful.
|
| 构造器和说明 |
|---|
GetAuthTokenResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetAuthTokenResponseBody |
build(Map<String,?> map) |
Integer |
getCode() |
String |
getData() |
String |
getMessage() |
String |
getRequestId() |
Boolean |
getSuccess() |
GetAuthTokenResponseBody |
setCode(Integer code) |
GetAuthTokenResponseBody |
setData(String data) |
GetAuthTokenResponseBody |
setMessage(String message) |
GetAuthTokenResponseBody |
setRequestId(String requestId) |
GetAuthTokenResponseBody |
setSuccess(Boolean success) |
@NameInMap(value="Code") public Integer code
The status code. The status code 200 indicates that the request was successful.
example:200
@NameInMap(value="Data") public String data
The returned authentication token.
example:eyJhbGciOiJIUzI1NiJ9******
@NameInMap(value="Message") public String message
The returned message.
example:success
@NameInMap(value="RequestId") public String requestId
The request ID.
example:1A9C645C-C83F-4C9D-8CCB-29BEC9E1****
@NameInMap(value="Success") public Boolean success
Indicates whether the request was successful. Valid values:
truefalsetrue
public static GetAuthTokenResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic GetAuthTokenResponseBody setCode(Integer code)
public Integer getCode()
public GetAuthTokenResponseBody setData(String data)
public String getData()
public GetAuthTokenResponseBody setMessage(String message)
public String getMessage()
public GetAuthTokenResponseBody setRequestId(String requestId)
public String getRequestId()
public GetAuthTokenResponseBody setSuccess(Boolean success)
public Boolean getSuccess()
Copyright © 2024. All rights reserved.