Class BatchMarkAsUnreadParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class BatchMarkAsUnreadParams implements Params
Marks the given messages as
unread. This reverses thereadstate. Read more about message engagement statuses /send-notifications/message-statuses#engagement-status.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchMarkAsUnreadParams.BuilderA builder for BatchMarkAsUnreadParams.
public final classBatchMarkAsUnreadParams.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 BatchMarkAsUnreadParams.BuildertoBuilder()final BatchMarkAsUnreadParams.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 BatchMarkAsUnreadParams.Builderbuilder()Returns a mutable builder for constructing an instance of BatchMarkAsUnreadParams. -
-
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 BatchMarkAsUnreadParams.Builder toBuilder()
-
_body
final BatchMarkAsUnreadParams.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 BatchMarkAsUnreadParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchMarkAsUnreadParams.
The following fields are required:
.messageIds()
-
-
-
-