Skip to content

Commit 9488192

Browse files
committed
Add receiver/handler ServerEventTests
1 parent cd0c8df commit 9488192

File tree

2 files changed

+479
-1
lines changed

2 files changed

+479
-1
lines changed

src/AndroidClient/client/src/test/java/chat/chatdtos.java

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Options:
2-
Date: 2017-02-11 09:07:46
2+
Date: 2017-02-12 03:54:05
33
Version: 4.00
44
Tip: To override a DTO option, remove "//" prefix before updating
55
BaseUrl: http://chat.servicestack.net
@@ -102,6 +102,27 @@ public static class ResetServerEvents implements IReturnVoid
102102

103103
}
104104

105+
@Route("/channels/{Channel}/object")
106+
public static class PostObjectToChannel implements IReturnVoid
107+
{
108+
public String toUserId = null;
109+
public String channel = null;
110+
public String selector = null;
111+
public CustomType customType = null;
112+
public SetterType setterType = null;
113+
114+
public String getToUserId() { return toUserId; }
115+
public PostObjectToChannel setToUserId(String value) { this.toUserId = value; return this; }
116+
public String getChannel() { return channel; }
117+
public PostObjectToChannel setChannel(String value) { this.channel = value; return this; }
118+
public String getSelector() { return selector; }
119+
public PostObjectToChannel setSelector(String value) { this.selector = value; return this; }
120+
public CustomType getCustomType() { return customType; }
121+
public PostObjectToChannel setCustomType(CustomType value) { this.customType = value; return this; }
122+
public SetterType getSetterType() { return setterType; }
123+
public PostObjectToChannel setSetterType(SetterType value) { this.setterType = value; return this; }
124+
}
125+
105126
@Route("/account")
106127
public static class GetUserDetails implements IReturn<GetUserDetailsResponse>
107128
{
@@ -227,4 +248,26 @@ public static class GetUserDetailsResponse
227248
public GetUserDetailsResponse setTimeZone(String value) { this.timeZone = value; return this; }
228249
}
229250

251+
public static class CustomType
252+
{
253+
public Integer id = null;
254+
public String name = null;
255+
256+
public Integer getId() { return id; }
257+
public CustomType setId(Integer value) { this.id = value; return this; }
258+
public String getName() { return name; }
259+
public CustomType setName(String value) { this.name = value; return this; }
260+
}
261+
262+
public static class SetterType
263+
{
264+
public Integer id = null;
265+
public String name = null;
266+
267+
public Integer getId() { return id; }
268+
public SetterType setId(Integer value) { this.id = value; return this; }
269+
public String getName() { return name; }
270+
public SetterType setName(String value) { this.name = value; return this; }
271+
}
272+
230273
}

0 commit comments

Comments
 (0)