Class OrgResponse

java.lang.Object
ai.vectros.types.OrgResponse

public final class OrgResponse extends Object
  • Method Details

    • getId

      public Optional<String> 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

      public Optional<String> getExternalId()
      Returns:
      Your own identifier for this organization, as supplied when it was created.
    • getName

      public Optional<String> getName()
      Returns:
      Human-readable name of the organization.
    • getStatus

      public Optional<String> getStatus()
      Returns:
      Lifecycle status of the organization: ACTIVE (usable normally) or SUSPENDED (retained but blocked from new operations).
    • getPayload

      public Optional<Map<String,Object>> getPayload()
      Returns:
      Free-form key-value attributes stored with the organization.
    • getSchemaId

      public Optional<String> 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

      public Optional<Integer> 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

      public Optional<String> getCreatedAt()
      Returns:
      Timestamp when the organization was created, as an ISO-8601 UTC timestamp.
    • 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 OrgResponse.Builder builder()