java.lang.Object
io.github.primelib.jira4j.restv2.model.Avatar

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Avatar extends Object
Avatar
  • Felddetails

    • fileName

      protected String fileName
      The file name of the avatar icon. Returned for system avatars.
    • id

      protected String id
      The ID of the avatar.
    • isDeletable

      protected Boolean isDeletable
      Whether the avatar can be deleted.
    • isSelected

      protected Boolean isSelected
      Whether the avatar is used in Jira. For example, shown as a project's avatar.
    • isSystemAvatar

      protected Boolean isSystemAvatar
      Whether the avatar is a system avatar.
    • owner

      protected 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.
    • urls

      protected Map<String,URI> urls
      The list of avatar icon URLs.
  • Konstruktordetails

    • Avatar

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

      @Internal public Avatar(String fileName, String id, Boolean isDeletable, Boolean isSelected, Boolean isSystemAvatar, String owner, Map<String,URI> urls)
      Constructs a validated instance of Avatar.

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

      Parameter:
      fileName - The file name of the avatar icon. Returned for system avatars.
      id - The ID of the avatar.
      isDeletable - Whether the avatar can be deleted.
      isSelected - Whether the avatar is used in Jira. For example, shown as a project's avatar.
      isSystemAvatar - Whether the avatar is a system avatar.
      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.
      urls - The list of avatar icon URLs.
    • Avatar

      protected Avatar()
  • Methodendetails

    • builder

      public static Avatar.AvatarBuilder builder()
    • fileName

      public String fileName()
      The file name of the avatar icon. Returned for system avatars.
    • id

      public String id()
      The ID of the avatar.
    • isDeletable

      public Boolean isDeletable()
      Whether the avatar can be deleted.
    • isSelected

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

      public Boolean isSystemAvatar()
      Whether the avatar is a system avatar.
    • owner

      public 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.
    • urls

      public Map<String,URI> urls()
      The list of avatar icon URLs.
    • fileName

      public Avatar fileName(String fileName)
      The file name of the avatar icon. Returned for system avatars.
      Gibt zurück:
      this.
    • id

      public Avatar id(String id)
      The ID of the avatar.
      Gibt zurück:
      this.
    • isDeletable

      public Avatar isDeletable(Boolean isDeletable)
      Whether the avatar can be deleted.
      Gibt zurück:
      this.
    • isSelected

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

      public Avatar isSystemAvatar(Boolean isSystemAvatar)
      Whether the avatar is a system avatar.
      Gibt zurück:
      this.
    • owner

      public Avatar 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.
      Gibt zurück:
      this.
    • urls

      public Avatar urls(Map<String,URI> urls)
      The list of avatar icon URLs.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object