Class WebhookUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class WebhookUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
enabled
final WebhookUpdateParams.Body.Builder enabled(Boolean enabled)
Whether the webhook is enabled. Omit to leave the current value unchanged.
-
enabled
final WebhookUpdateParams.Body.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endpoint
final WebhookUpdateParams.Body.Builder endpoint(String endpoint)
The URL where ImageKit sends webhook events as
POSTrequests. Must use thehttporhttpsprotocol, and must be unique across all webhooks for your account.
-
endpoint
final WebhookUpdateParams.Body.Builder endpoint(JsonField<String> endpoint)
Sets Builder.endpoint to an arbitrary JSON value.
You should usually call Builder.endpoint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
events
final WebhookUpdateParams.Body.Builder events(List<WebhookEventType> events)
The event types this webhook is subscribed to. Replaces the existing list. Omit to leave the current value unchanged.
-
events
final WebhookUpdateParams.Body.Builder events(JsonField<List<WebhookEventType>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<WebhookEventType>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final WebhookUpdateParams.Body.Builder addEvent(WebhookEventType event)
Adds a single WebhookEventType to events.
-
additionalProperties
final WebhookUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WebhookUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WebhookUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WebhookUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WebhookUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WebhookUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-