Package com.github.twitch4j.helix.domain
Class Commercial
java.lang.Object
com.github.twitch4j.helix.domain.Commercial
public class Commercial
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Commercial() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetLength()Length of the triggered commercialjava.lang.StringgetMessage()Provides contextual information on why the request failedjava.lang.IntegergetRetryAfter()Seconds until the next commercial can be served on this channelinthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Commercial
public Commercial()
-
-
Method Details
-
getLength
public java.lang.Integer getLength()Length of the triggered commercial -
getMessage
public java.lang.String getMessage()Provides contextual information on why the request failed -
getRetryAfter
public java.lang.Integer getRetryAfter()Seconds until the next commercial can be served on this channel -
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
-