Class CreateEntityRequest

java.lang.Object
ai.vectros.resources.identity.requests.CreateEntityRequest

public final class CreateEntityRequest extends Object
  • Method Details

    • getUpsert

      public Optional<Boolean> getUpsert()
      Returns:
      When true, overwrite an existing entity's mutable fields instead of returning it unchanged. Requires the entities:u:<namespace> scope in addition to entities:c:<namespace>.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      Which app context owns the new entity. Required when the namespace is context-placed and omitted otherwise: a tenant-placed namespace's entities are shared by every context, so supplying one is rejected. A context-confined credential may only name its own context. An entity's context is fixed at creation and cannot be changed afterwards.
    • getBody

      public EntityRequest getBody()
    • 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 CreateEntityRequest.BodyStage builder()