Class AccessProfileResponse

java.lang.Object
ai.vectros.types.AccessProfileResponse

public final class AccessProfileResponse extends Object
  • Method Details

    • getId

      public Optional<String> getId()
      Returns:
      Opaque identifier for this profile. Also serves as the pagination cursor.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      The app context this profile belongs to.
    • getPrincipalId

      public Optional<String> getPrincipalId()
      Returns:
      Principal this profile applies to — usr_<userId> for a user, or key_<keyId> for a scoped API key acting as its own principal.
    • getScopes

      public Optional<List<ScopeClause>> getScopes()
      Returns:
      Inline scope clauses granted to the principal. Mutually exclusive with roleId — exactly one of the two is present.
    • getRoleId

      public Optional<String> getRoleId()
      Returns:
      Reference to a role that supplies this principal's scopes. Mutually exclusive with scopes — exactly one of the two is present.
    • getIdentityOverrides

      public Optional<Map<String,Object>> getIdentityOverrides()
      Returns:
      Per-context identity overrides. Only orgId and clientId may be overridden.
    • getStatus

      public Optional<String> getStatus()
      Returns:
      Profile lifecycle status: active or suspended.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      When the profile was created (ISO-8601 UTC).
    • getLastModified

      public Optional<String> getLastModified()
      Returns:
      When the profile was last modified (ISO-8601 UTC).
    • 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 AccessProfileResponse.Builder builder()