Class ArticleList.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ArticleList.Builder
-
- Enclosing class:
- ArticleList
public static final class ArticleList.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArticleListbuild()ArticleList.Builderdata(java.util.List<ArticleListItem> data)ArticleList.Builderdata(java.util.Optional<java.util.List<ArticleListItem>> data)An array of Article objectsArticleList.Builderfrom(ArticleList other)ArticleList.Builderpages(CursorPages pages)ArticleList.Builderpages(java.util.Optional<CursorPages> pages)ArticleList.BuildertotalCount(java.lang.Integer totalCount)ArticleList.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)A count of the total number of articles.ArticleList.Buildertype(java.lang.String type)ArticleList.Buildertype(java.util.Optional<java.lang.String> type)The type of the object -list.
-
-
-
Method Detail
-
from
public ArticleList.Builder from(ArticleList other)
-
type
public ArticleList.Builder type(java.util.Optional<java.lang.String> type)
The type of the object -
list.
-
type
public ArticleList.Builder type(java.lang.String type)
-
pages
public ArticleList.Builder pages(java.util.Optional<CursorPages> pages)
-
pages
public ArticleList.Builder pages(CursorPages pages)
-
totalCount
public ArticleList.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
A count of the total number of articles.
-
totalCount
public ArticleList.Builder totalCount(java.lang.Integer totalCount)
-
data
public ArticleList.Builder data(java.util.Optional<java.util.List<ArticleListItem>> data)
An array of Article objects
-
data
public ArticleList.Builder data(java.util.List<ArticleListItem> data)
-
build
public ArticleList build()
-
-