Class DocumentLookupRequest
java.lang.Object
ai.vectros.resources.documents.requests.DocumentLookupRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interface -
Method Summary
-
Method Details
-
getType
- Returns:
- Document type to look up (the type defined by the bound schema).
-
getField
- Returns:
- The field to look up by. Use
externalIdto look up by the document's external identifier (no schema declaration required), or the name of any lookup field declared on the bound schema. For a sensitive field, this body variant is required (the GET variant rejects sensitive-field lookups).
-
getValue
- Returns:
- Exact value to match (equality mode). Mutually exclusive with
from/toandprefix.
-
getFrom
- Returns:
- Inclusive lower bound for a range lookup (requires
to; non-sensitive, range-enabled fields only). Mutually exclusive withvalueandprefix.
-
getTo
- Returns:
- Inclusive upper bound for a range lookup (requires
from; mutually exclusive withvalueandprefix).
-
getPrefix
- Returns:
- Prefix to match for a prefix lookup (range-enabled string fields only). Mutually exclusive with
valueandfrom/to.
-
getStartFrom
- Returns:
- Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page.
-
getLimit
- Returns:
- Maximum number of documents to return per page (1–100; defaults to 20).
-
getOrder
- Returns:
- Sort direction for the returned results:
asc(default) ordesc.
-
getUserId
- Returns:
- Root API key ONLY: resolve
type's schema as this user would (basedOn-aware shadowing) instead of the shared base — mirrorsGET /v1/schemas?recordType='suserIdselector. Ignored for a scoped credential, which always resolves via its own token identity.
-
getScope
- Returns:
- Root API key ONLY: resolve
type's schema as this scope would (basedOn-aware shadowing), as a singlenamespace:valueentry — mirrorsGET /v1/schemas?recordType='sscopeselector. Ignored for a scoped credential.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-