|
1 | 1 | /* Options: |
2 | | -Date: 2017-02-11 09:07:46 |
| 2 | +Date: 2017-02-12 03:54:05 |
3 | 3 | Version: 4.00 |
4 | 4 | Tip: To override a DTO option, remove "//" prefix before updating |
5 | 5 | BaseUrl: http://chat.servicestack.net |
@@ -102,6 +102,27 @@ public static class ResetServerEvents implements IReturnVoid |
102 | 102 |
|
103 | 103 | } |
104 | 104 |
|
| 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 | + |
105 | 126 | @Route("/account") |
106 | 127 | public static class GetUserDetails implements IReturn<GetUserDetailsResponse> |
107 | 128 | { |
@@ -227,4 +248,26 @@ public static class GetUserDetailsResponse |
227 | 248 | public GetUserDetailsResponse setTimeZone(String value) { this.timeZone = value; return this; } |
228 | 249 | } |
229 | 250 |
|
| 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 | + |
230 | 273 | } |
0 commit comments