Package com.algolia.model.search
Class PromoteObjectIDs
java.lang.Object
com.algolia.model.search.PromoteObjectIDs
- All Implemented Interfaces:
Promote
Records to promote.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.search.Promote
Promote.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObjectIDs(String objectIDsItem) booleanUnique identifiers of the records to promote.The position to promote the records to.inthashCode()setObjectIDs(List<String> objectIDs) setPosition(Integer position) toString()
-
Constructor Details
-
PromoteObjectIDs
public PromoteObjectIDs()
-
-
Method Details
-
setObjectIDs
-
addObjectIDs
-
getObjectIDs
Unique identifiers of the records to promote. -
setPosition
-
getPosition
The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions. -
equals
-
hashCode
public int hashCode() -
toString
-