Class: Telnyx::Models::MessagingProfiles::AutoRespConfigCreate

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/messaging_profiles/auto_resp_config_create.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(country_code:, keywords:, op:, resp_text: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/messaging_profiles/auto_resp_config_create.rb', line 27

Instance Attribute Details

#country_codeString

Returns:

  • (String)


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

required :country_code, String

#keywordsArray<String>

Returns:

  • (Array<String>)


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

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

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



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

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

#resp_textString?

Returns:

  • (String, nil)


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

optional :resp_text, String