mirror of
https://github.com/vknet/vk.git
synced 2026-07-10 00:18:28 +00:00
25 lines
No EOL
607 B
C#
25 lines
No EOL
607 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// Элемент статистики для стрима
|
|
/// </summary>
|
|
[Serializable]
|
|
public class StreamingStatsItem
|
|
{
|
|
/// <summary>
|
|
/// Время, соответствующее значению;
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "timestamp")]
|
|
[JsonConverter(converterType: typeof(UnixDateTimeConverter))]
|
|
public DateTime Timestamp { get; set; }
|
|
|
|
/// <summary>
|
|
/// Значение
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "value")]
|
|
public int Value { get; set; }
|
|
} |