Builder

public final class Builder

A builder for InteractionCreatedEvent.

Functions

Link copied to clipboard
public final InteractionCreatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard

Returns an immutable instance of InteractionCreatedEvent.

Link copied to clipboard
public final InteractionCreatedEvent.Builder eventId(JsonField<String> eventId)

Sets Builder.eventId to an arbitrary JSON value.

The event_id token to be used to resume the interaction stream, from this event.

Link copied to clipboard
public final InteractionCreatedEvent.Builder eventType(JsonValue eventType)

Sets the field to an arbitrary JSON value.

Link copied to clipboard
public final InteractionCreatedEvent.Builder interaction(JsonField<Interaction> interaction)

Sets Builder.interaction to an arbitrary JSON value.

The Interaction resource.

Link copied to clipboard
public final InteractionCreatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final InteractionCreatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)