BatchEventsResponse

public final class BatchEventsResponse

Class representation of a Nylas events batch response. Returned for both 200 (all operations succeeded) and 207 (at least one operation failed) responses.

Constructors

Link copied to clipboard
public BatchEventsResponse BatchEventsResponse(@Json(name = "data") List<BatchEventResult> data, @Json(name = "request_id") String requestId)

Properties

Link copied to clipboard
private final List<BatchEventResult> data

The results, one per operation, in the same order as the request operations.

Link copied to clipboard
private final String requestId

The request ID.

Functions

Link copied to clipboard
public final List<BatchEventResult> getData()

The results, one per operation, in the same order as the request operations.

Link copied to clipboard
public final String getRequestId()

The request ID.