Class Summary
- java.lang.Object
-
- com.rivet.api.resources.identity.common.types.Summary
-
public final class Summary extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSummary._FinalStagestatic interfaceSummary.AccountNumberStagestatic interfaceSummary.AvatarUrlStagestatic classSummary.Builderstatic interfaceSummary.DisplayNameStagestatic interfaceSummary.ExternalStagestatic interfaceSummary.FollowingStagestatic interfaceSummary.IdentityIdStagestatic interfaceSummary.IsFollowingMeStagestatic interfaceSummary.IsMutualFollowingStagestatic interfaceSummary.IsRegisteredStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Summary.IdentityIdStagebuilder()booleanequals(java.lang.Object other)intgetAccountNumber()java.lang.StringgetAvatarUrl()java.lang.StringgetDisplayName()ExternalLinksgetExternal()booleangetFollowing()java.util.UUIDgetIdentityId()booleangetIsFollowingMe()booleangetIsMutualFollowing()booleangetIsRegistered()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()
-
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()
-
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 Summary.IdentityIdStage builder()
-
-