Package com.github.twitch4j.helix.domain
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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBroadcasterId()User ID of the stream from which the clip was created.java.util.DategetCreatedAt()Deprecated.in favor of getCreatedAtInstant()java.time.InstantgetCreatedAtInstant()Date when the clip was created.java.lang.StringgetCreatorId()ID of the user who created the clip.java.lang.FloatgetDuration()Duration of the Clip in seconds (up to 0.1 precision).java.lang.StringgetEmbedUrl()URL to embed the clip.java.lang.StringgetGameId()ID of the game assigned to the stream when the clip was created.java.lang.StringgetId()ID of the clip being queried.java.lang.StringgetLanguage()Language of the stream from which the clip was created.java.lang.StringgetThumbnailUrl()URL of the clip thumbnail.java.lang.StringgetTitle()Title of the clip.java.lang.StringgetUrl()URL where the clip can be viewed.java.lang.StringgetVideoId()ID of the video from which the clip was created.java.lang.IntegergetViewCount()Number of times the clip has been viewed.inthashCode()java.lang.StringtoString()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:
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
-