com.github.twitch4j.helix.domain.EventSubSubscriptionList Maven / Gradle / Ivy
The newest version!
package com.github.twitch4j.helix.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.twitch4j.eventsub.EventSubSubscription;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.List;
@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
public class EventSubSubscriptionList {
/**
* Subscriptions
*/
@JsonProperty("data")
private List subscriptions;
/**
* Total number of subscriptions for the client ID that made the subscription creation request.
*/
private Integer total;
/**
* Total cost of all the subscriptions for the client ID that made the subscription creation request.
*/
private Integer totalCost;
/**
* The maximum total cost allowed for all of the subscriptions for the client ID that made the subscription creation request.
*/
private Integer maxTotalCost;
/**
* Subscription limit for client id that made the subscription creation request.
*
* @see Cost-Based Limit Docs
* @deprecated removed in favor of #getMaxTotalCost
*/
@Deprecated
private Integer limit;
/**
* A cursor value to be used in a subsequent request to specify the starting point of the next set of results.
*/
private HelixPagination pagination;
}