38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
|
|
using System;
|
||
|
|
using Newtonsoft.Json;
|
||
|
|
|
||
|
|
namespace isnd.Controllers
|
||
|
|
{
|
||
|
|
public class CatalogRegistration
|
||
|
|
{
|
||
|
|
[JsonProperty("@id")]
|
||
|
|
public string Id { get; set; }
|
||
|
|
|
||
|
|
|
||
|
|
/*
|
||
|
|
"@id": "https://api.nuget.org/v3/registration3/nuget.versioning/4.3.0.json",
|
||
|
|
"catalogEntry": "https://api.nuget.org/v3/catalog0/data/2017.08.11.18.24.22/nuget.versioning.4.3.0.json",
|
||
|
|
"listed": true,
|
||
|
|
"packageContent": "https://api.nuget.org/v3-flatcontainer/nuget.versioning/4.3.0/nuget.versioning.4.3.0.nupkg",
|
||
|
|
"published": "2017-08-11T18:24:14.36+00:00",
|
||
|
|
"registration": "https://api.nuget.org/v3/registration3/nuget.versioning/index.json"
|
||
|
|
|
||
|
|
|
||
|
|
*/
|
||
|
|
[JsonProperty("catalogEntry")]
|
||
|
|
public string CatalogEntry { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("listed")]
|
||
|
|
public bool Listed { get; set; } = true;
|
||
|
|
|
||
|
|
[JsonProperty("packageContent")]
|
||
|
|
public string PackageContent { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("published")]
|
||
|
|
public DateTime CommitTimeStamp { get; set; }
|
||
|
|
|
||
|
|
[JsonProperty("registration")]
|
||
|
|
public string registration { get; set; }
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|