Class RealtimeTranslationClientSecretCreateResponse
-
- All Implemented Interfaces:
public final class RealtimeTranslationClientSecretCreateResponseResponse from creating a translation session and client secret for the Realtime API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeTranslationClientSecretCreateResponse.BuilderA builder for RealtimeTranslationClientSecretCreateResponse.
-
Method Summary
Modifier and Type Method Description final LongexpiresAt()Expiration timestamp for the client secret, in seconds since epoch. final RealtimeTranslationSessionsession()A Realtime translation session. final Stringvalue()The generated client secret value. final JsonField<Long>_expiresAt()Returns the raw JSON value of expiresAt. final JsonField<RealtimeTranslationSession>_session()Returns the raw JSON value of session. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final RealtimeTranslationClientSecretCreateResponse.BuildertoBuilder()final RealtimeTranslationClientSecretCreateResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeTranslationClientSecretCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RealtimeTranslationClientSecretCreateResponse. -
-
Method Detail
-
expiresAt
final Long expiresAt()
Expiration timestamp for the client secret, in seconds since epoch.
-
session
final RealtimeTranslationSession session()
A Realtime translation session. Translation sessions continuously translate input audio into the configured output language.
-
_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.
-
_session
final JsonField<RealtimeTranslationSession> _session()
Returns the raw JSON value of session.
Unlike session, 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 RealtimeTranslationClientSecretCreateResponse.Builder toBuilder()
-
validate
final RealtimeTranslationClientSecretCreateResponse 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 RealtimeTranslationClientSecretCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of RealtimeTranslationClientSecretCreateResponse.
The following fields are required:
.expiresAt() .session() .value()
-
-
-
-