Package software.xdev.brevo.model
Class UpdateBatchContactsContactsInner
java.lang.Object
software.xdev.brevo.model.UpdateBatchContactsContactsInner
UpdateBatchContactsContactsInner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddListIdsItem(Long listIdsItem) addSmtpBlacklistSenderItem(String smtpBlacklistSenderItem) addUnlinkListIdsItem(Long unlinkListIdsItem) attributes(Map<String, Object> attributes) emailBlacklisted(Boolean emailBlacklisted) booleanPass the set of attributes to be updated.getEmail()Email address of the user to be updated (For each operation only pass one of the supported contact identifiers.Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)getExtId()Pass your own Id to update ext_id of a contact.getId()id of the user to be updated (For each operation only pass one of the supported contact identifiers.Ids of the lists to add the contact togetSms()SMS of the user to be updated (For each operation only pass one of the supported contact identifiers.Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true)transactional email forbidden sender for contact.Ids of the lists to remove the contact frominthashCode()putAttributesItem(String key, Object attributesItem) voidsetAttributes(Map<String, Object> attributes) voidvoidsetEmailBlacklisted(Boolean emailBlacklisted) voidvoidvoidsetListIds(List<Long> listIds) voidvoidsetSmsBlacklisted(Boolean smsBlacklisted) voidsetSmtpBlacklistSender(List<String> smtpBlacklistSender) voidsetUnlinkListIds(List<Long> unlinkListIds) smsBlacklisted(Boolean smsBlacklisted) smtpBlacklistSender(List<String> smtpBlacklistSender) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.unlinkListIds(List<Long> unlinkListIds)
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SMS
- See Also:
-
JSON_PROPERTY_EXT_ID
- See Also:
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_EMAIL_BLACKLISTED
- See Also:
-
JSON_PROPERTY_SMS_BLACKLISTED
- See Also:
-
JSON_PROPERTY_LIST_IDS
- See Also:
-
JSON_PROPERTY_UNLINK_LIST_IDS
- See Also:
-
JSON_PROPERTY_SMTP_BLACKLIST_SENDER
- See Also:
-
-
Constructor Details
-
UpdateBatchContactsContactsInner
public UpdateBatchContactsContactsInner()
-
-
Method Details
-
email
-
getEmail
Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms)- Returns:
-
setEmail
-
id
-
getId
id of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms)- Returns:
- id
-
setId
-
sms
-
getSms
SMS of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms)- Returns:
- sms
-
setSms
-
extId
-
getExtId
Pass your own Id to update ext_id of a contact.- Returns:
- extId
-
setExtId
-
attributes
-
putAttributesItem
-
getAttributes
Pass the set of attributes to be updated. **These attributes must be present in your account**. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, **{ \"EMAIL\":\"newemail@domain.com\", \"FNAME\":\"Ellie\", \"LNAME\":\"Roger\"}**. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in **SMS** field should be passed with proper country code. For example: **{\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}**- Returns:
- attributes
-
setAttributes
-
emailBlacklisted
-
getEmailBlacklisted
Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)- Returns:
- emailBlacklisted
-
setEmailBlacklisted
-
smsBlacklisted
-
getSmsBlacklisted
Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true)- Returns:
- smsBlacklisted
-
setSmsBlacklisted
-
listIds
-
addListIdsItem
-
getListIds
Ids of the lists to add the contact to- Returns:
- listIds
-
setListIds
-
unlinkListIds
-
addUnlinkListIdsItem
-
getUnlinkListIds
Ids of the lists to remove the contact from- Returns:
- unlinkListIds
-
setUnlinkListIds
-
smtpBlacklistSender
public UpdateBatchContactsContactsInner smtpBlacklistSender(@Nullable List<String> smtpBlacklistSender) -
addSmtpBlacklistSenderItem
-
getSmtpBlacklistSender
transactional email forbidden sender for contact. Use only for email Contact- Returns:
- smtpBlacklistSender
-
setSmtpBlacklistSender
-
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
-