Class RequestFileDetails
Implementation of an interface to create file data structure for an attachment request
Implements
Inherited Members
Namespace: Unity.Cloud.Collaboration.Models.Abstractions
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public class RequestFileDetails : IRequestFileDetails
Constructors
RequestFileDetails(long?, string, string)
Initializes a new instance of the FileDetails class.
Declaration
public RequestFileDetails(long? fileSize, string fileType = null, string contentType = null)
Parameters
| Type | Name | Description |
|---|---|---|
| long? | fileSize | The file size (required). |
| string | fileType | The file type. |
| string | contentType | The file content type, MIME type if relevant. |
Properties
ContentType
The file content type, MIME type if relevant.
Declaration
public string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileSize
The file size.
Declaration
public long FileSize { get; }
Property Value
| Type | Description |
|---|---|
| long |
FileType
The file type.
Declaration
public string FileType { get; }
Property Value
| Type | Description |
|---|---|
| string |