Class Author

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 protected Author()
      Protected no-args constructor for use by serialization frameworks.
    • 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.
  • Method Details

    • type

      public String type()
      Fluent getter for type.
      Returns:
      type
    • type

      public Author type(String type)
      Fluent setter for type.
      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.
      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.
      Parameters:
      type - type
    • displayName

      public String displayName()
      Fluent getter for displayName.
      Returns:
      displayName
    • displayName

      public Author displayName(String displayName)
      Fluent setter for displayName.
      Parameters:
      displayName - displayName
      Returns:
      this
    • getDisplayName

      public String getDisplayName()
      Gets the value of displayName.
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
      Sets the value of displayName.
      Parameters:
      displayName - displayName
    • operations

      public Object operations()
      Fluent getter for operations.
      Returns:
      operations
    • operations

      public Author operations(Object operations)
      Fluent setter for operations.
      Parameters:
      operations - operations
      Returns:
      this
    • getOperations

      public Object getOperations()
      Gets the value of operations.
      Returns:
      operations
    • setOperations

      public void setOperations(Object operations)
      Sets the value of operations.
      Parameters:
      operations - operations
    • username

      public String username()
      Fluent getter for 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:
      username
    • username

      public Author username(String username)
      Fluent setter for 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.

      Parameters:
      username - username
      Returns:
      this
    • getUsername

      public String getUsername()
      Gets the value of 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:
      username
    • setUsername

      public void setUsername(String username)
      Sets the value of 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.

      Parameters:
      username - username
    • userKey

      public String userKey()
      Fluent getter for 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:
      userKey
    • userKey

      public Author userKey(String userKey)
      Fluent setter for 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.

      Parameters:
      userKey - userKey
      Returns:
      this
    • getUserKey

      public String getUserKey()
      Gets the value of 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:
      userKey
    • setUserKey

      public void setUserKey(String userKey)
      Sets the value of 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.

      Parameters:
      userKey - userKey
    • accountId

      public String accountId()
      Fluent getter for 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:
      accountId
    • accountId

      public Author accountId(String accountId)
      Fluent setter for accountId.

      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.

      Parameters:
      accountId - accountId
      Returns:
      this
    • getAccountId

      public String getAccountId()
      Gets the value of 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:
      accountId
    • setAccountId

      public void setAccountId(String accountId)
      Sets the value of accountId.

      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.

      Parameters:
      accountId - accountId
    • accountType

      public String accountType()
      Fluent getter for accountType.
      Returns:
      accountType
    • accountType

      public Author accountType(String accountType)
      Fluent setter for accountType.
      Parameters:
      accountType - accountType
      Returns:
      this
    • getAccountType

      public String getAccountType()
      Gets the value of accountType.
      Returns:
      accountType
    • setAccountType

      public void setAccountType(String accountType)
      Sets the value of accountType.
      Parameters:
      accountType - accountType
    • externalCollaborator

      public Boolean externalCollaborator()
      Fluent getter for externalCollaborator.

      This is deprecated. Use `isGuest` instead.

      Returns:
      externalCollaborator
    • externalCollaborator

      public Author externalCollaborator(Boolean externalCollaborator)
      Fluent setter for externalCollaborator.

      This is deprecated. Use `isGuest` instead.

      Parameters:
      externalCollaborator - externalCollaborator
      Returns:
      this
    • getExternalCollaborator

      public Boolean getExternalCollaborator()
      Gets the value of externalCollaborator.

      This is deprecated. Use `isGuest` instead.

      Returns:
      externalCollaborator
    • setExternalCollaborator

      public void setExternalCollaborator(Boolean externalCollaborator)
      Sets the value of externalCollaborator.

      This is deprecated. Use `isGuest` instead.

      Parameters:
      externalCollaborator - externalCollaborator
    • isExternalCollaborator

      public Boolean isExternalCollaborator()
      Fluent getter for isExternalCollaborator.

      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user

      Returns:
      isExternalCollaborator
    • isExternalCollaborator

      public Author isExternalCollaborator(Boolean isExternalCollaborator)
      Fluent setter for isExternalCollaborator.

      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user

      Parameters:
      isExternalCollaborator - isExternalCollaborator
      Returns:
      this
    • getIsExternalCollaborator

      public Boolean getIsExternalCollaborator()
      Gets the value of isExternalCollaborator.

      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user

      Returns:
      isExternalCollaborator
    • setIsExternalCollaborator

      public void setIsExternalCollaborator(Boolean isExternalCollaborator)
      Sets the value of isExternalCollaborator.

      This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user

      Parameters:
      isExternalCollaborator - isExternalCollaborator
    • isGuest

      public Boolean isGuest()
      Fluent getter for isGuest.

      Whether the user is a guest user

      Returns:
      isGuest
    • isGuest

      public Author isGuest(Boolean isGuest)
      Fluent setter for isGuest.

      Whether the user is a guest user

      Parameters:
      isGuest - isGuest
      Returns:
      this
    • getIsGuest

      public Boolean getIsGuest()
      Gets the value of isGuest.

      Whether the user is a guest user

      Returns:
      isGuest
    • setIsGuest

      public void setIsGuest(Boolean isGuest)
      Sets the value of isGuest.

      Whether the user is a guest user

      Parameters:
      isGuest - isGuest
    • publicName

      public String publicName()
      Fluent getter for publicName.

      The public name or nickname of the user. Will always contain a value.

      Returns:
      publicName
    • publicName

      public Author publicName(String publicName)
      Fluent setter for publicName.

      The public name or nickname of the user. Will always contain a value.

      Parameters:
      publicName - publicName
      Returns:
      this
    • getPublicName

      public String getPublicName()
      Gets the value of publicName.

      The public name or nickname of the user. Will always contain a value.

      Returns:
      publicName
    • setPublicName

      public void setPublicName(String publicName)
      Sets the value of publicName.

      The public name or nickname of the user. Will always contain a value.

      Parameters:
      publicName - publicName
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object