Class: HubSpotSDK::Models::Crm::Extensions::CompanyCallerID

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/crm/extensions/company_caller_id.rb

Defined Under Namespace

Modules: CallerIDType

Instance Attribute Summary collapse

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(caller_id_type:, object_coordinates:, name: nil) ⇒ Object

Parameters:



# File 'lib/hubspot_sdk/models/crm/extensions/company_caller_id.rb', line 29

Instance Attribute Details

#caller_id_typeSymbol, HubSpotSDK::Models::Crm::Extensions::CompanyCallerID::CallerIDType

Specifies the type of caller ID, which is set to ‘COMPANY’ by default.



12
13
14
# File 'lib/hubspot_sdk/models/crm/extensions/company_caller_id.rb', line 12

required :caller_id_type,
enum: -> { HubSpotSDK::Crm::Extensions::CompanyCallerID::CallerIDType },
api_name: :callerIdType

#nameString?

The name associated with the company caller ID.

Returns:

  • (String, nil)


27
# File 'lib/hubspot_sdk/models/crm/extensions/company_caller_id.rb', line 27

optional :name, String

#object_coordinatesHubSpotSDK::Models::Crm::Extensions::ObjectCoordinates



19
20
21
# File 'lib/hubspot_sdk/models/crm/extensions/company_caller_id.rb', line 19

required :object_coordinates,
-> { HubSpotSDK::Crm::Extensions::ObjectCoordinates },
api_name: :objectCoordinates