Class Profile
- java.lang.Object
-
- com.rivet.api.resources.identity.common.types.Profile
-
public final class Profile extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProfile._FinalStagestatic interfaceProfile.AccountNumberStagestatic interfaceProfile.AvatarUrlStagestatic interfaceProfile.BioStagestatic classProfile.Builderstatic interfaceProfile.DisplayNameStagestatic interfaceProfile.ExternalStagestatic interfaceProfile.FollowerCountStagestatic interfaceProfile.FollowingCountStagestatic interfaceProfile.FollowingStagestatic interfaceProfile.IdentityIdStagestatic interfaceProfile.IsAdminStagestatic interfaceProfile.IsFollowingMeStagestatic interfaceProfile.IsMutualFollowingStagestatic interfaceProfile.IsRegisteredStagestatic interfaceProfile.JoinTsStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Profile.IdentityIdStagebuilder()booleanequals(java.lang.Object other)intgetAccountNumber()java.lang.StringgetAvatarUrl()java.util.Optional<java.lang.Boolean>getAwaitingDeletion()java.lang.StringgetBio()java.util.Optional<DevState>getDevState()java.lang.StringgetDisplayName()ExternalLinksgetExternal()longgetFollowerCount()booleangetFollowing()longgetFollowingCount()java.util.List<StatSummary>getGames()java.util.List<Group>getGroups()java.util.UUIDgetIdentityId()booleangetIsAdmin()booleangetIsFollowingMe()java.util.Optional<java.lang.Boolean>getIsGameLinked()booleangetIsMutualFollowing()booleangetIsRegistered()java.time.OffsetDateTimegetJoinTs()java.util.List<LinkedAccount>getLinkedAccounts()java.util.Optional<Presence>getPresence()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getIdentityId
public java.util.UUID getIdentityId()
-
getDisplayName
public java.lang.String getDisplayName()
-
getAccountNumber
public int getAccountNumber()
-
getAvatarUrl
public java.lang.String getAvatarUrl()
- Returns:
- The URL of this identity's avatar image.
-
getPresence
public java.util.Optional<Presence> getPresence()
-
getIsRegistered
public boolean getIsRegistered()
- Returns:
- Whether or not this identity is registered with a linked account.
-
getExternal
public ExternalLinks getExternal()
-
getIsAdmin
public boolean getIsAdmin()
- Returns:
- Whether or not this identity is an admin.
-
getIsGameLinked
public java.util.Optional<java.lang.Boolean> getIsGameLinked()
- Returns:
- Whether or not this game user has been linked through the Rivet dashboard.
-
getDevState
public java.util.Optional<DevState> getDevState()
- Returns:
- Deprecated
-
getFollowerCount
public long getFollowerCount()
-
getFollowingCount
public long getFollowingCount()
-
getFollowing
public boolean getFollowing()
- Returns:
- Whether or not the requestee's identity is following this identity.
-
getIsFollowingMe
public boolean getIsFollowingMe()
- Returns:
- Whether or not this identity is both followng and is followed by the requestee's identity.
-
getIsMutualFollowing
public boolean getIsMutualFollowing()
-
getJoinTs
public java.time.OffsetDateTime getJoinTs()
-
getBio
public java.lang.String getBio()
-
getLinkedAccounts
public java.util.List<LinkedAccount> getLinkedAccounts()
-
getGroups
public java.util.List<Group> getGroups()
-
getGames
public java.util.List<StatSummary> getGames()
-
getAwaitingDeletion
public java.util.Optional<java.lang.Boolean> getAwaitingDeletion()
- Returns:
- Whether or not this identity is awaiting account deletion. Only visible to when the requestee is this identity.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static Profile.IdentityIdStage builder()
-
-