Class WebhookProfile
-
- All Implemented Interfaces:
public final class WebhookProfile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebhookProfile.BuilderA builder for WebhookProfile.
public final classWebhookProfile.HeadersCustom headers to include in the webhook request.
-
Method Summary
Modifier and Type Method Description final Stringurl()The URL to send the webhook request to. final Optional<WebhookAuthentication>authentication()Authentication configuration for the webhook request. final Optional<WebhookProfile.Headers>headers()Custom headers to include in the webhook request. final Optional<WebhookMethod>method()The HTTP method to use for the webhook request. final Optional<WebhookProfileType>profile()Specifies what profile information is included in the request payload. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<WebhookAuthentication>_authentication()Returns the raw JSON value of authentication. final JsonField<WebhookProfile.Headers>_headers()Returns the raw JSON value of headers. final JsonField<WebhookMethod>_method()Returns the raw JSON value of method. final JsonField<WebhookProfileType>_profile()Returns the raw JSON value of profile. final Map<String, JsonValue>_additionalProperties()final WebhookProfile.BuildertoBuilder()final WebhookProfilevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WebhookProfile.Builderbuilder()Returns a mutable builder for constructing an instance of WebhookProfile. -
-
Method Detail
-
authentication
final Optional<WebhookAuthentication> authentication()
Authentication configuration for the webhook request.
-
headers
final Optional<WebhookProfile.Headers> headers()
Custom headers to include in the webhook request.
-
method
final Optional<WebhookMethod> method()
The HTTP method to use for the webhook request. Defaults to POST if not specified.
-
profile
final Optional<WebhookProfileType> profile()
Specifies what profile information is included in the request payload. Defaults to 'limited' if not specified.
-
_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.
-
_authentication
final JsonField<WebhookAuthentication> _authentication()
Returns the raw JSON value of authentication.
Unlike authentication, this method doesn't throw if the JSON field has an unexpected type.
-
_headers
final JsonField<WebhookProfile.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<WebhookMethod> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_profile
final JsonField<WebhookProfileType> _profile()
Returns the raw JSON value of profile.
Unlike profile, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WebhookProfile.Builder toBuilder()
-
validate
final WebhookProfile validate()
-
builder
final static WebhookProfile.Builder builder()
Returns a mutable builder for constructing an instance of WebhookProfile.
The following fields are required:
.url()
-
-
-
-