vknet_vk/VkNet/Model/TopicsFeed.cs
Timofei Jääger 80137f49ad
Удаляет FromJson для TopicsFeed (#1304)
---------

Co-authored-by: inyutin-maxim <inyutin_maxim@mail.ru>
2023-02-03 19:12:35 +03:00

36 lines
No EOL
961 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
namespace VkNet.Model;
/// <summary>
/// Новости
/// </summary>
[Serializable]
public class TopicsFeed
{
/// <summary>
/// Количество.
/// </summary>
[JsonProperty("count")]
public int Count { get; set; }
/// <summary>
/// Массив комментариев.
/// </summary>
[JsonProperty("items")] //TODO:
public ReadOnlyCollection<CommentBoard> Items { get; set; }
/// <summary>
/// Информация о пользователях, которые находятся в списке комментариев.
/// </summary>
[JsonProperty("profiles")]
public ReadOnlyCollection<User> Profiles { get; set; }
/// <summary>
/// Информация о группах, которые находятся в списке комментариев.
/// </summary>
[JsonProperty("groups")]
public ReadOnlyCollection<Group> Groups { get; set; }
}