This commit is contained in:
Paul Schneider 2021-08-23 03:21:08 +01:00
commit cdb9a26d2c
16 changed files with 301 additions and 59 deletions

View file

@ -0,0 +1,34 @@
using System;
using Newtonsoft.Json;
namespace isnd.Data.Catalog
{
/// <summary>
/// An presence of package in a catalog,
/// for availability, or deletion,
///
/// </summary>
public class PackageRef : IObject
{
[JsonProperty("@id")]
public string RefId { get; set; }
/// <summary>
/// Reference type :
/// nuget:PackageDetails vs nuget:PackageDelete
/// </summary>
/// <value></value>
[JsonProperty("@type")]
public string RefType { get; set; }
[JsonProperty("nuget:id")]
public string Id { get; set; }
[JsonProperty("nuget:version")]
public string Version { get; set; }
public string CommitId { get; set; }
public DateTime CommitTimeStamp { get; set; }
}
}