Class NamespaceResponse

java.lang.Object
ai.vectros.types.NamespaceResponse

public final class NamespaceResponse extends Object
  • Method Details

    • getNamespace

      public Optional<String> getNamespace()
      Returns:
      The registered namespace.
    • getEntityBacked

      public Optional<Boolean> getEntityBacked()
      Returns:
      Whether values in this namespace must resolve to an existing identity entity (true) or are free-form strings (false).
    • getReserved

      public Optional<Boolean> getReserved()
      Returns:
      Whether this namespace was provisioned by the platform rather than registered by you. Provisioned namespaces are ordinary registrations: you can change them, and you can delete one that no entity references.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      The app context that owns this registration, or null for a TENANT-WIDE registration visible to every app context (org/client, and any namespace registered without ?contextId=). A context-owned registration's identity entities belong entirely to that context; a tenant-wide one's are account-wide, shared by every app context.
    • getDefaultSchemaId

      public Optional<String> getDefaultSchemaId()
      Returns:
      ID of the default record schema bound to entities in this namespace, or null.
    • getSpecificityRank

      public Optional<Integer> getSpecificityRank()
      Returns:
      This namespace's position in your account's specificity order (higher = more specific), used to break a tie when a caller holds two scope dimensions at once during recordType schema resolution.
    • getMembershipRecordType

      public Optional<String> getMembershipRecordType()
      Returns:
      The record type holding this namespace's membership grants, or null when this namespace declares no membership.
    • getMembershipTargetField

      public Optional<String> getMembershipTargetField()
      Returns:
      The field on the membership record type naming the user each grant is for, or null.
    • getMembershipContextId

      public Optional<String> getMembershipContextId()
      Returns:
      Which app context holds the membership records, or null.
    • getMembershipLevelField

      public Optional<String> getMembershipLevelField()
      Returns:
      The field on the membership record type naming a grant's level, or null when membership in this namespace is plain in-or-out.
    • getMembershipLevels

      public Optional<List<String>> getMembershipLevels()
      Returns:
      The complete set of level labels this namespace allows, or null. A role may name only these levels.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      Timestamp when the namespace was registered, 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 NamespaceResponse.Builder builder()