public class Usage extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Usage() |
Usage(Usage 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 |
getInputTokens()
Get Number of input tokens.
|
Long |
getOutputTokens()
Get Number of output tokens.
|
Long |
getTotalPages()
Get Number of document pages.
|
Long |
getTotalTokens()
Get Total number of tokens.
|
void |
setInputTokens(Long InputTokens)
Set Number of input tokens.
|
void |
setOutputTokens(Long OutputTokens)
Set Number of output tokens.
|
void |
setTotalPages(Long TotalPages)
Set Number of document pages.
|
void |
setTotalTokens(Long TotalTokens)
Set Total number of tokens.
|
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, toJsonStringpublic Usage()
public Usage(Usage source)
public Long getTotalPages()
public void setTotalPages(Long TotalPages)
TotalPages - Number of document pages.public Long getInputTokens()
public void setInputTokens(Long InputTokens)
InputTokens - Number of input tokens.public Long getOutputTokens()
public void setOutputTokens(Long OutputTokens)
OutputTokens - Number of output tokens.public Long getTotalTokens()
public void setTotalTokens(Long TotalTokens)
TotalTokens - Total number of tokens.Copyright © 2025. All rights reserved.