Class Clip

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

public class Clip
extends java.lang.Object
Clip
  • Constructor Summary

    Constructors
    Constructor Description
    Clip()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBroadcasterId()
    User ID of the stream from which the clip was created.
    java.util.Date getCreatedAt()
    Deprecated.
    in favor of getCreatedAtInstant()
    java.time.Instant getCreatedAtInstant()
    Date when the clip was created.
    java.lang.String getCreatorId()
    ID of the user who created the clip.
    java.lang.Float getDuration()
    Duration of the Clip in seconds (up to 0.1 precision).
    java.lang.String getEmbedUrl()
    URL to embed the clip.
    java.lang.String getGameId()
    ID of the game assigned to the stream when the clip was created.
    java.lang.String getId()
    ID of the clip being queried.
    java.lang.String getLanguage()
    Language of the stream from which the clip was created.
    java.lang.String getThumbnailUrl()
    URL of the clip thumbnail.
    java.lang.String getTitle()
    Title of the clip.
    java.lang.String getUrl()
    URL where the clip can be viewed.
    java.lang.String getVideoId()
    ID of the video from which the clip was created.
    java.lang.Integer getViewCount()
    Number of times the clip has been viewed.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Clip

      public Clip()
  • Method Details

    • getCreatedAt

      @Deprecated public java.util.Date getCreatedAt()
      Deprecated.
      in favor of getCreatedAtInstant()
      Returns:
      the timestamp for the clip's creation
    • getId

      public java.lang.String getId()
      ID of the clip being queried.
    • getUrl

      public java.lang.String getUrl()
      URL where the clip can be viewed.
    • getEmbedUrl

      public java.lang.String getEmbedUrl()
      URL to embed the clip.
    • getBroadcasterId

      public java.lang.String getBroadcasterId()
      User ID of the stream from which the clip was created.
    • getCreatorId

      public java.lang.String getCreatorId()
      ID of the user who created the clip.
    • getVideoId

      public java.lang.String getVideoId()
      ID of the video from which the clip was created.
    • getGameId

      public java.lang.String getGameId()
      ID of the game assigned to the stream when the clip was created.
    • getLanguage

      public java.lang.String getLanguage()
      Language of the stream from which the clip was created.
    • getTitle

      public java.lang.String getTitle()
      Title of the clip.
    • getViewCount

      public java.lang.Integer getViewCount()
      Number of times the clip has been viewed.
    • getCreatedAtInstant

      public java.time.Instant getCreatedAtInstant()
      Date when the clip was created.
    • getThumbnailUrl

      public java.lang.String getThumbnailUrl()
      URL of the clip thumbnail.
    • getDuration

      public java.lang.Float getDuration()
      Duration of the Clip in seconds (up to 0.1 precision).
    • 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