Class UserDetails.UserDetailsBuilder

java.lang.Object
io.github.primelib.jira4j.restv3.model.UserDetails.UserDetailsBuilder
Enclosing class:
UserDetails

public static class UserDetails.UserDetailsBuilder extends Object
  • Method Details

    • accountId

      public UserDetails.UserDetailsBuilder 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 UserDetails.UserDetailsBuilder 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

      public UserDetails.UserDetailsBuilder active(Boolean active)
      Whether the user is active.
      Returns:
      this.
    • avatarUrls

      public UserDetails.UserDetailsBuilder avatarUrls(UserAvatarUrls avatarUrls)
      Returns:
      this.
    • displayName

      public UserDetails.UserDetailsBuilder 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 UserDetails.UserDetailsBuilder 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 UserDetails.UserDetailsBuilder 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 UserDetails build()
    • toString

      public String toString()
      Overrides:
      toString in class Object