Package com.openai.models.beta.realtime
        Class TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt
- 
                    
                    
- All Implemented Interfaces:
 
public final class TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAtConfiguration for the ephemeral token expiration.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.BuilderA builder for ExpiresAt.
public final classTranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.AnchorThe anchor point for the ephemeral token expiration. Only
created_atis 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.BuildertoBuilder()final TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAtvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionSessionUpdate.Session.ClientSecret.ExpiresAt.Builderbuilder()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_atis currently supported. 
- 
                                        
seconds
final Optional<Long> seconds()
The number of seconds from the anchor point to the expiration. Select a value between
10and7200. 
- 
                                        
_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.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -