Class BetaCacheCreation
-
- All Implemented Interfaces:
public final class BetaCacheCreation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCacheCreation.BuilderA builder for BetaCacheCreation.
-
Method Summary
Modifier and Type Method Description final Longephemeral1hInputTokens()The number of input tokens used to create the 1 hour cache entry. final Longephemeral5mInputTokens()The number of input tokens used to create the 5 minute cache entry. final JsonField<Long>_ephemeral1hInputTokens()Returns the raw JSON value of ephemeral1hInputTokens. final JsonField<Long>_ephemeral5mInputTokens()Returns the raw JSON value of ephemeral5mInputTokens. final Map<String, JsonValue>_additionalProperties()final BetaCacheCreation.BuildertoBuilder()final BetaCacheCreationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCacheCreation.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCacheCreation. -
-
Method Detail
-
ephemeral1hInputTokens
final Long ephemeral1hInputTokens()
The number of input tokens used to create the 1 hour cache entry.
-
ephemeral5mInputTokens
final Long ephemeral5mInputTokens()
The number of input tokens used to create the 5 minute cache entry.
-
_ephemeral1hInputTokens
final JsonField<Long> _ephemeral1hInputTokens()
Returns the raw JSON value of ephemeral1hInputTokens.
Unlike ephemeral1hInputTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_ephemeral5mInputTokens
final JsonField<Long> _ephemeral5mInputTokens()
Returns the raw JSON value of ephemeral5mInputTokens.
Unlike ephemeral5mInputTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCacheCreation.Builder toBuilder()
-
validate
final BetaCacheCreation 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 BetaCacheCreation.Builder builder()
Returns a mutable builder for constructing an instance of BetaCacheCreation.
The following fields are required:
.ephemeral1hInputTokens() .ephemeral5mInputTokens()
-
-
-
-