CustomUserBuilder

class CustomUserBuilder : JsonBuilder<User> , MutableMap<String, Any?>

Custom payload builder for User.

Constructors

Link copied to clipboard
fun CustomUserBuilder()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun build(): User

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
fun count(    friends: Int = 0,     followers: Int = 0,     statuses: Int = 0,     favorites: Int = 0,     listed: Int = 0)

Sets count.

Link copied to clipboard
fun createdAt(time: TemporalAccessor? = null)

Sets created_at.

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
fun icon(url: String)

Sets icon.

Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
fun isProtected()

Sets protected.

Link copied to clipboard
fun isVerified()

Sets verified.

Link copied to clipboard
fun location(value: String)

Sets location.

Link copied to clipboard
open fun merge(    p0: String,     p1: Any,     p2: BiFunction<in Any, in Any, out Any?>): Any?
Link copied to clipboard
fun name(value: String)

Sets name.

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 screenName(value: String)

Sets screen_name

Properties

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?>