/
GoalType.java
44 lines (36 loc) · 1.15 KB
/
GoalType.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.github.twitch4j.eventsub.domain;
import com.fasterxml.jackson.annotation.JsonAlias;
/**
* The type of goal.
*/
public enum GoalType {
/**
* The goal is to increase followers.
*/
@JsonAlias("follower")
FOLLOWERS,
/**
* The goal is to increase subscriptions.
* This type shows the net increase or decrease in subscriptions.
*/
@JsonAlias("subscription")
SUBSCRIPTIONS,
/**
* The goal is to increase subscriptions.
* This type shows only the net increase in subscriptions (it does not account for users that stopped subscribing since the goal's inception).
*/
@JsonAlias("new_subscription")
NEW_SUBSCRIPTIONS,
/**
* The goal is to increase subscriptions.
* This type shows the net increase or decrease in the number of subscriptions.
*/
@JsonAlias("subscription_count")
SUB_COUNT,
/**
* The goal is to increase subscriptions.
* This type shows only the net increase in the number of subscriptions (it does not account for users that unsubscribed since the goal started).
*/
@JsonAlias("new_subscription_count")
NEW_SUB_COUNT
}