Class AttachmentDescriptor
Constructors
constructor
- new AttachmentDescriptor(data, mediaType?, id?, filename?, format?, lastModTime?, byteCount?, description?): AttachmentDescriptor
-
Parameters
-
-
Optional
mediaType: string
-
id: string = ...
-
Optional
filename: string[]
-
Optional
format: string
-
Optional
lastModTime: string
-
Optional
byteCount: number
-
Optional
description: string
Properties
Optional
Readonly
byteCount
byteCount?: number
Optional
Readonly
description
description?: string
Optional
Readonly
filename
filename?: string[]
Optional
Readonly
format
format?: string
Readonly
id
id: string = ...
Optional
Readonly
lastModTime
lastModTime?: string
Optional
Readonly
mediaType
mediaType?: string
Methods
Static
build
- build<T>(payload, id?, mediaType?): AttachmentDescriptor
-
Parameters
-
payload: T
-
id: string = ...
-
mediaType: string = "application/json"