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

com.mailgun.model.suppression.unsubscribe.UnsubscribeItem Maven / Gradle / Ivy

Go to download

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

The newest version!
package com.mailgun.model.suppression.unsubscribe;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;

import java.time.ZonedDateTime;
import java.util.List;

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

/**
 * 

* Unsubscribe item. *

* * @see Suppressions/Unsubscribe */ @Value @Jacksonized @ToString @EqualsAndHashCode @Builder @JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) public class UnsubscribeItem { /** *

* An email address. *

*/ String address; /** *

* List of tag names. *

*/ List tags; /** *

* Timestamp of an unsubscribe event. *

* {@link ZonedDateTime} */ @JsonFormat(pattern = RFC_2822_DATE_TIME_PATTERN_TIME_ZONE_NAME_DAY_OCTAL_LITERAL, locale = ENGLISH) @JsonProperty("created_at") ZonedDateTime createdAt; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy