Class User
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.protected StringThe account type of the user, may return empty string if unavailable.protected Expandable5C5D70protected UserDetailsprotected StringThe displays name of the user.protected StringThe email address of the user.protected BooleanThis is deprecated.protected BooleanThis is deprecated.protected BooleanWhether the user is a guest userprotected List<OperationCheckResult> protected Spaceprotected IconThis object represents an icon.protected StringThe public name or nickname of the user.protected StringThis displays user time zone.protected 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
ConstructorsModifierConstructorDescriptionprotectedUser()Protected no-args constructor for use by serialization frameworks.User(String type, String username, String userKey, String accountId, String accountType, String email, String publicName, Icon profilePicture, String displayName, String timeZone, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, List<OperationCheckResult> operations, UserDetails details, Space personalSpace, Expandable5C5D70 additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofUser.Constructs a validated instance ofUser. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for accountId.Fluent setter for accountId.Fluent getter for accountType.accountType(String accountType) Fluent setter for accountType.Fluent getter for additionalExpandable.additionalExpandable(Expandable5C5D70 additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.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 additionalExpandable.Gets the value of additionalLinks.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(Space 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.voidsetAdditionalExpandable(Expandable5C5D70 additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.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(Space 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`. -
accountType
The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app. -
email
The email address of the user. Depending on the user's privacy setting, this may return an empty string. -
publicName
The public name or nickname of the user. Will always contain a value. -
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
The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName. -
timeZone
This displays user time zone. Depending on the user's privacy setting, this may return null. -
externalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user. -
isExternalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user. -
isGuest
Whether the user is a guest user -
operations
-
details
-
personalSpace
-
additionalExpandable
-
additionalLinks
-
-
Constructor Details
-
User
-
User
@Internal protected User()Protected no-args constructor for use by serialization frameworks. -
User
@Internal public User(String type, String username, String userKey, String accountId, String accountType, String email, String publicName, Icon profilePicture, String displayName, String timeZone, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, List<OperationCheckResult> operations, UserDetails details, Space personalSpace, Expandable5C5D70 additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofUser.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
User(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`.accountType- The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.email- The email address of the user. Depending on the user's privacy setting, this may return an empty string.publicName- The public name or nickname of the user. Will always contain a value.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- The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.timeZone- This displays user time zone. Depending on the user's privacy setting, this may return null.externalCollaborator- This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.isExternalCollaborator- This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.isGuest- Whether the user is a guest useroperations- operationsdetails- detailspersonalSpace- personalSpaceadditionalExpandable- additionalExpandableadditionalLinks- additionalLinks
-
-
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
-
accountType
Fluent getter for accountType.The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.
- Returns:
- accountType
-
accountType
-
getAccountType
Gets the value of accountType.The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.
- Returns:
- accountType
-
setAccountType
Sets the value of accountType.The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.
- Parameters:
accountType- accountType
-
email
Fluent getter for email.The email address of the user. Depending on the user's privacy setting, this may return an empty string.
- Returns:
-
email
-
getEmail
Gets the value of email.The email address of the user. Depending on the user's privacy setting, this may return an empty string.
- Returns:
-
setEmail
Sets the value of email.The email address of the user. Depending on the user's privacy setting, this may return an empty string.
- Parameters:
email- email
-
publicName
Fluent getter for publicName.The public name or nickname of the user. Will always contain a value.
- Returns:
- publicName
-
publicName
-
getPublicName
Gets the value of publicName.The public name or nickname of the user. Will always contain a value.
- Returns:
- publicName
-
setPublicName
Sets the value of publicName.The public name or nickname of the user. Will always contain a value.
- Parameters:
publicName- publicName
-
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
Fluent getter for displayName.The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
- Returns:
- displayName
-
displayName
-
getDisplayName
Gets the value of displayName.The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
- Returns:
- displayName
-
setDisplayName
Sets the value of displayName.The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
- Parameters:
displayName- displayName
-
timeZone
Fluent getter for timeZone.This displays user time zone. Depending on the user's privacy setting, this may return null.
- Returns:
- timeZone
-
timeZone
-
getTimeZone
Gets the value of timeZone.This displays user time zone. Depending on the user's privacy setting, this may return null.
- Returns:
- timeZone
-
setTimeZone
Sets the value of timeZone.This displays user time zone. Depending on the user's privacy setting, this may return null.
- Parameters:
timeZone- timeZone
-
externalCollaborator
Fluent getter for externalCollaborator.This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
- Returns:
- externalCollaborator
-
externalCollaborator
-
getExternalCollaborator
Gets the value of externalCollaborator.This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
- Returns:
- externalCollaborator
-
setExternalCollaborator
Sets the value of externalCollaborator.This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
- Parameters:
externalCollaborator- externalCollaborator
-
isExternalCollaborator
Fluent getter for isExternalCollaborator.This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
- Returns:
- isExternalCollaborator
-
isExternalCollaborator
-
getIsExternalCollaborator
Gets the value of isExternalCollaborator.This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
- Returns:
- isExternalCollaborator
-
setIsExternalCollaborator
Sets the value of isExternalCollaborator.This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
- Parameters:
isExternalCollaborator- isExternalCollaborator
-
isGuest
Fluent getter for isGuest.Whether the user is a guest user
- Returns:
- isGuest
-
isGuest
-
getIsGuest
Gets the value of isGuest.Whether the user is a guest user
- Returns:
- isGuest
-
setIsGuest
Sets the value of isGuest.Whether the user is a guest user
- Parameters:
isGuest- isGuest
-
operations
-
operations
Fluent setter for operations.- Parameters:
operations- operations- Returns:
- this
-
getOperations
-
setOperations
Sets the value of operations.- Parameters:
operations- operations
-
details
-
details
Fluent setter for details.- Parameters:
details- details- Returns:
- this
-
getDetails
-
setDetails
Sets the value of details.- Parameters:
details- details
-
personalSpace
-
personalSpace
-
getPersonalSpace
-
setPersonalSpace
Sets the value of personalSpace.- Parameters:
personalSpace- personalSpace
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
additionalLinks
-
additionalLinks
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-