Class UserItem
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.UserItem
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 TypeMethodDescriptionThe account ID of the user, which uniquely identifies the user across all Atlassian products.The account ID of the user, which uniquely identifies the user across all Atlassian products.protected booleanbooleaninthashCode()toString()type()Set to 'known'.Set to 'known'.userKey()This property is no longer available and will be removed from the documentation soon.This property is no longer available and will be removed from the documentation soon.username()This property is no longer available and will be removed from the documentation soon.This property is no longer available and will be removed from the documentation soon.
-
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
Constructs a validated instance ofUserItem.- Parameters:
spec- the specification to process
-
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`.
-
UserItem
protected UserItem()
-
-
Method 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`. -
type
Set to 'known'.- Returns:
this.
-
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:
this.
-
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:
this.
-
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:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-