Package software.xdev.brevo.model
Class RemoveContactFromListRequest
java.lang.Object
software.xdev.brevo.model.RemoveContactFromListRequest
RemoveContactFromListRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmailsItem(String emailsItem) addExtIdsItem(String extIdsItem) addIdsItem(Long idsItem) booleangetAll()**Required if 'emails', 'extIds' and 'ids' are empty.** Remove all existing contacts from a list.**Required if 'all' is false and 'ids', 'extIds' are empty.** Emails to remove from a list.**Required if 'all' is false, 'ids' and 'emails' are empty.** EXT_ID attributes to remove from a list.getIds()**Required if 'all' is false and 'emails', 'extIds' are empty.** IDs to remove from a list.inthashCode()voidvoidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_EMAILS
- See Also:
-
JSON_PROPERTY_IDS
- See Also:
-
JSON_PROPERTY_ALL
- See Also:
-
JSON_PROPERTY_EXT_IDS
- See Also:
-
-
Constructor Details
-
RemoveContactFromListRequest
public RemoveContactFromListRequest()
-
-
Method Details
-
emails
-
addEmailsItem
-
getEmails
**Required if 'all' is false and 'ids', 'extIds' are empty.** Emails to remove from a list. You can pass a **maximum of 150 emails** for removal in one request.- Returns:
- emails
-
setEmails
-
ids
-
addIdsItem
-
getIds
**Required if 'all' is false and 'emails', 'extIds' are empty.** IDs to remove from a list. You can pass a **maximum of 150 IDs** for removal in one request.- Returns:
- ids
-
setIds
-
all
-
getAll
**Required if 'emails', 'extIds' and 'ids' are empty.** Remove all existing contacts from a list. A process will be created in this scenario. You can fetch the process details to know about the progress- Returns:
- all
-
setAll
-
extIds
-
addExtIdsItem
-
getExtIds
**Required if 'all' is false, 'ids' and 'emails' are empty.** EXT_ID attributes to remove from a list. You can pass a **maximum of 150 EXT_ID attributes** for removal in one request.- Returns:
- extIds
-
setExtIds
-
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
-