Class: Revox::Models::CallPhoneHistoryResponse::PhoneHistory::Campaign
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::CallPhoneHistoryResponse::PhoneHistory::Campaign
- Defined in:
- lib/revox/models/call_phone_history_response.rb,
sig/revox/models/call_phone_history_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(campaigns:, count:, do_not_contact:, hot:, last_called_at:, last_outcome:, reached_human:) ⇒ Campaign
constructor
A new instance of Campaign.
- #to_hash ⇒ { id: String, name: 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(campaigns:, count:, do_not_contact:, hot:, last_called_at:, last_outcome:, reached_human:) ⇒ Campaign
Returns a new instance of Campaign.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/revox/models/call_phone_history_response.rb', line 64 class Campaign < Revox::Internal::Type::BaseModel # @!attribute id # # @return [String] required :id, String # @!attribute name # # @return [String] required :name, String # @!method initialize(id:, name:) # @param id [String] # @param name [String] end |
Instance Attribute Details
#id ⇒ String
68 |
# File 'lib/revox/models/call_phone_history_response.rb', line 68 required :id, String |
#name ⇒ String
73 |
# File 'lib/revox/models/call_phone_history_response.rb', line 73 required :name, String |
Instance Method Details
#to_hash ⇒ { id: String, name: String }
74 |
# File 'sig/revox/models/call_phone_history_response.rbs', line 74
def to_hash: -> { id: String, name: String }
|