Class Summary.Builder
- java.lang.Object
-
- com.rivet.api.resources.identity.common.types.Summary.Builder
-
- All Implemented Interfaces:
Summary._FinalStage,Summary.AccountNumberStage,Summary.AvatarUrlStage,Summary.DisplayNameStage,Summary.ExternalStage,Summary.FollowingStage,Summary.IdentityIdStage,Summary.IsFollowingMeStage,Summary.IsMutualFollowingStage,Summary.IsRegisteredStage
- Enclosing class:
- Summary
public static final class Summary.Builder extends java.lang.Object implements Summary.IdentityIdStage, Summary.DisplayNameStage, Summary.AccountNumberStage, Summary.AvatarUrlStage, Summary.IsRegisteredStage, Summary.ExternalStage, Summary.FollowingStage, Summary.IsFollowingMeStage, Summary.IsMutualFollowingStage, Summary._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Summary.AvatarUrlStageaccountNumber(int accountNumber)Summary.IsRegisteredStageavatarUrl(java.lang.String avatarUrl)The URL of this identity's avatar image.Summarybuild()Summary.AccountNumberStagedisplayName(java.lang.String displayName)Summary.FollowingStageexternal(ExternalLinks external)Summary.IsFollowingMeStagefollowing(boolean following)Whether or not the requestee's identity is following this identity.Summary.Builderfrom(Summary other)Summary.DisplayNameStageidentityId(java.util.UUID identityId)Summary.IsMutualFollowingStageisFollowingMe(boolean isFollowingMe)Whether or not this identity is both followng and is followed by the requestee's identity.Summary._FinalStageisMutualFollowing(boolean isMutualFollowing)Summary.ExternalStageisRegistered(boolean isRegistered)Whether or not this identity is registered with a linked account.Summary._FinalStagepresence(Presence presence)Summary._FinalStagepresence(java.util.Optional<Presence> presence)
-
-
-
Method Detail
-
from
public Summary.Builder from(Summary other)
- Specified by:
fromin interfaceSummary.IdentityIdStage
-
identityId
public Summary.DisplayNameStage identityId(java.util.UUID identityId)
- Specified by:
identityIdin interfaceSummary.IdentityIdStage
-
displayName
public Summary.AccountNumberStage displayName(java.lang.String displayName)
- Specified by:
displayNamein interfaceSummary.DisplayNameStage
-
accountNumber
public Summary.AvatarUrlStage accountNumber(int accountNumber)
- Specified by:
accountNumberin interfaceSummary.AccountNumberStage
-
avatarUrl
public Summary.IsRegisteredStage avatarUrl(java.lang.String avatarUrl)
The URL of this identity's avatar image.
- Specified by:
avatarUrlin interfaceSummary.AvatarUrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isRegistered
public Summary.ExternalStage isRegistered(boolean isRegistered)
Whether or not this identity is registered with a linked account.
- Specified by:
isRegisteredin interfaceSummary.IsRegisteredStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
external
public Summary.FollowingStage external(ExternalLinks external)
- Specified by:
externalin interfaceSummary.ExternalStage
-
following
public Summary.IsFollowingMeStage following(boolean following)
Whether or not the requestee's identity is following this identity.
- Specified by:
followingin interfaceSummary.FollowingStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isFollowingMe
public Summary.IsMutualFollowingStage isFollowingMe(boolean isFollowingMe)
Whether or not this identity is both followng and is followed by the requestee's identity.
- Specified by:
isFollowingMein interfaceSummary.IsFollowingMeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isMutualFollowing
public Summary._FinalStage isMutualFollowing(boolean isMutualFollowing)
- Specified by:
isMutualFollowingin interfaceSummary.IsMutualFollowingStage
-
presence
public Summary._FinalStage presence(Presence presence)
- Specified by:
presencein interfaceSummary._FinalStage
-
presence
public Summary._FinalStage presence(java.util.Optional<Presence> presence)
- Specified by:
presencein interfaceSummary._FinalStage
-
build
public Summary build()
- Specified by:
buildin interfaceSummary._FinalStage
-
-