Class BatchUnarchiveParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class BatchUnarchiveParams implements Params
Marks the given messages as unarchived. This reverses the
archivedstate. 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 classBatchUnarchiveParams.BuilderA builder for BatchUnarchiveParams.
public final classBatchUnarchiveParams.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 BatchUnarchiveParams.BuildertoBuilder()final BatchUnarchiveParams.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 BatchUnarchiveParams.Builderbuilder()Returns a mutable builder for constructing an instance of BatchUnarchiveParams. -
-
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 BatchUnarchiveParams.Builder toBuilder()
-
_body
final BatchUnarchiveParams.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 BatchUnarchiveParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchUnarchiveParams.
The following fields are required:
.messageIds()
-
-
-
-