vknet_vk/VkNet/Model/Occupation.cs
Timofei Jääger e4862c0e96
Пометил StringEnums nullable #1556 (#1577)
Co-authored-by: inyutin-maxim <inyutin_maxim@mail.ru>
2023-08-28 17:13:16 +03:00

30 lines
No EOL
845 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;
using VkNet.Enums.StringEnums;
namespace VkNet.Model;
/// <summary>
/// Информация о текущем роде занятия пользователя.
/// </summary>
[Serializable]
public class Occupation
{
/// <summary>
/// Название школы, вуза или места работы
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
/// <summary>
/// Идентификатор школы, вуза, группы компании (в которой пользователь работает).
/// </summary>
[JsonProperty("id")]
public long? Id { get; set; }
/// <summary>
/// Информация о текущем роде занятия пользователя.
/// </summary>
[JsonProperty("type")]
public OccupationType? Type { get; set; }
}