Class AppContextResponse

java.lang.Object
ai.vectros.types.AppContextResponse

public final class AppContextResponse extends Object
  • Method Details

    • getCreated

      public Optional<Boolean> getCreated()
      Returns:
      Whether this call created a new app context. True when a new app context was created; false when an app context with the same contextId already existed and was returned unchanged (idempotent create) or updated (when ?upsert=true). Present only on the create response (POST /v1/app-contexts); absent on reads. The HTTP status mirrors it — 201 when created, 200 when an existing app context was returned.
    • getId

      public Optional<String> getId()
      Returns:
      Opaque composite identifier for this app context. Use it as the pagination cursor (pass it as startFrom to page through results); for everything else, refer to the app context by its contextId.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      Your identifier for the app context.
    • getName

      public Optional<String> getName()
      Returns:
      Human-readable display name for the app context.
    • getDescription

      public Optional<String> getDescription()
      Returns:
      Free-text description of the app context.
    • getCompanyName

      public Optional<String> getCompanyName()
      Returns:
      Display name for the organization deploying this app context, or absent if unset. Distinct from name (the app's own identity) — used to personalize platform-sent correspondence (e.g. sub-user invitation emails) with your own branding.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      When the app context was created, as an ISO-8601 UTC timestamp.
    • getLastModified

      public Optional<String> getLastModified()
      Returns:
      When the app context was last modified, as an ISO-8601 UTC timestamp.
    • getStatus

      public Optional<AppContextResponseStatus> getStatus()
      Returns:
      Lifecycle status of the app context: active under normal operation; purging while an asynchronous delete is draining the context's data; deleted once that teardown completes. After you call DELETE on an app context (which returns 202 and drains asynchronously), poll this field to observe when the teardown has finished.
    • getMeteringAxis

      public Optional<String> getMeteringAxis()
      Returns:
      The declared per-principal metering axis for this app context, or absent if unset (context-only accounting).
    • getPrincipalBurstLimit

      public Optional<Integer> getPrincipalBurstLimit()
      Returns:
      Per-principal, per-minute request cap for the opt-in per-principal burst-protection feature, or absent if unset.
    • getPrincipalUsageCap

      public Optional<Integer> getPrincipalUsageCap()
      Returns:
      Per-principal, per-billing-period operation cap for the opt-in per-principal usage/quota feature, or absent if unset (usage is still tracked for visibility/billing without a cap when meteringAxis is set but this is absent).
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static AppContextResponse.Builder builder()