Package ai.vectros.types
Class FolderResponse
java.lang.Object
ai.vectros.types.FolderResponse
-
Method Details
-
getCreated
- Returns:
- Present only on a create response:
truewhen a new folder was created (HTTP 201),falsewhen a folder with the same slug already existed under the same parent and was returned instead (HTTP 200). Omitted on reads, lists, and updates.
-
getId
- Returns:
- Unique identifier for the folder, assigned by Vectros.
-
getName
- Returns:
- Human-readable display name of the folder.
-
getDescription
- Returns:
- Optional description of the folder's contents or purpose.
-
getParentFolderId
- Returns:
- ID of this folder's parent. Null when the folder is a root folder.
-
getSlug
- Returns:
- Stable URL-safe slug for the folder, unique among its siblings under the same parent. Assigned at creation and immutable thereafter.
-
getDepth
- Returns:
- How deeply the folder is nested. A root folder has depth 0; each level below increments by 1.
-
getIsProtected
- Returns:
- Whether this folder is protected from deletion. Your context's root folder is protected.
-
getUserId
- Returns:
- ID of the user that owns this folder — the Vectros-assigned UUID of a user in your account. Null if the folder is not owned by a specific user.
-
getScopes
- Returns:
- The folder's scope ownership as canonical
namespace:valueentries (at most 2).organdclientare reserved namespace names; any other is one you registered yourself. Set at creation, either explicitly or automatically from the calling token's identity. Empty for a folder owned by a user alone (or unowned).
-
getCreatedAt
- Returns:
- When the folder was created, as an ISO-8601 UTC timestamp.
-
getLastModified
- Returns:
- When the folder was last modified, as an ISO-8601 UTC timestamp.
-
getVersion
- Returns:
- Optimistic-concurrency version, incremented on every successful write. Pass it back as
expectedVersionon a later update or patch to avoid silently overwriting a concurrent change — the write is rejected with a 409 version conflict if the folder has changed since.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-