gs2 1.3.151 → 1.3.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/package.json +1 -1
  2. package/stateMachine/index.d.ts +5 -0
  3. package/stateMachine/index.js +28 -0
  4. package/stateMachine/index.js.map +1 -0
  5. package/stateMachine/index.ts +27 -0
  6. package/stateMachine/model/LogSetting.d.ts +13 -0
  7. package/stateMachine/model/LogSetting.js +48 -0
  8. package/stateMachine/model/LogSetting.js.map +1 -0
  9. package/stateMachine/model/LogSetting.ts +46 -0
  10. package/stateMachine/model/Namespace.d.ts +56 -0
  11. package/stateMachine/model/Namespace.js +227 -0
  12. package/stateMachine/model/Namespace.js.map +1 -0
  13. package/stateMachine/model/Namespace.ts +235 -0
  14. package/stateMachine/model/ScriptSetting.d.ts +25 -0
  15. package/stateMachine/model/ScriptSetting.js +90 -0
  16. package/stateMachine/model/ScriptSetting.js.map +1 -0
  17. package/stateMachine/model/ScriptSetting.ts +88 -0
  18. package/stateMachine/model/StackEntry.d.ts +17 -0
  19. package/stateMachine/model/StackEntry.js +62 -0
  20. package/stateMachine/model/StackEntry.js.map +1 -0
  21. package/stateMachine/model/StackEntry.ts +60 -0
  22. package/stateMachine/model/StateMachineMaster.d.ts +39 -0
  23. package/stateMachine/model/StateMachineMaster.js +185 -0
  24. package/stateMachine/model/StateMachineMaster.js.map +1 -0
  25. package/stateMachine/model/StateMachineMaster.ts +198 -0
  26. package/stateMachine/model/Status.d.ts +62 -0
  27. package/stateMachine/model/Status.js +290 -0
  28. package/stateMachine/model/Status.js.map +1 -0
  29. package/stateMachine/model/Status.ts +309 -0
  30. package/stateMachine/model/Variable.d.ts +17 -0
  31. package/stateMachine/model/Variable.js +62 -0
  32. package/stateMachine/model/Variable.js.map +1 -0
  33. package/stateMachine/model/Variable.ts +60 -0
  34. package/stateMachine/model/index.d.ts +8 -0
  35. package/stateMachine/model/index.js +34 -0
  36. package/stateMachine/model/index.js.map +1 -0
  37. package/stateMachine/model/index.ts +32 -0
  38. package/stateMachine/request/CreateNamespaceRequest.d.ts +46 -0
  39. package/stateMachine/request/CreateNamespaceRequest.js +156 -0
  40. package/stateMachine/request/CreateNamespaceRequest.js.map +1 -0
  41. package/stateMachine/request/CreateNamespaceRequest.ts +160 -0
  42. package/stateMachine/request/DeleteNamespaceRequest.d.ts +21 -0
  43. package/stateMachine/request/DeleteNamespaceRequest.js +69 -0
  44. package/stateMachine/request/DeleteNamespaceRequest.js.map +1 -0
  45. package/stateMachine/request/DeleteNamespaceRequest.ts +76 -0
  46. package/stateMachine/request/DeleteStateMachineMasterRequest.d.ts +25 -0
  47. package/stateMachine/request/DeleteStateMachineMasterRequest.js +83 -0
  48. package/stateMachine/request/DeleteStateMachineMasterRequest.js.map +1 -0
  49. package/stateMachine/request/DeleteStateMachineMasterRequest.ts +90 -0
  50. package/stateMachine/request/DeleteStatusByUserIdRequest.d.ts +33 -0
  51. package/stateMachine/request/DeleteStatusByUserIdRequest.js +109 -0
  52. package/stateMachine/request/DeleteStatusByUserIdRequest.js.map +1 -0
  53. package/stateMachine/request/DeleteStatusByUserIdRequest.ts +119 -0
  54. package/stateMachine/request/DescribeNamespacesRequest.d.ts +25 -0
  55. package/stateMachine/request/DescribeNamespacesRequest.js +83 -0
  56. package/stateMachine/request/DescribeNamespacesRequest.js.map +1 -0
  57. package/stateMachine/request/DescribeNamespacesRequest.ts +90 -0
  58. package/stateMachine/request/DescribeStateMachineMastersRequest.d.ts +29 -0
  59. package/stateMachine/request/DescribeStateMachineMastersRequest.js +97 -0
  60. package/stateMachine/request/DescribeStateMachineMastersRequest.js.map +1 -0
  61. package/stateMachine/request/DescribeStateMachineMastersRequest.ts +104 -0
  62. package/stateMachine/request/DescribeStatusesByUserIdRequest.d.ts +37 -0
  63. package/stateMachine/request/DescribeStatusesByUserIdRequest.js +125 -0
  64. package/stateMachine/request/DescribeStatusesByUserIdRequest.js.map +1 -0
  65. package/stateMachine/request/DescribeStatusesByUserIdRequest.ts +132 -0
  66. package/stateMachine/request/DescribeStatusesRequest.d.ts +37 -0
  67. package/stateMachine/request/DescribeStatusesRequest.js +125 -0
  68. package/stateMachine/request/DescribeStatusesRequest.js.map +1 -0
  69. package/stateMachine/request/DescribeStatusesRequest.ts +132 -0
  70. package/stateMachine/request/EmitByUserIdRequest.d.ts +41 -0
  71. package/stateMachine/request/EmitByUserIdRequest.js +137 -0
  72. package/stateMachine/request/EmitByUserIdRequest.js.map +1 -0
  73. package/stateMachine/request/EmitByUserIdRequest.ts +147 -0
  74. package/stateMachine/request/EmitRequest.d.ts +41 -0
  75. package/stateMachine/request/EmitRequest.js +137 -0
  76. package/stateMachine/request/EmitRequest.js.map +1 -0
  77. package/stateMachine/request/EmitRequest.ts +147 -0
  78. package/stateMachine/request/ExitStateMachineByUserIdRequest.d.ts +33 -0
  79. package/stateMachine/request/ExitStateMachineByUserIdRequest.js +109 -0
  80. package/stateMachine/request/ExitStateMachineByUserIdRequest.js.map +1 -0
  81. package/stateMachine/request/ExitStateMachineByUserIdRequest.ts +119 -0
  82. package/stateMachine/request/ExitStateMachineRequest.d.ts +33 -0
  83. package/stateMachine/request/ExitStateMachineRequest.js +109 -0
  84. package/stateMachine/request/ExitStateMachineRequest.js.map +1 -0
  85. package/stateMachine/request/ExitStateMachineRequest.ts +119 -0
  86. package/stateMachine/request/GetNamespaceRequest.d.ts +21 -0
  87. package/stateMachine/request/GetNamespaceRequest.js +69 -0
  88. package/stateMachine/request/GetNamespaceRequest.js.map +1 -0
  89. package/stateMachine/request/GetNamespaceRequest.ts +76 -0
  90. package/stateMachine/request/GetNamespaceStatusRequest.d.ts +21 -0
  91. package/stateMachine/request/GetNamespaceStatusRequest.js +69 -0
  92. package/stateMachine/request/GetNamespaceStatusRequest.js.map +1 -0
  93. package/stateMachine/request/GetNamespaceStatusRequest.ts +76 -0
  94. package/stateMachine/request/GetStateMachineMasterRequest.d.ts +25 -0
  95. package/stateMachine/request/GetStateMachineMasterRequest.js +83 -0
  96. package/stateMachine/request/GetStateMachineMasterRequest.js.map +1 -0
  97. package/stateMachine/request/GetStateMachineMasterRequest.ts +90 -0
  98. package/stateMachine/request/GetStatusByUserIdRequest.d.ts +29 -0
  99. package/stateMachine/request/GetStatusByUserIdRequest.js +97 -0
  100. package/stateMachine/request/GetStatusByUserIdRequest.js.map +1 -0
  101. package/stateMachine/request/GetStatusByUserIdRequest.ts +104 -0
  102. package/stateMachine/request/GetStatusRequest.d.ts +29 -0
  103. package/stateMachine/request/GetStatusRequest.js +97 -0
  104. package/stateMachine/request/GetStatusRequest.js.map +1 -0
  105. package/stateMachine/request/GetStatusRequest.ts +104 -0
  106. package/stateMachine/request/StartStateMachineByStampTaskRequest.d.ts +25 -0
  107. package/stateMachine/request/StartStateMachineByStampTaskRequest.js +83 -0
  108. package/stateMachine/request/StartStateMachineByStampTaskRequest.js.map +1 -0
  109. package/stateMachine/request/StartStateMachineByStampTaskRequest.ts +90 -0
  110. package/stateMachine/request/StartStateMachineByUserIdRequest.d.ts +37 -0
  111. package/stateMachine/request/StartStateMachineByUserIdRequest.js +123 -0
  112. package/stateMachine/request/StartStateMachineByUserIdRequest.js.map +1 -0
  113. package/stateMachine/request/StartStateMachineByUserIdRequest.ts +133 -0
  114. package/stateMachine/request/UpdateNamespaceRequest.d.ts +46 -0
  115. package/stateMachine/request/UpdateNamespaceRequest.js +156 -0
  116. package/stateMachine/request/UpdateNamespaceRequest.js.map +1 -0
  117. package/stateMachine/request/UpdateNamespaceRequest.ts +160 -0
  118. package/stateMachine/request/UpdateStateMachineMasterRequest.d.ts +29 -0
  119. package/stateMachine/request/UpdateStateMachineMasterRequest.js +97 -0
  120. package/stateMachine/request/UpdateStateMachineMasterRequest.js.map +1 -0
  121. package/stateMachine/request/UpdateStateMachineMasterRequest.ts +104 -0
  122. package/stateMachine/request/index.d.ts +22 -0
  123. package/stateMachine/request/index.js +62 -0
  124. package/stateMachine/request/index.js.map +1 -0
  125. package/stateMachine/request/index.ts +60 -0
  126. package/stateMachine/rest.d.ts +28 -0
  127. package/stateMachine/rest.js +596 -0
  128. package/stateMachine/rest.js.map +1 -0
  129. package/stateMachine/rest.ts +678 -0
  130. package/stateMachine/result/CreateNamespaceResult.d.ts +14 -0
  131. package/stateMachine/result/CreateNamespaceResult.js +48 -0
  132. package/stateMachine/result/CreateNamespaceResult.js.map +1 -0
  133. package/stateMachine/result/CreateNamespaceResult.ts +48 -0
  134. package/stateMachine/result/DeleteNamespaceResult.d.ts +14 -0
  135. package/stateMachine/result/DeleteNamespaceResult.js +48 -0
  136. package/stateMachine/result/DeleteNamespaceResult.js.map +1 -0
  137. package/stateMachine/result/DeleteNamespaceResult.ts +48 -0
  138. package/stateMachine/result/DeleteStateMachineMasterResult.d.ts +14 -0
  139. package/stateMachine/result/DeleteStateMachineMasterResult.js +48 -0
  140. package/stateMachine/result/DeleteStateMachineMasterResult.js.map +1 -0
  141. package/stateMachine/result/DeleteStateMachineMasterResult.ts +48 -0
  142. package/stateMachine/result/DeleteStatusByUserIdResult.d.ts +14 -0
  143. package/stateMachine/result/DeleteStatusByUserIdResult.js +48 -0
  144. package/stateMachine/result/DeleteStatusByUserIdResult.js.map +1 -0
  145. package/stateMachine/result/DeleteStatusByUserIdResult.ts +48 -0
  146. package/stateMachine/result/DescribeNamespacesResult.d.ts +18 -0
  147. package/stateMachine/result/DescribeNamespacesResult.js +67 -0
  148. package/stateMachine/result/DescribeNamespacesResult.js.map +1 -0
  149. package/stateMachine/result/DescribeNamespacesResult.ts +73 -0
  150. package/stateMachine/result/DescribeStateMachineMastersResult.d.ts +18 -0
  151. package/stateMachine/result/DescribeStateMachineMastersResult.js +67 -0
  152. package/stateMachine/result/DescribeStateMachineMastersResult.js.map +1 -0
  153. package/stateMachine/result/DescribeStateMachineMastersResult.ts +73 -0
  154. package/stateMachine/result/DescribeStatusesByUserIdResult.d.ts +18 -0
  155. package/stateMachine/result/DescribeStatusesByUserIdResult.js +67 -0
  156. package/stateMachine/result/DescribeStatusesByUserIdResult.js.map +1 -0
  157. package/stateMachine/result/DescribeStatusesByUserIdResult.ts +73 -0
  158. package/stateMachine/result/DescribeStatusesResult.d.ts +18 -0
  159. package/stateMachine/result/DescribeStatusesResult.js +67 -0
  160. package/stateMachine/result/DescribeStatusesResult.js.map +1 -0
  161. package/stateMachine/result/DescribeStatusesResult.ts +73 -0
  162. package/stateMachine/result/EmitByUserIdResult.d.ts +14 -0
  163. package/stateMachine/result/EmitByUserIdResult.js +48 -0
  164. package/stateMachine/result/EmitByUserIdResult.js.map +1 -0
  165. package/stateMachine/result/EmitByUserIdResult.ts +48 -0
  166. package/stateMachine/result/EmitResult.d.ts +14 -0
  167. package/stateMachine/result/EmitResult.js +48 -0
  168. package/stateMachine/result/EmitResult.js.map +1 -0
  169. package/stateMachine/result/EmitResult.ts +48 -0
  170. package/stateMachine/result/ExitStateMachineByUserIdResult.d.ts +14 -0
  171. package/stateMachine/result/ExitStateMachineByUserIdResult.js +48 -0
  172. package/stateMachine/result/ExitStateMachineByUserIdResult.js.map +1 -0
  173. package/stateMachine/result/ExitStateMachineByUserIdResult.ts +48 -0
  174. package/stateMachine/result/ExitStateMachineResult.d.ts +14 -0
  175. package/stateMachine/result/ExitStateMachineResult.js +48 -0
  176. package/stateMachine/result/ExitStateMachineResult.js.map +1 -0
  177. package/stateMachine/result/ExitStateMachineResult.ts +48 -0
  178. package/stateMachine/result/GetNamespaceResult.d.ts +14 -0
  179. package/stateMachine/result/GetNamespaceResult.js +48 -0
  180. package/stateMachine/result/GetNamespaceResult.js.map +1 -0
  181. package/stateMachine/result/GetNamespaceResult.ts +48 -0
  182. package/stateMachine/result/GetNamespaceStatusResult.d.ts +13 -0
  183. package/stateMachine/result/GetNamespaceStatusResult.js +45 -0
  184. package/stateMachine/result/GetNamespaceStatusResult.js.map +1 -0
  185. package/stateMachine/result/GetNamespaceStatusResult.ts +48 -0
  186. package/stateMachine/result/GetStateMachineMasterResult.d.ts +14 -0
  187. package/stateMachine/result/GetStateMachineMasterResult.js +48 -0
  188. package/stateMachine/result/GetStateMachineMasterResult.js.map +1 -0
  189. package/stateMachine/result/GetStateMachineMasterResult.ts +48 -0
  190. package/stateMachine/result/GetStatusByUserIdResult.d.ts +14 -0
  191. package/stateMachine/result/GetStatusByUserIdResult.js +48 -0
  192. package/stateMachine/result/GetStatusByUserIdResult.js.map +1 -0
  193. package/stateMachine/result/GetStatusByUserIdResult.ts +48 -0
  194. package/stateMachine/result/GetStatusResult.d.ts +14 -0
  195. package/stateMachine/result/GetStatusResult.js +48 -0
  196. package/stateMachine/result/GetStatusResult.js.map +1 -0
  197. package/stateMachine/result/GetStatusResult.ts +48 -0
  198. package/stateMachine/result/StartStateMachineByStampTaskResult.d.ts +14 -0
  199. package/stateMachine/result/StartStateMachineByStampTaskResult.js +48 -0
  200. package/stateMachine/result/StartStateMachineByStampTaskResult.js.map +1 -0
  201. package/stateMachine/result/StartStateMachineByStampTaskResult.ts +48 -0
  202. package/stateMachine/result/StartStateMachineByUserIdResult.d.ts +14 -0
  203. package/stateMachine/result/StartStateMachineByUserIdResult.js +48 -0
  204. package/stateMachine/result/StartStateMachineByUserIdResult.js.map +1 -0
  205. package/stateMachine/result/StartStateMachineByUserIdResult.ts +48 -0
  206. package/stateMachine/result/UpdateNamespaceResult.d.ts +14 -0
  207. package/stateMachine/result/UpdateNamespaceResult.js +48 -0
  208. package/stateMachine/result/UpdateNamespaceResult.js.map +1 -0
  209. package/stateMachine/result/UpdateNamespaceResult.ts +48 -0
  210. package/stateMachine/result/UpdateStateMachineMasterResult.d.ts +14 -0
  211. package/stateMachine/result/UpdateStateMachineMasterResult.js +48 -0
  212. package/stateMachine/result/UpdateStateMachineMasterResult.js.map +1 -0
  213. package/stateMachine/result/UpdateStateMachineMasterResult.ts +48 -0
  214. package/stateMachine/result/index.d.ts +22 -0
  215. package/stateMachine/result/index.js +62 -0
  216. package/stateMachine/result/index.js.map +1 -0
  217. package/stateMachine/result/index.ts +60 -0
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
4
+ Reserved.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License").
7
+ You may not use this file except in compliance with the License.
8
+ A copy of the License is located at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ or in the "license" file accompanying this file. This file is distributed
13
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ express or implied. See the License for the specific language governing
15
+ permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var GetStateMachineMasterRequest = /** @class */ (function () {
19
+ function GetStateMachineMasterRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.version = null;
24
+ }
25
+ GetStateMachineMasterRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ GetStateMachineMasterRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ GetStateMachineMasterRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ GetStateMachineMasterRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ GetStateMachineMasterRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ GetStateMachineMasterRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ GetStateMachineMasterRequest.prototype.getNamespaceName = function () {
48
+ return this.namespaceName;
49
+ };
50
+ GetStateMachineMasterRequest.prototype.setNamespaceName = function (namespaceName) {
51
+ this.namespaceName = namespaceName;
52
+ return this;
53
+ };
54
+ GetStateMachineMasterRequest.prototype.withNamespaceName = function (namespaceName) {
55
+ this.namespaceName = namespaceName;
56
+ return this;
57
+ };
58
+ GetStateMachineMasterRequest.prototype.getVersion = function () {
59
+ return this.version;
60
+ };
61
+ GetStateMachineMasterRequest.prototype.setVersion = function (version) {
62
+ this.version = version;
63
+ return this;
64
+ };
65
+ GetStateMachineMasterRequest.prototype.withVersion = function (version) {
66
+ this.version = version;
67
+ return this;
68
+ };
69
+ GetStateMachineMasterRequest.fromDict = function (data) {
70
+ return new GetStateMachineMasterRequest()
71
+ .withNamespaceName(data["namespaceName"])
72
+ .withVersion(data["version"]);
73
+ };
74
+ GetStateMachineMasterRequest.prototype.toDict = function () {
75
+ return {
76
+ "namespaceName": this.getNamespaceName(),
77
+ "version": this.getVersion(),
78
+ };
79
+ };
80
+ return GetStateMachineMasterRequest;
81
+ }());
82
+ exports.default = GetStateMachineMasterRequest;
83
+ //# sourceMappingURL=GetStateMachineMasterRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetStateMachineMasterRequest.js","sourceRoot":"","sources":["GetStateMachineMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,YAAO,GAAgB,IAAI,CAAC;IAgExC,CAAC;IA9DU,mDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,mDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,sDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,uDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAU,GAAjB;QACI,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IACM,iDAAU,GAAjB,UAAkB,OAAoB;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kDAAW,GAAlB,UAAmB,OAAoB;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4BAA4B,EAAE;aACpC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IACtC,CAAC;IAEM,6CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AArED,IAqEC"}
@@ -0,0 +1,90 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+
17
+ import IRequest from '../../core/interface/IRequest';
18
+
19
+ import * as Gs2StateMachine from '../model'
20
+
21
+ export default class GetStateMachineMasterRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private version: number|null = null;
27
+
28
+ public getRequestId(): string|null {
29
+ return this.requestId;
30
+ }
31
+
32
+ public setRequestId(requestId: string|null) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ }
36
+
37
+ public withRequestId(requestId: string|null): this {
38
+ this.requestId = requestId;
39
+ return this;
40
+ }
41
+
42
+ public getContextStack(): string|null {
43
+ return this.contextStack;
44
+ }
45
+
46
+ public setContextStack(contextStack: string|null) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ }
50
+
51
+ public withContextStack(contextStack: string|null): this {
52
+ this.contextStack = contextStack;
53
+ return this;
54
+ }
55
+ public getNamespaceName(): string|null {
56
+ return this.namespaceName;
57
+ }
58
+ public setNamespaceName(namespaceName: string|null) {
59
+ this.namespaceName = namespaceName;
60
+ return this;
61
+ }
62
+ public withNamespaceName(namespaceName: string|null): this {
63
+ this.namespaceName = namespaceName;
64
+ return this;
65
+ }
66
+ public getVersion(): number|null {
67
+ return this.version;
68
+ }
69
+ public setVersion(version: number|null) {
70
+ this.version = version;
71
+ return this;
72
+ }
73
+ public withVersion(version: number|null): this {
74
+ this.version = version;
75
+ return this;
76
+ }
77
+
78
+ public static fromDict(data: {[key: string]: any}): GetStateMachineMasterRequest {
79
+ return new GetStateMachineMasterRequest()
80
+ .withNamespaceName(data["namespaceName"])
81
+ .withVersion(data["version"]);
82
+ }
83
+
84
+ public toDict(): {[key: string]: any} {
85
+ return {
86
+ "namespaceName": this.getNamespaceName(),
87
+ "version": this.getVersion(),
88
+ };
89
+ }
90
+ }
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetStatusByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private statusName;
8
+ getRequestId(): string | null;
9
+ setRequestId(requestId: string | null): this;
10
+ withRequestId(requestId: string | null): this;
11
+ getContextStack(): string | null;
12
+ setContextStack(contextStack: string | null): this;
13
+ withContextStack(contextStack: string | null): this;
14
+ getNamespaceName(): string | null;
15
+ setNamespaceName(namespaceName: string | null): this;
16
+ withNamespaceName(namespaceName: string | null): this;
17
+ getUserId(): string | null;
18
+ setUserId(userId: string | null): this;
19
+ withUserId(userId: string | null): this;
20
+ getStatusName(): string | null;
21
+ setStatusName(statusName: string | null): this;
22
+ withStatusName(statusName: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): GetStatusByUserIdRequest;
26
+ toDict(): {
27
+ [key: string]: any;
28
+ };
29
+ }
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
4
+ Reserved.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License").
7
+ You may not use this file except in compliance with the License.
8
+ A copy of the License is located at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ or in the "license" file accompanying this file. This file is distributed
13
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ express or implied. See the License for the specific language governing
15
+ permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var GetStatusByUserIdRequest = /** @class */ (function () {
19
+ function GetStatusByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.statusName = null;
25
+ }
26
+ GetStatusByUserIdRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ GetStatusByUserIdRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ GetStatusByUserIdRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ GetStatusByUserIdRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ GetStatusByUserIdRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ GetStatusByUserIdRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ GetStatusByUserIdRequest.prototype.getNamespaceName = function () {
49
+ return this.namespaceName;
50
+ };
51
+ GetStatusByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
52
+ this.namespaceName = namespaceName;
53
+ return this;
54
+ };
55
+ GetStatusByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
56
+ this.namespaceName = namespaceName;
57
+ return this;
58
+ };
59
+ GetStatusByUserIdRequest.prototype.getUserId = function () {
60
+ return this.userId;
61
+ };
62
+ GetStatusByUserIdRequest.prototype.setUserId = function (userId) {
63
+ this.userId = userId;
64
+ return this;
65
+ };
66
+ GetStatusByUserIdRequest.prototype.withUserId = function (userId) {
67
+ this.userId = userId;
68
+ return this;
69
+ };
70
+ GetStatusByUserIdRequest.prototype.getStatusName = function () {
71
+ return this.statusName;
72
+ };
73
+ GetStatusByUserIdRequest.prototype.setStatusName = function (statusName) {
74
+ this.statusName = statusName;
75
+ return this;
76
+ };
77
+ GetStatusByUserIdRequest.prototype.withStatusName = function (statusName) {
78
+ this.statusName = statusName;
79
+ return this;
80
+ };
81
+ GetStatusByUserIdRequest.fromDict = function (data) {
82
+ return new GetStatusByUserIdRequest()
83
+ .withNamespaceName(data["namespaceName"])
84
+ .withUserId(data["userId"])
85
+ .withStatusName(data["statusName"]);
86
+ };
87
+ GetStatusByUserIdRequest.prototype.toDict = function () {
88
+ return {
89
+ "namespaceName": this.getNamespaceName(),
90
+ "userId": this.getUserId(),
91
+ "statusName": this.getStatusName(),
92
+ };
93
+ };
94
+ return GetStatusByUserIdRequest;
95
+ }());
96
+ exports.default = GetStatusByUserIdRequest;
97
+ //# sourceMappingURL=GetStatusByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetStatusByUserIdRequest.js","sourceRoot":"","sources":["GetStatusByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,eAAU,GAAgB,IAAI,CAAC;IA6E3C,CAAC;IA3EU,+CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,+CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,kDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,mDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4CAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,4CAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,6CAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,gDAAa,GAApB,UAAqB,UAAuB;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAc,GAArB,UAAsB,UAAuB;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5C,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;SACrC,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AAnFD,IAmFC"}
@@ -0,0 +1,104 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+
17
+ import IRequest from '../../core/interface/IRequest';
18
+
19
+ import * as Gs2StateMachine from '../model'
20
+
21
+ export default class GetStatusByUserIdRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private userId: string|null = null;
27
+ private statusName: string|null = null;
28
+
29
+ public getRequestId(): string|null {
30
+ return this.requestId;
31
+ }
32
+
33
+ public setRequestId(requestId: string|null) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ }
37
+
38
+ public withRequestId(requestId: string|null): this {
39
+ this.requestId = requestId;
40
+ return this;
41
+ }
42
+
43
+ public getContextStack(): string|null {
44
+ return this.contextStack;
45
+ }
46
+
47
+ public setContextStack(contextStack: string|null) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ }
51
+
52
+ public withContextStack(contextStack: string|null): this {
53
+ this.contextStack = contextStack;
54
+ return this;
55
+ }
56
+ public getNamespaceName(): string|null {
57
+ return this.namespaceName;
58
+ }
59
+ public setNamespaceName(namespaceName: string|null) {
60
+ this.namespaceName = namespaceName;
61
+ return this;
62
+ }
63
+ public withNamespaceName(namespaceName: string|null): this {
64
+ this.namespaceName = namespaceName;
65
+ return this;
66
+ }
67
+ public getUserId(): string|null {
68
+ return this.userId;
69
+ }
70
+ public setUserId(userId: string|null) {
71
+ this.userId = userId;
72
+ return this;
73
+ }
74
+ public withUserId(userId: string|null): this {
75
+ this.userId = userId;
76
+ return this;
77
+ }
78
+ public getStatusName(): string|null {
79
+ return this.statusName;
80
+ }
81
+ public setStatusName(statusName: string|null) {
82
+ this.statusName = statusName;
83
+ return this;
84
+ }
85
+ public withStatusName(statusName: string|null): this {
86
+ this.statusName = statusName;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): GetStatusByUserIdRequest {
91
+ return new GetStatusByUserIdRequest()
92
+ .withNamespaceName(data["namespaceName"])
93
+ .withUserId(data["userId"])
94
+ .withStatusName(data["statusName"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "namespaceName": this.getNamespaceName(),
100
+ "userId": this.getUserId(),
101
+ "statusName": this.getStatusName(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetStatusRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private accessToken;
7
+ private statusName;
8
+ getRequestId(): string | null;
9
+ setRequestId(requestId: string | null): this;
10
+ withRequestId(requestId: string | null): this;
11
+ getContextStack(): string | null;
12
+ setContextStack(contextStack: string | null): this;
13
+ withContextStack(contextStack: string | null): this;
14
+ getNamespaceName(): string | null;
15
+ setNamespaceName(namespaceName: string | null): this;
16
+ withNamespaceName(namespaceName: string | null): this;
17
+ getAccessToken(): string | null;
18
+ setAccessToken(accessToken: string | null): this;
19
+ withAccessToken(accessToken: string | null): this;
20
+ getStatusName(): string | null;
21
+ setStatusName(statusName: string | null): this;
22
+ withStatusName(statusName: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): GetStatusRequest;
26
+ toDict(): {
27
+ [key: string]: any;
28
+ };
29
+ }
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
4
+ Reserved.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License").
7
+ You may not use this file except in compliance with the License.
8
+ A copy of the License is located at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ or in the "license" file accompanying this file. This file is distributed
13
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ express or implied. See the License for the specific language governing
15
+ permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var GetStatusRequest = /** @class */ (function () {
19
+ function GetStatusRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.accessToken = null;
24
+ this.statusName = null;
25
+ }
26
+ GetStatusRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ GetStatusRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ GetStatusRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ GetStatusRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ GetStatusRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ GetStatusRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ GetStatusRequest.prototype.getNamespaceName = function () {
49
+ return this.namespaceName;
50
+ };
51
+ GetStatusRequest.prototype.setNamespaceName = function (namespaceName) {
52
+ this.namespaceName = namespaceName;
53
+ return this;
54
+ };
55
+ GetStatusRequest.prototype.withNamespaceName = function (namespaceName) {
56
+ this.namespaceName = namespaceName;
57
+ return this;
58
+ };
59
+ GetStatusRequest.prototype.getAccessToken = function () {
60
+ return this.accessToken;
61
+ };
62
+ GetStatusRequest.prototype.setAccessToken = function (accessToken) {
63
+ this.accessToken = accessToken;
64
+ return this;
65
+ };
66
+ GetStatusRequest.prototype.withAccessToken = function (accessToken) {
67
+ this.accessToken = accessToken;
68
+ return this;
69
+ };
70
+ GetStatusRequest.prototype.getStatusName = function () {
71
+ return this.statusName;
72
+ };
73
+ GetStatusRequest.prototype.setStatusName = function (statusName) {
74
+ this.statusName = statusName;
75
+ return this;
76
+ };
77
+ GetStatusRequest.prototype.withStatusName = function (statusName) {
78
+ this.statusName = statusName;
79
+ return this;
80
+ };
81
+ GetStatusRequest.fromDict = function (data) {
82
+ return new GetStatusRequest()
83
+ .withNamespaceName(data["namespaceName"])
84
+ .withAccessToken(data["accessToken"])
85
+ .withStatusName(data["statusName"]);
86
+ };
87
+ GetStatusRequest.prototype.toDict = function () {
88
+ return {
89
+ "namespaceName": this.getNamespaceName(),
90
+ "accessToken": this.getAccessToken(),
91
+ "statusName": this.getStatusName(),
92
+ };
93
+ };
94
+ return GetStatusRequest;
95
+ }());
96
+ exports.default = GetStatusRequest;
97
+ //# sourceMappingURL=GetStatusRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetStatusRequest.js","sourceRoot":"","sources":["GetStatusRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;IA6E3C,CAAC;IA3EU,uCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,uCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,0CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,2CAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4CAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IACM,yCAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wCAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,wCAAa,GAApB,UAAqB,UAAuB;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAc,GAArB,UAAsB,UAAuB;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,gBAAgB,EAAE;aACxB,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5C,CAAC;IAEM,iCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;SACrC,CAAC;IACN,CAAC;IACL,uBAAC;AAAD,CAAC,AAnFD,IAmFC"}
@@ -0,0 +1,104 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+
17
+ import IRequest from '../../core/interface/IRequest';
18
+
19
+ import * as Gs2StateMachine from '../model'
20
+
21
+ export default class GetStatusRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private accessToken: string|null = null;
27
+ private statusName: string|null = null;
28
+
29
+ public getRequestId(): string|null {
30
+ return this.requestId;
31
+ }
32
+
33
+ public setRequestId(requestId: string|null) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ }
37
+
38
+ public withRequestId(requestId: string|null): this {
39
+ this.requestId = requestId;
40
+ return this;
41
+ }
42
+
43
+ public getContextStack(): string|null {
44
+ return this.contextStack;
45
+ }
46
+
47
+ public setContextStack(contextStack: string|null) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ }
51
+
52
+ public withContextStack(contextStack: string|null): this {
53
+ this.contextStack = contextStack;
54
+ return this;
55
+ }
56
+ public getNamespaceName(): string|null {
57
+ return this.namespaceName;
58
+ }
59
+ public setNamespaceName(namespaceName: string|null) {
60
+ this.namespaceName = namespaceName;
61
+ return this;
62
+ }
63
+ public withNamespaceName(namespaceName: string|null): this {
64
+ this.namespaceName = namespaceName;
65
+ return this;
66
+ }
67
+ public getAccessToken(): string|null {
68
+ return this.accessToken;
69
+ }
70
+ public setAccessToken(accessToken: string|null) {
71
+ this.accessToken = accessToken;
72
+ return this;
73
+ }
74
+ public withAccessToken(accessToken: string|null): this {
75
+ this.accessToken = accessToken;
76
+ return this;
77
+ }
78
+ public getStatusName(): string|null {
79
+ return this.statusName;
80
+ }
81
+ public setStatusName(statusName: string|null) {
82
+ this.statusName = statusName;
83
+ return this;
84
+ }
85
+ public withStatusName(statusName: string|null): this {
86
+ this.statusName = statusName;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): GetStatusRequest {
91
+ return new GetStatusRequest()
92
+ .withNamespaceName(data["namespaceName"])
93
+ .withAccessToken(data["accessToken"])
94
+ .withStatusName(data["statusName"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "namespaceName": this.getNamespaceName(),
100
+ "accessToken": this.getAccessToken(),
101
+ "statusName": this.getStatusName(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class StartStateMachineByStampTaskRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private stampSheet;
6
+ private keyId;
7
+ getRequestId(): string | null;
8
+ setRequestId(requestId: string | null): this;
9
+ withRequestId(requestId: string | null): this;
10
+ getContextStack(): string | null;
11
+ setContextStack(contextStack: string | null): this;
12
+ withContextStack(contextStack: string | null): this;
13
+ getStampSheet(): string | null;
14
+ setStampSheet(stampSheet: string | null): this;
15
+ withStampSheet(stampSheet: string | null): this;
16
+ getKeyId(): string | null;
17
+ setKeyId(keyId: string | null): this;
18
+ withKeyId(keyId: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): StartStateMachineByStampTaskRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }