com.mailgun.model.seedlist.SeedListItem Maven / Gradle / Ivy
Show all versions of mailgun-java Show documentation
package com.mailgun.model.seedlist;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
/**
*
* Seed Lists Item.
*
*
* @see Seed Lists
*/
@Value
@Jacksonized
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class SeedListItem {
/**
*
* Unique identifier for a seed list.
*
*/
String kid;
/**
*
* Date and time that seed list was created.
*
* {@link ZonedDateTime}
*/
@JsonProperty("created_at")
ZonedDateTime createdAt;
/**
*
* Date and time that seed list was updated.
* Will update whenever it is changed.
*
* {@link ZonedDateTime}
*/
@JsonProperty("updated_at")
ZonedDateTime updatedAt;
/**
*
* Date and time that seed list was updated. Will update whenever a new result comes in.
*
* {@link ZonedDateTime}
*/
@JsonProperty("last_result_at")
ZonedDateTime lastResultAt;
/**
*
* The required email address that must be included in a mailing list for an inbox placement test to work.
*
*/
@JsonProperty("target_email")
String targetEmail;
/**
*
* The list of possible domains that the messages must come from.
*
*/
@JsonProperty("sending_domains")
List sendingDomains;
/**
*
* A flag that is true when results exist for this seed list.
*
*/
@JsonProperty("has_results")
Boolean hasResults;
/**
*
* The name of the seed list.
*
*/
String name;
/**
*
* A regular expression value that will be used to filter the list of seeds in the seed list.
*
*/
@JsonProperty("seed_filter")
String seedFilter;
/**
*
* A mailing list that contains the target email, and available seeds.
*
*/
@JsonProperty("mailing_list")
String mailingList;
/**
*
* Tags.
*
*/
Object tags;
/**
*
* An object that contains sub-objects that describe delivery stats.
*
*/
@JsonProperty("delivery_stats")
Map> deliveryStats;
/**
*
* A list of results from the seed list’s tests {@link SeedListItemResult}.
*
*/
List results;
}