UpdateWebhookRequest

public final class UpdateWebhookRequest

Class representation of a Nylas update webhook request.

Constructors

Link copied to clipboard
public UpdateWebhookRequest UpdateWebhookRequest(@Json(name = "trigger_types") List<WebhookTriggers> triggerTypes, @Json(name = "callback_url") String callbackUrl, @Json(name = "description") String description, @Json(name = "notification_email_address") String notificationEmailAddress)

Types

Link copied to clipboard
public final class Builder

A builder for creating a UpdateWebhookRequest.

Properties

Link copied to clipboard
private final String callbackUrl

The url to send webhooks to.

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.

Functions

Link copied to clipboard
public final String getCallbackUrl()

The url to send webhooks to.

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.