Class UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount
-
- All Implemented Interfaces:
public final class UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.AmountThe monetary value in its associated currency.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount.BuilderA builder for Amount.
-
Method Summary
Modifier and Type Method Description final Optional<String>currency()Lowercase ISO-4217 currency e.g. final Optional<Double>value()The numeric value of the cost. final JsonField<String>_currency()Returns the raw JSON value of currency. final JsonField<Double>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount.BuildertoBuilder()final UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amountvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount.Builderbuilder()Returns a mutable builder for constructing an instance of Amount. -
-
Method Detail
-
_currency
final JsonField<String> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<Double> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount.Builder toBuilder()
-
validate
final UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UsageEmbeddingsResponse.Data.Result.OrganizationCostsResult.Amount.Builder builder()
Returns a mutable builder for constructing an instance of Amount.
-
-
-
-