Class Usage
java.lang.Object
com.ants.platform.client.resources.commons.types.Usage
-
Method Details
-
getInput
- Returns:
- Number of input units (e.g. tokens)
-
getOutput
- Returns:
- Number of output units (e.g. tokens)
-
getTotal
- Returns:
- Defaults to input+output if not set
-
getUnit
-
getInputCost
- Returns:
- USD input cost
-
getOutputCost
- Returns:
- USD output cost
-
getTotalCost
- Returns:
- USD total cost, defaults to input+output
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-