Class Avatar
java.lang.Object
io.github.primelib.jira4j.restv2.model.Avatar
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Avatar
extends Object
Avatar
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe file name of the avatar icon.protected StringThe ID of the avatar.protected BooleanWhether the avatar can be deleted.protected BooleanWhether the avatar is used in Jira.protected BooleanWhether the avatar is a system avatar.protected StringThe owner of the avatar.The list of avatar icon URLs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Avatar.AvatarBuilderbuilder()protected booleanbooleanfileName()The file name of the avatar icon.The file name of the avatar icon.inthashCode()id()The ID of the avatar.The ID of the avatar.Whether the avatar can be deleted.isDeletable(Boolean isDeletable) Whether the avatar can be deleted.Whether the avatar is used in Jira.isSelected(Boolean isSelected) Whether the avatar is used in Jira.Whether the avatar is a system avatar.isSystemAvatar(Boolean isSystemAvatar) Whether the avatar is a system avatar.owner()The owner of the avatar.The owner of the avatar.toString()urls()The list of avatar icon URLs.The list of avatar icon URLs.
-
Field Details
-
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.
-
-
Constructor Details
-
Avatar
Constructs a validated instance ofAvatar.- Parameters:
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 ofAvatar.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Avatar(Consumer)instead.- Parameters:
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()
-
-
Method Details
-
builder
-
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. -
fileName
The file name of the avatar icon. Returned for system avatars.- Returns:
this.
-
id
The ID of the avatar.- Returns:
this.
-
isDeletable
Whether the avatar can be deleted.- Returns:
this.
-
isSelected
Whether the avatar is used in Jira. For example, shown as a project's avatar.- Returns:
this.
-
isSystemAvatar
Whether the avatar is a system avatar.- Returns:
this.
-
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
The list of avatar icon URLs.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-