Class WebhookUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class WebhookUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
description
final WebhookUpdateParams.Body.Builder description(String description)
Notes about the endpoint.
-
description
final WebhookUpdateParams.Body.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
enabledEvents
final WebhookUpdateParams.Body.Builder enabledEvents(List<WebhookUpdateParams.EnabledEvent> enabledEvents)
The event types to deliver to the endpoint. Replaces the whole set; an empty list leaves it unchanged.
-
enabledEvents
final WebhookUpdateParams.Body.Builder enabledEvents(JsonField<List<WebhookUpdateParams.EnabledEvent>> enabledEvents)
Sets Builder.enabledEvents to an arbitrary JSON value.
You should usually call Builder.enabledEvents with a well-typed
List<EnabledEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final WebhookUpdateParams.Body.Builder name(String name)
A short label for the endpoint.
-
name
final WebhookUpdateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final WebhookUpdateParams.Body.Builder state(WebhookUpdateParams.State state)
disabledstops deliveries.enabledresumes them and clearsdisabled_reason. Events that happen while the endpoint is disabled are never delivered.
-
state
final WebhookUpdateParams.Body.Builder state(JsonField<WebhookUpdateParams.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final WebhookUpdateParams.Body.Builder url(String url)
The HTTPS URL that deliveries are sent to.
-
url
final WebhookUpdateParams.Body.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WebhookUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addEnabledEvent
final WebhookUpdateParams.Body.Builder addEnabledEvent(WebhookUpdateParams.EnabledEvent enabledEvent)
Adds a single EnabledEvent to enabledEvents.
-
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.
-
-
-
-