ContentPartAddedEvent

class ContentPartAddedEvent(val sequenceNumber: Int, val itemId: String, val outputIndex: Int, val contentIndex: Int, val part: ResponseContentPart) : ContentPartEvent

A new content part has started inside an output item.

Constructors

Link copied to clipboard
constructor(sequenceNumber: Int, itemId: String, outputIndex: Int, contentIndex: Int, part: ResponseContentPart)

Properties

Link copied to clipboard
open override val contentIndex: Int

Position of the part within the item's content.

Link copied to clipboard
open override val itemId: String

Identifier of the output item the part belongs to.

Link copied to clipboard
open override val outputIndex: Int

Position of that item in the output list.

Link copied to clipboard
open override val part: ResponseContentPart

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

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