Package com.intercom.api.types
Class ArticleList.Builder
java.lang.Object
com.intercom.api.types.ArticleList.Builder
- All Implemented Interfaces:
ArticleList._FinalStage,ArticleList.TotalCountStage
- Enclosing class:
ArticleList
public static final class ArticleList.Builder
extends Object
implements ArticleList.TotalCountStage, ArticleList._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(List<ArticleListItem> data) An array of Article objectsaddData(ArticleListItem data) An array of Article objectsbuild()data(List<ArticleListItem> data) from(ArticleList other) totalCount(int totalCount) A count of the total number of articles.
-
Method Details
-
from
- Specified by:
fromin interfaceArticleList.TotalCountStage
-
totalCount
A count of the total number of articles.
- Specified by:
totalCountin interfaceArticleList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllData
An array of Article objects
- Specified by:
addAllDatain interfaceArticleList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
An array of Article objects
- Specified by:
addDatain interfaceArticleList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
- Specified by:
datain interfaceArticleList._FinalStage
-
pages
- Specified by:
pagesin interfaceArticleList._FinalStage
-
pages
- Specified by:
pagesin interfaceArticleList._FinalStage
-
build
- Specified by:
buildin interfaceArticleList._FinalStage
-