Class AccessProfileSpec

java.lang.Object
ai.vectros.types.AccessProfileSpec

public final class AccessProfileSpec extends Object
  • Method Details

    • getRoleId

      public Optional<String> getRoleId()
      Returns:
      Identifier of an existing role in the same app context. The invitee inherits that role's scopes. Provide this OR scopes, not both.
    • getScopes

      public Optional<List<ScopeClause>> getScopes()
      Returns:
      Inline list of scope clauses granted directly to the invitee. Provide this OR roleId, not both.
    • 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 AccessProfileSpec.Builder builder()