Package ai.vectros.types
Class EntityResponse
java.lang.Object
ai.vectros.types.EntityResponse
-
Method Details
-
getCreated
- Returns:
- Whether this call created a new entity. True when a new entity was created; false when an entity with the same
externalIdalready existed and was returned unchanged (idempotent create) or updated (when?upsert=true). Present only on the create response; absent on reads. The HTTP status mirrors it — 201 when created, 200 when an existing entity was returned.
-
getId
- Returns:
- The Vectros-assigned ID (UUID) for this entity.
-
getNamespace
- Returns:
- The namespace this entity belongs to.
-
getContextId
- Returns:
- The app context that owns this entity, or null for a TENANT-WIDE entity visible to every app context. Mirrors the owning namespace registration's
contextId(seeGET /v1/namespaces) — a context-owned namespace's entities all carry that same context.
-
getExternalId
- Returns:
- Your own identifier for this entity, as supplied when it was created.
-
getName
- Returns:
- Human-readable name of the entity.
-
getStatus
- Returns:
- Lifecycle status of the entity:
ACTIVEorSUSPENDED.
-
getScopes
- Returns:
- The entity's effective scopes: its own reference (
<namespace>:<id>) followed by its parent edges. Use these values to reference the entity as an owner elsewhere.
-
getPayload
- Returns:
- Free-form key-value attributes stored with the entity.
-
getSchemaId
- Returns:
- ID of the record schema governing this entity, or null if unbound.
-
getSchemaVersion
- Returns:
- The governing schema's version in effect when this entity was last written, or null when unbound.
-
getCreatedAt
- Returns:
- Timestamp when the entity was created, as an ISO-8601 UTC timestamp.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-