vknet_vk/VkNet/Model/UserOrGroup.cs
Timofei Jääger 9708b90120
Удаляет FromJson для UserOrGroup (#1303)
---------

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

32 lines
No EOL
784 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.Generic;
using Newtonsoft.Json;
using VkNet.Utils.JsonConverter;
namespace VkNet.Model;
/// <summary>
/// Расширенная информация о пользователях или сообществах.
/// </summary>
[Serializable]
[JsonConverter(typeof(UserOrGroupJsonConverter))]
public class UserOrGroup
{
/// <summary>
/// Общее количество элементов.
/// </summary>
[JsonProperty("count")]
public ulong TotalCount { get; set; }
/// <summary>
/// Список пользователей.
/// </summary>
[JsonProperty("profile")]
public List<User> Users { get; set; }
/// <summary>
/// Список групп.
/// </summary>
[JsonProperty("group")]
public List<Group> Groups { get; set; }
}