com.pubnub.api.models.server.access_manager.AccessManagerGrantPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubnub Show documentation
Show all versions of pubnub 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.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeyData;
import com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeysData;
import lombok.Getter;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
public class AccessManagerGrantPayload {
@JsonProperty("level")
private String level;
private int ttl;
@JsonProperty("subscribe_key")
private String subscribeKey;
@JsonProperty("channels")
private Map channels;
@JsonProperty("channel-groups")
private JsonNode channelGroups;
@JsonProperty("auths")
private Map authKeys;
@JsonProperty("channel")
private String channel;
}