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 ofSwipeableUser
for 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 String
getContentHash()
Gets the contentHash.long
getExpireTime()
Gets the time this user won't be available viaTinderClient.getLikedUsers()
anymore.boolean
hasBeenSuperLiked()
Whether the user has been superliked.String
toString()
-
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
- theDataObject
to construct the LikedUser fromclient
- the correspondingTinderClient
instance
-
-
Method Detail
-
getContentHash
public String getContentHash()
Gets the contentHash.- Returns:
- the contentHash
-
hasBeenSuperLiked
public boolean hasBeenSuperLiked()
Whether the user has been superliked.- Returns:
true
if 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:
toString
in classSwipeableUser
-
-