Class ListSchemasRequest
java.lang.Object
ai.vectros.resources.schemas.requests.ListSchemasRequest
-
Method Details
-
getUserId
- Returns:
- Filter to schemas owned by this user — the Vectros-assigned UUID of a user in your account. Use
GET /v1/users?externalId=to resolve a UUID from your own external id.
-
getOrgId
- Returns:
- Filter to schemas owned by this organization — the Vectros-assigned UUID of an organization in your account. Use
GET /v1/orgs?externalId=to resolve a UUID from your own external id.
-
getSurface
- Returns:
- Filter to schemas bindable to this surface: record, document, user, org, or client. Returns only schemas whose allowed surfaces include the given one — useful for listing, say, document types separately from record types. The identity surfaces (user, org, client) are account-wide: filtering by one lists your account's identity schemas regardless of the calling context, whereas record and document list within the calling context.
-
getRecordType
- Returns:
- Resolve the single schema for this record type — the natural handle for a schema, and the direct alternative to remembering its opaque id. Returns a one-element page, or an empty page if no such schema exists. Resolved in the calling context for record and document types; combine with
surface=user,org, orclientto resolve an account-wide identity schema. Mutually exclusive withuserId/orgId— when supplied,recordTypetakes precedence.
-
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 schemas to return per page (1–100; defaults to 20).
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-