First actual commit
added sources to repository
This commit is contained in:
34
RedditSharp/SubmitData.cs
Normal file
34
RedditSharp/SubmitData.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user