summaryrefslogtreecommitdiff
path: root/Juick/Api
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Api')
-rw-r--r--Juick/Api/Message.cs16
-rw-r--r--Juick/Api/Photo.cs9
-rw-r--r--Juick/Api/User.cs9
3 files changed, 34 insertions, 0 deletions
diff --git a/Juick/Api/Message.cs b/Juick/Api/Message.cs
new file mode 100644
index 0000000..9bd3230
--- /dev/null
+++ b/Juick/Api/Message.cs
@@ -0,0 +1,16 @@
+using System.Collections.Generic;
+
+namespace JuickApi
+{
+ public class Message
+ {
+ public int Mid { get; set; }
+ public int Rid { get; set; }
+ public string Body { get; set; }
+ public User User { get; set; }
+ public string Timestamp { get; set; }
+ public int Replies { get; set; }
+ public List<string> Tags { get; set; }
+ public Photo Photo { get; set; }
+ }
+}
diff --git a/Juick/Api/Photo.cs b/Juick/Api/Photo.cs
new file mode 100644
index 0000000..e6cce2b
--- /dev/null
+++ b/Juick/Api/Photo.cs
@@ -0,0 +1,9 @@
+namespace JuickApi
+{
+ public class Photo
+ {
+ public string Thumbnail { get; set; }
+ public string Small { get; set; }
+ public string Medium { get; set; }
+ }
+}
diff --git a/Juick/Api/User.cs b/Juick/Api/User.cs
new file mode 100644
index 0000000..dd8bae2
--- /dev/null
+++ b/Juick/Api/User.cs
@@ -0,0 +1,9 @@
+namespace JuickApi
+{
+ public class User
+ {
+ public int Uid { get; set; }
+ public string UName { get; set; }
+ public string Fullname { get; set; }
+ }
+}