Class WebhookUpdateParams.Body
-
- All Implemented Interfaces:
public final class WebhookUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebhookUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>description()Notes about the endpoint. final Optional<List<WebhookUpdateParams.EnabledEvent>>enabledEvents()The event types to deliver to the endpoint. final Optional<String>name()A short label for the endpoint. final Optional<WebhookUpdateParams.State>state()disabledstops deliveries.final Optional<String>url()The HTTPS URL that deliveries are sent to. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<List<WebhookUpdateParams.EnabledEvent>>_enabledEvents()Returns the raw JSON value of enabledEvents. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<WebhookUpdateParams.State>_state()Returns the raw JSON value of state. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final WebhookUpdateParams.Body.BuildertoBuilder()final WebhookUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WebhookUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
description
final Optional<String> description()
Notes about the endpoint.
-
enabledEvents
final Optional<List<WebhookUpdateParams.EnabledEvent>> enabledEvents()
The event types to deliver to the endpoint. Replaces the whole set; an empty list leaves it unchanged.
-
state
final Optional<WebhookUpdateParams.State> state()
disabledstops deliveries.enabledresumes them and clearsdisabled_reason. Events that happen while the endpoint is disabled are never delivered.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_enabledEvents
final JsonField<List<WebhookUpdateParams.EnabledEvent>> _enabledEvents()
Returns the raw JSON value of enabledEvents.
Unlike enabledEvents, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<WebhookUpdateParams.State> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WebhookUpdateParams.Body.Builder toBuilder()
-
validate
final WebhookUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static WebhookUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-