Class: HubSpotSDK::Models::Marketing::ContactAssociation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Marketing::ContactAssociation
- Defined in:
- lib/hubspot_sdk/models/marketing/contact_association.rb
Instance Attribute Summary collapse
-
#contact_id ⇒ String
The internal ID of the contact in HubSpot.
-
#email ⇒ String
The email of the contact in HubSpot.
-
#firstname ⇒ String?
The first name of the contact in HubSpot.
-
#lastname ⇒ String?
The last name of the contact in HubSpot.
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(contact_id:, email:, firstname: nil, lastname: nil) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/marketing/contact_association.rb', line 31
|
Instance Attribute Details
#contact_id ⇒ String
The internal ID of the contact in HubSpot
11 |
# File 'lib/hubspot_sdk/models/marketing/contact_association.rb', line 11 required :contact_id, String, api_name: :contactId |
#email ⇒ String
The email of the contact in HubSpot
17 |
# File 'lib/hubspot_sdk/models/marketing/contact_association.rb', line 17 required :email, String |
#firstname ⇒ String?
The first name of the contact in HubSpot
23 |
# File 'lib/hubspot_sdk/models/marketing/contact_association.rb', line 23 optional :firstname, String |
#lastname ⇒ String?
The last name of the contact in HubSpot
29 |
# File 'lib/hubspot_sdk/models/marketing/contact_association.rb', line 29 optional :lastname, String |