CustomStatusEventBuilder

class CustomStatusEventBuilder(type: UserStreamEvent) : JsonBuilder<Stream.StatusEvent> , MutableMap<String, Any?>

Custom payload builder for Stream.StatusEvent.

Constructors

Link copied to clipboard
fun CustomStatusEventBuilder(type: UserStreamEvent)

Functions

Link copied to clipboard
open override fun build(): Stream.StatusEvent

Builds this json, and creates T of JsonModel.

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open fun compute(p0: String, p1: BiFunction<in String, in Any?, out Any?>): Any?
Link copied to clipboard
open fun computeIfAbsent(p0: String, p1: Function<in String, out Any?>): Any?
Link copied to clipboard
open fun computeIfPresent(p0: String, p1: BiFunction<in String, in Any, out Any?>): Any?
Link copied to clipboard
open override fun containsKey(key: String): Boolean
Link copied to clipboard
open override fun containsValue(value: Any?): Boolean
Link copied to clipboard
open fun forEach(p0: BiConsumer<in String, in Any?>)
Link copied to clipboard
open operator override fun get(key: String): Any?
Link copied to clipboard
open fun getOrDefault(key: String, defaultValue: Any?): Any?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open fun merge(    p0: String,     p1: Any,     p2: BiFunction<in Any, in Any, out Any?>): Any?
Link copied to clipboard
open override fun put(key: String, value: Any?): Any?
Link copied to clipboard
open override fun putAll(from: Map<out String, Any?>)
Link copied to clipboard
open fun putIfAbsent(p0: String, p1: Any?): Any?
Link copied to clipboard
open override fun remove(key: String): Any?
open fun remove(key: String, value: Any?): Boolean
Link copied to clipboard
open fun replace(p0: String, p1: Any?): Any?
open fun replace(    p0: String,     p1: Any?,     p2: Any?): Boolean
Link copied to clipboard
open fun replaceAll(p0: BiFunction<in String, in Any?, out Any?>)
Link copied to clipboard
fun source(builder: CustomUserBuilder.() -> Unit)

Sets source.

Link copied to clipboard
fun target(builder: CustomUserBuilder.() -> Unit)

Sets target.

Link copied to clipboard
fun targetObject(builder: CustomStatusBuilder.() -> Unit)

Sets target_object.

Properties

Link copied to clipboard
var createdAt: TemporalAccessor? = null

"created_at".

Link copied to clipboard
open override val entries: MutableSet<MutableMap.MutableEntry<String, Any?>>
Link copied to clipboard
open override val keys: MutableSet<String>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: MutableCollection<Any?>