Class ArticleStatistics
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ArticleStatistics
-
public final class ArticleStatistics extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArticleStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArticleStatistics.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Integer>getConversions()java.util.Optional<java.lang.Float>getHappyReactionPercentage()java.util.Optional<java.lang.Float>getNeutralReactionPercentage()java.util.Optional<java.lang.Integer>getReactions()java.util.Optional<java.lang.Float>getSadReactionPercentage()java.util.Optional<java.lang.String>getType()java.util.Optional<java.lang.Integer>getViews()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.util.Optional<java.lang.String> getType()
- Returns:
- The type of object -
article_statistics.
-
getViews
public java.util.Optional<java.lang.Integer> getViews()
- Returns:
- The number of total views the article has received.
-
getConversions
public java.util.Optional<java.lang.Integer> getConversions()
- Returns:
- The number of conversations started from the article.
-
getReactions
public java.util.Optional<java.lang.Integer> getReactions()
- Returns:
- The number of total reactions the article has received.
-
getHappyReactionPercentage
public java.util.Optional<java.lang.Float> getHappyReactionPercentage()
- Returns:
- The percentage of happy reactions the article has received against other types of reaction.
-
getNeutralReactionPercentage
public java.util.Optional<java.lang.Float> getNeutralReactionPercentage()
- Returns:
- The percentage of neutral reactions the article has received against other types of reaction.
-
getSadReactionPercentage
public java.util.Optional<java.lang.Float> getSadReactionPercentage()
- Returns:
- The percentage of sad reactions the article has received against other types of reaction.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ArticleStatistics.Builder builder()
-
-