Class EntityResponse.Builder
- Enclosing class:
EntityResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The app context that owns this entity, or null for a TENANT-WIDE entity visible to every app context.Whether this call created a new entity.Timestamp when the entity was created, as an ISO-8601 UTC timestamp.externalId(String externalId) externalId(Optional<String> externalId) Your own identifier for this entity, as supplied when it was created.from(EntityResponse other) The Vectros-assigned ID (UUID) for this entity.Human-readable name of the entity.The namespace this entity belongs to.Free-form key-value attributes stored with the entity.ID of the record schema governing this entity, or null if unbound.schemaVersion(Integer schemaVersion) schemaVersion(Optional<Integer> schemaVersion) The governing schema's version in effect when this entity was last written, or null when unbound.The entity's effective scopes: its own reference (<namespace>:<id>) followed by its parent edges.Lifecycle status of the entity:ACTIVEorSUSPENDED.
-
Method Details
-
from
-
created
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. -
created
-
id
The Vectros-assigned ID (UUID) for this entity.
-
id
-
namespace
The namespace this entity belongs to.
-
namespace
-
contextId
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. -
contextId
-
externalId
Your own identifier for this entity, as supplied when it was created.
-
externalId
-
name
Human-readable name of the entity.
-
name
-
status
Lifecycle status of the entity:
ACTIVEorSUSPENDED. -
status
-
scopes
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. -
scopes
-
payload
Free-form key-value attributes stored with the entity.
-
payload
-
schemaId
ID of the record schema governing this entity, or null if unbound.
-
schemaId
-
schemaVersion
The governing schema's version in effect when this entity was last written, or null when unbound.
-
schemaVersion
-
createdAt
Timestamp when the entity was created, as an ISO-8601 UTC timestamp.
-
createdAt
-
build
-
additionalProperty
-
additionalProperties
-