com.github.twitch4j.eventsub.events.HypeTrainEvent Maven / Gradle / Ivy
The newest version!
package com.github.twitch4j.eventsub.events;
import com.github.twitch4j.eventsub.domain.Contribution;
import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import java.time.Instant;
import java.util.List;
@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public abstract class HypeTrainEvent extends EventSubChannelEvent {
/**
* Total points contributed to hype train.
*/
private Integer total;
/**
* The contributors with the most points contributed.
*/
private List topContributions;
/**
* Current level of hype train event.
*/
private Integer level;
/**
* The timestamp at which the hype train started.
*/
private Instant startedAt;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy