Class ListContactNotesRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.notes.requests.ListContactNotesRequest.Builder
-
- All Implemented Interfaces:
ListContactNotesRequest._FinalStage,ListContactNotesRequest.ContactIdStage
- Enclosing class:
- ListContactNotesRequest
public static final class ListContactNotesRequest.Builder extends java.lang.Object implements ListContactNotesRequest.ContactIdStage, ListContactNotesRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListContactNotesRequestbuild()ListContactNotesRequest._FinalStagecontactId(java.lang.String contactId)The unique identifier of a contact.ListContactNotesRequest.Builderfrom(ListContactNotesRequest other)ListContactNotesRequest._FinalStagepage(java.lang.Integer page)The page of results to fetch.ListContactNotesRequest._FinalStagepage(java.util.Optional<java.lang.Integer> page)The page of results to fetch.ListContactNotesRequest._FinalStageperPage(java.lang.Integer perPage)How many results to display per page.ListContactNotesRequest._FinalStageperPage(java.util.Optional<java.lang.Integer> perPage)How many results to display per page.
-
-
-
Method Detail
-
from
public ListContactNotesRequest.Builder from(ListContactNotesRequest other)
- Specified by:
fromin interfaceListContactNotesRequest.ContactIdStage
-
contactId
public ListContactNotesRequest._FinalStage contactId(@NotNull java.lang.String contactId)
The unique identifier of a contact.
The unique identifier of a contact.
- Specified by:
contactIdin interfaceListContactNotesRequest.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
perPage
public ListContactNotesRequest._FinalStage perPage(java.lang.Integer perPage)
How many results to display per page. Defaults to 15
- Specified by:
perPagein interfaceListContactNotesRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
perPage
public ListContactNotesRequest._FinalStage perPage(java.util.Optional<java.lang.Integer> perPage)
How many results to display per page. Defaults to 15
- Specified by:
perPagein interfaceListContactNotesRequest._FinalStage
-
page
public ListContactNotesRequest._FinalStage page(java.lang.Integer page)
The page of results to fetch. Defaults to first page
- Specified by:
pagein interfaceListContactNotesRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
page
public ListContactNotesRequest._FinalStage page(java.util.Optional<java.lang.Integer> page)
The page of results to fetch. Defaults to first page
- Specified by:
pagein interfaceListContactNotesRequest._FinalStage
-
build
public ListContactNotesRequest build()
- Specified by:
buildin interfaceListContactNotesRequest._FinalStage
-
-