Package com.github.twitch4j.helix.domain
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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBenefitId()Identifier of the Benefitjava.lang.StringgetGameId()Twitch Game ID of the game that was being played when this benefit was entitled.java.lang.StringgetId()Unique Identifier of the entitlementjava.time.InstantgetTimestamp()UTC timestamp in ISO format when this entitlement was granted on Twitch.java.lang.StringgetUserId()Twitch User ID of the user who was granted the entitlement.inthashCode()java.lang.StringtoString()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:
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
-