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

com.github.twitch4j.pubsub.domain.PubSubRequest Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
package com.github.twitch4j.pubsub.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.twitch4j.pubsub.enums.PubSubType;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * PubSub Request
 * 

* Will ignore null values when serializing the request */ @Data @JsonInclude(JsonInclude.Include.NON_NULL) public class PubSubRequest { /** * Action Type */ private PubSubType type; /** * Random string to identify the response associated with this request. */ private String nonce; /** * Data (Body) */ private Map data = new HashMap<>(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy