Class UserItem
A user that the restriction will be applied to. Either the `username` or the `userKey` must be specified to identify the user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.protected StringSet to 'known'.protected 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for accountId.Fluent setter for accountId.booleanGets the value of accountId.getType()Gets the value of type.Gets the value of userKey.Gets the value of username.inthashCode()voidsetAccountId(String accountId) Sets the value of accountId.voidSets the value of type.voidsetUserKey(String userKey) Sets the value of userKey.voidsetUsername(String username) Sets the value of username.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
Set to 'known'. -
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`.
-
-
Constructor Details
-
UserItem
-
UserItem
@Internal protected UserItem()Protected no-args constructor for use by serialization frameworks. -
UserItem
Constructs a validated instance ofUserItem.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
UserItem(Consumer)instead.- Parameters:
type- Set to 'known'.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`.
-
-
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
-
equals
-
hashCode
-
toString
-