Class PromoteObjectID

java.lang.Object
com.algolia.model.search.PromoteObjectID
All Implemented Interfaces:
Promote

public class PromoteObjectID extends Object implements Promote
Record to promote.
  • Constructor Details

    • PromoteObjectID

      public PromoteObjectID()
  • Method Details

    • setObjectID

      public PromoteObjectID setObjectID(String objectID)
    • getObjectID

      @Nonnull public String getObjectID()
      Unique record identifier.
    • setPosition

      public PromoteObjectID setPosition(Integer position)
    • getPosition

      @Nonnull public Integer getPosition()
      Position in the search results where you want to show the promoted records.
    • 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