Class: HubSpotSDK::Models::Crm::LabelsBetweenObjectPair

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

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(from_object_id:, from_object_type_id:, labels:, to_object_id:, to_object_type_id:) ⇒ Object

The relationship descriptors applicable between two object types.

Parameters:

  • from_object_id (String)

    Source unique ID of the object.

  • from_object_type_id (String)

    Source object type.

  • labels (Array<String>)
  • to_object_id (String)

    Target unique ID of the object.

  • to_object_type_id (String)

    Target object type.



# File 'lib/hubspot_sdk/models/crm/labels_between_object_pair.rb', line 36

Instance Attribute Details

#from_object_idString

Source unique ID of the object.

Returns:

  • (String)


11
# File 'lib/hubspot_sdk/models/crm/labels_between_object_pair.rb', line 11

required :from_object_id, String, api_name: :fromObjectId

#from_object_type_idString

Source object type.

Returns:

  • (String)


17
# File 'lib/hubspot_sdk/models/crm/labels_between_object_pair.rb', line 17

required :from_object_type_id, String, api_name: :fromObjectTypeId

#labelsArray<String>

Returns:

  • (Array<String>)


22
# File 'lib/hubspot_sdk/models/crm/labels_between_object_pair.rb', line 22

required :labels, HubSpotSDK::Internal::Type::ArrayOf[String]

#to_object_idString

Target unique ID of the object.

Returns:

  • (String)


28
# File 'lib/hubspot_sdk/models/crm/labels_between_object_pair.rb', line 28

required :to_object_id, String, api_name: :toObjectId

#to_object_type_idString

Target object type.

Returns:

  • (String)


34
# File 'lib/hubspot_sdk/models/crm/labels_between_object_pair.rb', line 34

required :to_object_type_id, String, api_name: :toObjectTypeId