Struct GetEventsRequest
- Namespace
- Vonage.Conversations.GetEvents
- Assembly
- Vonage.dll
public readonly struct GetEventsRequest : IVonageRequest
- Implements
- Inherited Members
Properties
ConversationId
The conversation Id.
public string ConversationId { get; }
Property Value
Cursor
The cursor to start returning results from. You are not expected to provide this manually, but to follow the url provided in _links.next.href or _links.prev.href in the response which contains a cursor value.
public Maybe<string> Cursor { get; }
Property Value
EndId
The ID to end returning events at
public Maybe<string> EndId { get; }
Property Value
EventType
The type of event to search for. Does not currently support custom events
public Maybe<string> EventType { get; }
Property Value
ExcludeDeletedEvents
Exclude deleted events from the response
public bool ExcludeDeletedEvents { get; }
Property Value
Order
Defines the data ordering.
public FetchOrder Order { get; }
Property Value
PageSize
Number of results per page.
public int PageSize { get; }
Property Value
StartId
The ID to start returning events at
public Maybe<string> StartId { get; }
Property Value
Methods
Build()
Initializes a builder.
public static IBuilderForConversationId Build()
Returns
- IBuilderForConversationId
The builder.
BuildRequestMessage()
Converts the request to a HttpRequest.
public HttpRequestMessage BuildRequestMessage()
Returns
- HttpRequestMessage
The Http request.