Class: Knockapi::Models::UserListMessagesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::UserListMessagesParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/knockapi/models/user_list_messages_params.rb
Overview
Defined Under Namespace
Modules: EngagementStatus, Status Classes: InsertedAt
Instance Attribute Summary collapse
-
#after ⇒ String?
The cursor to fetch entries after.
-
#before ⇒ String?
The cursor to fetch entries before.
-
#channel_id ⇒ String?
Limits the results to items with the corresponding channel ID.
-
#engagement_status ⇒ Array<Symbol, Knockapi::Models::UserListMessagesParams::EngagementStatus>?
Limits the results to messages with the given engagement status.
- #inserted_at ⇒ Knockapi::Models::UserListMessagesParams::InsertedAt?
-
#message_ids ⇒ Array<String>?
Limits the results to only the message IDs given (max 50).
-
#page_size ⇒ Integer?
The number of items per page (defaults to 50).
-
#source ⇒ String?
Limits the results to messages triggered by the given workflow key.
-
#status ⇒ Array<Symbol, Knockapi::Models::UserListMessagesParams::Status>?
Limits the results to messages with the given delivery status.
-
#tenant ⇒ String?
Limits the results to items with the corresponding tenant.
-
#trigger_data ⇒ String?
Limits the results to only messages that were generated with the given data.
-
#workflow_categories ⇒ Array<String>?
Limits the results to messages related to any of the provided categories.
-
#workflow_recipient_run_id ⇒ String?
Limits the results to messages for a specific recipient’s workflow run.
-
#workflow_run_id ⇒ String?
Limits the results to messages associated with the top-level workflow run ID returned by the workflow trigger request.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(gt: nil, gte: nil, lt: nil, lte: nil) ⇒ Object
|
|
# File 'lib/knockapi/models/user_list_messages_params.rb', line 173
|
Instance Attribute Details
#after ⇒ String?
The cursor to fetch entries after.
14 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 14 optional :after, String |
#before ⇒ String?
The cursor to fetch entries before.
20 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 20 optional :before, String |
#channel_id ⇒ String?
Limits the results to items with the corresponding channel ID.
26 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 26 optional :channel_id, String |
#engagement_status ⇒ Array<Symbol, Knockapi::Models::UserListMessagesParams::EngagementStatus>?
Limits the results to messages with the given engagement status.
32 33 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 32 optional :engagement_status, -> { Knockapi::Internal::Type::ArrayOf[enum: Knockapi::UserListMessagesParams::EngagementStatus] } |
#inserted_at ⇒ Knockapi::Models::UserListMessagesParams::InsertedAt?
38 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 38 optional :inserted_at, -> { Knockapi::UserListMessagesParams::InsertedAt } |
#message_ids ⇒ Array<String>?
Limits the results to only the message IDs given (max 50). Note: when using this option, the results will be subject to any other filters applied to the query.
45 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 45 optional :message_ids, Knockapi::Internal::Type::ArrayOf[String] |
#page_size ⇒ Integer?
The number of items per page (defaults to 50).
51 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 51 optional :page_size, Integer |
#source ⇒ String?
Limits the results to messages triggered by the given workflow key.
57 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 57 optional :source, String |
#status ⇒ Array<Symbol, Knockapi::Models::UserListMessagesParams::Status>?
Limits the results to messages with the given delivery status.
63 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 63 optional :status, -> { Knockapi::Internal::Type::ArrayOf[enum: Knockapi::UserListMessagesParams::Status] } |
#tenant ⇒ String?
Limits the results to items with the corresponding tenant.
69 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 69 optional :tenant, String |
#trigger_data ⇒ String?
Limits the results to only messages that were generated with the given data. See [trigger data filtering](/api-reference/overview/trigger-data-filtering) for more information.
77 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 77 optional :trigger_data, String |
#workflow_categories ⇒ Array<String>?
Limits the results to messages related to any of the provided categories.
83 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 83 optional :workflow_categories, Knockapi::Internal::Type::ArrayOf[String] |
#workflow_recipient_run_id ⇒ String?
Limits the results to messages for a specific recipient’s workflow run.
89 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 89 optional :workflow_recipient_run_id, String |
#workflow_run_id ⇒ String?
Limits the results to messages associated with the top-level workflow run ID returned by the workflow trigger request.
96 |
# File 'lib/knockapi/models/user_list_messages_params.rb', line 96 optional :workflow_run_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/knockapi/models/user_list_messages_params.rb', line 144
|