using System; using Newtonsoft.Json; namespace isnd.Data.Catalog { /// /// An presence of package in a catalog, /// for availability, or deletion, /// /// public class PackageRef : IObject { [JsonProperty("@id")] public string RefId { get; set; } /// /// Reference type : /// nuget:PackageDetails vs nuget:PackageDelete /// /// [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; } } }