Class FileDetailsModel
File details model.
Inherited Members
Namespace: EduCATS.Data.Models
Assembly: EduCATS.dll
Syntax
public class FileDetailsModel
Properties
FileName
Encrypted file name.
Declaration
[JsonProperty("FileName")]
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Used to download from server. To get the real name use Name.
Examples
N5EB18181AAAA40768031A7E083FF4549.pdf
Id
File ID.
Declaration
[JsonProperty("Id")]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
Name
File name.
Declaration
[JsonProperty("Name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Examples
EduCATS documentation.pdf
PathName
Directory where file is stored.
Declaration
[JsonProperty("PathName")]
public string PathName { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Part of download path.
For example: PathName/FileName
.
Size
File size.
Declaration
[JsonProperty("Size")]
public int Size { get; set; }
Property Value
Type | Description |
---|---|
int |