Class: Telnyx::Models::AI::Assistants::ScheduledPhoneCallEventResponse::CallAttempt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::Assistants::ScheduledPhoneCallEventResponse::CallAttempt
- Defined in:
- lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb
Instance Attribute Summary collapse
- #attempt_number ⇒ Integer
- #attempted_at ⇒ Time
-
#call_duration ⇒ Integer?
Duration of the call in seconds.
-
#call_status ⇒ String
Values: busy, canceled, no-answer, ringing, completed, failed, in-progress.
- #telnyx_call_control_id ⇒ String?
Instance Method Summary collapse
-
#initialize(assistant_id:, scheduled_at_fixed_datetime:, telnyx_agent_target:, telnyx_conversation_channel:, telnyx_end_user_target:, call_attempts: nil, call_duration: nil, call_status: nil, conversation_id: nil, conversation_metadata: nil, created_at: nil, dispatched_at: nil, dynamic_variables: nil, errors: nil, max_retries_client_errors: nil, retry_attempts: nil, retry_count: nil, retry_interval_secs: nil, scheduled_event_id: nil, status: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Telnyx::Models::AI::Assistants::ScheduledPhoneCallEventResponse for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, 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(assistant_id:, scheduled_at_fixed_datetime:, telnyx_agent_target:, telnyx_conversation_channel:, telnyx_end_user_target:, call_attempts: nil, call_duration: nil, call_status: nil, conversation_id: nil, conversation_metadata: nil, created_at: nil, dispatched_at: nil, dynamic_variables: nil, errors: nil, max_retries_client_errors: nil, retry_attempts: nil, retry_count: nil, retry_interval_secs: nil, scheduled_event_id: nil, status: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::AI::Assistants::ScheduledPhoneCallEventResponse for more details.
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb', line 162 class CallAttempt < Telnyx::Internal::Type::BaseModel # @!attribute attempt_number # # @return [Integer] required :attempt_number, Integer # @!attribute attempted_at # # @return [Time] required :attempted_at, Time # @!attribute call_status # Values: busy, canceled, no-answer, ringing, completed, failed, in-progress # # @return [String] required :call_status, String # @!attribute call_duration # Duration of the call in seconds # # @return [Integer, nil] optional :call_duration, Integer # @!attribute telnyx_call_control_id # # @return [String, nil] optional :telnyx_call_control_id, String # @!method initialize(attempt_number:, attempted_at:, call_status:, call_duration: nil, telnyx_call_control_id: nil) # One row in `call_attempts` — captures the terminal outcome of a single dispatch. # # @param attempt_number [Integer] # # @param attempted_at [Time] # # @param call_status [String] Values: busy, canceled, no-answer, ringing, completed, failed, in-progress # # @param call_duration [Integer] Duration of the call in seconds # # @param telnyx_call_control_id [String] end |
Instance Attribute Details
#attempt_number ⇒ Integer
166 |
# File 'lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb', line 166 required :attempt_number, Integer |
#attempted_at ⇒ Time
171 |
# File 'lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb', line 171 required :attempted_at, Time |
#call_duration ⇒ Integer?
Duration of the call in seconds
183 |
# File 'lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb', line 183 optional :call_duration, Integer |
#call_status ⇒ String
Values: busy, canceled, no-answer, ringing, completed, failed, in-progress
177 |
# File 'lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb', line 177 required :call_status, String |
#telnyx_call_control_id ⇒ String?
188 |
# File 'lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb', line 188 optional :telnyx_call_control_id, String |