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.success which value contains its individual CreateEventResponse. Otherwise, the event’s status is a Result.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>]