Class RequestContactImportNewList

java.lang.Object
software.xdev.brevo.model.RequestContactImportNewList

public class RequestContactImportNewList extends Object
To create a new list and import the contacts into it, pass the listName and an optional folderId.
  • Field Details

  • Constructor Details

    • RequestContactImportNewList

      public RequestContactImportNewList()
  • Method Details

    • listName

      public RequestContactImportNewList listName(@Nullable String listName)
    • getListName

      @Nullable public String getListName()
      List with listName will be created first and users will be imported in it. **Mandatory if listIds is empty**.
      Returns:
      listName
    • setListName

      public void setListName(@Nullable String listName)
    • folderId

      public RequestContactImportNewList folderId(@Nullable Long folderId)
    • getFolderId

      @Nullable public Long getFolderId()
      Id of the folder where this new list shall be created. **Mandatory if listName is not empty**
      Returns:
      folderId
    • setFolderId

      public void setFolderId(@Nullable Long folderId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string