Class BulkSetParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class BulkSetParams implements Params
Set or update up to 1,000 tenants in a single operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBulkSetParams.BuilderA builder for BulkSetParams.
public final classBulkSetParams.BodyA request to set tenants in bulk.
-
Method Summary
Modifier and Type Method Description final List<InlineTenantRequest>tenants()The tenants to be upserted. final JsonField<List<InlineTenantRequest>>_tenants()Returns the raw JSON value of tenants. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final BulkSetParams.BuildertoBuilder()final BulkSetParams.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 BulkSetParams.Builderbuilder()Returns a mutable builder for constructing an instance of BulkSetParams. -
-
Method Detail
-
tenants
final List<InlineTenantRequest> tenants()
The tenants to be upserted.
-
_tenants
final JsonField<List<InlineTenantRequest>> _tenants()
Returns the raw JSON value of tenants.
Unlike tenants, 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 BulkSetParams.Builder toBuilder()
-
_body
final BulkSetParams.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 BulkSetParams.Builder builder()
Returns a mutable builder for constructing an instance of BulkSetParams.
The following fields are required:
.tenants()
-
-
-
-