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 boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannelId()
    ID of the channel in which the reward was redeemed.
    java.lang.String getId()
    Unique ID for this redemption event
    java.lang.String getRedeemedAt()
    Timestamp in which a reward was redeemed
    ChannelPointsReward getReward()
    Data about the reward that was redeemed
    java.lang.String getStatus()
    reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise
    ChannelPointsUser getUser()
    User that requested this redemption.
    java.lang.String getUserInput()
    (Optional) A string that the user entered if the reward requires input
    int hashCode()  
    void setChannelId​(java.lang.String channelId)
    ID of the channel in which the reward was redeemed.
    void setId​(java.lang.String id)
    Unique ID for this redemption event
    void setRedeemedAt​(java.lang.String redeemedAt)
    Timestamp in which a reward was redeemed
    void setReward​(ChannelPointsReward reward)
    Data about the reward that was redeemed
    void setStatus​(java.lang.String status)
    reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise
    void setUser​(ChannelPointsUser user)
    User that requested this redemption.
    void setUserInput​(java.lang.String userInput)
    (Optional) A string that the user entered if the reward requires input
    java.lang.String toString()  

    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

      public ChannelPointsUser 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

      public ChannelPointsReward 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

      public void setUser​(ChannelPointsUser user)
      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

      public void setReward​(ChannelPointsReward reward)
      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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object