Class: Knockapi::Models::Users::FeedListItemsResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Users::FeedListItemsResponse
- Defined in:
- lib/knockapi/models/users/feed_list_items_response.rb
Overview
Defined Under Namespace
Modules: Block Classes: Source
Instance Attribute Summary collapse
-
#_typename ⇒ String
The typename of the schema.
-
#activities ⇒ Array<Knockapi::Models::Activity>
List of activities associated with this feed item.
-
#actors ⇒ Array<Knockapi::Models::User, Knockapi::Models::Object>
List of actors associated with this feed item.
-
#archived_at ⇒ String?
Timestamp when the feed item was archived.
-
#blocks ⇒ Array<Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock>
Content blocks that make up the feed item.
-
#clicked_at ⇒ String?
Timestamp when the feed item was clicked.
-
#data ⇒ Hash{Symbol=>Object}?
Additional data associated with the feed item.
-
#id ⇒ String
Unique identifier for the feed.
-
#inserted_at ⇒ String
Timestamp when the resource was created.
-
#interacted_at ⇒ String?
Timestamp when the feed item was interacted with.
-
#link_clicked_at ⇒ String?
Timestamp when a link within the feed item was clicked.
-
#read_at ⇒ String?
Timestamp when the feed item was marked as read.
-
#seen_at ⇒ String?
Timestamp when the feed item was marked as seen.
-
#source ⇒ Knockapi::Models::Users::FeedListItemsResponse::Source
Source information for the feed item.
-
#tenant ⇒ String?
Tenant ID that the feed item belongs to.
-
#total_activities ⇒ Integer
Total number of activities related to this feed item.
-
#total_actors ⇒ Integer
Total number of actors related to this feed item.
-
#updated_at ⇒ String
The timestamp when the resource was last updated.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock)
Instance Method Summary collapse
-
#initialize(id:, _typename:, activities:, actors:, blocks:, data:, inserted_at:, source:, tenant:, total_activities:, total_actors:, updated_at:, archived_at: nil, clicked_at: nil, interacted_at: nil, link_clicked_at: nil, read_at: nil, seen_at: nil) ⇒ Object
constructor
An in-app feed message in a user’s feed.
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:, _typename:, activities:, actors:, blocks:, data:, inserted_at:, source:, tenant:, total_activities:, total_actors:, updated_at:, archived_at: nil, clicked_at: nil, interacted_at: nil, link_clicked_at: nil, read_at: nil, seen_at: nil) ⇒ Object
An in-app feed message in a user’s feed.
|
|
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 117
|
Instance Attribute Details
#_typename ⇒ String
The typename of the schema.
18 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 18 required :_typename, String, api_name: :__typename |
#activities ⇒ Array<Knockapi::Models::Activity>
List of activities associated with this feed item.
24 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 24 required :activities, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::Activity] } |
#actors ⇒ Array<Knockapi::Models::User, Knockapi::Models::Object>
List of actors associated with this feed item.
30 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 30 required :actors, -> { Knockapi::Internal::Type::ArrayOf[union: Knockapi::Recipient] } |
#archived_at ⇒ String?
Timestamp when the feed item was archived.
85 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 85 optional :archived_at, String, nil?: true |
#blocks ⇒ Array<Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock>
Content blocks that make up the feed item.
36 37 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 36 required :blocks, -> { Knockapi::Internal::Type::ArrayOf[union: Knockapi::Models::Users::FeedListItemsResponse::Block] } |
#clicked_at ⇒ String?
Timestamp when the feed item was clicked.
91 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 91 optional :clicked_at, String, nil?: true |
#data ⇒ Hash{Symbol=>Object}?
Additional data associated with the feed item.
43 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 43 required :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true |
#id ⇒ String
Unique identifier for the feed.
12 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 12 required :id, String |
#inserted_at ⇒ String
Timestamp when the resource was created.
49 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 49 required :inserted_at, String |
#interacted_at ⇒ String?
Timestamp when the feed item was interacted with.
97 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 97 optional :interacted_at, String, nil?: true |
#link_clicked_at ⇒ String?
Timestamp when a link within the feed item was clicked.
103 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 103 optional :link_clicked_at, String, nil?: true |
#read_at ⇒ String?
Timestamp when the feed item was marked as read.
109 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 109 optional :read_at, String, nil?: true |
#seen_at ⇒ String?
Timestamp when the feed item was marked as seen.
115 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 115 optional :seen_at, String, nil?: true |
#source ⇒ Knockapi::Models::Users::FeedListItemsResponse::Source
Source information for the feed item.
55 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 55 required :source, -> { Knockapi::Models::Users::FeedListItemsResponse::Source } |
#tenant ⇒ String?
Tenant ID that the feed item belongs to.
61 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 61 required :tenant, String, nil?: true |
#total_activities ⇒ Integer
Total number of activities related to this feed item.
67 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 67 required :total_activities, Integer |
#total_actors ⇒ Integer
Total number of actors related to this feed item.
73 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 73 required :total_actors, Integer |
#updated_at ⇒ String
The timestamp when the resource was last updated.
79 |
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 79 required :updated_at, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 284
|
.variants ⇒ Array(Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedContentBlock, Knockapi::Models::Users::FeedListItemsResponse::Block::MessageInAppFeedButtonSetBlock)
|
|
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 289
|