diff --git a/MailChimp.Net/Models/Report.cs b/MailChimp.Net/Models/Report.cs index 76265fdf..81fb5cca 100644 --- a/MailChimp.Net/Models/Report.cs +++ b/MailChimp.Net/Models/Report.cs @@ -7,6 +7,7 @@ using System.Collections.Generic; using Newtonsoft.Json; +using MailChimp.Net.Core; namespace MailChimp.Net.Models { @@ -42,6 +43,7 @@ public Report() [JsonProperty("campaign_title")] public string CampaignTitle { get; set; } + [JsonProperty("subject_line")] public string SubjectLine { get; set; } @@ -127,8 +129,8 @@ public Report() /// Gets or sets the type. /// [JsonProperty("type")] - public string Type { get; set; } - + public CampaignType Type { get; set; } + /// /// Gets or sets the unsubscribed. /// diff --git a/MailChimp.Net/Properties/AssemblyInfo.cs b/MailChimp.Net/Properties/AssemblyInfo.cs index d043949d..79b38028 100644 --- a/MailChimp.Net/Properties/AssemblyInfo.cs +++ b/MailChimp.Net/Properties/AssemblyInfo.cs @@ -16,14 +16,14 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Brandon Seydel")] [assembly: AssemblyProduct("MailChimp.Net.V3")] -[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] +[assembly: ComVisible(true)] [assembly: CLSCompliant(true)] // The following GUID is for the ID of the typelib if this project is exposed to COM @@ -37,5 +37,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.9.0")] +[assembly: AssemblyVersion("1.9.1")] [assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file