Class AttachmentContainer<T>
The attachment needs to be uploaded as a multi-part request
Inheritance
System.Object
AttachmentContainer<T>
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
[HttpRequest(MultiPart = true)]
public class AttachmentContainer<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceContent
The actual content for the attachment
Declaration
[HttpPart(HttpParts.RequestContent)]
public T Content { get; set; }
Property Value
Type | Description |
---|---|
T |
ContentName
The name of the content, this is always "file"
Declaration
[HttpPart(HttpParts.RequestMultipartName)]
public string ContentName { get; }
Property Value
Type | Description |
---|---|
System.String |
ContentType
The (mime) type for the content
Declaration
[HttpPart(HttpParts.RequestContentType)]
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Filename for the attachment
Declaration
[HttpPart(HttpParts.RequestMultipartFilename)]
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |