Class TimeoutTarget

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

public class TimeoutTarget extends UserTarget
  • Constructor Details

    • TimeoutTarget

      public TimeoutTarget()
  • Method Details

    • getReason

      @Nullable public @Nullable String getReason()
      The optional reason given for the timeout.
    • getExpiresAt

      public Instant getExpiresAt()
      The time at which the timeout ends.
    • 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