public interface EventsListRequest
Parameters request to list events
Since:
1.3
See Also:
  • Method Details

    • getConversationId

      Optional<String> getConversationId()
      Resource name (ID) of the conversation.
      Returns:
      conversation id
    • getContactId

      Optional<String> getContactId()
      Resource name (ID) of the contact.

      Note that either app_id or contact_id is required in order for the operation to function correctly.

      Returns:
      contact id
    • getPageSize

      Optional<Integer> getPageSize()
      Maximum number of events to fetch.

      Defaults to 10 and the maximum is 20.

      Returns:
      Page size
      Default value:
      10
    • getPageToken

      Optional<String> 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

      static EventsListRequest.Builder builder()
    • builder

      static EventsListRequest.Builder builder(EventsListRequest parameters)