com.mailchimp.domain.CampaignDefaults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailchimp-java Show documentation
Show all versions of mailchimp-java Show documentation
Java client to communicate with MailChimp API 3.0
The newest version!
package com.mailchimp.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* Default values for campaigns created for this list.
*
* @see http://developer.mailchimp.com/documentation/mailchimp/reference/lists/#create-post_lists
* @author stevensnoeijen
*/
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CampaignDefaults {
/**
* The default from name for campaigns sent to this list.
*/
@JsonProperty("from_name")
@Getter
@Setter
private String fromName;
/**
* The default from email for campaigns sent to this list.
*/
@JsonProperty("from_email")
@Getter
@Setter
private String fromEmail;
/**
* The default subject line for campaigns sent to this list.
*/
@Getter
@Setter
private String subject;
/**
* The default language for this lists’s forms.
*/
@Getter
@Setter
private String language;
public String getFromName() {
return fromName;
}
public void setFromName(String fromName) {
this.fromName = fromName;
}
public String getFromEmail() {
return fromEmail;
}
public void setFromEmail(String fromEmail) {
this.fromEmail = fromEmail;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getLanguage() {
return language;
}
public void setLanguage(String language) {
this.language = language;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy