com.github.twitch4j.pubsub.events.UserUnbanRequestUpdateEvent Maven / Gradle / Ivy
package com.github.twitch4j.pubsub.events;
import com.github.twitch4j.pubsub.domain.UpdatedUnbanRequest;
import lombok.EqualsAndHashCode;
import lombok.ToString;
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class UserUnbanRequestUpdateEvent extends UnbanRequestEvent {
public UserUnbanRequestUpdateEvent(String userId, String channelId, UpdatedUnbanRequest unbanRequest) {
super(userId, channelId, unbanRequest);
}
@Override
public UpdatedUnbanRequest getUnbanRequest() {
return (UpdatedUnbanRequest) super.getUnbanRequest();
}
}