Package com.github.twitch4j.helix.domain
Class Highlight
java.lang.Object
com.github.twitch4j.helix.domain.Highlight
public class Highlight
extends java.lang.Object
Data for creating Stream Markers. The
userId of the streamer on whose
stream to create the marker is required; the description is optional.-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetDescription()Optional description to include with the markerjava.lang.StringgetUserId()ID of the broadcaster to create a marker forinthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Highlight
public Highlight(java.lang.String userId) -
Highlight
public Highlight(java.lang.String userId, java.lang.String description)
-
-
Method Details
-
getUserId
public java.lang.String getUserId()ID of the broadcaster to create a marker for -
getDescription
public java.lang.String getDescription()Optional description to include with the marker -
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
-