Package ai.vectros.types
Class ClientRequest
java.lang.Object
ai.vectros.types.ClientRequest
-
Method Details
-
getExternalId
- Returns:
- Your own unique identifier for this client. Used for idempotent create: if a client with this
externalIdalready exists, it is returned instead of creating a duplicate.
-
getName
- Returns:
- Display name for this client.
-
getStatus
- Returns:
- Lifecycle status of the client.
ACTIVEclients can be used normally;SUSPENDEDclients are retained but blocked from new operations. Defaults toACTIVE.
-
getOrgId
- Returns:
- The organization this client belongs to. Must be the Vectros-assigned UUID of an org created via
POST /v1/orgs; useGET /v1/orgs?externalId=to resolve your own identifier to this UUID.
-
getPayload
- Returns:
- Free-form key-value attributes to store with this client — handy for keeping extra data from your system without defining a schema. On update, the supplied object replaces the stored payload in full (it is not key-merged); omit it to leave the payload unchanged.
-
getSchemaId
- Returns:
- Optional ID of a schema (created via
POST /v1/schemas) that validates this client's payload and drives its lookup indexing. When set, the schema must belong to your account, the payload is validated against the schema's fields on save, and the schema's declared lookup fields become queryable viaGET /v1/clients?type=...&field=...&value=.... When omitted, the payload is free-form and no lookup rows are written. On update, omit this field to leave it unchanged; once set, it cannot be cleared.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-