All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pubnub.api.models.server.access_manager.AccessManagerGrantPayload Maven / Gradle / Ivy

Go to download

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!

There is a newer version: 4.6.5
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy