toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.realtime
/
RealtimeSecretExpiry
Realtime
Secret
Expiry
@
Serializable
data
class
RealtimeSecretExpiry
(
val
seconds
:
Int
=
600
,
val
anchor
:
String
=
"created_at"
)
Short-lived client-secret expiry.
Members
Constructors
Realtime
Secret
Expiry
Link copied to clipboard
constructor
(
seconds
:
Int
=
600
,
anchor
:
String
=
"created_at"
)
Properties
anchor
Link copied to clipboard
val
anchor
:
String
Expiry anchor.
seconds
Link copied to clipboard
val
seconds
:
Int
=
600
Secret lifetime in seconds, from 10 to 7200.