java.lang.Object
com.github.twitch4j.eventsub.domain.moderation.UserTarget
com.github.twitch4j.eventsub.domain.moderation.Warning

public class Warning extends UserTarget
  • Constructor Details

    • Warning

      public Warning()
  • Method Details

    • getReason

      @Nullable public @Nullable String getReason()
      Reason given for the warning.
    • getChatRulesCited

      @Nullable public @Nullable List<String> getChatRulesCited()
      Chat rules cited for the warning.
    • toString

      public String toString()
      Overrides:
      toString in class UserTarget
    • equals

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

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class UserTarget
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class UserTarget