2021-11-06 00:22:09 -04:00
|
|
|
using System;
|
|
|
|
namespace Sharpfall
|
|
|
|
{
|
2021-11-06 00:30:19 -04:00
|
|
|
//fyi: there's a Guid built in to .net. But it's not necessarily exactly identical to RFC4122's description of a uuid.
|
|
|
|
using UUID = System.String;
|
|
|
|
|
2021-11-06 00:22:09 -04:00
|
|
|
public class BulkDataList
|
|
|
|
{
|
|
|
|
public string @object { get; set; }
|
|
|
|
public string has_more { get; set; } = "";
|
|
|
|
public BulkMetaEntry[] data { get; set; }
|
|
|
|
}
|
|
|
|
public class BulkMetaEntry
|
|
|
|
{
|
|
|
|
public string @object { get; set; }
|
2021-11-06 00:30:19 -04:00
|
|
|
public UUID id { get; set; }
|
2021-11-06 00:22:09 -04:00
|
|
|
public string type { get; set; }
|
|
|
|
public DateTime updated_at { get; set; }
|
|
|
|
public Uri uri { get; set; }
|
|
|
|
public string name { get; set; }
|
|
|
|
public string description { get; set; }
|
|
|
|
public int compressed_size { get; set; }
|
|
|
|
public Uri download_uri { get; set; }
|
|
|
|
public string content_type { get; set; }
|
|
|
|
public string content_encoding { get; set; }
|
|
|
|
}
|
|
|
|
}
|