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

@Generated("io.github.primelib.primecodegen") public class Author extends Object
Author
  • Field Details

    • type

      protected String type
    • displayName

      protected String displayName
    • operations

      protected Object operations
    • 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`.
    • accountType

      protected String accountType
    • externalCollaborator

      protected Boolean externalCollaborator
      This is deprecated. Use `isGuest` instead.
    • isExternalCollaborator

      protected Boolean isExternalCollaborator
      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user
    • isGuest

      protected Boolean isGuest
      Whether the user is a guest user
    • publicName

      protected String publicName
      The public name or nickname of the user. Will always contain a value.
  • Constructor Details

    • Author

      public Author(Consumer<Author> spec)
      Constructs a validated instance of Author.
      Parameters:
      spec - the specification to process
    • Author

      @Internal public Author(String type, String displayName, Object operations, String username, String userKey, String accountId, String accountType, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, String publicName)
      Constructs a validated instance of Author.

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

      Parameters:
      type - type
      displayName - displayName
      operations - operations
      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 - accountType
      externalCollaborator - This is deprecated. Use `isGuest` instead.
      isExternalCollaborator - This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user
      isGuest - Whether the user is a guest user
      publicName - The public name or nickname of the user. Will always contain a value.
    • Author

      protected Author()
  • Method Details

    • type

      public String type()
    • displayName

      public String displayName()
    • operations

      public Object operations()
    • 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`.
    • accountType

      public String accountType()
    • externalCollaborator

      public Boolean externalCollaborator()
      This is deprecated. Use `isGuest` instead.
    • isExternalCollaborator

      public Boolean isExternalCollaborator()
      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user
    • isGuest

      public Boolean isGuest()
      Whether the user is a guest user
    • publicName

      public String publicName()
      The public name or nickname of the user. Will always contain a value.
    • type

      public Author type(String type)
      Returns:
      this.
    • displayName

      public Author displayName(String displayName)
      Returns:
      this.
    • operations

      public Author operations(Object operations)
      Returns:
      this.
    • username

      public Author 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 Author 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 Author 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.
    • accountType

      public Author accountType(String accountType)
      Returns:
      this.
    • externalCollaborator

      public Author externalCollaborator(Boolean externalCollaborator)
      This is deprecated. Use `isGuest` instead.
      Returns:
      this.
    • isExternalCollaborator

      public Author isExternalCollaborator(Boolean isExternalCollaborator)
      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user
      Returns:
      this.
    • isGuest

      public Author isGuest(Boolean isGuest)
      Whether the user is a guest user
      Returns:
      this.
    • publicName

      public Author publicName(String publicName)
      The public name or nickname of the user. Will always contain a value.
      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