-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackageSpec.cs
40 lines (34 loc) · 1.1 KB
/
PackageSpec.cs
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
using System;
using System.Collections.Generic;
using System.Text;
namespace DMPackageManager.Api.Models {
/// <summary>
/// Package specification to be returned by the API
/// </summary>
public class PackageSpec {
/// <summary>
/// Name of the package
/// </summary>
public string package_name { get; set; }
/// <summary>
/// Description of the package
/// </summary>
public string package_desc { get; set; }
/// <summary>
/// Latest version of the package
/// </summary>
public string latest_version { get; set; }
/// <summary>
/// UTC timestamp of when this package was first released
/// </summary>
public DateTime release_date { get; set; }
/// <summary>
/// UTC timestamp of when this package was last updated
/// </summary>
public DateTime update_date { get; set; }
/// <summary>
/// List of all versions this package has available
/// </summary>
public List<string> all_versions { get; set; }
}
}