Class: Telnyx::Models::AI::Assistants::ScheduledSMSEventResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb,
sig/telnyx/models/ai/assistants/scheduled_sms_event_response.rbs

Defined Under Namespace

Modules: ConversationMetadata

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



74
# File 'sig/telnyx/models/ai/assistants/scheduled_sms_event_response.rbs', line 74

def initialize: (

Instance Attribute Details

#assistant_idString



11
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 11

required :assistant_id, String

#conversation_idString?



41
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 41

optional :conversation_id, String

#conversation_metadataHash{Symbol=>String, Integer, Boolean}?



46
47
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 46

optional :conversation_metadata,
-> { Telnyx::Internal::Type::HashOf[union: Telnyx::AI::Assistants::ScheduledSMSEventResponse::] }

#created_atTime?



52
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 52

optional :created_at, Time

#dynamic_variablesHash{Symbol=>String}?

A map of dynamic variable names to values. These variables can be referenced in the assistant's instructions and messages using {variable_name} syntax.



59
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 59

optional :dynamic_variables, Telnyx::Internal::Type::HashOf[String]

#errorsArray<String>?



64
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 64

optional :errors, Telnyx::Internal::Type::ArrayOf[String]

#retry_countInteger?



69
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 69

optional :retry_count, Integer

#scheduled_at_fixed_datetimeTime



16
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 16

required :scheduled_at_fixed_datetime, Time

#scheduled_event_idString?



74
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 74

optional :scheduled_event_id, String

#statusSymbol, ...



79
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 79

optional :status, enum: -> { Telnyx::AI::Assistants::EventStatus }

#telnyx_agent_targetString



21
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 21

required :telnyx_agent_target, String

#telnyx_conversation_channelSymbol, Telnyx::Models::AI::Assistants::ConversationChannelType



26
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 26

required :telnyx_conversation_channel, enum: -> { Telnyx::AI::Assistants::ConversationChannelType }

#telnyx_end_user_targetString



31
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 31

required :telnyx_end_user_target, String

#textString



36
# File 'lib/telnyx/models/ai/assistants/scheduled_sms_event_response.rb', line 36

required :text, String

Instance Method Details

#to_hash{



91
# File 'sig/telnyx/models/ai/assistants/scheduled_sms_event_response.rbs', line 91

def to_hash: -> {