Acidmanic's picture
Add C# models
7d0afa7
raw
history blame contribute delete
665 Bytes
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace Crawler.Models;
public class Comment
{
public long Id { get; set; }
public string Title { get; set; }
public string Body { get; set; }
[JsonPropertyName("created_at")]
[JsonProperty("created_at")]
public string CreatedAt { get; set; }
public double Rate { get; set; }
public Reaction Reactions { get; set; }
[JsonProperty("user_name")]
[JsonPropertyName("user_name")]
public string UserName { get; set; }
public List<string> Advantages { get; set; }
public List<string> Disadvantages { get; set; }
}