com.mailgun.model.mailing.lists.MailingListMember Maven / Gradle / Ivy
package com.mailgun.model.mailing.lists;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import lombok.extern.jackson.Jacksonized;
import java.util.Map;
@Jacksonized
@Getter
@ToString
@EqualsAndHashCode
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class MailingListMember {
/**
*
* An email address, e.g. {@code "Alice "} or just {@code "[email protected]" }.
*
*/
String address;
/**
*
* Optional member name.
*
*/
String name;
/**
*
* A map with arbitrary keys/values that turns into a JSON dictionary, e.g. {@code {"sex":"female","age":27} }.
*
*/
Map vars;
/**
*
* false
to set unsubscribed.
*
*
* true
as subscribed.
*
*/
Boolean subscribed;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy