-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathServerItem.cs
More file actions
44 lines (37 loc) · 1.2 KB
/
ServerItem.cs
File metadata and controls
44 lines (37 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// ServerItem.cs, 10.06.2019
// Copyright (C) Dominic Beger 17.06.2019
using System;
namespace nUpdate.Administration.TransferInterface
{
public class ServerItem
{
public ServerItem(string name, string fullPath, long size, DateTime? modified, ServerItemType itemType)
{
Name = name;
FullPath = fullPath;
Size = size;
Modified = modified;
ItemType = itemType;
}
/// <summary>
/// Gets or sets the name of the item.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the full path.
/// </summary>
public string FullPath { get; set; }
/// <summary>
/// Gets or sets the size of the file or directory.
/// </summary>
public long Size { get; set; }
/// <summary>
/// Gets or sets the last modification date and time. Adjusted to from UTC (GMT) to local time.
/// </summary>
public DateTime? Modified { get; set; }
/// <summary>
/// Gets or sets the item type.
/// </summary>
public ServerItemType ItemType { get; set; }
}
}