Class WatchUser
This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.protected Stringprotected UserDetailsprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected List<OperationCheckResult> protected Objectprotected IconThis object represents an icon.protected Stringprotected Stringprotected Stringprotected StringThis property is no longer available and will be removed from the documentation soon.protected StringThis property is no longer available and will be removed from the documentation soon. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.WatchUser(String type, String username, String userKey, String accountId, Icon profilePicture, String displayName, String timeZone, List<OperationCheckResult> operations, Boolean externalCollaborator, Boolean isGuest, Boolean isExternalCollaborator, UserDetails details, String accountType, String email, String publicName, Object personalSpace) Constructs a validated instance ofWatchUser.Constructs a validated instance ofWatchUser. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for accountId.Fluent setter for accountId.Fluent getter for accountType.accountType(String accountType) Fluent setter for accountType.details()Fluent getter for details.details(UserDetails details) Fluent setter for details.Fluent getter for displayName.displayName(String displayName) Fluent setter for displayName.email()Fluent getter for email.Fluent setter for email.booleanFluent getter for externalCollaborator.externalCollaborator(Boolean externalCollaborator) Fluent setter for externalCollaborator.Gets the value of accountId.Gets the value of accountType.Gets the value of details.Gets the value of displayName.getEmail()Gets the value of email.Gets the value of externalCollaborator.Gets the value of isExternalCollaborator.Gets the value of isGuest.Gets the value of operations.Gets the value of personalSpace.Gets the value of profilePicture.Gets the value of publicName.Gets the value of timeZone.getType()Gets the value of type.Gets the value of userKey.Gets the value of username.inthashCode()Fluent getter for isExternalCollaborator.isExternalCollaborator(Boolean isExternalCollaborator) Fluent setter for isExternalCollaborator.isGuest()Fluent getter for isGuest.Fluent setter for isGuest.Fluent getter for operations.operations(List<OperationCheckResult> operations) Fluent setter for operations.Fluent getter for personalSpace.personalSpace(Object personalSpace) Fluent setter for personalSpace.Fluent getter for profilePicture.profilePicture(Icon profilePicture) Fluent setter for profilePicture.Fluent getter for publicName.publicName(String publicName) Fluent setter for publicName.voidsetAccountId(String accountId) Sets the value of accountId.voidsetAccountType(String accountType) Sets the value of accountType.voidsetDetails(UserDetails details) Sets the value of details.voidsetDisplayName(String displayName) Sets the value of displayName.voidSets the value of email.voidsetExternalCollaborator(Boolean externalCollaborator) Sets the value of externalCollaborator.voidsetIsExternalCollaborator(Boolean isExternalCollaborator) Sets the value of isExternalCollaborator.voidsetIsGuest(Boolean isGuest) Sets the value of isGuest.voidsetOperations(List<OperationCheckResult> operations) Sets the value of operations.voidsetPersonalSpace(Object personalSpace) Sets the value of personalSpace.voidsetProfilePicture(Icon profilePicture) Sets the value of profilePicture.voidsetPublicName(String publicName) Sets the value of publicName.voidsetTimeZone(String timeZone) Sets the value of timeZone.voidSets the value of type.voidsetUserKey(String userKey) Sets the value of userKey.voidsetUsername(String username) Sets the value of username.timeZone()Fluent getter for timeZone.Fluent setter for timeZone.toString()type()Fluent getter for type.Fluent setter for type.userKey()Fluent getter for userKey.Fluent setter for userKey.username()Fluent getter for username.Fluent setter for username.
-
Field Details
-
type
-
username
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
userKey
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`. -
profilePicture
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting. -
displayName
-
timeZone
-
operations
-
externalCollaborator
-
isGuest
-
isExternalCollaborator
-
details
-
accountType
-
email
-
publicName
-
personalSpace
-
-
Constructor Details
-
WatchUser
-
WatchUser
@Internal protected WatchUser()Protected no-args constructor for use by serialization frameworks. -
WatchUser
@Internal public WatchUser(String type, String username, String userKey, String accountId, Icon profilePicture, String displayName, String timeZone, List<OperationCheckResult> operations, Boolean externalCollaborator, Boolean isGuest, Boolean isExternalCollaborator, UserDetails details, String accountType, String email, String publicName, Object personalSpace) Constructs a validated instance ofWatchUser.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
WatchUser(Consumer)instead.- Parameters:
type- typeusername- This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.userKey- This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.accountId- The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.profilePicture- This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.displayName- displayNametimeZone- timeZoneoperations- operationsexternalCollaborator- externalCollaboratorisGuest- isGuestisExternalCollaborator- isExternalCollaboratordetails- detailsaccountType- accountTypeemail- emailpublicName- publicNamepersonalSpace- personalSpace
-
-
Method Details
-
type
-
type
-
getType
-
setType
-
username
Fluent getter for username.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Returns:
- username
-
username
Fluent setter for username.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Parameters:
username- username- Returns:
- this
-
getUsername
Gets the value of username.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Returns:
- username
-
setUsername
Sets the value of username.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Parameters:
username- username
-
userKey
Fluent getter for userKey.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Returns:
- userKey
-
userKey
Fluent setter for userKey.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Parameters:
userKey- userKey- Returns:
- this
-
getUserKey
Gets the value of userKey.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Returns:
- userKey
-
setUserKey
Sets the value of userKey.This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.
- Parameters:
userKey- userKey
-
accountId
Fluent getter for accountId.The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
- Returns:
- accountId
-
accountId
-
getAccountId
Gets the value of accountId.The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
- Returns:
- accountId
-
setAccountId
Sets the value of accountId.The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
- Parameters:
accountId- accountId
-
profilePicture
Fluent getter for profilePicture.This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
- Returns:
- profilePicture
-
profilePicture
-
getProfilePicture
Gets the value of profilePicture.This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
- Returns:
- profilePicture
-
setProfilePicture
Sets the value of profilePicture.This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
- Parameters:
profilePicture- profilePicture
-
displayName
-
displayName
-
getDisplayName
-
setDisplayName
Sets the value of displayName.- Parameters:
displayName- displayName
-
timeZone
-
timeZone
-
getTimeZone
-
setTimeZone
Sets the value of timeZone.- Parameters:
timeZone- timeZone
-
operations
-
operations
Fluent setter for operations.- Parameters:
operations- operations- Returns:
- this
-
getOperations
-
setOperations
Sets the value of operations.- Parameters:
operations- operations
-
externalCollaborator
Fluent getter for externalCollaborator.- Returns:
- externalCollaborator
-
externalCollaborator
-
getExternalCollaborator
Gets the value of externalCollaborator.- Returns:
- externalCollaborator
-
setExternalCollaborator
Sets the value of externalCollaborator.- Parameters:
externalCollaborator- externalCollaborator
-
isGuest
-
isGuest
-
getIsGuest
-
setIsGuest
-
isExternalCollaborator
Fluent getter for isExternalCollaborator.- Returns:
- isExternalCollaborator
-
isExternalCollaborator
-
getIsExternalCollaborator
Gets the value of isExternalCollaborator.- Returns:
- isExternalCollaborator
-
setIsExternalCollaborator
Sets the value of isExternalCollaborator.- Parameters:
isExternalCollaborator- isExternalCollaborator
-
details
-
details
Fluent setter for details.- Parameters:
details- details- Returns:
- this
-
getDetails
-
setDetails
Sets the value of details.- Parameters:
details- details
-
accountType
-
accountType
-
getAccountType
-
setAccountType
Sets the value of accountType.- Parameters:
accountType- accountType
-
email
-
email
-
getEmail
-
setEmail
-
publicName
-
publicName
-
getPublicName
-
setPublicName
Sets the value of publicName.- Parameters:
publicName- publicName
-
personalSpace
-
personalSpace
-
getPersonalSpace
-
setPersonalSpace
Sets the value of personalSpace.- Parameters:
personalSpace- personalSpace
-
equals
-
hashCode
-
toString
-