Class Contribution
java.lang.Object
com.github.twitch4j.eventsub.domain.Contribution
public class Contribution
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContribution.Type -
Constructor Summary
Constructors Constructor Description Contribution() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetTotal()The total contributed.Contribution.TypegetType()Type of contribution.java.lang.StringgetUserId()The ID of the user.java.lang.StringgetUserLogin()The login name of the user.java.lang.StringgetUserName()The display name of the user.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Contribution
public Contribution()
-
-
Method Details
-
getUserId
public java.lang.String getUserId()The ID of the user. -
getUserName
public java.lang.String getUserName()The display name of the user. -
getUserLogin
public java.lang.String getUserLogin()The login name of the user. -
getType
Type of contribution. -
getTotal
public java.lang.Integer getTotal()The total contributed. -
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
-