Class BitsBadgeData
java.lang.Object
com.github.twitch4j.pubsub.domain.BitsBadgeData
public class BitsBadgeData
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description BitsBadgeData() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetBadgeTier()The number of bits associated with the new badgejava.lang.StringgetChannelId()The id for the channel in which the badge was earnedjava.lang.StringgetChannelName()The login name for the channel in which the badge was earnedjava.lang.StringgetChatMessage()The accompanying message when the badge was sharedjava.lang.StringgetTime()RFC 3339 timestamp of when the bits badge was awardedjava.lang.StringgetUserId()The id for the user that earned a new badgejava.lang.StringgetUserName()The login name for the user that earned a new badgeinthashCode()voidsetBadgeTier(java.lang.Integer badgeTier)The number of bits associated with the new badgevoidsetChannelId(java.lang.String channelId)The id for the channel in which the badge was earnedvoidsetChannelName(java.lang.String channelName)The login name for the channel in which the badge was earnedvoidsetChatMessage(java.lang.String chatMessage)The accompanying message when the badge was sharedvoidsetTime(java.lang.String time)RFC 3339 timestamp of when the bits badge was awardedvoidsetUserId(java.lang.String userId)The id for the user that earned a new badgevoidsetUserName(java.lang.String userName)The login name for the user that earned a new badgejava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
BitsBadgeData
public BitsBadgeData()
-
-
Method Details
-
getUserId
public java.lang.String getUserId()The id for the user that earned a new badge -
getUserName
public java.lang.String getUserName()The login name for the user that earned a new badge -
getChannelId
public java.lang.String getChannelId()The id for the channel in which the badge was earned -
getChannelName
public java.lang.String getChannelName()The login name for the channel in which the badge was earned -
getBadgeTier
public java.lang.Integer getBadgeTier()The number of bits associated with the new badge -
getChatMessage
public java.lang.String getChatMessage()The accompanying message when the badge was shared -
getTime
public java.lang.String getTime()RFC 3339 timestamp of when the bits badge was awarded -
setUserId
public void setUserId(java.lang.String userId)The id for the user that earned a new badge -
setUserName
public void setUserName(java.lang.String userName)The login name for the user that earned a new badge -
setChannelId
public void setChannelId(java.lang.String channelId)The id for the channel in which the badge was earned -
setChannelName
public void setChannelName(java.lang.String channelName)The login name for the channel in which the badge was earned -
setBadgeTier
public void setBadgeTier(java.lang.Integer badgeTier)The number of bits associated with the new badge -
setChatMessage
public void setChatMessage(java.lang.String chatMessage)The accompanying message when the badge was shared -
setTime
public void setTime(java.lang.String time)RFC 3339 timestamp of when the bits badge was awarded -
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
-