Class DropsEntitlement

java.lang.Object
com.github.twitch4j.helix.domain.DropsEntitlement

public class DropsEntitlement
extends java.lang.Object
An entitlement is the link between a User and a Benefit.
  • Constructor Summary

    Constructors
    Constructor Description
    DropsEntitlement()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBenefitId()
    Identifier of the Benefit
    java.lang.String getGameId()
    Twitch Game ID of the game that was being played when this benefit was entitled.
    java.lang.String getId()
    Unique Identifier of the entitlement
    java.time.Instant getTimestamp()
    UTC timestamp in ISO format when this entitlement was granted on Twitch.
    java.lang.String getUserId()
    Twitch User ID of the user who was granted the entitlement.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DropsEntitlement

      public DropsEntitlement()
  • Method Details

    • getId

      public java.lang.String getId()
      Unique Identifier of the entitlement
    • getBenefitId

      public java.lang.String getBenefitId()
      Identifier of the Benefit
    • getTimestamp

      public java.time.Instant getTimestamp()
      UTC timestamp in ISO format when this entitlement was granted on Twitch.
    • getUserId

      public java.lang.String getUserId()
      Twitch User ID of the user who was granted the entitlement.
    • getGameId

      public java.lang.String getGameId()
      Twitch Game ID of the game that was being played when this benefit was entitled.
    • 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