Class ArticleStatistics

java.lang.Object
com.intercom.api.types.ArticleStatistics

public final class ArticleStatistics extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      The type of object - article_statistics.
    • getViews

      public int getViews()
      Returns:
      The number of total views the article has received.
    • getConversions

      public int getConversions()
      Returns:
      The number of conversations started from the article.
    • getReactions

      public int getReactions()
      Returns:
      The number of total reactions the article has received.
    • getHappyReactionPercentage

      public float getHappyReactionPercentage()
      Returns:
      The percentage of happy reactions the article has received against other types of reaction.
    • getNeutralReactionPercentage

      public float getNeutralReactionPercentage()
      Returns:
      The percentage of neutral reactions the article has received against other types of reaction.
    • getSadReactionPercentage

      public float getSadReactionPercentage()
      Returns:
      The percentage of sad reactions the article has received against other types of reaction.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ArticleStatistics.ViewsStage builder()