com.github.twitch4j.eventsub.events.StreamOnlineEvent Maven / Gradle / Ivy
The newest version!
package com.github.twitch4j.eventsub.events;
import com.github.twitch4j.eventsub.domain.StreamType;
import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import java.time.Instant;
@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class StreamOnlineEvent extends EventSubChannelEvent {
/**
* The id of the stream.
*/
private String id;
/**
* The stream type.
*/
private StreamType type;
/**
* The timestamp at which the stream went online at.
*/
private Instant startedAt;
}