Class ClickThroughRateEvent

java.lang.Object
com.algolia.model.analytics.ClickThroughRateEvent

public class ClickThroughRateEvent extends Object
ClickThroughRateEvent
  • Constructor Details

    • ClickThroughRateEvent

      public ClickThroughRateEvent()
  • Method Details

    • setRate

      public ClickThroughRateEvent setRate(Double rate)
    • getRate

      @Nonnull public Double getRate()
      [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate). minimum: 0 maximum: 1
      Returns:
      rate
    • setClickCount

      public ClickThroughRateEvent setClickCount(Integer clickCount)
    • getClickCount

      @Nonnull public Integer getClickCount()
      Number of click events.
      Returns:
      clickCount
    • setTrackedSearchCount

      public ClickThroughRateEvent setTrackedSearchCount(Integer trackedSearchCount)
    • getTrackedSearchCount

      @Nonnull public Integer getTrackedSearchCount()
      Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
      Returns:
      trackedSearchCount
    • setDate

      public ClickThroughRateEvent setDate(String date)
    • getDate

      @Nonnull public String getDate()
      Date of the event in the format YYYY-MM-DD.
      Returns:
      date
    • 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