Class: Revox::Models::CampaignCreateParams::Contact
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::CampaignCreateParams::Contact
- Defined in:
- lib/revox/models/campaign_create_params.rb,
sig/revox/models/campaign_create_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(assistant_id:, contacts:, name:, call_retry_config: nil, from_phone_number: nil, max_concurrent_calls: nil, request_options: {}) ⇒ Contact
constructor
Some parameter documentations has been truncated, see Revox::Models::CampaignCreateParams for more details.
- #to_hash ⇒ { prompt_variables: top, to_phone_number: 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(assistant_id:, contacts:, name:, call_retry_config: nil, from_phone_number: nil, max_concurrent_calls: nil, request_options: {}) ⇒ Contact
Some parameter documentations has been truncated, see Revox::Models::CampaignCreateParams for more details.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/revox/models/campaign_create_params.rb', line 65 class Contact < Revox::Internal::Type::BaseModel # @!attribute prompt_variables # # @return [Object] required :prompt_variables, Revox::Internal::Type::Unknown # @!attribute to_phone_number # # @return [String] required :to_phone_number, String # @!method initialize(prompt_variables:, to_phone_number:) # @param prompt_variables [Object] # @param to_phone_number [String] end |
Instance Attribute Details
#prompt_variables ⇒ Object
69 |
# File 'lib/revox/models/campaign_create_params.rb', line 69 required :prompt_variables, Revox::Internal::Type::Unknown |
#to_phone_number ⇒ String
74 |
# File 'lib/revox/models/campaign_create_params.rb', line 74 required :to_phone_number, String |
Instance Method Details
#to_hash ⇒ { prompt_variables: top, to_phone_number: String }
67 |
# File 'sig/revox/models/campaign_create_params.rbs', line 67
def to_hash: -> { prompt_variables: top, to_phone_number: String }
|