Interface IUpdateFileAttachmentRequest
A request to update a file annotation attachment.
Inherited Members
Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public interface IUpdateFileAttachmentRequest : IUpdateAttachmentRequest
Properties
ContentType
The file content type, MIME type if relevant This should match the MIME type of the file if it exists. https://developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types"
Declaration
[DataMember(Name = "contentType", EmitDefaultValue = true)]
string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| string |
FilePath
A simple filename or a relative path to a target directory for the attachment Examples:
- "image.jpeg"
- "test/assets/image.jpeg"
Declaration
[DataMember(Name = "filePath", EmitDefaultValue = true)]
string FilePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileSize
The file size
Declaration
[DataMember(Name = "fileSize", EmitDefaultValue = true)]
long? FileSize { get; }
Property Value
| Type | Description |
|---|---|
| long? |
FileType
The file type Examples:
- "image"
- "video"
- "audio"
- "text"
- "3Dmodel"
- "Other"
Declaration
[DataMember(Name = "fileType", EmitDefaultValue = true)]
string FileType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Metadata for the Attachment
Declaration
[DataMember(Name = "metadata", EmitDefaultValue = true)]
Dictionary<string, object> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |