Class CommentAuthor.CommentAuthorBuilder

java.lang.Object
io.github.primelib.jira4j.restv2.model.CommentAuthor.CommentAuthorBuilder
Enclosing class:
CommentAuthor

public static class CommentAuthor.CommentAuthorBuilder extends Object
  • Method Details

    • accountId

      public CommentAuthor.CommentAuthorBuilder accountId(String accountId)
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
      Returns:
      this.
    • accountType

      public CommentAuthor.CommentAuthorBuilder accountType(String accountType)
      The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)
      Returns:
      this.
    • active

      Whether the user is active.
      Returns:
      this.
    • avatarUrls

      public CommentAuthor.CommentAuthorBuilder avatarUrls(UserAvatarUrls avatarUrls)
      Returns:
      this.
    • displayName

      public CommentAuthor.CommentAuthorBuilder displayName(String displayName)
      The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
      Returns:
      this.
    • emailAddress

      public CommentAuthor.CommentAuthorBuilder emailAddress(String emailAddress)
      The email address of the user. Depending on the user’s privacy settings, this may be returned as null.
      Returns:
      this.
    • key

      This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
      Returns:
      this.
    • name

      This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
      Returns:
      this.
    • self

      The URL of the user.
      Returns:
      this.
    • timeZone

      public CommentAuthor.CommentAuthorBuilder timeZone(String timeZone)
      The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.
      Returns:
      this.
    • build

      public CommentAuthor build()
    • toString

      public String toString()
      Overrides:
      toString in class Object