Class: HubSpotSDK::Models::Cms::IndexedData

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/cms/indexed_data.rb

Overview

Defined Under Namespace

Modules: Type

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(id:, fields:, type:) ⇒ Object

Some parameter documentations has been truncated, see HubSpotSDK::Models::Cms::IndexedData for more details.

‘LISTING_

Parameters:



# File 'lib/hubspot_sdk/models/cms/indexed_data.rb', line 27

Instance Attribute Details

#fieldsHash{Symbol=>HubSpotSDK::Models::Cms::IndexedField}

The indexed fields in HubSpot.

Returns:



18
# File 'lib/hubspot_sdk/models/cms/indexed_data.rb', line 18

required :fields, -> { HubSpotSDK::Internal::Type::HashOf[HubSpotSDK::Cms::IndexedField] }

#idString

The ID of the document in HubSpot.

Returns:

  • (String)


12
# File 'lib/hubspot_sdk/models/cms/indexed_data.rb', line 12

required :id, String

#typeSymbol, HubSpotSDK::Models::Cms::IndexedData::Type

The type of document. Can be ‘SITE_PAGE`, `LANDING_PAGE`, `BLOG_POST`, `LISTING_PAGE`, or `KNOWLEDGE_ARTICLE`.



25
# File 'lib/hubspot_sdk/models/cms/indexed_data.rb', line 25

required :type, enum: -> { HubSpotSDK::Cms::IndexedData::Type }