public class GetTokenCountResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetTokenCountResponse() |
GetTokenCountResponse(GetTokenCountResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCharacterCount()
Get 字符计数
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
Long |
getTokenCount()
Get token计数
|
String[] |
getTokens()
Get 切分后的列表
|
void |
setCharacterCount(Long CharacterCount)
Set 字符计数
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setTokenCount(Long TokenCount)
Set token计数
|
void |
setTokens(String[] Tokens)
Set 切分后的列表
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GetTokenCountResponse()
public GetTokenCountResponse(GetTokenCountResponse source)
public Long getTokenCount()
public void setTokenCount(Long TokenCount)
TokenCount
- token计数public Long getCharacterCount()
public void setCharacterCount(Long CharacterCount)
CharacterCount
- 字符计数public String[] getTokens()
public void setTokens(String[] Tokens)
Tokens
- 切分后的列表public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2024. All rights reserved.