Class WatchUser
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.WatchUser
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
ConstructorsModifierConstructorDescriptionprotectedWatchUser(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 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.accountType(String accountType) protected booleandetails()details(UserDetails details) displayName(String displayName) email()booleanexternalCollaborator(Boolean externalCollaborator) inthashCode()isExternalCollaborator(Boolean isExternalCollaborator) isGuest()operations(List<OperationCheckResult> operations) personalSpace(Object personalSpace) This object represents an icon.profilePicture(Icon profilePicture) This object represents an icon.publicName(String publicName) timeZone()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`. -
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
Constructs a validated instance ofWatchUser.- Parameters:
spec- the specification to process
-
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
-
WatchUser
protected WatchUser()
-
-
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`. -
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
-
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.
-
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
- Returns:
this.
-
timeZone
- Returns:
this.
-
operations
- Returns:
this.
-
externalCollaborator
- Returns:
this.
-
isGuest
- Returns:
this.
-
isExternalCollaborator
- Returns:
this.
-
details
- Returns:
this.
-
accountType
- Returns:
this.
-
email
- Returns:
this.
-
publicName
- Returns:
this.
-
personalSpace
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-