Class: HubSpotSDK::Models::Conversations::PublicChannelIntegrationChannelCreate

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

Direct Known Subclasses

CustomChannelCreateParams

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(capabilities:, name:, channel_account_connection_redirect_url: nil, channel_description: nil, channel_logo_url: nil, webhook_url: nil) ⇒ Object

Parameters:

  • capabilities (Hash{Symbol=>Object})
  • name (String)
  • channel_account_connection_redirect_url (String) (defaults to: nil)
  • channel_description (String) (defaults to: nil)
  • channel_logo_url (String) (defaults to: nil)
  • webhook_url (String) (defaults to: nil)


# File 'lib/hubspot_sdk/models/conversations/public_channel_integration_channel_create.rb', line 39

Instance Attribute Details

#capabilitiesHash{Symbol=>Object}

Returns:

  • (Hash{Symbol=>Object})


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

required :capabilities, HubSpotSDK::Internal::Type::HashOf[HubSpotSDK::Internal::Type::Unknown]

#channel_account_connection_redirect_urlString?

Returns:

  • (String, nil)


20
21
22
# File 'lib/hubspot_sdk/models/conversations/public_channel_integration_channel_create.rb', line 20

optional :channel_account_connection_redirect_url,
String,
api_name: :channelAccountConnectionRedirectUrl

#channel_descriptionString?

Returns:

  • (String, nil)


27
# File 'lib/hubspot_sdk/models/conversations/public_channel_integration_channel_create.rb', line 27

optional :channel_description, String, api_name: :channelDescription

#channel_logo_urlString?

Returns:

  • (String, nil)


32
# File 'lib/hubspot_sdk/models/conversations/public_channel_integration_channel_create.rb', line 32

optional :channel_logo_url, String, api_name: :channelLogoUrl

#nameString

Returns:

  • (String)


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

required :name, String

#webhook_urlString?

Returns:

  • (String, nil)


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

optional :webhook_url, String, api_name: :webhookUrl