Class UpdateBatchContactsContactsInner

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

public class UpdateBatchContactsContactsInner extends Object
UpdateBatchContactsContactsInner
  • Field Details

  • Constructor Details

    • UpdateBatchContactsContactsInner

      public UpdateBatchContactsContactsInner()
  • Method Details

    • email

      public UpdateBatchContactsContactsInner email(@Nullable String email)
    • getEmail

      @Nullable public String 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:
      email
    • setEmail

      public void setEmail(@Nullable String email)
    • id

      public UpdateBatchContactsContactsInner id(@Nullable Long id)
    • getId

      @Nullable public Long 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

      public void setId(@Nullable Long id)
    • sms

      public UpdateBatchContactsContactsInner sms(@Nullable String sms)
    • getSms

      @Nullable public String 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

      public void setSms(@Nullable String sms)
    • extId

      public UpdateBatchContactsContactsInner extId(@Nullable String extId)
    • getExtId

      @Nullable public String getExtId()
      Pass your own Id to update ext_id of a contact.
      Returns:
      extId
    • setExtId

      public void setExtId(@Nullable String extId)
    • attributes

      public UpdateBatchContactsContactsInner attributes(@Nullable Map<String,Object> attributes)
    • putAttributesItem

      public UpdateBatchContactsContactsInner putAttributesItem(String key, Object attributesItem)
    • getAttributes

      @Nullable public Map<String,Object> 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

      public void setAttributes(@Nullable Map<String,Object> attributes)
    • emailBlacklisted

      public UpdateBatchContactsContactsInner emailBlacklisted(@Nullable Boolean emailBlacklisted)
    • getEmailBlacklisted

      @Nullable public Boolean getEmailBlacklisted()
      Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)
      Returns:
      emailBlacklisted
    • setEmailBlacklisted

      public void setEmailBlacklisted(@Nullable Boolean emailBlacklisted)
    • smsBlacklisted

      public UpdateBatchContactsContactsInner smsBlacklisted(@Nullable Boolean smsBlacklisted)
    • getSmsBlacklisted

      @Nullable public Boolean getSmsBlacklisted()
      Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true)
      Returns:
      smsBlacklisted
    • setSmsBlacklisted

      public void setSmsBlacklisted(@Nullable Boolean smsBlacklisted)
    • listIds

      public UpdateBatchContactsContactsInner listIds(@Nullable List<Long> listIds)
    • addListIdsItem

      public UpdateBatchContactsContactsInner addListIdsItem(Long listIdsItem)
    • getListIds

      @Nullable public List<Long> getListIds()
      Ids of the lists to add the contact to
      Returns:
      listIds
    • setListIds

      public void setListIds(@Nullable List<Long> listIds)
    • unlinkListIds

      public UpdateBatchContactsContactsInner unlinkListIds(@Nullable List<Long> unlinkListIds)
    • addUnlinkListIdsItem

      public UpdateBatchContactsContactsInner addUnlinkListIdsItem(Long unlinkListIdsItem)
    • getUnlinkListIds

      @Nullable public List<Long> getUnlinkListIds()
      Ids of the lists to remove the contact from
      Returns:
      unlinkListIds
    • setUnlinkListIds

      public void setUnlinkListIds(@Nullable List<Long> unlinkListIds)
    • smtpBlacklistSender

      public UpdateBatchContactsContactsInner smtpBlacklistSender(@Nullable List<String> smtpBlacklistSender)
    • addSmtpBlacklistSenderItem

      public UpdateBatchContactsContactsInner addSmtpBlacklistSenderItem(String smtpBlacklistSenderItem)
    • getSmtpBlacklistSender

      @Nullable public List<String> getSmtpBlacklistSender()
      transactional email forbidden sender for contact. Use only for email Contact
      Returns:
      smtpBlacklistSender
    • setSmtpBlacklistSender

      public void setSmtpBlacklistSender(@Nullable List<String> smtpBlacklistSender)
    • 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