Class ModeratorEvent

java.lang.Object
com.github.twitch4j.helix.domain.ModeratorEvent

public class ModeratorEvent extends Object
  • Constructor Details

    • ModeratorEvent

      public ModeratorEvent()
  • Method Details

    • getEventTimestamp

      @Deprecated public LocalDateTime getEventTimestamp()
      Deprecated.
      in favor of getTimestamp
      Returns:
      the timestamp of when the event took place
    • getId

      @NonNull public @NonNull String getId()
      Event ID
    • getEventType

      @NonNull public @NonNull String getEventType()
      Displays "moderation.user.ban" or "moderation.user.unban".
    • getTimestamp

      @NonNull public @NonNull Instant getTimestamp()
      RFC3339 formatted timestamp for events.
    • getVersion

      @NonNull public @NonNull String getVersion()
      Returns the version of the endpoint.
    • getEventData

      @NonNull public @NonNull ModeratorEvent.ModeratorEventData getEventData()
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object