Interface EventsListRequest
public interface EventsListRequest
Parameters request to list events
- Since:
- 1.3
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic EventsListRequest.Builder
builder()
static EventsListRequest.Builder
builder
(EventsListRequest parameters) Resource name (ID) of the contact.Resource name (ID) of the conversation.Maximum number of events to fetch.Next page token previously returned if any.
-
Method Details
-
getConversationId
Resource name (ID) of the conversation.- Returns:
- conversation id
-
getContactId
Resource name (ID) of the contact.Note that either
app_id
orcontact_id
is required in order for the operation to function correctly.- Returns:
- contact id
-
getPageSize
Maximum number of events to fetch.Defaults to 10 and the maximum is 20.
- Returns:
- Page size
- Default value:
- 10
-
getPageToken
Next page token previously returned if any.When specifying this token, make sure to use the same values for the other parameters from the request that originated the token, otherwise the paged results may be inconsistent.
- Returns:
- Page token
-
builder
-
builder
-