Class ArticleStatistics.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ArticleStatistics.Builder
-
- Enclosing class:
- ArticleStatistics
public static final class ArticleStatistics.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArticleStatisticsbuild()ArticleStatistics.Builderconversions(java.lang.Integer conversions)ArticleStatistics.Builderconversions(java.util.Optional<java.lang.Integer> conversions)The number of conversations started from the article.ArticleStatistics.Builderfrom(ArticleStatistics other)ArticleStatistics.BuilderhappyReactionPercentage(java.lang.Float happyReactionPercentage)ArticleStatistics.BuilderhappyReactionPercentage(java.util.Optional<java.lang.Float> happyReactionPercentage)The percentage of happy reactions the article has received against other types of reaction.ArticleStatistics.BuilderneutralReactionPercentage(java.lang.Float neutralReactionPercentage)ArticleStatistics.BuilderneutralReactionPercentage(java.util.Optional<java.lang.Float> neutralReactionPercentage)The percentage of neutral reactions the article has received against other types of reaction.ArticleStatistics.Builderreactions(java.lang.Integer reactions)ArticleStatistics.Builderreactions(java.util.Optional<java.lang.Integer> reactions)The number of total reactions the article has received.ArticleStatistics.BuildersadReactionPercentage(java.lang.Float sadReactionPercentage)ArticleStatistics.BuildersadReactionPercentage(java.util.Optional<java.lang.Float> sadReactionPercentage)The percentage of sad reactions the article has received against other types of reaction.ArticleStatistics.Buildertype(java.lang.String type)ArticleStatistics.Buildertype(java.util.Optional<java.lang.String> type)The type of object -article_statistics.ArticleStatistics.Builderviews(java.lang.Integer views)ArticleStatistics.Builderviews(java.util.Optional<java.lang.Integer> views)The number of total views the article has received.
-
-
-
Method Detail
-
from
public ArticleStatistics.Builder from(ArticleStatistics other)
-
type
public ArticleStatistics.Builder type(java.util.Optional<java.lang.String> type)
The type of object -
article_statistics.
-
type
public ArticleStatistics.Builder type(java.lang.String type)
-
views
public ArticleStatistics.Builder views(java.util.Optional<java.lang.Integer> views)
The number of total views the article has received.
-
views
public ArticleStatistics.Builder views(java.lang.Integer views)
-
conversions
public ArticleStatistics.Builder conversions(java.util.Optional<java.lang.Integer> conversions)
The number of conversations started from the article.
-
conversions
public ArticleStatistics.Builder conversions(java.lang.Integer conversions)
-
reactions
public ArticleStatistics.Builder reactions(java.util.Optional<java.lang.Integer> reactions)
The number of total reactions the article has received.
-
reactions
public ArticleStatistics.Builder reactions(java.lang.Integer reactions)
-
happyReactionPercentage
public ArticleStatistics.Builder happyReactionPercentage(java.util.Optional<java.lang.Float> happyReactionPercentage)
The percentage of happy reactions the article has received against other types of reaction.
-
happyReactionPercentage
public ArticleStatistics.Builder happyReactionPercentage(java.lang.Float happyReactionPercentage)
-
neutralReactionPercentage
public ArticleStatistics.Builder neutralReactionPercentage(java.util.Optional<java.lang.Float> neutralReactionPercentage)
The percentage of neutral reactions the article has received against other types of reaction.
-
neutralReactionPercentage
public ArticleStatistics.Builder neutralReactionPercentage(java.lang.Float neutralReactionPercentage)
-
sadReactionPercentage
public ArticleStatistics.Builder sadReactionPercentage(java.util.Optional<java.lang.Float> sadReactionPercentage)
The percentage of sad reactions the article has received against other types of reaction.
-
sadReactionPercentage
public ArticleStatistics.Builder sadReactionPercentage(java.lang.Float sadReactionPercentage)
-
build
public ArticleStatistics build()
-
-