Class AttachmentViewJsonDto

java.lang.Object
com.atlassian.jira.issue.fields.rest.json.dto.AttachmentViewJsonDto

@Immutable public class AttachmentViewJsonDto extends Object
A Data Transfer Object used for serving information that are required for attachment presentation
Since:
v6.5
  • Method Details

    • getId

      public long getId()
    • isLatest

      public boolean isLatest()
    • isDeletable

      public boolean isDeletable()
    • isExpandable

      public boolean isExpandable()
    • getThumbnailUrl

      public URI getThumbnailUrl()
    • getThumbnailWidth

      public int getThumbnailWidth()
    • getThumbnailHeight

      public int getThumbnailHeight()
    • getAttachmentUrl

      public URI getAttachmentUrl()
    • getAuthorDisplayName

      public String getAuthorDisplayName()
    • getAuthorKey

      public String getAuthorKey()
    • getFileSize

      public String getFileSize()
    • getFileName

      public String getFileName()
    • getMimeType

      public String getMimeType()
    • getCreatedIso8601

      public org.joda.time.ReadableInstant getCreatedIso8601()
    • getCreatedDateTime

      public String getCreatedDateTime()
    • isImageFileType

      public boolean isImageFileType()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object