Class CharityCampaignWrapper

java.lang.Object
com.github.twitch4j.helix.domain.CharityCampaignWrapper

public class CharityCampaignWrapper extends Object
  • Constructor Details

    • CharityCampaignWrapper

      public CharityCampaignWrapper()
  • Method Details

    • getCurrentCampaign

      public Optional<CharityCampaign> getCurrentCampaign()
      Returns:
      the currently running charity campaign, in an optional wrapper.
    • getData

      public List<CharityCampaign> getData()
      A list that contains the charity campaign that the broadcaster is currently running.

      The array is empty if the broadcaster is not running a charity campaign; the campaign information is no longer available as soon as the campaign ends.

    • 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