Class FolderResponse

java.lang.Object
ai.vectros.types.FolderResponse

public final class FolderResponse extends Object
  • Method Details

    • getId

      public Optional<String> getId()
      Returns:
      Unique identifier for the folder, assigned by Vectros.
    • getName

      public Optional<String> getName()
      Returns:
      Human-readable display name of the folder.
    • getDescription

      public Optional<String> getDescription()
      Returns:
      Optional description of the folder's contents or purpose.
    • getParentFolderId

      public Optional<String> getParentFolderId()
      Returns:
      ID of this folder's parent. Null when the folder is a root folder.
    • getSlug

      public Optional<String> getSlug()
      Returns:
      Stable URL-safe slug for the folder, unique among its siblings under the same parent. Assigned at creation and immutable thereafter.
    • getDepth

      public Optional<Integer> getDepth()
      Returns:
      How deeply the folder is nested. A root folder has depth 0; each level below increments by 1.
    • getIsProtected

      public Optional<Boolean> getIsProtected()
      Returns:
      Whether this folder is protected from deletion. Your context's root folder is protected.
    • getUserId

      public Optional<String> 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.
    • getOrgId

      public Optional<String> getOrgId()
      Returns:
      ID of the organization that owns this folder — the Vectros-assigned UUID of an organization in your account. Null if the folder is not owned by a specific organization.
    • getClientId

      public Optional<String> getClientId()
      Returns:
      ID of the client associated with this folder — the Vectros-assigned UUID of a client in your account. Null if the folder is not associated with a specific client.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      When the folder was created, as an ISO-8601 UTC timestamp.
    • getLastModified

      public Optional<String> getLastModified()
      Returns:
      When the folder was last modified, as an ISO-8601 UTC timestamp.
    • getVersion

      public Optional<Long> getVersion()
      Returns:
      Optimistic-concurrency version, incremented on every successful write. Pass it back as expectedVersion on 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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static FolderResponse.Builder builder()