Class BatchMarkAsSeenParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class BatchMarkAsSeenParams implements Params
Marks the given messages as
seen. This indicates that the user has viewed the message in their feed or inbox. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchMarkAsSeenParams.BuilderA builder for BatchMarkAsSeenParams.
public final classBatchMarkAsSeenParams.BodyRequest to update the status of multiple messages in batch.
-
Method Summary
Modifier and Type Method Description final List<String>messageIds()The message IDs to update the status of. final JsonField<List<String>>_messageIds()Returns the raw JSON value of messageIds. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final BatchMarkAsSeenParams.BuildertoBuilder()final BatchMarkAsSeenParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchMarkAsSeenParams.Builderbuilder()Returns a mutable builder for constructing an instance of BatchMarkAsSeenParams. -
-
Method Detail
-
messageIds
final List<String> messageIds()
The message IDs to update the status of.
-
_messageIds
final JsonField<List<String>> _messageIds()
Returns the raw JSON value of messageIds.
Unlike messageIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final BatchMarkAsSeenParams.Builder toBuilder()
-
_body
final BatchMarkAsSeenParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static BatchMarkAsSeenParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchMarkAsSeenParams.
The following fields are required:
.messageIds()
-
-
-
-