Package com.courier.models
Class WebhookRecipient
-
- All Implemented Interfaces:
public final class WebhookRecipientSend via webhook
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebhookRecipient.BuilderA builder for WebhookRecipient.
-
Method Summary
Modifier and Type Method Description final WebhookProfilewebhook()final JsonField<WebhookProfile>_webhook()Returns the raw JSON value of webhook. final Map<String, JsonValue>_additionalProperties()final WebhookRecipient.BuildertoBuilder()final WebhookRecipientvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WebhookRecipient.Builderbuilder()Returns a mutable builder for constructing an instance of WebhookRecipient. -
-
Method Detail
-
webhook
final WebhookProfile webhook()
-
_webhook
final JsonField<WebhookProfile> _webhook()
Returns the raw JSON value of webhook.
Unlike webhook, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WebhookRecipient.Builder toBuilder()
-
validate
final WebhookRecipient 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 WebhookRecipient.Builder builder()
Returns a mutable builder for constructing an instance of WebhookRecipient.
The following fields are required:
.webhook()
-
-
-
-