Class SearchIndexSummary

java.lang.Object
org.tailormap.api.admin.model.SearchIndexSummary
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.11.0") public class SearchIndexSummary extends Object implements Serializable
Summary of a search index run. This is created/updated when the index is finished.
See Also:
  • Constructor Details

    • SearchIndexSummary

      public SearchIndexSummary()
  • Method Details

    • total

      public SearchIndexSummary total(Integer total)
    • getTotal

      public Integer getTotal()
      Total number of features counted for indexing. When 0 or null, the index was cleared.
      Returns:
      total
    • setTotal

      public void setTotal(Integer total)
    • skippedCounter

      public SearchIndexSummary skippedCounter(Integer skippedCounter)
    • getSkippedCounter

      public Integer getSkippedCounter()
      Number of features skipped during indexing.
      Returns:
      skippedCounter
    • setSkippedCounter

      public void setSkippedCounter(Integer skippedCounter)
    • startedAt

      public SearchIndexSummary startedAt(OffsetDateTime startedAt)
    • getStartedAt

      @Valid public @Valid OffsetDateTime getStartedAt()
      Zoned date-time when the task started.
      Returns:
      startedAt
    • setStartedAt

      public void setStartedAt(OffsetDateTime startedAt)
    • duration

      public SearchIndexSummary duration(Double duration)
    • getDuration

      public Double getDuration()
      Time taken to index the source in seconds.
      Returns:
      duration
    • setDuration

      public void setDuration(Double duration)
    • errorMessage

      public SearchIndexSummary errorMessage(String errorMessage)
    • getErrorMessage

      public String getErrorMessage()
      Error message if the task failed. Check the status field of the search index.
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object