Class CreateSchemaRequest

java.lang.Object
ai.vectros.resources.schemas.requests.CreateSchemaRequest

public final class CreateSchemaRequest extends Object
  • Method Details

    • getUpsert

      public Optional<Boolean> getUpsert()
      Returns:
      When true, if a schema with the same typeName already exists it is reconciled to the submitted shape (additive fields, lookups, renderHints, and active are applied) instead of being returned unchanged; typeName and migration-locked lookup attributes (rangeEnabled/sortBy/sensitive) cannot be changed and a request to do so is rejected. A re-applied upsert whose declared shape is unchanged is a no-op (no schema-version bump). Defaults to false. Requires the schemas:w scope.
    • getBody

      public SchemaRequest 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 CreateSchemaRequest.BodyStage builder()