Class Attachment
Attachment information See: https://docs.atlassian.com/jira/REST/latest/#api/2/attachment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Dapplo.Jira.Entities
Assembly:Dapplo.Jira.dll
Syntax
[JsonObject]
public class Attachment : BaseProperties<long>
Properties
| Improve this Doc View SourceAuthor
Who created the attachment
Declaration
[JsonProperty(PropertyName = "author")]
public User Author { get; set; }
Property Value
Type | Description |
---|---|
User |
ContentUri
Url which can be used to download the attachment
Declaration
[JsonProperty(PropertyName = "content")]
public Uri ContentUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
Created
When was the attachment created
Declaration
[JsonProperty(PropertyName = "created")]
public DateTimeOffset? Created { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
Filename
Filename of the attachment
Declaration
[JsonProperty(PropertyName = "filename")]
public string Filename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MimeType
Mimetype for the attachment
Declaration
[JsonProperty(PropertyName = "mimeType")]
public string MimeType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Size
Size (in bytes) of the attachment
Declaration
[JsonProperty(PropertyName = "size")]
public long ? Size { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
ThumbnailUri
An URL to the thumbnail for this attachment
Declaration
[JsonProperty(PropertyName = "thumbnail")]
public Uri ThumbnailUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |