com.mailgun.model.suppression.unsubscribe.UnsubscribesListImportRequest 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.suppression.unsubscribe;
import java.io.File;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
/**
*
* Unsubscribes List Import Request.
*
*
* @see Import a list of unsubscribes
*/
@Getter
@ToString
@EqualsAndHashCode
@Builder
public class UnsubscribesListImportRequest {
/**
*
* An uploaded CSV file containing a list of addresses to add to the unsubscribe list.
*
*
* CSV file must be 25MB or under and must contain the following column headers:
*
*
* address
Valid email address
* tags
Tag to unsubscribe from, use * to unsubscribe an address from all domain’s correspondence (optional, default: *)
* created_at
Timestamp of a bounce event in RFC2822 format (optional, default: current time)
*
*/
File file;
}