com.mailgun.model.webhooks.Webhooks Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailgun-java Show documentation
Show all versions of mailgun-java Show documentation
The Mailgun SDK for Java enables Java developers to work with Mailgun API
efficiently.
The newest version!
package com.mailgun.model.webhooks;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
/**
*
* Webhooks.
*
*
* @see Webhooks
*/
@Value
@Jacksonized
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class Webhooks {
/**
*
* Tracking Clicks.
*
*
* @see Tracking Clicks
*/
Webhook clicked;
/**
*
* Tracking Spam Complaints.
*
*
* @see Tracking Spam Complaints
*/
Webhook complained;
/**
*
* Tracking Deliveries.
*
*
* @see Tracking Deliveries
*/
Webhook delivered;
/**
*
* Tracking Opens.
*
*
* @see Tracking Opens
*/
Webhook opened;
/**
*
* Tracking Permanent Failures.
*
*
* @see Tracking Failures
*/
@JsonProperty("permanent_fail")
Webhook permanentFail;
/**
*
* Tracking Temporary Failures.
*
*
* @see Tracking Failures
*/
@JsonProperty("temporary_fail")
Webhook temporaryFail;
/**
*
* Tracking Unsubscribes.
*
*
* @see Tracking Unsubscribes
*/
Webhook unsubscribed;
}