Class LikedUser
- java.lang.Object
-
- com.rednit.tinder4j.api.entities.Entity
-
- com.rednit.tinder4j.api.entities.user.GenericUser
-
- com.rednit.tinder4j.api.entities.user.swipeable.SwipeableUser
-
- com.rednit.tinder4j.api.entities.user.swipeable.LikedUser
-
public class LikedUser extends SwipeableUser
Subtype ofSwipeableUserfor users the self user liked.- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Kaktushose
- See Also:
SwipeableUser
-
-
Constructor Summary
Constructors Constructor Description LikedUser(DataObject user, TinderClient client)Constructs a new LikedUser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentHash()Gets the contentHash.longgetExpireTime()Gets the time this user won't be available viaTinderClient.getLikedUsers()anymore.booleanhasBeenSuperLiked()Whether the user has been superliked.StringtoString()-
Methods inherited from class com.rednit.tinder4j.api.entities.user.swipeable.SwipeableUser
dislike, getCity, getDescriptors, getDistanceKm, getDistanceMi, getInterests, getJob, getSchool, getSNumber, getTeasers, getThemeTrack, getTopArtists, like, showGenderOnProfile, superlike
-
Methods inherited from class com.rednit.tinder4j.api.entities.user.GenericUser
getAge, getBadges, getBio, getBirthdate, getGender, getName, getPhotos, getUserProfile, hasBadges, report
-
-
-
-
Constructor Detail
-
LikedUser
public LikedUser(DataObject user, TinderClient client)
Constructs a new LikedUser.- Parameters:
user- theDataObjectto construct the LikedUser fromclient- the correspondingTinderClientinstance
-
-
Method Detail
-
getContentHash
public String getContentHash()
Gets the contentHash.- Returns:
- the contentHash
-
hasBeenSuperLiked
public boolean hasBeenSuperLiked()
Whether the user has been superliked.- Returns:
trueif the user has been superliked
-
getExpireTime
public long getExpireTime()
Gets the time this user won't be available viaTinderClient.getLikedUsers()anymore.- Returns:
- the time this user expires
-
toString
public String toString()
- Overrides:
toStringin classSwipeableUser
-
-