Class: HubSpotSDK::Models::Conversations::PublicWhatsAppTemplateMetadata

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb

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(crm_object_ids:, parameters:, type:, content_id: nil, mapped_template_id: nil, root_mic_id: nil) ⇒ Object

Parameters:



# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 37

Instance Attribute Details

#content_idInteger?

Returns:

  • (Integer, nil)


25
# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 25

optional :content_id, Integer, api_name: :contentId

#crm_object_idsHash{Symbol=>Integer}

Returns:

  • (Hash{Symbol=>Integer})


10
# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 10

required :crm_object_ids, HubSpotSDK::Internal::Type::HashOf[Integer], api_name: :crmObjectIds

#mapped_template_idInteger?

Returns:

  • (Integer, nil)


30
# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 30

optional :mapped_template_id, Integer, api_name: :mappedTemplateId

#parametersHash{Symbol=>String}

Returns:

  • (Hash{Symbol=>String})


15
# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 15

required :parameters, HubSpotSDK::Internal::Type::HashOf[String]

#root_mic_idInteger?

Returns:

  • (Integer, nil)


35
# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 35

optional :root_mic_id, Integer, api_name: :rootMicId

#typeSymbol, HubSpotSDK::Models::Conversations::PublicWhatsAppTemplateMetadata::Type



20
# File 'lib/hubspot_sdk/models/conversations/public_whats_app_template_metadata.rb', line 20

required :type, enum: -> { HubSpotSDK::Conversations::PublicWhatsAppTemplateMetadata::Type }