Class: HubSpotSDK::Models::Conversations::PublicChannelAccount

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

Overview

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:, active:, archived:, authorized:, channel_id:, created_at:, inbox_id:, name:, archived_at: nil, delivery_identifier: nil) ⇒ Object

Parameters:



# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 60

Instance Attribute Details

#activeBoolean

Returns:

  • (Boolean)


16
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 16

required :active, HubSpotSDK::Internal::Type::Boolean

#archivedBoolean

Returns:

  • (Boolean)


21
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 21

required :archived, HubSpotSDK::Internal::Type::Boolean

#archived_atTime?

Returns:

  • (Time, nil)


51
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 51

optional :archived_at, Time, api_name: :archivedAt

#authorizedBoolean

Returns:

  • (Boolean)


26
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 26

required :authorized, HubSpotSDK::Internal::Type::Boolean

#channel_idString

Returns:

  • (String)


31
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 31

required :channel_id, String, api_name: :channelId

#created_atTime

Returns:

  • (Time)


36
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 36

required :created_at, Time, api_name: :createdAt

#delivery_identifierHubSpotSDK::Models::Conversations::PublicDeliveryIdentifier?



56
57
58
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 56

optional :delivery_identifier,
-> { HubSpotSDK::Conversations::PublicDeliveryIdentifier },
api_name: :deliveryIdentifier

#idString

Returns:

  • (String)


11
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 11

required :id, String

#inbox_idString

Returns:

  • (String)


41
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 41

required :inbox_id, String, api_name: :inboxId

#nameString

Returns:

  • (String)


46
# File 'lib/hubspot_sdk/models/conversations/public_channel_account.rb', line 46

required :name, String