Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
123 lines (102 sloc) 3.47 KB
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Campaign.cs" company="Brandon Seydel">
// N/A
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
using MailChimp.Net.Core;
using Newtonsoft.Json;
namespace MailChimp.Net.Models
{
/// <summary>
/// The campaign.
/// </summary>
public class Campaign
{
/// <summary>
/// Gets or sets the archive url.
/// </summary>
[JsonProperty("archive_url")]
public string ArchiveUrl { get; set; }
/// <summary>
/// Gets or sets the long archive url.
/// </summary>
[JsonProperty("long_archive_url")]
public string LongArchiveUrl { get; set; }
/// <summary>
/// Gets or sets the content type.
/// </summary>
[JsonProperty("content_type")]
public string ContentType { get; set; }
/// <summary>
/// Gets or sets the create time.
/// </summary>
[JsonProperty("create_time")]
public DateTime CreateTime { get; set; }
/// <summary>
/// Gets or sets the delivery status.
/// </summary>
[JsonProperty("delivery_status")]
public DeliveryStatus DeliveryStatus { get; set; }
[JsonProperty("rss_opts")]
public RssOptions RssOptions { get; set; }
[JsonProperty("social_card")]
public SocialCard SocialCard { get; set; }
[JsonProperty("report_summary")]
public ReportSummary ReportSummary { get; set; }
/// <summary>
/// Gets or sets the emails sent.
/// </summary>
[JsonProperty("emails_sent")]
public int? EmailsSent { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
[JsonProperty("id")]
public string Id { get; set; }
/// <summary>
/// Gets or sets the web id.
/// </summary>
[JsonProperty("web_id")]
public int WebId { get; set; }
/// <summary>
/// Gets or sets the links.
/// </summary>
[JsonProperty("_links")]
public Link[] Links { get; set; }
/// <summary>
/// Gets or sets the recipients.
/// </summary>
[JsonProperty("recipients")]
public Recipient Recipients { get; set; }
/// <summary>
/// Gets or sets the send time.
/// </summary>
[JsonProperty("send_time")]
public DateTime? SendTime { get; set; }
/// <summary>
/// Gets or sets the settings.
/// </summary>
[JsonProperty("settings")]
public Setting Settings { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
[JsonProperty("status")]
public string Status { get; set; }
/// <summary>
/// Gets or sets the tracking.
/// </summary>
[JsonProperty("tracking")]
public Tracking Tracking { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumDescriptionConverter))]
public CampaignType Type { get; set; }
public string DashboardLink { get; internal set; }
[JsonProperty("variate_settings")]
public VariateSettings VariateSettings { get; set; }
}
}
You can’t perform that action at this time.