Class BulkCreateParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class BulkCreateParams implements Params
Bulk creates up to 1,000 schedules at a time. This endpoint also handles /managing-recipients/identifying-recipients#inline-identifying-recipients for the
actor,recipient, andtenantfields.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBulkCreateParams.BuilderA builder for BulkCreateParams.
public final classBulkCreateParams.BodyA request to bulk create schedules. Accepts a list of schedules to create. Each schedule must have a single recipient. The recipients do not have to be unique.
public final classBulkCreateParams.ScheduleA schedule represents a recurring workflow execution.
-
Method Summary
Modifier and Type Method Description final List<BulkCreateParams.Schedule>schedules()A list of schedules. final JsonField<List<BulkCreateParams.Schedule>>_schedules()Returns the raw JSON value of schedules. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final BulkCreateParams.BuildertoBuilder()final BulkCreateParams.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 BulkCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of BulkCreateParams. -
-
Method Detail
-
schedules
final List<BulkCreateParams.Schedule> schedules()
A list of schedules.
-
_schedules
final JsonField<List<BulkCreateParams.Schedule>> _schedules()
Returns the raw JSON value of schedules.
Unlike schedules, 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 BulkCreateParams.Builder toBuilder()
-
_body
final BulkCreateParams.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 BulkCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of BulkCreateParams.
The following fields are required:
.schedules()
-
-
-
-