Class EventSubscriptionUpdateParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class EventSubscriptionUpdateParams implements Params
Update an event subscription.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEventSubscriptionUpdateParams.BuilderA builder for EventSubscriptionUpdateParams.
public final classEventSubscriptionUpdateParams.Bodypublic final classEventSubscriptionUpdateParams.EventType
-
Method Summary
Modifier and Type Method Description final Optional<String>eventSubscriptionToken()final Stringurl()URL to which event webhooks will be sent. final Optional<String>description()Event subscription description. final Optional<Boolean>disabled()Whether the event subscription is active (false) or inactive (true). final Optional<List<EventSubscriptionUpdateParams.EventType>>eventTypes()Indicates types of events that will be sent to this subscription. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<Boolean>_disabled()Returns the raw JSON value of disabled. final JsonField<List<EventSubscriptionUpdateParams.EventType>>_eventTypes()Returns the raw JSON value of eventTypes. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final EventSubscriptionUpdateParams.BuildertoBuilder()final EventSubscriptionUpdateParams.Body_body()final String_pathParam(Integer index)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 EventSubscriptionUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of EventSubscriptionUpdateParams. -
-
Method Detail
-
eventSubscriptionToken
final Optional<String> eventSubscriptionToken()
-
description
final Optional<String> description()
Event subscription description.
-
disabled
final Optional<Boolean> disabled()
Whether the event subscription is active (false) or inactive (true).
-
eventTypes
final Optional<List<EventSubscriptionUpdateParams.EventType>> eventTypes()
Indicates types of events that will be sent to this subscription. If left blank, all types will be sent.
-
_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.
-
_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.
-
_disabled
final JsonField<Boolean> _disabled()
Returns the raw JSON value of disabled.
Unlike disabled, this method doesn't throw if the JSON field has an unexpected type.
-
_eventTypes
final JsonField<List<EventSubscriptionUpdateParams.EventType>> _eventTypes()
Returns the raw JSON value of eventTypes.
Unlike eventTypes, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final EventSubscriptionUpdateParams.Builder toBuilder()
-
_body
final EventSubscriptionUpdateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_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 EventSubscriptionUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of EventSubscriptionUpdateParams.
The following fields are required:
.url()
-
-
-
-