CreateBatchEventsResponse
public struct CreateBatchEventsResponse : Decodable
Represents the response of a creating batch events request.
-
The statuses each of which presents whether an event was successfully created by the server.
If an event was successfuly created by the server, its status is a
Result.successwhich value contains its individualCreateEventResponse. Otherwise, the event’s status is aResult.failure. The statuses are returned in the same order of their corresponding events sent in the request.Declaration
Swift
public let statuses: [Result<CreateEventResponse, PIOError>]
View on GitHub
Install in Dash
CreateBatchEventsResponse Structure Reference