Class UpsertrecordsRequestRecordsInnerOneOf1Identifiers

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

public class UpsertrecordsRequestRecordsInnerOneOf1Identifiers extends Object
Identifiers attached with the object record. It can have id or ext_id. ext_id is ID of record in the external system that client want to store in the object system, id is an internal ID of object record generated by Brevo system. NOTE: - Its an optional field, if identifier is not provided, then id of object records will be generated by Brevo. This id can be used for further operation with the object record. - Both ext_id and id cannot be provided in the same request.
  • Field Details

  • Constructor Details

    • UpsertrecordsRequestRecordsInnerOneOf1Identifiers

      public UpsertrecordsRequestRecordsInnerOneOf1Identifiers()
  • Method Details

    • extId

    • getExtId

      @Nullable public String getExtId()
      ext_id is ID of record in the external system that client want to store in the object system.
      Returns:
      extId
    • setExtId

      public void setExtId(@Nullable String extId)
    • id

    • getId

      @Nullable public Integer getId()
      Internal ID of the object record generated by Brevo
      Returns:
      id
    • setId

      public void setId(@Nullable Integer id)
    • 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