A C# Wrapper for the Booru Image Boards.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Booru.Net/Booru.Net/Models/Boards/E621Image.cs

23 lines
626 B

using Booru.Net.Converters;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Booru.Net
{
public class E621Image : BooruImage
{
[JsonProperty("score")]
public E621Score Score { get; set; }
[JsonProperty("directory")]
public string Directory { get; set; }
[JsonProperty("tags")]
[JsonConverter(typeof(TagGroupConverter))]
private List<Dictionary<string, List<string>>> PTags { get; set; }
public IReadOnlyList<Dictionary<string, List<string>>> Tags { get { return PTags.AsReadOnly(); } }
public override string PostUrl { get { return "https://e621.net/post/show/" + ID; } }
}
}