Class ChannelPointsRedemption
java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelPointsRedemption
public class ChannelPointsRedemption
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ChannelPointsRedemption() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()ID of the channel in which the reward was redeemed.java.lang.StringgetId()Unique ID for this redemption eventjava.lang.StringgetRedeemedAt()Timestamp in which a reward was redeemedChannelPointsRewardgetReward()Data about the reward that was redeemedjava.lang.StringgetStatus()reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwiseChannelPointsUsergetUser()User that requested this redemption.java.lang.StringgetUserInput()(Optional) A string that the user entered if the reward requires inputinthashCode()voidsetChannelId(java.lang.String channelId)ID of the channel in which the reward was redeemed.voidsetId(java.lang.String id)Unique ID for this redemption eventvoidsetRedeemedAt(java.lang.String redeemedAt)Timestamp in which a reward was redeemedvoidsetReward(ChannelPointsReward reward)Data about the reward that was redeemedvoidsetStatus(java.lang.String status)reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwisevoidsetUser(ChannelPointsUser user)User that requested this redemption.voidsetUserInput(java.lang.String userInput)(Optional) A string that the user entered if the reward requires inputjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ChannelPointsRedemption
public ChannelPointsRedemption()
-
-
Method Details
-
getId
public java.lang.String getId()Unique ID for this redemption event -
getUser
User that requested this redemption. -
getChannelId
public java.lang.String getChannelId()ID of the channel in which the reward was redeemed. -
getRedeemedAt
public java.lang.String getRedeemedAt()Timestamp in which a reward was redeemed -
getReward
Data about the reward that was redeemed -
getUserInput
public java.lang.String getUserInput()(Optional) A string that the user entered if the reward requires input -
getStatus
public java.lang.String getStatus()reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise -
setId
public void setId(java.lang.String id)Unique ID for this redemption event -
setUser
User that requested this redemption. -
setChannelId
public void setChannelId(java.lang.String channelId)ID of the channel in which the reward was redeemed. -
setRedeemedAt
public void setRedeemedAt(java.lang.String redeemedAt)Timestamp in which a reward was redeemed -
setReward
Data about the reward that was redeemed -
setUserInput
public void setUserInput(java.lang.String userInput)(Optional) A string that the user entered if the reward requires input -
setStatus
public void setStatus(java.lang.String status)reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise -
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
-