Class: HubSpotSDK::Models::Crm::Extensions::ContactCallerID
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Crm::Extensions::ContactCallerID
- Defined in:
- lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb
Defined Under Namespace
Modules: CallerIDType
Instance Attribute Summary collapse
-
#caller_id_type ⇒ Symbol, HubSpotSDK::Models::Crm::Extensions::ContactCallerID::CallerIDType
Specifies the type of caller ID, with the default value being CONTACT.
-
#email ⇒ String?
The email address of the contact.
-
#first_name ⇒ String?
The first name of the contact.
-
#last_name ⇒ String?
The last name of the contact.
- #object_coordinates ⇒ HubSpotSDK::Models::Crm::Extensions::ObjectCoordinates
Instance Method Summary collapse
- #initialize(caller_id_type:, object_coordinates:, email: nil, first_name: nil, last_name: nil) ⇒ Object constructor
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(caller_id_type:, object_coordinates:, email: nil, first_name: nil, last_name: nil) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb', line 41
|
Instance Attribute Details
#caller_id_type ⇒ Symbol, HubSpotSDK::Models::Crm::Extensions::ContactCallerID::CallerIDType
Specifies the type of caller ID, with the default value being CONTACT.
12 13 14 |
# File 'lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb', line 12 required :caller_id_type, enum: -> { HubSpotSDK::Crm::Extensions::ContactCallerID::CallerIDType }, api_name: :callerIdType |
#email ⇒ String?
The email address of the contact.
27 |
# File 'lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb', line 27 optional :email, String |
#first_name ⇒ String?
The first name of the contact.
33 |
# File 'lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb', line 33 optional :first_name, String, api_name: :firstName |
#last_name ⇒ String?
The last name of the contact.
39 |
# File 'lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb', line 39 optional :last_name, String, api_name: :lastName |
#object_coordinates ⇒ HubSpotSDK::Models::Crm::Extensions::ObjectCoordinates
19 20 21 |
# File 'lib/hubspot_sdk/models/crm/extensions/contact_caller_id.rb', line 19 required :object_coordinates, -> { HubSpotSDK::Crm::Extensions::ObjectCoordinates }, api_name: :objectCoordinates |