vknet_vk/VkNet/Model/SearchProfile.cs
Инютин Максим Николаевич 932d99d61a Применяет стили кода
2022-08-02 00:22:12 +03:00

29 lines
No EOL
640 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 Newtonsoft.Json;
namespace VkNet.Model;
/// <summary>
/// данные о профиле.
/// </summary>
[Serializable]
public class SearchProfile
{
/// <summary>
/// идентификатор пользователя
/// </summary>
[JsonProperty(propertyName: "id")]
public long Id { get; set; }
/// <summary>
/// имя пользователя;
/// </summary>
[JsonProperty(propertyName: "first_name")]
public string FirstName { get; set; }
/// <summary>
/// фамилия пользователя
/// </summary>
[JsonProperty(propertyName: "last_name")]
public string LastName { get; set; }
}