Class CommunityPointsGoal

java.lang.Object
com.github.twitch4j.pubsub.domain.CommunityPointsGoal

public class CommunityPointsGoal
extends java.lang.Object
  • 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

      public ChannelPointsReward.Image getDefaultImage()
    • getImage

      @Nullable public ChannelPointsReward.Image 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:
      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