Skip to main content

Class AttachmentEntity

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for AttachmentEntity. The Attachment carrier represent meta data for a Service attachment

Inheritance

objectCarrierAttachmentEntity

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Examples

Get AttachmentEntity 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new TicketAgent(configuration);
var attachmentEntity = agent.GetAttachmentEntity( 123 );

Constructors

AttachmentEntity()

Default constructor - defaults any enum props to 0.

Properties

AttSize

The size (in bytes) for the attachment.

Property Value

int

AttachmentId

The primary key (auto-incremented)

Property Value

int

AuthKey

The key used for authenticating access to this attachment.

Property Value

string

ContentId

The content_id of this attachment, used for inline images

Property Value

string

ContentType

The content type for the attachment (e.g. 'applaction/octet-stream' or 'application/vnd.openxmlformats-officedocument.wordprocessingml.document').

Property Value

string

InlineImage

True if this attachment is inlined in the html_body.

Property Value

bool

IsSafeFileExtension

Is file considered to be safe (based on extension and settings)

Property Value

bool

Name

The filename for the attachment.

Property Value

string

See Also

TicketAgent