Class FetchedIndex

java.lang.Object
com.algolia.model.search.FetchedIndex

public class FetchedIndex extends Object
FetchedIndex
  • Constructor Details

    • FetchedIndex

      public FetchedIndex()
  • Method Details

    • setName

      public FetchedIndex setName(String name)
    • getName

      @Nonnull public String getName()
      Index name.
    • setCreatedAt

      public FetchedIndex setCreatedAt(String createdAt)
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      Index creation date. An empty string means that the index has no records.
    • setUpdatedAt

      public FetchedIndex setUpdatedAt(String updatedAt)
    • getUpdatedAt

      @Nonnull public String getUpdatedAt()
      Date and time when the object was updated, in RFC 3339 format.
    • setEntries

      public FetchedIndex setEntries(Integer entries)
    • getEntries

      @Nonnull public Integer getEntries()
      Number of records contained in the index.
    • setDataSize

      public FetchedIndex setDataSize(Integer dataSize)
    • getDataSize

      @Nonnull public Integer getDataSize()
      Number of bytes of the index in minified format.
    • setFileSize

      public FetchedIndex setFileSize(Integer fileSize)
    • getFileSize

      @Nonnull public Integer getFileSize()
      Number of bytes of the index binary file.
    • setLastBuildTimeS

      public FetchedIndex setLastBuildTimeS(Integer lastBuildTimeS)
    • getLastBuildTimeS

      @Nonnull public Integer getLastBuildTimeS()
      Last build time.
    • setNumberOfPendingTasks

      public FetchedIndex setNumberOfPendingTasks(Integer numberOfPendingTasks)
    • getNumberOfPendingTasks

      @Nonnull public Integer getNumberOfPendingTasks()
      Number of pending indexing operations. This value is deprecated and should not be used.
    • setPendingTask

      public FetchedIndex setPendingTask(Boolean pendingTask)
    • getPendingTask

      @Nonnull public Boolean getPendingTask()
      A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
    • setPrimary

      public FetchedIndex setPrimary(String primary)
    • getPrimary

      @Nullable public String getPrimary()
      Only present if the index is a replica. Contains the name of the related primary index.
    • setReplicas

      public FetchedIndex setReplicas(List<String> replicas)
    • addReplicas

      public FetchedIndex addReplicas(String replicasItem)
    • getReplicas

      @Nullable public List<String> getReplicas()
      Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
    • 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