Class Profile


  • public final class Profile
    extends java.lang.Object
    • 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.
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object