Package com.openai.models.beta.realtime
Class TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt
Configuration for the ephemeral token expiration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Builder
A builder for ExpiresAt.
public final class
TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Anchor
The anchor point for the ephemeral token expiration. Only
created_at
is currently supported.
-
Method Summary
Modifier and Type Method Description final Optional<TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Anchor>
anchor()
The anchor point for the ephemeral token expiration. final Optional<Long>
seconds()
The number of seconds from the anchor point to the expiration. final JsonField<TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Anchor>
_anchor()
Returns the raw JSON value of anchor. final JsonField<Long>
_seconds()
Returns the raw JSON value of seconds. final Map<String, JsonValue>
_additionalProperties()
final TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Builder
toBuilder()
final TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Builder
builder()
Returns a mutable builder for constructing an instance of ExpiresAt. -
-
Method Detail
-
anchor
final Optional<TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Anchor> anchor()
The anchor point for the ephemeral token expiration. Only
created_at
is currently supported.
-
seconds
final Optional<Long> seconds()
The number of seconds from the anchor point to the expiration. Select a value between
10
and7200
.
-
_anchor
final JsonField<TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Anchor> _anchor()
Returns the raw JSON value of anchor.
Unlike anchor, this method doesn't throw if the JSON field has an unexpected type.
-
_seconds
final JsonField<Long> _seconds()
Returns the raw JSON value of seconds.
Unlike seconds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Builder toBuilder()
-
validate
final TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt validate()
-
builder
final static TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Builder builder()
Returns a mutable builder for constructing an instance of ExpiresAt.
-
-
-
-