Class RecordLookupRequest
java.lang.Object
ai.vectros.resources.records.requests.RecordLookupRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interface -
Method Summary
-
Method Details
-
getType
- Returns:
- The record type to look up (for example,
intake_form).
-
getField
- Returns:
- Name of the lookup field declared on the schema. For a field marked sensitive, this body variant is required (the GET variant rejects looking up by a sensitive value). For a lookup declared over several fields, give those field names joined with commas (
status,area) and put the values invalues.
-
getValue
- Returns:
- Exact value to match. Mutually exclusive with
from/to,prefixandvalues. Sensitive fields can only be looked up by exact value, and only through this body variant. For a lookup over several fields, usevaluesinstead.
-
getValues
- Returns:
- Exact values to match, for a lookup declared over several fields — one value per field, in the order the lookup declares them. Mutually exclusive with
value; a single-element list is exactlyvaluewritten uniformly.You may supply fewer values than the lookup declares, as long as they are a leading run of its fields: on a lookup over
[status, area, owner]you can matchstatus, orstatusandarea, but neverareaalone. Supplying fewer values returns the records grouped by the fields you left unspecified;sortFrom/sortTothen need every value, because sorting is only continuous within one fully specified combination.
-
getFrom
- Returns:
- Inclusive lower bound for a range lookup (requires
to; non-sensitive fields only). Mutually exclusive withvalueandprefix.
-
getTo
- Returns:
- Inclusive upper bound for a range lookup (requires
from).
-
getPrefix
- Returns:
- Prefix to match (string, non-sensitive fields only). Mutually exclusive with
valueandfrom/to.
-
getSortFrom
- Returns:
- Inclusive lower bound on the lookup field's sort key, narrowing a
valuematch to records whose sort key is at or after this point. Use withvalue; may be combined withsortToto bound both ends. Give the bound in the same form as the sorted field's own values — epoch milliseconds when the lookup sorts bycreatedAtorlastUpdated. Records with no value for the sorted field are never included in a bounded window.
-
getSortTo
- Returns:
- Inclusive upper bound on the lookup field's sort key, narrowing a
valuematch to records whose sort key is at or before this point. Use withvalue; may be combined withsortFrom.
-
getStartFrom
- Returns:
- Pagination cursor — pass the
nextCursorreturned by the previous page.
-
getLimit
- Returns:
- Maximum number of records to return per page (1–100; defaults to 20).
-
getOrder
- Returns:
- Sort direction for the returned results:
asc(default) ordesc.
-
getIncludePayload
- Returns:
- When true, externalized record payloads are returned in full in this response (capped per page). Defaults to false, which returns only the indexed projection.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-