Class ClientSecretCreateResponse
-
- All Implemented Interfaces:
public final class ClientSecretCreateResponseResponse from creating a session and client secret for the Realtime API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classClientSecretCreateResponse.BuilderA builder for ClientSecretCreateResponse.
public final classClientSecretCreateResponse.SessionThe session configuration for either a realtime or transcription session.
-
Method Summary
Modifier and Type Method Description final LongexpiresAt()Expiration timestamp for the client secret, in seconds since epoch. final ClientSecretCreateResponse.Sessionsession()The session configuration for either a realtime or transcription session. final Stringvalue()The generated client secret value. final JsonField<Long>_expiresAt()Returns the raw JSON value of expiresAt. final JsonField<ClientSecretCreateResponse.Session>_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 ClientSecretCreateResponse.BuildertoBuilder()final ClientSecretCreateResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ClientSecretCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ClientSecretCreateResponse. -
-
Method Detail
-
expiresAt
final Long expiresAt()
Expiration timestamp for the client secret, in seconds since epoch.
-
session
final ClientSecretCreateResponse.Session session()
The session configuration for either a realtime or transcription session.
-
_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<ClientSecretCreateResponse.Session> _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 ClientSecretCreateResponse.Builder toBuilder()
-
validate
final ClientSecretCreateResponse validate()
-
builder
final static ClientSecretCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of ClientSecretCreateResponse.
The following fields are required:
.expiresAt() .session() .value()
-
-
-
-