Class Note

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

public class Note extends Object
Note Details
  • Field Details

  • Constructor Details

    • Note

      public Note()
  • Method Details

    • id

      public Note id(@Nullable String id)
    • getId

      @Nullable public String getId()
      Unique note Id
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • text

      public Note text(@Nonnull String text)
    • getText

      @Nonnull public String getText()
      Text content of a note
      Returns:
      text
    • setText

      public void setText(@Nonnull String text)
    • contactIds

      public Note contactIds(@Nullable List<Integer> contactIds)
    • addContactIdsItem

      public Note addContactIdsItem(Integer contactIdsItem)
    • getContactIds

      @Nullable public List<Integer> getContactIds()
      Contact ids linked to a note
      Returns:
      contactIds
    • setContactIds

      public void setContactIds(@Nullable List<Integer> contactIds)
    • dealIds

      public Note dealIds(@Nullable List<String> dealIds)
    • addDealIdsItem

      public Note addDealIdsItem(String dealIdsItem)
    • getDealIds

      @Nullable public List<String> getDealIds()
      Deal ids linked to a note
      Returns:
      dealIds
    • setDealIds

      public void setDealIds(@Nullable List<String> dealIds)
    • authorId

      public Note authorId(@Nullable Object authorId)
    • getAuthorId

      @Nullable public Object getAuthorId()
      Account details of user which created the note
      Returns:
      authorId
    • setAuthorId

      public void setAuthorId(@Nullable Object authorId)
    • createdAt

      public Note createdAt(@Nullable OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Note created date/time
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable OffsetDateTime createdAt)
    • updatedAt

      public Note updatedAt(@Nullable OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Note updated date/time
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable OffsetDateTime updatedAt)
    • 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