Package software.xdev.brevo.model
Class RequestContactImportNewList
java.lang.Object
software.xdev.brevo.model.RequestContactImportNewList
To create a new list and import the contacts into it, pass the listName and an optional folderId.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanId of the folder where this new list shall be created.List with listName will be created first and users will be imported in it.inthashCode()voidsetFolderId(Long folderId) voidsetListName(String listName) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_LIST_NAME
- See Also:
-
JSON_PROPERTY_FOLDER_ID
- See Also:
-
-
Constructor Details
-
RequestContactImportNewList
public RequestContactImportNewList()
-
-
Method Details
-
listName
-
getListName
List with listName will be created first and users will be imported in it. **Mandatory if listIds is empty**.- Returns:
- listName
-
setListName
-
folderId
-
getFolderId
Id of the folder where this new list shall be created. **Mandatory if listName is not empty**- Returns:
- folderId
-
setFolderId
-
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
-