Class CommunityPointsGoal
java.lang.Object
com.github.twitch4j.pubsub.domain.CommunityPointsGoal
public class CommunityPointsGoal
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CommunityPointsGoal() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBackgroundColor()java.lang.StringgetChannelId()ChannelPointsReward.ImagegetDefaultImage()java.lang.StringgetDescription()java.lang.IntegergetDurationDays()java.time.InstantgetEndedAt()java.lang.IntegergetGoalAmount()java.lang.StringgetGoalType()The type of community points goal.java.lang.StringgetId()ChannelPointsReward.ImagegetImage()java.lang.IntegergetPerStreamMaximumUserContribution()java.lang.IntegergetPointsContributed()java.lang.IntegergetSmallContribution()java.time.InstantgetStartedAt()java.lang.StringgetStatus()The status of the community points goal.java.lang.StringgetTitle()inthashCode()java.lang.BooleanisInStock()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CommunityPointsGoal
public CommunityPointsGoal()
-
-
Method Details
-
getId
public java.lang.String getId() -
getChannelId
public java.lang.String getChannelId() -
getTitle
public java.lang.String getTitle() -
getDescription
public java.lang.String getDescription() -
getGoalAmount
public java.lang.Integer getGoalAmount() -
getPointsContributed
public java.lang.Integer getPointsContributed() -
getSmallContribution
public java.lang.Integer getSmallContribution() -
getPerStreamMaximumUserContribution
public java.lang.Integer getPerStreamMaximumUserContribution() -
getDurationDays
public java.lang.Integer getDurationDays() -
getStartedAt
public java.time.Instant getStartedAt() -
getEndedAt
public java.time.Instant getEndedAt() -
getBackgroundColor
public java.lang.String getBackgroundColor() -
getDefaultImage
-
getImage
-
isInStock
public java.lang.Boolean isInStock() -
getGoalType
public java.lang.String getGoalType()The type of community points goal.For example: "BOOST"
-
getStatus
public java.lang.String getStatus()The status of the community points goal.For example: "STARTED"
-
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
-