Class ConvertedFilters

java.lang.Object
com.algolia.model.insights.ConvertedFilters
All Implemented Interfaces:
EventsItems

public class ConvertedFilters extends Object implements EventsItems
ConvertedFilters
  • Constructor Details

    • ConvertedFilters

      public ConvertedFilters()
  • Method Details

    • setEventName

      public ConvertedFilters setEventName(String eventName)
    • getEventName

      @Nonnull public String getEventName()
      Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
    • setEventType

      public ConvertedFilters setEventType(ConversionEvent eventType)
    • getEventType

      @Nonnull public ConversionEvent getEventType()
      Get eventType
    • setIndex

      public ConvertedFilters setIndex(String index)
    • getIndex

      @Nonnull public String getIndex()
      Index name (case-sensitive) to which the event's items belong.
    • setFilters

      public ConvertedFilters setFilters(List<String> filters)
    • addFilters

      public ConvertedFilters addFilters(String filtersItem)
    • getFilters

      @Nonnull public List<String> getFilters()
      Applied facet filters. Facet filters are `facet:value` pairs. Facet values must be URL-encoded, such as, `discount:10%25`.
    • setUserToken

      public ConvertedFilters setUserToken(String userToken)
    • getUserToken

      @Nonnull public String getUserToken()
      Anonymous or pseudonymous user identifier. Don't use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
    • setAuthenticatedUserToken

      public ConvertedFilters setAuthenticatedUserToken(String authenticatedUserToken)
    • getAuthenticatedUserToken

      @Nullable public String getAuthenticatedUserToken()
      Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don't use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
    • setTimestamp

      public ConvertedFilters setTimestamp(Long timestamp)
    • getTimestamp

      @Nullable public Long getTimestamp()
      Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the time it receives an event as its timestamp.
    • 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