Class Insight

    • Constructor Detail

    • Method Detail

      • getValues

        public List<JsonObjectgetValues()
        Data for this Insight as a list of JsonObject because its structure can vary depending on which type of Insight you're looking at.
        Returns:
        Data for this Insight.
      • getPeriod

        public String getPeriod()
        Length of the period during which the insights were collected, e.g. 'day', 'week' or 'month'.
        Returns:
        Length of the period during which the insights were collected.
      • setPeriod

        public void setPeriod​(String period)
        Length of the period during which the insights were collected, e.g. 'day', 'week' or 'month'.
      • getTitle

        public String getTitle()
        The human-readable title of this Insight data.
        Returns:
        The human-readable title of this Insight data.
      • setTitle

        public void setTitle​(String title)
        The human-readable title of this Insight data.
      • getDescription

        public String getDescription()
        The human-readable description of this Insight data.
        Returns:
        The human-readable description of this Insight data.
      • setDescription

        public void setDescription​(String description)
        The human-readable description of this Insight data.