com.mailgun.model.seedlist.SeedListRequest 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.seedlist;
import java.util.List;
import feign.form.FormProperty;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
/**
*
* Seed List Request.
*
*
* @see Generate Seed Lists
*/
@Getter
@ToString
@EqualsAndHashCode
@Builder
public class SeedListRequest {
/**
*
* The sending domains that messages will come from.
* You may specify this multiple times.
* At least one is required.
*
*/
@FormProperty("sending_domains")
List sendingDomains;
/**
*
* The name that you would like to use for this seed list.
*
*/
String name;
/**
*
* A regular expression that will be applied to addresses in the mailing list.
*
*/
@FormProperty("seed_filter")
String seedFilter;
}