com.mailgun.model.suppression.whitelists.WhitelistsRequest 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.whitelists;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
/**
*
* Whitelists request.
*
*
* @see Suppressions/Whitelists
*/
@Getter
@ToString
@EqualsAndHashCode
@Builder
public class WhitelistsRequest {
/**
*
* Valid email address if you would like to whitelist email address.
*
* Note: The single request accepts either one address or domain parameter
*/
String address;
/**
*
* Valid domain name if you would like whitelist entire domain name.
*
* Note: The single request accepts either one address or domain parameter
*/
String domain;
/**
*
* Reason for whitelisting.
*
*/
String reason;
}