Class: Telnyx::Models::MessagingProfiles::AutoRespConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/messaging_profiles/auto_resp_config.rb

Defined Under Namespace

Modules: Op

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

#initialize(id:, country_code:, created_at:, keywords:, op:, updated_at:, resp_text: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 42

Instance Attribute Details

#country_codeString

Returns:

  • (String)


15
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 15

required :country_code, String

#created_atTime

Returns:

  • (Time)


20
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 20

required :created_at, Time

#idString

Returns:

  • (String)


10
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 10

required :id, String

#keywordsArray<String>

Returns:

  • (Array<String>)


25
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 25

required :keywords, Telnyx::Internal::Type::ArrayOf[String]

#opSymbol, Telnyx::Models::MessagingProfiles::AutoRespConfig::Op



30
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 30

required :op, enum: -> { Telnyx::MessagingProfiles::AutoRespConfig::Op }

#resp_textString?

Returns:

  • (String, nil)


40
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 40

optional :resp_text, String

#updated_atTime

Returns:

  • (Time)


35
# File 'lib/telnyx/models/messaging_profiles/auto_resp_config.rb', line 35

required :updated_at, Time