Class BatchLookupResult

java.lang.Object
ai.vectros.types.BatchLookupResult

public final class BatchLookupResult extends Object
  • Method Details

    • getRef

      public Optional<String> getRef()
      Returns:
      The correlation id echoed from the lookup input that produced this result.
    • getStatus

      public Optional<BatchLookupResultStatus> getStatus()
      Returns:
      The outcome for this lookup. resolved means exactly one match; not_found means no match; ambiguous means the field is not unique and matched more than one record.
    • getData

      public Optional<List<RecordResponse>> getData()
      Returns:
      The matched records. Empty unless status is resolved (one record) or ambiguous (more than one).
    • 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 BatchLookupResult.Builder builder()