Class User
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.User
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 UserDetailsprotected StringThe displays name of the user.protected StringThe email address of the user.protected Expandable5C5D70protected 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()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 Expandable, Map<String, Object> Links) Constructs a validated instance ofUser.Constructs a validated instance ofUser. -
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.The account type of the user, may return empty string if unavailable.accountType(String accountType) The account type of the user, may return empty string if unavailable.protected booleandetails()details(UserDetails details) The displays name of the user.displayName(String displayName) The displays name of the user.email()The email address of the user.The email address of the user.booleanExpandable(Expandable5C5D70 Expandable) This is deprecated.externalCollaborator(Boolean externalCollaborator) This is deprecated.inthashCode()This is deprecated.isExternalCollaborator(Boolean isExternalCollaborator) This is deprecated.isGuest()Whether the user is a guest userWhether the user is a guest userLinks()operations(List<OperationCheckResult> operations) personalSpace(Space personalSpace) This object represents an icon.profilePicture(Icon profilePicture) This object represents an icon.The public name or nickname of the user.publicName(String publicName) The public name or nickname of the user.timeZone()This displays user time zone.This displays user time zone.toString()type()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
-
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
-
Expandable
-
Links
-
-
Constructor Details
-
User
Constructs a validated instance ofUser.- Parameters:
spec- the specification to process
-
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 Expandable, Map<String, Object> Links) 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- personalSpaceExpandable- ExpandableLinks- Links
-
User
protected User()
-
-
Method 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
-
Expandable
-
Links
-
type
- 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.
-
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:
this.
-
email
The email address of the user. Depending on the user's privacy setting, this may return an empty string.- Returns:
this.
-
publicName
The public name or nickname of the user. Will always contain a value.- Returns:
this.
-
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:
this.
-
displayName
The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.- Returns:
this.
-
timeZone
This displays user time zone. Depending on the user's privacy setting, this may return null.- Returns:
this.
-
externalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.- Returns:
this.
-
isExternalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.- Returns:
this.
-
isGuest
Whether the user is a guest user- Returns:
this.
-
operations
- Returns:
this.
-
details
- Returns:
this.
-
personalSpace
- Returns:
this.
-
Expandable
- Returns:
this.
-
Links
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-