Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Added some string enum stuff for easier use
- Loading branch information
1 parent
34dad90
commit 33de6ec
Showing
16 changed files
with
201 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public class Capsule | ||
{ | ||
[JsonProperty("notes")] | ||
public bool UpdateNotesForCampaign { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public abstract class CrmCampaign | ||
{ | ||
[JsonProperty("campaign")] | ||
public bool CreateCampaignInAccount { get; set; } | ||
|
||
[JsonProperty("notes")] | ||
public bool UpdateNotesForCampaign { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public class DailySend | ||
{ | ||
[JsonProperty("sunday")] | ||
public bool Sunday { get; set; } | ||
|
||
[JsonProperty("monday")] | ||
public bool Monday { get; set; } | ||
|
||
[JsonProperty("tuesday")] | ||
public bool Tuesday { get; set; } | ||
|
||
[JsonProperty("wednesday")] | ||
public bool Wednesday { get; set; } | ||
|
||
[JsonProperty("thursday")] | ||
public bool Thursday { get; set; } | ||
|
||
[JsonProperty("friday")] | ||
public bool Friday { get; set; } | ||
|
||
[JsonProperty("saturday")] | ||
public bool Saturday { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System.ComponentModel; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public enum FeedbackSource | ||
{ | ||
[Description("api")] | ||
Api, | ||
[Description("email")] | ||
Email, | ||
[Description("sms")] | ||
Sms, | ||
[Description("web")] | ||
Web, | ||
[Description("ios")] | ||
Ios, | ||
[Description("android")] | ||
Android | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace MailChimp.Net.Models | ||
{ | ||
public class HighRise : CrmCampaign | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public class RssOptions | ||
{ | ||
[JsonProperty("feed_url")] | ||
public string Url { get; set; } | ||
[JsonProperty("frequency")] | ||
public string Frequency { get; set; } | ||
[JsonProperty("schedule")] | ||
public Schedule Schedule { get; set; } | ||
[JsonProperty("constrain_rss_img")] | ||
public bool ConstrainImage { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace MailChimp.Net.Models | ||
{ | ||
public class SalesForce : CrmCampaign | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public class Schedule | ||
{ | ||
[JsonProperty("hour")] | ||
public int Hour { get; set; } | ||
|
||
[JsonProperty("daily_send")] | ||
public DailySend DailySend { get; set; } | ||
|
||
[JsonProperty("weekly_send_day")] | ||
public string DayOfWeekToSend { get; set; } | ||
|
||
[JsonProperty("monthly_send_date")] | ||
public int DayOfMonthToSend { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public class SocialCard | ||
{ | ||
[JsonProperty("image_url")] | ||
public string ImageUrl { get; set; } | ||
|
||
[JsonProperty("description")] | ||
public string Description { get; set; } | ||
|
||
[JsonProperty("title")] | ||
public string Title { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MailChimp.Net.Models | ||
{ | ||
public class VariateContens | ||
{ | ||
[JsonProperty("content_label")] | ||
public string ContentLable { get; set; } | ||
|
||
[JsonProperty("plain_text")] | ||
public string PlainText { get; set; } | ||
|
||
[JsonProperty("html")] | ||
public string Html { get; set; } | ||
} | ||
} |