Class LogFile

java.lang.Object
com.algolia.model.querysuggestions.LogFile

public class LogFile extends Object
LogFile
  • Constructor Details

    • LogFile

      public LogFile()
  • Method Details

    • setTimestamp

      public LogFile setTimestamp(String timestamp)
    • getTimestamp

      @Nullable public String getTimestamp()
      Date and time of the log entry, in RFC 3339 format.
    • setLevel

      public LogFile setLevel(LogLevel level)
    • getLevel

      @Nullable public LogLevel getLevel()
      Get level
    • setMessage

      public LogFile setMessage(String message)
    • getMessage

      @Nullable public String getMessage()
      Details about this log entry.
    • setContextLevel

      public LogFile setContextLevel(Integer contextLevel)
    • getContextLevel

      @Nullable public Integer getContextLevel()
      Level indicating the position of a suggestion in a hierarchy of records. For example, a `contextLevel` of 1 indicates that this suggestion belongs to a previous suggestion with `contextLevel` 0.
    • 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