Package com.github.twitch4j.helix.domain
Class CustomRewardRedemption
java.lang.Object
com.github.twitch4j.helix.domain.CustomRewardRedemption
public class CustomRewardRedemption
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CustomRewardRedemption() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBroadcasterId()The id of the broadcaster that the reward belongs to.java.lang.StringgetBroadcasterLogin()Broadcaster’s user login name.java.lang.StringgetBroadcasterName()The display name of the broadcaster that the reward belongs to.java.time.InstantgetRedeemedAt()RFC3339 timestamp of when the reward was redeemed.java.lang.StringgetRedemptionId()The ID of the redemption.CustomRewardgetReward()Basic information about the Custom Reward that was redeemed at the time it was redeemed.com.github.twitch4j.eventsub.domain.RedemptionStatusgetStatus()The redemption status.java.lang.StringgetUserId()The ID of the user that redeemed the reward.java.lang.StringgetUserInput()The user input provided.java.lang.StringgetUserLogin()The login of the user who redeemed the reward.java.lang.StringgetUserName()The display name of the user that redeemed the reward.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CustomRewardRedemption
public CustomRewardRedemption()
-
-
Method Details
-
getBroadcasterId
public java.lang.String getBroadcasterId()The id of the broadcaster that the reward belongs to. -
getBroadcasterLogin
public java.lang.String getBroadcasterLogin()Broadcaster’s user login name. -
getBroadcasterName
public java.lang.String getBroadcasterName()The display name of the broadcaster that the reward belongs to. -
getRedemptionId
public java.lang.String getRedemptionId()The ID of the redemption. -
getUserId
public java.lang.String getUserId()The ID of the user that redeemed the reward. -
getUserLogin
public java.lang.String getUserLogin()The login of the user who redeemed the reward. -
getUserName
public java.lang.String getUserName()The display name of the user that redeemed the reward. -
getReward
Basic information about the Custom Reward that was redeemed at the time it was redeemed. -
getUserInput
public java.lang.String getUserInput()The user input provided. Empty string if not provided. -
getStatus
public com.github.twitch4j.eventsub.domain.RedemptionStatus getStatus()The redemption status. -
getRedeemedAt
public java.time.Instant getRedeemedAt()RFC3339 timestamp of when the reward was redeemed. -
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
-