Class: Trycourier::Models::MessageListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Trycourier::Models::MessageListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/trycourier/models/message_list_params.rb
Overview
Instance Attribute Summary collapse
-
#archived ⇒ Boolean?
A boolean value that indicates whether archived messages should be included in the response.
-
#cursor ⇒ String?
A unique identifier that allows for fetching the next set of messages.
-
#enqueued_after ⇒ String?
The enqueued datetime of a message to filter out messages received before.
-
#event ⇒ String?
A unique identifier representing the event that was used to send the event.
-
#list ⇒ String?
A unique identifier representing the list the message was sent to.
-
#message_id ⇒ String?
A unique identifier representing the message_id returned from either /send or /send/list.
-
#notification ⇒ String?
A unique identifier representing the notification that was used to send the event.
-
#provider ⇒ Array<String, nil>?
The key assocated to the provider you want to filter on.
-
#recipient ⇒ String?
A unique identifier representing the recipient associated with the requested profile.
-
#status ⇒ Array<String, nil>?
An indicator of the current status of the message.
-
#tag ⇒ Array<String, nil>?
A tag placed in the metadata.tags during a notification send.
-
#tags ⇒ String?
A comma delimited list of ‘tags’.
-
#tenant_id ⇒ String?
Messages sent with the context of a Tenant.
-
#trace_id ⇒ String?
The unique identifier used to trace the requests.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(archived: nil, cursor: nil, enqueued_after: nil, event: nil, list: nil, message_id: nil, notification: nil, provider: nil, recipient: nil, status: nil, tag: nil, tags: nil, tenant_id: nil, trace_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see MessageListParams for more details.
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(archived: nil, cursor: nil, enqueued_after: nil, event: nil, list: nil, message_id: nil, notification: nil, provider: nil, recipient: nil, status: nil, tag: nil, tags: nil, tenant_id: nil, trace_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Trycourier::Models::MessageListParams for more details.
|
|
# File 'lib/trycourier/models/message_list_params.rb', line 103
|
Instance Attribute Details
#archived ⇒ Boolean?
A boolean value that indicates whether archived messages should be included in the response.
15 |
# File 'lib/trycourier/models/message_list_params.rb', line 15 optional :archived, Trycourier::Internal::Type::Boolean, nil?: true |
#cursor ⇒ String?
A unique identifier that allows for fetching the next set of messages.
21 |
# File 'lib/trycourier/models/message_list_params.rb', line 21 optional :cursor, String, nil?: true |
#enqueued_after ⇒ String?
The enqueued datetime of a message to filter out messages received before.
27 |
# File 'lib/trycourier/models/message_list_params.rb', line 27 optional :enqueued_after, String, nil?: true |
#event ⇒ String?
A unique identifier representing the event that was used to send the event.
33 |
# File 'lib/trycourier/models/message_list_params.rb', line 33 optional :event, String, nil?: true |
#list ⇒ String?
A unique identifier representing the list the message was sent to.
39 |
# File 'lib/trycourier/models/message_list_params.rb', line 39 optional :list, String, nil?: true |
#message_id ⇒ String?
A unique identifier representing the message_id returned from either /send or /send/list.
46 |
# File 'lib/trycourier/models/message_list_params.rb', line 46 optional :message_id, String, nil?: true |
#notification ⇒ String?
A unique identifier representing the notification that was used to send the event.
53 |
# File 'lib/trycourier/models/message_list_params.rb', line 53 optional :notification, String, nil?: true |
#provider ⇒ Array<String, nil>?
The key assocated to the provider you want to filter on. E.g., sendgrid, inbox, twilio, slack, msteams, etc. Allows multiple values to be set in query parameters.
61 |
# File 'lib/trycourier/models/message_list_params.rb', line 61 optional :provider, Trycourier::Internal::Type::ArrayOf[String, nil?: true] |
#recipient ⇒ String?
A unique identifier representing the recipient associated with the requested profile.
68 |
# File 'lib/trycourier/models/message_list_params.rb', line 68 optional :recipient, String, nil?: true |
#status ⇒ Array<String, nil>?
An indicator of the current status of the message. Allows multiple values to be set in query parameters.
75 |
# File 'lib/trycourier/models/message_list_params.rb', line 75 optional :status, Trycourier::Internal::Type::ArrayOf[String, nil?: true] |
#tag ⇒ Array<String, nil>?
A tag placed in the metadata.tags during a notification send. Allows multiple values to be set in query parameters.
82 |
# File 'lib/trycourier/models/message_list_params.rb', line 82 optional :tag, Trycourier::Internal::Type::ArrayOf[String, nil?: true] |
#tags ⇒ String?
A comma delimited list of ‘tags’. Messages will be returned if they match any of the tags passed in.
89 |
# File 'lib/trycourier/models/message_list_params.rb', line 89 optional :tags, String, nil?: true |
#tenant_id ⇒ String?
Messages sent with the context of a Tenant
95 |
# File 'lib/trycourier/models/message_list_params.rb', line 95 optional :tenant_id, String, nil?: true |
#trace_id ⇒ String?
The unique identifier used to trace the requests
101 |
# File 'lib/trycourier/models/message_list_params.rb', line 101 optional :trace_id, String, nil?: true |