Interface IFileDetails
File data structure with details
Namespace: Unity.Cloud.Collaboration.Models.Abstractions
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public interface IFileDetails
Properties
ContentType
The file content type, MIME type if relevant.
Declaration
[DataMember(Name = "contentType", EmitDefaultValue = true)]
string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| string |
FilePath
The file path.
Declaration
[DataMember(Name = "filePath", EmitDefaultValue = true, IsRequired = true)]
string FilePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileSize
The file size.
Declaration
[DataMember(Name = "fileSize", EmitDefaultValue = true, IsRequired = true)]
long FileSize { get; }
Property Value
| Type | Description |
|---|---|
| long |
FileType
The file type.
Declaration
[DataMember(Name = "fileType", EmitDefaultValue = true)]
string FileType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Status of the attachment file. Possible values:
- Unknown: Unknown status.
- Draft: The file is in draft.
- Uploaded: The file has been uploaded.
Declaration
[DataMember(Name = "status", EmitDefaultValue = true, IsRequired = true)]
FileStatus Status { get; }
Property Value
| Type | Description |
|---|---|
| FileStatus |