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) boolean
Object IDs of the records you want to promote.Position in the search results where you want to show the promoted records.int
hashCode()
setObjectIDs
(List<String> objectIDs) setPosition
(Integer position) toString()
-
Constructor Details
-
PromoteObjectIDs
public PromoteObjectIDs()
-
-
Method Details
-
setObjectIDs
-
addObjectIDs
-
getObjectIDs
Object IDs of the records you want to promote. The records are placed as a group at the `position`. For example, if you want to promote four records to position `0`, they will be the first four search results. -
setPosition
-
getPosition
Position in the search results where you want to show the promoted records. -
equals
-
hashCode
public int hashCode() -
toString
-