Class Item

java.lang.Object
com.sanctionco.opconnect.model.Item

public class Item extends Object
Represents an item that is stored in a Vault.
  • Method Details

    • getId

      public String getId()
      Get the unique ID of the item.
      Returns:
      the id of this item
    • getTitle

      public String getTitle()
      Get the title of the item.
      Returns:
      the title of this item
    • getVault

      public VaultId getVault()
      Get the VaultId indicating the vault that this item belongs to.
      Returns:
      the vault id that this item belongs to
    • getCategory

      public Category getCategory()
      Get the category of the item.
      Returns:
      the category of this item
    • getUrls

      public List<URL> getUrls()
      Get the list of URLs associated with the item.
      Returns:
      the list of URLs associated with this item
    • getFavorite

      public Boolean getFavorite()
      Get whether or not the item has been marked as a favorite.
      Returns:
      true is this item is a favorite, false otherwise
    • getTags

      public List<String> getTags()
      Get the list of tags associated with the item.
      Returns:
      the list of tags associated with this item
    • getVersion

      public Integer getVersion()
      Get the version of the item.
      Returns:
      the version of this item
    • getTrashed

      public Boolean getTrashed()
      Get whether this item is in the trash.
      Returns:
      true if this item is in the trash, false otherwise
    • getCreatedAt

      public Instant getCreatedAt()
    • getUpdatedAt

      public Instant getUpdatedAt()
    • getLastEditedBy

      public String getLastEditedBy()
    • getSections

      public List<Section> getSections()
    • getFields

      public List<Field> getFields()
    • getFiles

      public List<File> getFiles()
    • 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
    • builder

      public static Item.Builder builder()
    • login

      public static Item.Builder login()
    • password

      public static Item.Builder password()