Package ai.vectros.types
Class OrgRequest
java.lang.Object
ai.vectros.types.OrgRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic OrgRequest.ExternalIdStagebuilder()booleangetName()inthashCode()toString()
-
Method Details
-
getExternalId
- Returns:
- Your own unique identifier for this organization. Used for idempotent upsert: if an organization with this
externalIdalready exists, it is returned instead of creating a duplicate.
-
getName
- Returns:
- Human-readable name for the organization.
-
getStatus
- Returns:
- Lifecycle status of the organization.
ACTIVEorganizations can be used normally;SUSPENDEDorganizations are retained but blocked from new operations.
-
getPayload
- Returns:
- Free-form key-value attributes to store with the organization — use it to attach additional data from your own system. On update, the supplied object replaces the stored payload in full (it is not key-merged); omit it to leave the stored payload unchanged.
-
getSchemaId
- Returns:
- Optional ID of a record schema (created via
POST /v1/schemas) that governs payload validation and lookup indexing for this organization, and must belong to your account. When set, the payload is validated against the schema on save and the schema's declared lookup fields become queryable viaGET /v1/orgs?type=...&field=...&value=...; when omitted, the payload is free-form and no lookup fields are indexed. Once set, this reference cannot currently be cleared.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-