com.mailgun.model.events.EventEnvelope 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.events;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
/**
*
* Event envelope.
*
*
* @see Events API
*/
@Value
@Jacksonized
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class EventEnvelope {
/**
*
* Event transport method.
*
*/
String transport;
/**
*
* Event sender email.
*
*/
String sender;
/**
*
* Event sending IP.
*
*/
@JsonProperty("sending-ip")
String sendingIp;
/**
*
* Event target email.
*
*/
String targets;
}