Class ClientSecretCreateParams.Body
- 
                    
                    - All Implemented Interfaces:
 
 public final class ClientSecretCreateParams.BodyCreate a session and client secret for the Realtime API. The request can specify either a realtime or a transcription session configuration. Learn more about the Realtime API. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classClientSecretCreateParams.Body.BuilderA builder for Body. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<ClientSecretCreateParams.ExpiresAfter>expiresAfter()Configuration for the client secret expiration. final Optional<ClientSecretCreateParams.Session>session()Session configuration to use for the client secret. final JsonField<ClientSecretCreateParams.ExpiresAfter>_expiresAfter()Returns the raw JSON value of expiresAfter. final JsonField<ClientSecretCreateParams.Session>_session()Returns the raw JSON value of session. final Map<String, JsonValue>_additionalProperties()final ClientSecretCreateParams.Body.BuildertoBuilder()final ClientSecretCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ClientSecretCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        expiresAfterfinal Optional<ClientSecretCreateParams.ExpiresAfter> expiresAfter() Configuration for the client secret expiration. Expiration refers to the time after which a client secret will no longer be valid for creating sessions. The session itself may continue after that time once started. A secret can be used to create multiple sessions until it expires. 
 - 
                                        sessionfinal Optional<ClientSecretCreateParams.Session> session() Session configuration to use for the client secret. Choose either a realtime session or a transcription session. 
 - 
                                        _expiresAfterfinal JsonField<ClientSecretCreateParams.ExpiresAfter> _expiresAfter() Returns the raw JSON value of expiresAfter. Unlike expiresAfter, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sessionfinal JsonField<ClientSecretCreateParams.Session> _session() Returns the raw JSON value of session. Unlike session, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ClientSecretCreateParams.Body.Builder toBuilder() 
 - 
                                        validatefinal ClientSecretCreateParams.Body validate() 
 - 
                                        builderfinal static ClientSecretCreateParams.Body.Builder builder() Returns a mutable builder for constructing an instance of Body. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-