com.mailgun.model.events.EventMessageHeaders 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 message headers.
*
*
* @see Events API
*/
@Value
@Jacksonized
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class EventMessageHeaders {
/**
*
* Message id.
*
*/
@JsonProperty("message-id")
String messageId;
/**
*
* Email address from To
header.
*
*/
String to;
/**
*
* Email address from From
header.
*
*/
String from;
/**
*
* Message subject.
*
*/
String subject;
}