Class Avatar.AvatarBuilder

java.lang.Object
io.github.primelib.jira4j.restv2.model.Avatar.AvatarBuilder
Enclosing class:
Avatar

public static class Avatar.AvatarBuilder extends Object
  • Method Details

    • fileName

      public Avatar.AvatarBuilder fileName(String fileName)
      The file name of the avatar icon. Returned for system avatars.
      Returns:
      this.
    • id

      public Avatar.AvatarBuilder id(String id)
      The ID of the avatar.
      Returns:
      this.
    • isDeletable

      public Avatar.AvatarBuilder isDeletable(Boolean isDeletable)
      Whether the avatar can be deleted.
      Returns:
      this.
    • isSelected

      public Avatar.AvatarBuilder isSelected(Boolean isSelected)
      Whether the avatar is used in Jira. For example, shown as a project's avatar.
      Returns:
      this.
    • isSystemAvatar

      public Avatar.AvatarBuilder isSystemAvatar(Boolean isSystemAvatar)
      Whether the avatar is a system avatar.
      Returns:
      this.
    • owner

      public Avatar.AvatarBuilder owner(String owner)
      The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars this is the appropriate identifier, such as the ID for a project or the account ID for a user.
      Returns:
      this.
    • urls

      public Avatar.AvatarBuilder urls(Map<String,URI> urls)
      The list of avatar icon URLs.
      Returns:
      this.
    • build

      public Avatar build()
    • toString

      public String toString()
      Overrides:
      toString in class Object