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