Package com.sanctionco.opconnect.model
Class Item
java.lang.Object
com.sanctionco.opconnect.model.Item
Represents an item that is stored in a
Vault
.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Item.Builder
builder()
boolean
Get the category of the item.Get whether or not the item has been marked as a favorite.getFiles()
getId()
Get the unique ID of the item.getTags()
Get the list of tags associated with the item.getTitle()
Get the title of the item.Get whether this item is in the trash.getUrls()
Get the list of URLs associated with the item.getVault()
Get theVaultId
indicating the vault that this item belongs to.Get the version of the item.int
hashCode()
static Item.Builder
login()
static Item.Builder
password()
toString()
-
Method Details
-
getId
Get the unique ID of the item.- Returns:
- the id of this item
-
getTitle
Get the title of the item.- Returns:
- the title of this item
-
getVault
Get theVaultId
indicating the vault that this item belongs to.- Returns:
- the vault id that this item belongs to
-
getCategory
Get the category of the item.- Returns:
- the category of this item
-
getUrls
Get the list of URLs associated with the item.- Returns:
- the list of URLs associated with this item
-
getFavorite
Get whether or not the item has been marked as a favorite.- Returns:
- true is this item is a favorite, false otherwise
-
getTags
Get the list of tags associated with the item.- Returns:
- the list of tags associated with this item
-
getVersion
Get the version of the item.- Returns:
- the version of this item
-
getTrashed
Get whether this item is in the trash.- Returns:
- true if this item is in the trash, false otherwise
-
getCreatedAt
-
getUpdatedAt
-
getLastEditedBy
-
getSections
-
getFields
-
getFiles
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-
login
-
password
-