Class DropEntitlementGrantEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserEvent
com.github.twitch4j.eventsub.events.DropEntitlementGrantEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIdentifier of the Benefit.The campaign this entitlement is associated with.Twitch category ID of the game that was being played when this benefit was entitled.The category name.UTC timestamp in ISO format when this entitlement was granted on Twitch.Unique identifier of the entitlement.The ID of the organization that owns the game that has Drops enabled.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubUserEvent
getUserId, getUserLogin, getUserName
-
Constructor Details
-
DropEntitlementGrantEvent
public DropEntitlementGrantEvent()
-
-
Method Details
-
getOrganizationId
The ID of the organization that owns the game that has Drops enabled. -
getCategoryId
Twitch category ID of the game that was being played when this benefit was entitled. -
getCategoryName
The category name. -
getCampaignId
The campaign this entitlement is associated with. -
getEntitlementId
Unique identifier of the entitlement. Use this to de-duplicate entitlements. -
getBenefitId
Identifier of the Benefit. -
getCreatedAt
UTC timestamp in ISO format when this entitlement was granted on Twitch. -
toString
- Overrides:
toStringin classEventSubUserEvent
-
equals
- Overrides:
equalsin classEventSubUserEvent
-
canEqual
- Overrides:
canEqualin classEventSubUserEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubUserEvent
-