Class Commercial

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

public class Commercial extends Object
  • Constructor Details

    • Commercial

      public Commercial()
  • Method Details

    • getLength

      public Integer getLength()
      Length of the triggered commercial
    • getMessage

      public String getMessage()
      Provides contextual information on why the request failed
    • getRetryAfter

      public Integer getRetryAfter()
      Seconds until the next commercial can be served on this channel
    • 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