public class DescribeTokenUsageGraphResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeTokenUsageGraphResponse() |
DescribeTokenUsageGraphResponse(DescribeTokenUsageGraphResponse 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 |
---|---|
Stat[] |
getInput()
Get Input token consumption.
|
Stat[] |
getOutput()
Get Output token consumption.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
Stat[] |
getTotal()
Get Total amount of token consumption.
|
void |
setInput(Stat[] Input)
Set Input token consumption.
|
void |
setOutput(Stat[] Output)
Set Output token consumption.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setTotal(Stat[] Total)
Set Total amount of token consumption.
|
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 DescribeTokenUsageGraphResponse()
public DescribeTokenUsageGraphResponse(DescribeTokenUsageGraphResponse source)
public Stat[] getTotal()
public void setTotal(Stat[] Total)
Total
- Total amount of token consumption.public Stat[] getInput()
public void setInput(Stat[] Input)
Input
- Input token consumption.public Stat[] getOutput()
public void setOutput(Stat[] Output)
Output
- Output token consumption.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.