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

    Constructors
    Constructor Description
    Highlight​(java.lang.String userId)  
    Highlight​(java.lang.String userId, java.lang.String description)  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getDescription()
    Optional description to include with the marker
    java.lang.String getUserId()
    ID of the broadcaster to create a marker for
    int hashCode()  
    java.lang.String toString()  

    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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object