Package com.github.twitch4j.helix.domain
Class Follow
java.lang.Object
com.github.twitch4j.helix.domain.Follow
public class Follow
extends java.lang.Object
Follow
-
Constructor Summary
Constructors Constructor Description Follow() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.time.LocalDateTimegetFollowedAt()Deprecated.in favor of getFollowedAtInstantjava.time.InstantgetFollowedAtInstant()Date and time when the from_id user followed the to_id user.java.lang.StringgetFromId()ID of the user following the to_id user.java.lang.StringgetFromLogin()Login of the user following the to_id user.java.lang.StringgetFromName()Login name corresponding to from_id.java.lang.StringgetToId()ID of the user being followed by the from_id user.java.lang.StringgetToLogin()Login of the user being followed by the from_id user.java.lang.StringgetToName()Login name corresponding to to_id.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Follow
public Follow()
-
-
Method Details
-
getFollowedAt
@Deprecated public java.time.LocalDateTime getFollowedAt()Deprecated.in favor of getFollowedAtInstant- Returns:
- the date and time when the from_id user followed the to_id user.
-
getFromId
public java.lang.String getFromId()ID of the user following the to_id user. -
getFromLogin
public java.lang.String getFromLogin()Login of the user following the to_id user. -
getFromName
public java.lang.String getFromName()Login name corresponding to from_id. -
getToId
public java.lang.String getToId()ID of the user being followed by the from_id user. -
getToLogin
public java.lang.String getToLogin()Login of the user being followed by the from_id user. -
getToName
public java.lang.String getToName()Login name corresponding to to_id. -
getFollowedAtInstant
public java.time.Instant getFollowedAtInstant()Date and time when the from_id user followed the to_id user. -
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
-