SetIncomingDataToNetworkParamsHolderHeadersEventSchema

@Serializable
@SerialName(value = "SetIncomingDataToNetworkParamsHolderHeaders")
data class SetIncomingDataToNetworkParamsHolderHeadersEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?) : EventSchema

Stores the event's incomingData as the request headers in the client's NetworkParametersHolder, so a later request in the chain picks them up instead of carrying the headers on its own schema.

incomingData consumed: required, and must be a map holding at least one String value. Entries whose value is not a String are dropped.

Triggers fired:

  • OnSuccessEventTrigger — when the headers were stored. No data is passed downstream.

  • OnFailureEventTrigger — when incomingData is missing, is not a map, or holds no String value at all; no data is passed downstream and the error is logged.

Constructors

Properties

Link copied to clipboard
@SerialName(value = "events")
open override val events: SerializableImmutableList<EventSchema>?

This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.

Link copied to clipboard
@SerialName(value = "id")
open override val id: String

Unique identifier — how TriggerEvent/UpdateEvents address this event by id. Defaults to a random id when omitted from the DSL.

Link copied to clipboard
@SerialName(value = "trigger")
open override val trigger: EventTrigger

The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.