OutputItemDoneEvent

class OutputItemDoneEvent(val sequenceNumber: Int, val outputIndex: Int, val item: ResponseItem) : OutputItemEvent

An output item is complete; item holds its final form.

Constructors

Link copied to clipboard
constructor(sequenceNumber: Int, outputIndex: Int, item: ResponseItem)

Properties

Link copied to clipboard
open override val item: ResponseItem

The item itself — empty when it opens, complete when it closes.

Link copied to clipboard
open override val outputIndex: Int

Position of the item in the output list.

Link copied to clipboard
open override val sequenceNumber: Int

Position of the event in the stream; increases monotonically.

Link copied to clipboard
open override val type: String

Raw event type, as sent in the type field.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String