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

60 lines
No EOL
1.4 KiB
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;
namespace VkNet.Model;
/// <summary>
/// Статистика посещений
/// </summary>
[Serializable]
public class VisitorStats
{
/// <summary>
/// Число просмотров.
/// </summary>
[JsonProperty("views")]
public long Views { get; set; }
/// <summary>
/// Число посетителей;
/// </summary>
[JsonProperty("visitors")]
public long Visitors { get; set; }
/// <summary>
/// Число просмотров с мобильных устройств.
/// </summary>
[JsonProperty("mobile_views")]
public long MobileViews { get; set; }
/// <summary>
/// Статистика по полу.
/// </summary>
[JsonProperty("sex")]
public IEnumerable<CountValue> Sex { get; set; }
/// <summary>
/// Статистика по возрасту.
/// </summary>
[JsonProperty("age")]
public IEnumerable<CountValue> Age { get; set; }
/// <summary>
/// Статистика по полу и возрасту.
/// </summary>
[JsonProperty("sex_age")]
public IEnumerable<CountValue> SexAge { get; set; }
/// <summary>
/// Статистика по странам.
/// </summary>
[JsonProperty("countries")]
public IEnumerable<City> Countries { get; set; }
/// <summary>
/// Статистика по городам.
/// </summary>
[JsonProperty("cities")]
public IEnumerable<City> Cities { get; set; }
}