Class ListEntitiesRequest
java.lang.Object
ai.vectros.resources.identity.requests.ListEntitiesRequest
-
Method Details
-
getContextId
- Returns:
- Which app context to read from. Required when the namespace is context-placed and rejected otherwise: a tenant-placed namespace's entities are shared by every context, so there is nothing to name. A context-placed namespace's entities belong to exactly one context and are invisible from the others — the same
externalIdmay name a different entity in each. A context-confined credential may only name its own context.
-
getUserId
- Returns:
- Return only entities owned by this user (Vectros user ID).
-
getExternalId
- Returns:
- Look up an entity by your own identifier. Returns a list with the single match, or empty.
-
getScope
- Returns:
- Filter by parent edge as
<namespace>:<value>(e.g.org:6ba7...). Matches any of the entity's parents, not just its first. Naming this route's own namespace resolves the entity itself.
-
getType
- Returns:
- Schema record type whose lookup fields you want to query. Supply with
fieldand one lookup mode (value,from/to, orprefix).
-
getField
- Returns:
- The schema-declared lookup field to filter on. Supply with
typeand one lookup mode.
-
getValue
- Returns:
- Exact value to match for
field(equality). Not allowed for a sensitive field — usePOST /v1/entities/{namespace}/lookup.
-
getFrom
- Returns:
- Inclusive lower bound for a range lookup (requires
to; range-enabled fields).
-
getTo
- Returns:
- Inclusive upper bound for a range lookup (requires
from).
-
getPrefix
- Returns:
- Match all values of
fieldstarting with this prefix (range-enabled string fields).
-
getOrder
- Returns:
- Sort direction by the field's value for a
type/fieldlookup:asc(ascending, the default) ordesc. Lookup mode only — listing by namespace,userId,scope, orexternalIddoes not take a sort direction and rejects this parameter.
-
getStartFrom
- Returns:
- Pagination cursor. Pass the
nextCursorreturned by the previous page to fetch the next page; omit it for the first page. The cursor is opaque — echo it back unchanged, and do not parse it or construct one. Keep every other query parameter identical while paging: a cursor is valid only for the exact query that returned it, and reusing one against a different query is rejected with a 400.
-
getLimit
- Returns:
- Maximum entities per page (1-100; defaults to 20).
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-