Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 770 Bytes

PromotionPin.md

File metadata and controls

22 lines (16 loc) · 770 Bytes

SajariAPIClient::PromotionPin

Properties

Name Type Description Notes
key RecordKey [optional]
mode PromotionPinMode [optional][default to 'PIN']
position Integer Position the record should occupy in search results. The top position is position 1. Doesn't need to be contiguous with other pins, i.e. there can be gaps in the pinned set that are filled with organic results. In the case where there are insufficient search results pinned items are collapsed. [optional]

Example

require 'sdk_ruby'

instance = SajariAPIClient::PromotionPin.new(
  key: null,
  mode: null,
  position: null
)