Class CreateRecordRequest

java.lang.Object
ai.vectros.resources.records.requests.CreateRecordRequest

public final class CreateRecordRequest extends Object
  • Method Details

    • getUpsert

      public Optional<Boolean> getUpsert()
      Returns:
      When true, if a record with the same externalId already exists its content is overwritten (the submitted payload and mutable fields are applied and the version is bumped) instead of being returned unchanged; the immutable externalId, schemaId/typeName, and ownership are never changed. A re-applied upsert whose content matches is a no-op (no version bump). Defaults to false. Requires the records:u:<type> scope in addition to records:c:<type>.
    • getBody

      public RecordRequest 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 CreateRecordRequest.BodyStage builder()