vknet_vk/VkNet/Model/VotesAmount.cs
Timofei Jääger e643c95d94
Предупреждения Qodana (#1530)
* Update azure-pipelines.yml

* Предупреждения Qodana

* Удаляет неиспользуемый токен отмены

* Предупреждения Qodana

* Предупреждения Qodana

* Предупреждения Qodana latest revert

* Добавляет Template в объект Message

* Возвращает токен отмены
2023-06-27 00:30:17 +03:00

35 lines
No EOL
861 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 VotesAmount
{
/// <summary>
/// Количество голосов
/// </summary>
[JsonProperty(propertyName: "votes")]
public string Votes { get; set; }
/// <summary>
/// Общая сумма голосов, переведённая в валюту
/// </summary>
[JsonProperty(propertyName: "amount")]
public int Amount { get; set; }
/// <summary>
/// Описание общей суммы с наименованием валюты
/// </summary>
[JsonProperty(propertyName: "description")]
public string Description { get; set; }
/// <summary>
/// Название валюты
/// </summary>
[JsonProperty(propertyName: "currency")]
public string Currency { get; set; }
}