Package app.knock.api.models.objects
Class ObjectDeleteSubscriptionsParams.Body.Builder
-
- All Implemented Interfaces:
public final class ObjectDeleteSubscriptionsParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
recipients
final ObjectDeleteSubscriptionsParams.Body.Builder recipients(List<RecipientReference> recipients)
The recipients of the subscription. You can subscribe up to 100 recipients to an object at a time.
-
recipients
final ObjectDeleteSubscriptionsParams.Body.Builder recipients(JsonField<List<RecipientReference>> recipients)
Sets Builder.recipients to an arbitrary JSON value.
You should usually call Builder.recipients with a well-typed
List<RecipientReference>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRecipient
final ObjectDeleteSubscriptionsParams.Body.Builder addRecipient(RecipientReference recipient)
Adds a single RecipientReference to recipients.
-
addRecipient
final ObjectDeleteSubscriptionsParams.Body.Builder addRecipient(String user)
Alias for calling addRecipient with
RecipientReference.ofUser(user).
-
addRecipient
final ObjectDeleteSubscriptionsParams.Body.Builder addRecipient(RecipientReference.ObjectReference objectReference)
Alias for calling addRecipient with
RecipientReference.ofObjectReference(objectReference).
-
additionalProperties
final ObjectDeleteSubscriptionsParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ObjectDeleteSubscriptionsParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ObjectDeleteSubscriptionsParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ObjectDeleteSubscriptionsParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ObjectDeleteSubscriptionsParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ObjectDeleteSubscriptionsParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.recipients()
-
-
-
-