Package ai.vectros.types
Class OrgResponse
java.lang.Object
ai.vectros.types.OrgResponse
-
Method Details
-
getCreated
- Returns:
- Whether this call created a new organization. True when a new organization was created; false when an organization with the same
externalIdalready existed and was returned unchanged (idempotent create) or updated (when?upsert=true). Present only on the create response (POST /v1/orgs); absent on reads. The HTTP status mirrors it — 201 when created, 200 when an existing organization was returned.
-
getId
- Returns:
- The Vectros-assigned ID (UUID) for this organization. Use it wherever you reference the organization elsewhere — for example as the owner of a record or as a filter value when listing records.
-
getExternalId
- Returns:
- Your own identifier for this organization, as supplied when it was created.
-
getName
- Returns:
- Human-readable name of the organization.
-
getStatus
- Returns:
- Lifecycle status of the organization:
ACTIVE(usable normally) orSUSPENDED(retained but blocked from new operations).
-
getPayload
- Returns:
- Free-form key-value attributes stored with the organization.
-
getSchemaId
- Returns:
- ID of the record schema that governs payload validation and lookup indexing for this organization, or null if the organization is not bound to a schema.
-
getSchemaVersion
- Returns:
- The version of the governing schema in effect when this organization was last written. The organization keeps the schema version it was stamped with even after the schema is later edited. Null when the organization is not bound to a schema.
-
getCreatedAt
- Returns:
- Timestamp when the organization was created, as an ISO-8601 UTC timestamp.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-