All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mailgun.model.suppression.whitelists.WhitelistsItem Maven / Gradle / Ivy

Go to download

The Mailgun SDK for Java enables Java developers to work with Mailgun API efficiently.

There is a newer version: 1.1.3
Show newest version
package com.mailgun.model.suppression.whitelists;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.mailgun.enums.WhitelistType;
import lombok.Builder;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;

import java.time.ZonedDateTime;

import static com.mailgun.util.Constants.ENGLISH;
import static com.mailgun.util.Constants.RFC_2822_DATE_TIME_PATTERN_TIME_ZONE_NAME;

/**
 * 

* Whitelists item. *

* * @see Suppressions/Whitelists */ @Value @Jacksonized @Builder @JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) public class WhitelistsItem { /** *

* Address or domain. *

*/ String value; /** *

* Reason for white listing, why the record was created. *

*/ String reason; /** *

* Whitelist type. *

* {@link WhitelistType} */ WhitelistType type; /** *

* Timestamp of an whitelist event. *

* {@link ZonedDateTime} */ @JsonFormat(pattern = RFC_2822_DATE_TIME_PATTERN_TIME_ZONE_NAME, locale = ENGLISH) ZonedDateTime createdAt; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy