Class ModeratorUnbanRequestAction
java.lang.Object
com.github.twitch4j.pubsub.domain.ModeratorUnbanRequestAction
public class ModeratorUnbanRequestAction
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModeratorUnbanRequestAction.Type -
Constructor Summary
Constructors Constructor Description ModeratorUnbanRequestAction() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetCreatedById()The user id of the moderator taking this action.java.lang.StringgetCreatedByLogin()The login name of the moderator taking this action.ModeratorUnbanRequestAction.TypegetModerationAction()Whether the unban request was approved or denied.@Nullable java.lang.StringgetModeratorMessage()An optional message provided to the target user by the moderator.java.lang.StringgetTargetUserId()The id of the user that created the unban request.java.lang.StringgetTargetUserLogin()The login name of the user that created the unban request.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ModeratorUnbanRequestAction
public ModeratorUnbanRequestAction()
-
-
Method Details
-
getModerationAction
Whether the unban request was approved or denied. -
getCreatedById
public java.lang.String getCreatedById()The user id of the moderator taking this action. -
getCreatedByLogin
public java.lang.String getCreatedByLogin()The login name of the moderator taking this action. -
getModeratorMessage
@Nullable public @Nullable java.lang.String getModeratorMessage()An optional message provided to the target user by the moderator. -
getTargetUserId
public java.lang.String getTargetUserId()The id of the user that created the unban request. -
getTargetUserLogin
public java.lang.String getTargetUserLogin()The login name of the user that created the unban request. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-