# ConfluenceAttachmentUpload

Attachment data for Confluence's multipart upload endpoint.

Class 

`OfficeIMO.Confluence`

**Namespace**

`OfficeIMO.Confluence`

**Assembly**

`OfficeIMO.Confluence`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ConfluenceAttachments.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L48)

**Modifiers**

sealed

Attachment data for Confluence's multipart upload endpoint.

## Inheritance

- object
- ConfluenceAttachmentUpload

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [ConfluenceClient.UploadAttachmentAsync](/api/confluence/officeimo-confluence-confluenceclient/#method-uploadattachmentasync-string-officeimo-confluence-confluenceattachmentupload-threading-cancellationtoken) parameter `upload`

Filter members 

Show inherited

## Constructors

`public ConfluenceAttachmentUpload()` [#](#constructor-ctor)

[ConfluenceAttachments.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L48)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string FileName { get; set; }` [#](#property-filename)

[ConfluenceAttachments.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L48)

Gets or sets the required file name sent in the multipart upload.

`public string ContentType { get; set; }` [#](#property-contenttype)

[ConfluenceAttachments.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L50)

Gets or sets the file media type; a blank value is sent as application/octet-stream.

`public byte[] Content { get; set; }` [#](#property-content)

[ConfluenceAttachments.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L52)

Gets or sets the bytes to upload; the request model does not copy the array.

`public string? Comment { get; set; }` [#](#property-comment)

[ConfluenceAttachments.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L54)

Gets or sets an optional attachment comment, omitted when blank.

`public bool MinorEdit { get; set; }` [#](#property-minoredit)

[ConfluenceAttachments.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L56)

Gets or sets whether the upload is marked as a minor edit; defaults to true.

<!-- PowerForge markdown artifact sha256:7303FDCE14FFB50C4DBE3F6861D261E9C7B1CC504F2EA1E76690FF3F26B454B7 -->
