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

47 lines
No EOL
1.3 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 Newtonsoft.Json;
namespace VkNet.Model;
/// <summary>
/// При успешном завершении оффера
/// </summary>
[Serializable]
public class LeadsComplete
{
/// <summary>
/// Ограничение, установленное у текущего оффера;
/// </summary>
[JsonProperty(propertyName: "limit")]
public long Limit { get; set; }
/// <summary>
/// Ограничение, установленное у текущего оффера;
/// </summary>
[JsonProperty(propertyName: "day_limit")]
public long DayLimit { get; set; }
/// <summary>
/// Количество потраченных на акцию голосов;
/// </summary>
[JsonProperty(propertyName: "spent")]
public long Spent { get; set; }
/// <summary>
/// Стоимость одной выполненной акции;
/// </summary>
[JsonProperty(propertyName: "cost")]
public string Cost { get; set; }
/// <summary>
/// Режим транзакции (1 — тестовый, 0 — реальный);
/// </summary>
[JsonProperty(propertyName: "test_mode")]
public long TestMode { get; set; }
/// <summary>
/// Результат выполнения транзакции (всегда равно 1).
/// </summary>
[JsonProperty(propertyName: "success")]
public long Success { get; set; }
}