> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.AttachmentPreview

# <a id="SuperOffice_WebApi_Data_AttachmentPreview" /> Class AttachmentPreview

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for AttachmentPreview.
Service attachment data intended for preview purposes

```csharp theme={null}
public class AttachmentPreview : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[AttachmentPreview](SuperOffice.WebApi.Data.AttachmentPreview.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_AttachmentPreview__ctor" /> AttachmentPreview()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public AttachmentPreview()
```

## Properties

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_Content" /> Content

Attachment data

```csharp theme={null}
public virtual byte[] Content { get; set; }
```

#### Property Value

[byte](https://learn.microsoft.com/dotnet/api/system.byte)\[]

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_EmailAttachmentsInfo" /> EmailAttachmentsInfo

The attachments inside the attached RFC822 email. Empty array for non-RFC822 attachment

```csharp theme={null}
public virtual AttachmentEntity[] EmailAttachmentsInfo { get; set; }
```

#### Property Value

[AttachmentEntity](SuperOffice.WebApi.Data.AttachmentEntity.md)\[]

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_EmailCc" /> EmailCc

Cc field of the attached RFC822 email. Null for non-RFC822 attachment

```csharp theme={null}
public virtual string EmailCc { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_EmailDate" /> EmailDate

Date of the attached RFC822 email. Default DateTime value for non-RFC822 attachment

```csharp theme={null}
public virtual DateTime EmailDate { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_EmailFrom" /> EmailFrom

From field of the attached RFC822 email. Null for non-RFC822 attachment

```csharp theme={null}
public virtual string EmailFrom { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_EmailSubject" /> EmailSubject

Subject of the attached RFC822 email. Null for non-RFC822 attachment

```csharp theme={null}
public virtual string EmailSubject { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_EmailTo" /> EmailTo

To field of the attached RFC822 email. Null for non-RFC822 attachment

```csharp theme={null}
public virtual string EmailTo { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_MimeType" /> MimeType

The mimetype of the attachment

```csharp theme={null}
public virtual string MimeType { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_Name" /> Name

Name of the attachment file

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_AttachmentPreview_Size" /> Size

Size of the attachment in bytes

```csharp theme={null}
public virtual int Size { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

## See Also

[TicketAgent](SuperOffice.WebApi.Agents.TicketAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.ITicketAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ITicketAgent.md)
- [SuperOffice.WebApi.Agents.TicketAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.TicketAgent.md)
- [SuperOffice.WebApi.Data.Ticket GetAttachmentPreviewRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Ticket_GetAttachmentPreviewRequest.md)
- [SuperOffice.WebApi.Data.Ticket GetPreviewAttachmentStreamRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Ticket_GetPreviewAttachmentStreamRequest.md)
- [SuperOffice.WebApi.Data.EMail GetPreviewAttachmentFromIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_GetPreviewAttachmentFromIdRequest.md)
- [SuperOffice.WebApi.Data.EMail GetPreviewAttachmentFromDocIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_GetPreviewAttachmentFromDocIdRequest.md)
