Class: HubSpotSDK::Models::Crm::AssociationLabelLimitResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/crm/association_label_limit_response.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(all_labels:, from_object_type:, limit:, percentage:, to_object_type:, usage:) ⇒ Object

Parameters:



# File 'lib/hubspot_sdk/models/crm/association_label_limit_response.rb', line 41

Instance Attribute Details

#all_labelsArray<String>

A list of all association labels.

Returns:

  • (Array<String>)


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

required :all_labels, HubSpotSDK::Internal::Type::ArrayOf[String], api_name: :allLabels

#from_object_typeHubSpotSDK::Models::Crm::ObjectTypeDefinition



16
# File 'lib/hubspot_sdk/models/crm/association_label_limit_response.rb', line 16

required :from_object_type, -> { HubSpotSDK::Crm::ObjectTypeDefinition }, api_name: :fromObjectType

#limitInteger

The maximum number of association labels allowed.

Returns:

  • (Integer)


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

required :limit, Integer

#percentageFloat

The percentage of the association label limit that has been used.

Returns:

  • (Float)


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

required :percentage, Float

#to_object_typeHubSpotSDK::Models::Crm::ObjectTypeDefinition



33
# File 'lib/hubspot_sdk/models/crm/association_label_limit_response.rb', line 33

required :to_object_type, -> { HubSpotSDK::Crm::ObjectTypeDefinition }, api_name: :toObjectType

#usageInteger

The current number of association labels used.

Returns:

  • (Integer)


39
# File 'lib/hubspot_sdk/models/crm/association_label_limit_response.rb', line 39

required :usage, Integer