Class TranscriptionSessionUpdatedEvent.Session.ClientSecret
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdatedEvent.Session.ClientSecret
Ephemeral 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 class
TranscriptionSessionUpdatedEvent.Session.ClientSecret.Builder
A builder for ClientSecret.
-
Method Summary
Modifier and Type Method Description final Long
expiresAt()
Timestamp for when the token expires. final String
value()
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.Builder
toBuilder()
final TranscriptionSessionUpdatedEvent.Session.ClientSecret
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TranscriptionSessionUpdatedEvent.Session.ClientSecret.Builder
builder()
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()
-
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()
-
-
-
-