Class: OpenAI::Models::Live::SessionReferParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::SessionReferParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/live/session_refer_params.rb,
sig/openai/models/live/session_refer_params.rbs
Overview
Instance Attribute Summary collapse
- #session_id ⇒ String
-
#target_uri ⇒ String
Nonblank URI for the SIP Refer-To header, such as tel:+14155550123 or sip:[email protected].
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(session_id:, target_uri:, request_options: {}) ⇒ SessionReferParams
constructor
A new instance of SessionReferParams.
- #to_hash ⇒ { session_id: String, target_uri: String, ?request_options: OpenAI::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(session_id:, target_uri:, request_options: {}) ⇒ SessionReferParams
Returns a new instance of SessionReferParams.
|
|
# File 'lib/openai/models/live/session_refer_params.rb', line 23
|
Instance Attribute Details
#session_id ⇒ String
14 |
# File 'lib/openai/models/live/session_refer_params.rb', line 14 required :session_id, String |
#target_uri ⇒ String
Nonblank URI for the SIP Refer-To header, such as tel:+14155550123 or sip:[email protected].
21 |
# File 'lib/openai/models/live/session_refer_params.rb', line 21 required :target_uri, String |
Instance Method Details
#to_hash ⇒ { session_id: String, target_uri: String, ?request_options: OpenAI::RequestOptions }
30 31 32 33 34 |
# File 'sig/openai/models/live/session_refer_params.rbs', line 30
def to_hash: -> {
session_id: String,
target_uri: String,
?request_options: OpenAI::RequestOptions
}
|