Class RecordLookupRequest

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

public final class RecordLookupRequest extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      The record type to look up (for example, intake_form).
    • getField

      public String getField()
      Returns:
      Name of the lookup field declared on the schema. For a field marked sensitive, this body variant is required (the GET variant rejects looking up by a sensitive value).
    • getValue

      public Optional<String> getValue()
      Returns:
      Exact value to match. Mutually exclusive with from/to and prefix. Sensitive fields can only be looked up by exact value, and only through this body variant.
    • getFrom

      public Optional<String> getFrom()
      Returns:
      Inclusive lower bound for a range lookup (requires to; non-sensitive fields only). Mutually exclusive with value and prefix.
    • getTo

      public Optional<String> getTo()
      Returns:
      Inclusive upper bound for a range lookup (requires from).
    • getPrefix

      public Optional<String> getPrefix()
      Returns:
      Prefix to match (string, non-sensitive fields only). Mutually exclusive with value and from/to.
    • getStartFrom

      public Optional<String> getStartFrom()
      Returns:
      Pagination cursor — pass the nextCursor returned by the previous page.
    • getLimit

      public Optional<Integer> getLimit()
      Returns:
      Maximum number of records to return per page (1–100; defaults to 20).
    • getOrder

      public Optional<RecordLookupRequestOrder> getOrder()
      Returns:
      Sort direction for the returned results: asc (default) or desc.
    • getIncludePayload

      public Optional<Boolean> getIncludePayload()
      Returns:
      When true, externalized record payloads are returned in full in this response (capped per page). Defaults to false, which returns only the indexed projection.
    • 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 RecordLookupRequest.TypeStage builder()