Class: Telnyx::Models::Whatsapp::PhoneNumbers::ConversationalComponentPatchAllParams::Command
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Whatsapp::PhoneNumbers::ConversationalComponentPatchAllParams::Command
- Defined in:
- lib/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_params.rb,
sig/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(command: nil, description: nil) ⇒ Command
constructor
A new instance of Command.
- #to_hash ⇒ { command: String, description: String }
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(command: nil, description: nil) ⇒ Command
Returns a new instance of Command.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_params.rb', line 39 class Command < Telnyx::Internal::Type::BaseModel # @!attribute command # # @return [String, nil] optional :command, String # @!attribute description # # @return [String, nil] optional :description, String # @!method initialize(command: nil, description: nil) # @param command [String] # @param description [String] end |
Instance Attribute Details
#command ⇒ String?
43 |
# File 'lib/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_params.rb', line 43 optional :command, String |
#description ⇒ String?
48 |
# File 'lib/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_params.rb', line 48 optional :description, String |
Instance Method Details
#to_hash ⇒ { command: String, description: String }
56 |
# File 'sig/telnyx/models/whatsapp/phone_numbers/conversational_component_patch_all_params.rbs', line 56
def to_hash: -> { command: String, description: String }
|