Files
Gardient 9583c1afb2 First actual commit
added sources to repository
2015-08-28 21:49:50 +03:00

35 lines
792 B
C#

namespace RedditSharp
{
internal abstract class SubmitData
{
[RedditAPIName("api_type")]
internal string APIType { get; set; }
[RedditAPIName("kind")]
internal string Kind { get; set; }
[RedditAPIName("sr")]
internal string Subreddit { get; set; }
[RedditAPIName("uh")]
internal string UserHash { get; set; }
[RedditAPIName("title")]
internal string Title { get; set; }
[RedditAPIName("iden")]
internal string Iden { get; set; }
[RedditAPIName("captcha")]
internal string Captcha { get; set; }
[RedditAPIName("resubmit")]
internal bool Resubmit { get; set; }
protected SubmitData()
{
APIType = "json";
}
}
}