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

com.github.twitch4j.helix.domain.ModeratorEventList Maven / Gradle / Ivy

package com.github.twitch4j.helix.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.jetbrains.annotations.ApiStatus;

import java.util.List;

/**
 * @deprecated Twitch decommissioned this API; please migrate to EventSub
 */
@Data
@Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2.0.0")
public class ModeratorEventList {

    @JsonProperty("data")
    private List events;

    private HelixPagination pagination;

    /**
     * @return the moderator events from this query
     * @deprecated in favor of getEvents()
     */
    @Deprecated
    public List getSubscriptions() {
        return this.events;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy