CreateWebhookRequest

public final class CreateWebhookRequest

Class representation of a Nylas create webhook request.

Constructors

Link copied to clipboard
public CreateWebhookRequest CreateWebhookRequest(@Json(name = "trigger_types") List<WebhookTriggers> triggerTypes, @Json(name = "webhook_url") String webhookUrl, @Json(name = "description") String description, @Json(name = "notification_email_addresses") List<String> notificationEmailAddresses)

Types

Link copied to clipboard
public final class Builder

A builder for creating a CreateWebhookRequest.

Properties

Link copied to clipboard
private final String description

A human-readable description of the webhook destination.

Link copied to clipboard

The email addresses that Nylas notifies when a webhook is down for a while.

Link copied to clipboard

Select the event that triggers the webhook.

Link copied to clipboard
private final String webhookUrl

The url to send webhooks to.

Functions

Link copied to clipboard
public final String getDescription()

A human-readable description of the webhook destination.

Link copied to clipboard

The email addresses that Nylas notifies when a webhook is down for a while.

Link copied to clipboard

Select the event that triggers the webhook.

Link copied to clipboard
public final String getWebhookUrl()

The url to send webhooks to.