Class CommunityPointsGoal

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

public class CommunityPointsGoal extends Object
  • Constructor Details

    • CommunityPointsGoal

      public CommunityPointsGoal()
  • Method Details

    • getParsedType

      public CommunityPointsGoal.Type getParsedType()
    • getParsedStatus

      public CommunityPointsGoal.Status getParsedStatus()
    • getId

      public String getId()
    • getChannelId

      public String getChannelId()
    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • getGoalAmount

      public Integer getGoalAmount()
    • getPointsContributed

      public Integer getPointsContributed()
    • getSmallContribution

      public Integer getSmallContribution()
    • getPerStreamMaximumUserContribution

      public Integer getPerStreamMaximumUserContribution()
    • getDurationDays

      public Integer getDurationDays()
    • getStartedAt

      public Instant getStartedAt()
    • getEndedAt

      public Instant getEndedAt()
    • getBackgroundColor

      public String getBackgroundColor()
    • getDefaultImage

      public ChannelPointsReward.Image getDefaultImage()
    • getImage

      @Nullable public ChannelPointsReward.Image getImage()
    • isInStock

      public Boolean isInStock()
    • getGoalType

      public String getGoalType()
      The type of community points goal.

      For example: "BOOST", "CREATOR"

    • getStatus

      public String getStatus()
      The status of the community points goal.

      For example: "STARTED"

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object