summaryrefslogtreecommitdiff
path: root/Juick/Api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-03-29 12:46:52 +0400
committerGravatar Vitaly Takmazov2013-03-29 12:46:52 +0400
commita84c894c89f23e3eb6416ff8943d4d8a2fe84a49 (patch)
treeb617165e09638fa4a75d2f2efda806cc37f1e81a /Juick/Api
parent30cde3d22be88b8f5bd6204cc865182385ea8258 (diff)
undo PCL project because it is not supported by WP7.1 SDK
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; }
+ }
+}