2023-08-13 06:59:16 -04:00
|
|
|
namespace Smakolykytl2Epub.Models;
|
|
|
|
|
|
|
|
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
|
|
|
public class Book
|
|
|
|
{
|
|
|
|
public int id { get; set; }
|
|
|
|
public int rank { get; set; }
|
|
|
|
public string title { get; set; }
|
|
|
|
public List<Chapter> chapters { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class Chapter
|
|
|
|
{
|
|
|
|
public int id { get; set; }
|
|
|
|
public string title { get; set; }
|
|
|
|
public string rank { get; set; }
|
|
|
|
public string content { get; set; }
|
|
|
|
public DateTime modifiedAt { get; set; }
|
|
|
|
public List<object> images { get; set; }
|
|
|
|
public Book book { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class Books
|
|
|
|
{
|
|
|
|
public List<Book> books { get; set; }
|
2023-08-13 07:44:06 -04:00
|
|
|
}
|