26 lines
563 B
C#
26 lines
563 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using isnd.Interfaces;
|
|
using isnd.Data.Catalog;
|
|
|
|
namespace isnd.Data.Packages.Catalog
|
|
{
|
|
public class CatalogIndex : IObject
|
|
{
|
|
[JsonProperty("@id")]
|
|
public string Id { get; set ; }
|
|
|
|
[JsonProperty("items")]
|
|
public List<PageRef> Items { get; set; }
|
|
|
|
|
|
[JsonProperty("count")]
|
|
public int Count { get => Items?.Count ?? 0; }
|
|
public string CommitId { get; set; }
|
|
public DateTime CommitTimeStamp { get; set; }
|
|
|
|
}
|
|
|
|
|
|
} |