com.pubnub.api.models.server.access_manager.AccessManagerGrantPayload.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubnub-kotlin Show documentation
Show all versions of pubnub-kotlin Show documentation
PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of
broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter
second!
package com.pubnub.api.models.server.access_manager
import com.google.gson.JsonElement
import com.google.gson.annotations.SerializedName
import com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeyData
import com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeysData
class AccessManagerGrantPayload {
internal var level: String? = null
internal var ttl = 0
@SerializedName("subscribe_key")
internal var subscribeKey: String? = null
internal val channels: Map? = null
@SerializedName("channel-groups")
internal val channelGroups: JsonElement? = null
@SerializedName("auths")
internal val authKeys: Map? = null
internal val channel: String? = null
}