mirror of
https://github.com/vknet/vk.git
synced 2026-07-19 12:53:28 +00:00
* Убрал неиспользуемые зависимости * Удаляет FromJson из категории Donut * Удаляет FromJson * Удаляет FromJson * Удаляет FromJson * Удаляет FromJson из категории Ads --------- Co-authored-by: inyutin-maxim <inyutin_maxim@mail.ru>
57 lines
No EOL
1.5 KiB
C#
57 lines
No EOL
1.5 KiB
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
using VkNet.Enums;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// Массив объектов CampaignModSpecification
|
|
/// </summary>
|
|
[Serializable]
|
|
public class CampaignModSpecification
|
|
{
|
|
/// <summary>
|
|
/// Идентификатор кампании.
|
|
/// </summary>
|
|
[JsonProperty("campaign_id")]
|
|
public long CampaignId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Название рекламной кампании.
|
|
/// </summary>
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Тип оплаты
|
|
/// </summary>
|
|
[JsonProperty("status")]
|
|
public AdStatus Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Общий лимит объявления в рублях. 0 — лимит не задан.
|
|
/// </summary>
|
|
[JsonProperty("all_limit")]
|
|
public long AllLimit { get; set; }
|
|
|
|
/// <summary>
|
|
/// Дневной лимит объявления в рублях. 0 — лимит не задан.
|
|
/// </summary>
|
|
[JsonProperty("day_limit")]
|
|
public long DayLimit { get; set; }
|
|
|
|
/// <summary>
|
|
/// Время создания объявления
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "start_time")]
|
|
[JsonConverter(converterType: typeof(UnixDateTimeConverter))]
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// Время последнего изменения объявления
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "stop_time")]
|
|
[JsonConverter(converterType: typeof(UnixDateTimeConverter))]
|
|
public DateTime? StopTime { get; set; }
|
|
} |