java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.WatchUser

@Generated("io.github.primelib.primecodegen") public class WatchUser extends Object
WatchUser

This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).

  • Field Details

    • type

      protected String type
    • username

      protected String 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

      protected String 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

      protected String 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

      protected Icon 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

      protected String displayName
    • timeZone

      protected String timeZone
    • operations

      protected List<OperationCheckResult> operations
    • externalCollaborator

      protected Boolean externalCollaborator
    • isGuest

      protected Boolean isGuest
    • isExternalCollaborator

      protected Boolean isExternalCollaborator
    • details

      protected UserDetails details
    • accountType

      protected String accountType
    • email

      protected String email
    • publicName

      protected String publicName
    • personalSpace

      protected Object personalSpace
  • Constructor Details

    • WatchUser

      public WatchUser(Consumer<WatchUser> spec)
      Constructs a validated instance of WatchUser.
      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 of WatchUser.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using WatchUser(Consumer) instead.

      Parameters:
      type - 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 - displayName
      timeZone - timeZone
      operations - operations
      externalCollaborator - externalCollaborator
      isGuest - isGuest
      isExternalCollaborator - isExternalCollaborator
      details - details
      accountType - accountType
      email - email
      publicName - publicName
      personalSpace - personalSpace
    • WatchUser

      protected WatchUser()
  • Method Details

    • type

      public String type()
    • username

      public String 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

      public String 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

      public String 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

      public Icon 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

      public String displayName()
    • timeZone

      public String timeZone()
    • operations

      public List<OperationCheckResult> operations()
    • externalCollaborator

      public Boolean externalCollaborator()
    • isGuest

      public Boolean isGuest()
    • isExternalCollaborator

      public Boolean isExternalCollaborator()
    • details

      public UserDetails details()
    • accountType

      public String accountType()
    • email

      public String email()
    • publicName

      public String publicName()
    • personalSpace

      public Object personalSpace()
    • type

      public WatchUser type(String type)
      Returns:
      this.
    • username

      public WatchUser username(String 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

      public WatchUser userKey(String 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

      public WatchUser accountId(String 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

      public WatchUser profilePicture(Icon 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

      public WatchUser displayName(String displayName)
      Returns:
      this.
    • timeZone

      public WatchUser timeZone(String timeZone)
      Returns:
      this.
    • operations

      public WatchUser operations(List<OperationCheckResult> operations)
      Returns:
      this.
    • externalCollaborator

      public WatchUser externalCollaborator(Boolean externalCollaborator)
      Returns:
      this.
    • isGuest

      public WatchUser isGuest(Boolean isGuest)
      Returns:
      this.
    • isExternalCollaborator

      public WatchUser isExternalCollaborator(Boolean isExternalCollaborator)
      Returns:
      this.
    • details

      public WatchUser details(UserDetails details)
      Returns:
      this.
    • accountType

      public WatchUser accountType(String accountType)
      Returns:
      this.
    • email

      public WatchUser email(String email)
      Returns:
      this.
    • publicName

      public WatchUser publicName(String publicName)
      Returns:
      this.
    • personalSpace

      public WatchUser personalSpace(Object personalSpace)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object