Class TranscriptionDiarized.Usage.Tokens.InputTokenDetails
-
- All Implemented Interfaces:
public final class TranscriptionDiarized.Usage.Tokens.InputTokenDetailsDetails about the input tokens billed for this request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranscriptionDiarized.Usage.Tokens.InputTokenDetails.BuilderA builder for InputTokenDetails.
-
Method Summary
Modifier and Type Method Description final Optional<Long>audioTokens()Number of audio tokens billed for this request. final Optional<Long>textTokens()Number of text tokens billed for this request. final JsonField<Long>_audioTokens()Returns the raw JSON value of audioTokens. final JsonField<Long>_textTokens()Returns the raw JSON value of textTokens. final Map<String, JsonValue>_additionalProperties()final TranscriptionDiarized.Usage.Tokens.InputTokenDetails.BuildertoBuilder()final TranscriptionDiarized.Usage.Tokens.InputTokenDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionDiarized.Usage.Tokens.InputTokenDetails.Builderbuilder()Returns a mutable builder for constructing an instance of InputTokenDetails. -
-
Method Detail
-
audioTokens
final Optional<Long> audioTokens()
Number of audio tokens billed for this request.
-
textTokens
final Optional<Long> textTokens()
Number of text tokens billed for this request.
-
_audioTokens
final JsonField<Long> _audioTokens()
Returns the raw JSON value of audioTokens.
Unlike audioTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_textTokens
final JsonField<Long> _textTokens()
Returns the raw JSON value of textTokens.
Unlike textTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TranscriptionDiarized.Usage.Tokens.InputTokenDetails.Builder toBuilder()
-
validate
final TranscriptionDiarized.Usage.Tokens.InputTokenDetails 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 TranscriptionDiarized.Usage.Tokens.InputTokenDetails.Builder builder()
Returns a mutable builder for constructing an instance of InputTokenDetails.
-
-
-
-