vknet_vk/VkNet/Enums/StringEnums/LinkStatInterval.cs
2023-08-14 14:44:05 +03:00

39 lines
No EOL
670 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 Newtonsoft.Json;
using VkNet.Utils;
using VkNet.Utils.JsonConverter;
namespace VkNet.Enums.StringEnums;
/// <summary>
/// Единица времени для подсчета статистики.
/// </summary>
[StringEnum]
[JsonConverter(typeof(TolerantStringEnumConverter))]
public enum LinkStatInterval
{
/// <summary>
/// Час
/// </summary>
Hour,
/// <summary>
/// День
/// </summary>
[VkNetDefaultValue]
Day,
/// <summary>
/// Неделя
/// </summary>
Week,
/// <summary>
/// Месяц
/// </summary>
Month,
/// <summary>
/// Все время с момента создания ссылки
/// </summary>
Forever
}