35 lines
792 B
C#
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";
|
|
}
|
|
}
|
|
}
|