No release yet
This commit is contained in:
21
src/isn.abst/ApiIndexViewModel.cs
Normal file
21
src/isn.abst/ApiIndexViewModel.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using isnd.Data.Catalog;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace isn.Abstract
|
||||
{
|
||||
public class ApiIndexViewModel : HappyIdOwner
|
||||
{
|
||||
public ApiIndexViewModel(string id) : base(id)
|
||||
{
|
||||
}
|
||||
|
||||
[JsonProperty("@id")]
|
||||
public string Id { get => GetId(); }
|
||||
|
||||
[JsonProperty("version")]
|
||||
public string Version { get; set; }
|
||||
|
||||
[JsonProperty("resources")]
|
||||
public Resource[] Resources { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user