Class BatchArchiveParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class BatchArchiveParams implements Params
Marks the given messages as archived. Archived messages are hidden from the default message list in the feed but can still be accessed and unarchived later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchArchiveParams.BuilderA builder for BatchArchiveParams.
public final classBatchArchiveParams.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 BatchArchiveParams.BuildertoBuilder()final BatchArchiveParams.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 BatchArchiveParams.Builderbuilder()Returns a mutable builder for constructing an instance of BatchArchiveParams. -
-
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 BatchArchiveParams.Builder toBuilder()
-
_body
final BatchArchiveParams.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 BatchArchiveParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchArchiveParams.
The following fields are required:
.messageIds()
-
-
-
-