Package software.xdev.brevo.model
Class TemplatePreviewModel
java.lang.Object
software.xdev.brevo.model.TemplatePreviewModel
TemplatePreviewModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUsedFeedNamesItem(String usedFeedNamesItem) booleanSender email addressSender NamegetHtml()Html content of the templatePreview text of the templatesubject of the templateGet usedFeedNamesinthashCode()previewText(String previewText) voidsetFromEmail(String fromEmail) voidsetFromName(String fromName) voidvoidsetPreviewText(String previewText) voidsetSubject(String subject) voidsetUsedFeedNames(List<String> usedFeedNames) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.usedFeedNames(List<String> usedFeedNames)
-
Field Details
-
JSON_PROPERTY_FROM_EMAIL
- See Also:
-
JSON_PROPERTY_FROM_NAME
- See Also:
-
JSON_PROPERTY_HTML
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_USED_FEED_NAMES
- See Also:
-
JSON_PROPERTY_PREVIEW_TEXT
- See Also:
-
-
Constructor Details
-
TemplatePreviewModel
public TemplatePreviewModel()
-
-
Method Details
-
fromEmail
-
getFromEmail
Sender email address- Returns:
- fromEmail
-
setFromEmail
-
fromName
-
getFromName
Sender Name- Returns:
- fromName
-
setFromName
-
html
-
getHtml
Html content of the template- Returns:
- html
-
setHtml
-
subject
-
getSubject
subject of the template- Returns:
- subject
-
setSubject
-
usedFeedNames
-
addUsedFeedNamesItem
-
getUsedFeedNames
Get usedFeedNames- Returns:
- usedFeedNames
-
setUsedFeedNames
-
previewText
-
getPreviewText
Preview text of the template- Returns:
- previewText
-
setPreviewText
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-