Class TranscriptionSessionUpdatedEvent.Session.ClientSecret
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdatedEvent.Session.ClientSecretEphemeral key returned by the API. Only present when the session is created on the server via REST API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranscriptionSessionUpdatedEvent.Session.ClientSecret.BuilderA builder for ClientSecret.
-
Method Summary
Modifier and Type Method Description final LongexpiresAt()Timestamp for when the token expires. final Stringvalue()Ephemeral key usable in client environments to authenticate connections to the Realtime API. final JsonField<Long>_expiresAt()Returns the raw JSON value of expiresAt. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final TranscriptionSessionUpdatedEvent.Session.ClientSecret.BuildertoBuilder()final TranscriptionSessionUpdatedEvent.Session.ClientSecretvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionSessionUpdatedEvent.Session.ClientSecret.Builderbuilder()Returns a mutable builder for constructing an instance of ClientSecret. -
-
Method Detail
-
expiresAt
final Long expiresAt()
Timestamp for when the token expires. Currently, all tokens expire after one minute.
-
value
final String value()
Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.
-
_expiresAt
final JsonField<Long> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<String> _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 TranscriptionSessionUpdatedEvent.Session.ClientSecret.Builder toBuilder()
-
validate
final TranscriptionSessionUpdatedEvent.Session.ClientSecret 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 TranscriptionSessionUpdatedEvent.Session.ClientSecret.Builder builder()
Returns a mutable builder for constructing an instance of ClientSecret.
The following fields are required:
.expiresAt() .value()
-
-
-
-