gs2 1.3.170 → 1.3.172

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 (193) hide show
  1. package/adReward/index.d.ts +5 -0
  2. package/adReward/index.js +28 -0
  3. package/adReward/index.js.map +1 -0
  4. package/adReward/index.ts +27 -0
  5. package/adReward/model/AdMob.d.ts +13 -0
  6. package/adReward/model/AdMob.js +54 -0
  7. package/adReward/model/AdMob.js.map +1 -0
  8. package/adReward/model/AdMob.ts +54 -0
  9. package/adReward/model/History.d.ts +27 -0
  10. package/adReward/model/History.js +97 -0
  11. package/adReward/model/History.js.map +1 -0
  12. package/adReward/model/History.ts +98 -0
  13. package/adReward/model/LogSetting.d.ts +13 -0
  14. package/adReward/model/LogSetting.js +48 -0
  15. package/adReward/model/LogSetting.js.map +1 -0
  16. package/adReward/model/LogSetting.ts +46 -0
  17. package/adReward/model/Namespace.d.ts +58 -0
  18. package/adReward/model/Namespace.js +229 -0
  19. package/adReward/model/Namespace.js.map +1 -0
  20. package/adReward/model/Namespace.ts +237 -0
  21. package/adReward/model/NotificationSetting.d.ts +21 -0
  22. package/adReward/model/NotificationSetting.js +76 -0
  23. package/adReward/model/NotificationSetting.js.map +1 -0
  24. package/adReward/model/NotificationSetting.ts +74 -0
  25. package/adReward/model/Point.d.ts +39 -0
  26. package/adReward/model/Point.js +185 -0
  27. package/adReward/model/Point.js.map +1 -0
  28. package/adReward/model/Point.ts +198 -0
  29. package/adReward/model/UnityAd.d.ts +13 -0
  30. package/adReward/model/UnityAd.js +54 -0
  31. package/adReward/model/UnityAd.js.map +1 -0
  32. package/adReward/model/UnityAd.ts +54 -0
  33. package/adReward/model/index.d.ts +8 -0
  34. package/adReward/model/index.js +34 -0
  35. package/adReward/model/index.js.map +1 -0
  36. package/adReward/model/index.ts +32 -0
  37. package/adReward/request/AcquirePointByStampSheetRequest.d.ts +25 -0
  38. package/adReward/request/AcquirePointByStampSheetRequest.js +83 -0
  39. package/adReward/request/AcquirePointByStampSheetRequest.js.map +1 -0
  40. package/adReward/request/AcquirePointByStampSheetRequest.ts +90 -0
  41. package/adReward/request/AcquirePointByUserIdRequest.d.ts +33 -0
  42. package/adReward/request/AcquirePointByUserIdRequest.js +109 -0
  43. package/adReward/request/AcquirePointByUserIdRequest.js.map +1 -0
  44. package/adReward/request/AcquirePointByUserIdRequest.ts +119 -0
  45. package/adReward/request/ConsumePointByStampTaskRequest.d.ts +25 -0
  46. package/adReward/request/ConsumePointByStampTaskRequest.js +83 -0
  47. package/adReward/request/ConsumePointByStampTaskRequest.js.map +1 -0
  48. package/adReward/request/ConsumePointByStampTaskRequest.ts +90 -0
  49. package/adReward/request/ConsumePointByUserIdRequest.d.ts +33 -0
  50. package/adReward/request/ConsumePointByUserIdRequest.js +109 -0
  51. package/adReward/request/ConsumePointByUserIdRequest.js.map +1 -0
  52. package/adReward/request/ConsumePointByUserIdRequest.ts +119 -0
  53. package/adReward/request/ConsumePointRequest.d.ts +33 -0
  54. package/adReward/request/ConsumePointRequest.js +109 -0
  55. package/adReward/request/ConsumePointRequest.js.map +1 -0
  56. package/adReward/request/ConsumePointRequest.ts +119 -0
  57. package/adReward/request/CreateNamespaceRequest.d.ts +42 -0
  58. package/adReward/request/CreateNamespaceRequest.js +142 -0
  59. package/adReward/request/CreateNamespaceRequest.js.map +1 -0
  60. package/adReward/request/CreateNamespaceRequest.ts +146 -0
  61. package/adReward/request/DeleteNamespaceRequest.d.ts +21 -0
  62. package/adReward/request/DeleteNamespaceRequest.js +69 -0
  63. package/adReward/request/DeleteNamespaceRequest.js.map +1 -0
  64. package/adReward/request/DeleteNamespaceRequest.ts +76 -0
  65. package/adReward/request/DeletePointByUserIdRequest.d.ts +29 -0
  66. package/adReward/request/DeletePointByUserIdRequest.js +95 -0
  67. package/adReward/request/DeletePointByUserIdRequest.js.map +1 -0
  68. package/adReward/request/DeletePointByUserIdRequest.ts +105 -0
  69. package/adReward/request/DescribeNamespacesRequest.d.ts +25 -0
  70. package/adReward/request/DescribeNamespacesRequest.js +83 -0
  71. package/adReward/request/DescribeNamespacesRequest.js.map +1 -0
  72. package/adReward/request/DescribeNamespacesRequest.ts +90 -0
  73. package/adReward/request/GetNamespaceRequest.d.ts +21 -0
  74. package/adReward/request/GetNamespaceRequest.js +69 -0
  75. package/adReward/request/GetNamespaceRequest.js.map +1 -0
  76. package/adReward/request/GetNamespaceRequest.ts +76 -0
  77. package/adReward/request/GetNamespaceStatusRequest.d.ts +21 -0
  78. package/adReward/request/GetNamespaceStatusRequest.js +69 -0
  79. package/adReward/request/GetNamespaceStatusRequest.js.map +1 -0
  80. package/adReward/request/GetNamespaceStatusRequest.ts +76 -0
  81. package/adReward/request/GetPointByUserIdRequest.d.ts +25 -0
  82. package/adReward/request/GetPointByUserIdRequest.js +83 -0
  83. package/adReward/request/GetPointByUserIdRequest.js.map +1 -0
  84. package/adReward/request/GetPointByUserIdRequest.ts +90 -0
  85. package/adReward/request/GetPointRequest.d.ts +25 -0
  86. package/adReward/request/GetPointRequest.js +83 -0
  87. package/adReward/request/GetPointRequest.js.map +1 -0
  88. package/adReward/request/GetPointRequest.ts +90 -0
  89. package/adReward/request/UpdateNamespaceRequest.d.ts +42 -0
  90. package/adReward/request/UpdateNamespaceRequest.js +142 -0
  91. package/adReward/request/UpdateNamespaceRequest.js.map +1 -0
  92. package/adReward/request/UpdateNamespaceRequest.ts +146 -0
  93. package/adReward/request/index.d.ts +15 -0
  94. package/adReward/request/index.js +48 -0
  95. package/adReward/request/index.js.map +1 -0
  96. package/adReward/request/index.ts +46 -0
  97. package/adReward/rest.d.ts +21 -0
  98. package/adReward/rest.js +409 -0
  99. package/adReward/rest.js.map +1 -0
  100. package/adReward/rest.ts +463 -0
  101. package/adReward/result/AcquirePointByStampSheetResult.d.ts +14 -0
  102. package/adReward/result/AcquirePointByStampSheetResult.js +48 -0
  103. package/adReward/result/AcquirePointByStampSheetResult.js.map +1 -0
  104. package/adReward/result/AcquirePointByStampSheetResult.ts +48 -0
  105. package/adReward/result/AcquirePointByUserIdResult.d.ts +14 -0
  106. package/adReward/result/AcquirePointByUserIdResult.js +48 -0
  107. package/adReward/result/AcquirePointByUserIdResult.js.map +1 -0
  108. package/adReward/result/AcquirePointByUserIdResult.ts +48 -0
  109. package/adReward/result/ConsumePointByStampTaskResult.d.ts +18 -0
  110. package/adReward/result/ConsumePointByStampTaskResult.js +62 -0
  111. package/adReward/result/ConsumePointByStampTaskResult.js.map +1 -0
  112. package/adReward/result/ConsumePointByStampTaskResult.ts +65 -0
  113. package/adReward/result/ConsumePointByUserIdResult.d.ts +14 -0
  114. package/adReward/result/ConsumePointByUserIdResult.js +48 -0
  115. package/adReward/result/ConsumePointByUserIdResult.js.map +1 -0
  116. package/adReward/result/ConsumePointByUserIdResult.ts +48 -0
  117. package/adReward/result/ConsumePointResult.d.ts +14 -0
  118. package/adReward/result/ConsumePointResult.js +48 -0
  119. package/adReward/result/ConsumePointResult.js.map +1 -0
  120. package/adReward/result/ConsumePointResult.ts +48 -0
  121. package/adReward/result/CreateNamespaceResult.d.ts +14 -0
  122. package/adReward/result/CreateNamespaceResult.js +48 -0
  123. package/adReward/result/CreateNamespaceResult.js.map +1 -0
  124. package/adReward/result/CreateNamespaceResult.ts +48 -0
  125. package/adReward/result/DeleteNamespaceResult.d.ts +14 -0
  126. package/adReward/result/DeleteNamespaceResult.js +48 -0
  127. package/adReward/result/DeleteNamespaceResult.js.map +1 -0
  128. package/adReward/result/DeleteNamespaceResult.ts +48 -0
  129. package/adReward/result/DeletePointByUserIdResult.d.ts +14 -0
  130. package/adReward/result/DeletePointByUserIdResult.js +48 -0
  131. package/adReward/result/DeletePointByUserIdResult.js.map +1 -0
  132. package/adReward/result/DeletePointByUserIdResult.ts +48 -0
  133. package/adReward/result/DescribeNamespacesResult.d.ts +18 -0
  134. package/adReward/result/DescribeNamespacesResult.js +67 -0
  135. package/adReward/result/DescribeNamespacesResult.js.map +1 -0
  136. package/adReward/result/DescribeNamespacesResult.ts +73 -0
  137. package/adReward/result/GetNamespaceResult.d.ts +14 -0
  138. package/adReward/result/GetNamespaceResult.js +48 -0
  139. package/adReward/result/GetNamespaceResult.js.map +1 -0
  140. package/adReward/result/GetNamespaceResult.ts +48 -0
  141. package/adReward/result/GetNamespaceStatusResult.d.ts +13 -0
  142. package/adReward/result/GetNamespaceStatusResult.js +45 -0
  143. package/adReward/result/GetNamespaceStatusResult.js.map +1 -0
  144. package/adReward/result/GetNamespaceStatusResult.ts +48 -0
  145. package/adReward/result/GetPointByUserIdResult.d.ts +14 -0
  146. package/adReward/result/GetPointByUserIdResult.js +48 -0
  147. package/adReward/result/GetPointByUserIdResult.js.map +1 -0
  148. package/adReward/result/GetPointByUserIdResult.ts +48 -0
  149. package/adReward/result/GetPointResult.d.ts +14 -0
  150. package/adReward/result/GetPointResult.js +48 -0
  151. package/adReward/result/GetPointResult.js.map +1 -0
  152. package/adReward/result/GetPointResult.ts +48 -0
  153. package/adReward/result/UpdateNamespaceResult.d.ts +14 -0
  154. package/adReward/result/UpdateNamespaceResult.js +48 -0
  155. package/adReward/result/UpdateNamespaceResult.js.map +1 -0
  156. package/adReward/result/UpdateNamespaceResult.ts +48 -0
  157. package/adReward/result/index.d.ts +15 -0
  158. package/adReward/result/index.js +48 -0
  159. package/adReward/result/index.js.map +1 -0
  160. package/adReward/result/index.ts +46 -0
  161. package/deploy/model/ChangeSet.d.ts +21 -0
  162. package/deploy/model/ChangeSet.js +76 -0
  163. package/deploy/model/ChangeSet.js.map +1 -0
  164. package/deploy/model/ChangeSet.ts +74 -0
  165. package/deploy/model/index.d.ts +3 -2
  166. package/deploy/model/index.js +5 -3
  167. package/deploy/model/index.js.map +1 -1
  168. package/deploy/model/index.ts +4 -2
  169. package/deploy/request/ChangeSetRequest.d.ts +25 -0
  170. package/deploy/request/ChangeSetRequest.js +83 -0
  171. package/deploy/request/ChangeSetRequest.js.map +1 -0
  172. package/deploy/request/ChangeSetRequest.ts +90 -0
  173. package/deploy/request/index.d.ts +2 -1
  174. package/deploy/request/index.js +3 -1
  175. package/deploy/request/index.js.map +1 -1
  176. package/deploy/request/index.ts +2 -0
  177. package/deploy/rest.d.ts +1 -0
  178. package/deploy/rest.js +27 -0
  179. package/deploy/rest.js.map +1 -1
  180. package/deploy/rest.ts +31 -0
  181. package/deploy/result/ChangeSetResult.d.ts +14 -0
  182. package/deploy/result/ChangeSetResult.js +53 -0
  183. package/deploy/result/ChangeSetResult.js.map +1 -0
  184. package/deploy/result/ChangeSetResult.ts +56 -0
  185. package/deploy/result/index.d.ts +2 -1
  186. package/deploy/result/index.js +3 -1
  187. package/deploy/result/index.js.map +1 -1
  188. package/deploy/result/index.ts +2 -0
  189. package/index.d.ts +2 -1
  190. package/index.js +3 -1
  191. package/index.js.map +1 -1
  192. package/index.ts +2 -0
  193. package/package.json +1 -1
@@ -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 AcquirePointByStampSheetRequest = /** @class */ (function () {
19
+ function AcquirePointByStampSheetRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.stampSheet = null;
23
+ this.keyId = null;
24
+ }
25
+ AcquirePointByStampSheetRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ AcquirePointByStampSheetRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ AcquirePointByStampSheetRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ AcquirePointByStampSheetRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ AcquirePointByStampSheetRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ AcquirePointByStampSheetRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ AcquirePointByStampSheetRequest.prototype.getStampSheet = function () {
48
+ return this.stampSheet;
49
+ };
50
+ AcquirePointByStampSheetRequest.prototype.setStampSheet = function (stampSheet) {
51
+ this.stampSheet = stampSheet;
52
+ return this;
53
+ };
54
+ AcquirePointByStampSheetRequest.prototype.withStampSheet = function (stampSheet) {
55
+ this.stampSheet = stampSheet;
56
+ return this;
57
+ };
58
+ AcquirePointByStampSheetRequest.prototype.getKeyId = function () {
59
+ return this.keyId;
60
+ };
61
+ AcquirePointByStampSheetRequest.prototype.setKeyId = function (keyId) {
62
+ this.keyId = keyId;
63
+ return this;
64
+ };
65
+ AcquirePointByStampSheetRequest.prototype.withKeyId = function (keyId) {
66
+ this.keyId = keyId;
67
+ return this;
68
+ };
69
+ AcquirePointByStampSheetRequest.fromDict = function (data) {
70
+ return new AcquirePointByStampSheetRequest()
71
+ .withStampSheet(data["stampSheet"])
72
+ .withKeyId(data["keyId"]);
73
+ };
74
+ AcquirePointByStampSheetRequest.prototype.toDict = function () {
75
+ return {
76
+ "stampSheet": this.getStampSheet(),
77
+ "keyId": this.getKeyId(),
78
+ };
79
+ };
80
+ return AcquirePointByStampSheetRequest;
81
+ }());
82
+ exports.default = AcquirePointByStampSheetRequest;
83
+ //# sourceMappingURL=AcquirePointByStampSheetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcquirePointByStampSheetRequest.js","sourceRoot":"","sources":["AcquirePointByStampSheetRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY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AkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,wCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,+BAA+B,EAAE;aACvC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,gDAAM,GAAb;QACI,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,sCAAC;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 Gs2AdReward from '../model'
20
+
21
+ export default class AcquirePointByStampSheetRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private stampSheet: string|null = null;
26
+ private keyId: string|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 getStampSheet(): string|null {
56
+ return this.stampSheet;
57
+ }
58
+ public setStampSheet(stampSheet: string|null) {
59
+ this.stampSheet = stampSheet;
60
+ return this;
61
+ }
62
+ public withStampSheet(stampSheet: string|null): this {
63
+ this.stampSheet = stampSheet;
64
+ return this;
65
+ }
66
+ public getKeyId(): string|null {
67
+ return this.keyId;
68
+ }
69
+ public setKeyId(keyId: string|null) {
70
+ this.keyId = keyId;
71
+ return this;
72
+ }
73
+ public withKeyId(keyId: string|null): this {
74
+ this.keyId = keyId;
75
+ return this;
76
+ }
77
+
78
+ public static fromDict(data: {[key: string]: any}): AcquirePointByStampSheetRequest {
79
+ return new AcquirePointByStampSheetRequest()
80
+ .withStampSheet(data["stampSheet"])
81
+ .withKeyId(data["keyId"]);
82
+ }
83
+
84
+ public toDict(): {[key: string]: any} {
85
+ return {
86
+ "stampSheet": this.getStampSheet(),
87
+ "keyId": this.getKeyId(),
88
+ };
89
+ }
90
+ }
@@ -0,0 +1,33 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class AcquirePointByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private point;
8
+ private duplicationAvoider;
9
+ getRequestId(): string | null;
10
+ setRequestId(requestId: string | null): this;
11
+ withRequestId(requestId: string | null): this;
12
+ getContextStack(): string | null;
13
+ setContextStack(contextStack: string | null): this;
14
+ withContextStack(contextStack: string | null): this;
15
+ getNamespaceName(): string | null;
16
+ setNamespaceName(namespaceName: string | null): this;
17
+ withNamespaceName(namespaceName: string | null): this;
18
+ getUserId(): string | null;
19
+ setUserId(userId: string | null): this;
20
+ withUserId(userId: string | null): this;
21
+ getPoint(): number | null;
22
+ setPoint(point: number | null): this;
23
+ withPoint(point: number | null): this;
24
+ getDuplicationAvoider(): string | null;
25
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
26
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
27
+ static fromDict(data: {
28
+ [key: string]: any;
29
+ }): AcquirePointByUserIdRequest;
30
+ toDict(): {
31
+ [key: string]: any;
32
+ };
33
+ }
@@ -0,0 +1,109 @@
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 AcquirePointByUserIdRequest = /** @class */ (function () {
19
+ function AcquirePointByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.point = null;
25
+ this.duplicationAvoider = null;
26
+ }
27
+ AcquirePointByUserIdRequest.prototype.getRequestId = function () {
28
+ return this.requestId;
29
+ };
30
+ AcquirePointByUserIdRequest.prototype.setRequestId = function (requestId) {
31
+ this.requestId = requestId;
32
+ return this;
33
+ };
34
+ AcquirePointByUserIdRequest.prototype.withRequestId = function (requestId) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ };
38
+ AcquirePointByUserIdRequest.prototype.getContextStack = function () {
39
+ return this.contextStack;
40
+ };
41
+ AcquirePointByUserIdRequest.prototype.setContextStack = function (contextStack) {
42
+ this.contextStack = contextStack;
43
+ return this;
44
+ };
45
+ AcquirePointByUserIdRequest.prototype.withContextStack = function (contextStack) {
46
+ this.contextStack = contextStack;
47
+ return this;
48
+ };
49
+ AcquirePointByUserIdRequest.prototype.getNamespaceName = function () {
50
+ return this.namespaceName;
51
+ };
52
+ AcquirePointByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
53
+ this.namespaceName = namespaceName;
54
+ return this;
55
+ };
56
+ AcquirePointByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
57
+ this.namespaceName = namespaceName;
58
+ return this;
59
+ };
60
+ AcquirePointByUserIdRequest.prototype.getUserId = function () {
61
+ return this.userId;
62
+ };
63
+ AcquirePointByUserIdRequest.prototype.setUserId = function (userId) {
64
+ this.userId = userId;
65
+ return this;
66
+ };
67
+ AcquirePointByUserIdRequest.prototype.withUserId = function (userId) {
68
+ this.userId = userId;
69
+ return this;
70
+ };
71
+ AcquirePointByUserIdRequest.prototype.getPoint = function () {
72
+ return this.point;
73
+ };
74
+ AcquirePointByUserIdRequest.prototype.setPoint = function (point) {
75
+ this.point = point;
76
+ return this;
77
+ };
78
+ AcquirePointByUserIdRequest.prototype.withPoint = function (point) {
79
+ this.point = point;
80
+ return this;
81
+ };
82
+ AcquirePointByUserIdRequest.prototype.getDuplicationAvoider = function () {
83
+ return this.duplicationAvoider;
84
+ };
85
+ AcquirePointByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
86
+ this.duplicationAvoider = duplicationAvoider;
87
+ return this;
88
+ };
89
+ AcquirePointByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
90
+ this.duplicationAvoider = duplicationAvoider;
91
+ return this;
92
+ };
93
+ AcquirePointByUserIdRequest.fromDict = function (data) {
94
+ return new AcquirePointByUserIdRequest()
95
+ .withNamespaceName(data["namespaceName"])
96
+ .withUserId(data["userId"])
97
+ .withPoint(data["point"]);
98
+ };
99
+ AcquirePointByUserIdRequest.prototype.toDict = function () {
100
+ return {
101
+ "namespaceName": this.getNamespaceName(),
102
+ "userId": this.getUserId(),
103
+ "point": this.getPoint(),
104
+ };
105
+ };
106
+ return AcquirePointByUserIdRequest;
107
+ }());
108
+ exports.default = AcquirePointByUserIdRequest;
109
+ //# sourceMappingURL=AcquirePointByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcquirePointByUserIdRequest.js","sourceRoot":"","sources":["AcquirePointByUserIdRequest.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,UAAK,GAAgB,IAAI,CAAC;QAC1B,uBAAkB,GAAgB,IAAI,CAAC;IA2FnD,CAAC;IAzFU,kDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,qDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,sDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,sDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,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E,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AAlGD,IAkGC"}
@@ -0,0 +1,119 @@
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 Gs2AdReward from '../model'
20
+
21
+ export default class AcquirePointByUserIdRequest 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 point: number|null = null;
28
+ private duplicationAvoider: string|null = null;
29
+
30
+ public getRequestId(): string|null {
31
+ return this.requestId;
32
+ }
33
+
34
+ public setRequestId(requestId: string|null) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ }
38
+
39
+ public withRequestId(requestId: string|null): this {
40
+ this.requestId = requestId;
41
+ return this;
42
+ }
43
+
44
+ public getContextStack(): string|null {
45
+ return this.contextStack;
46
+ }
47
+
48
+ public setContextStack(contextStack: string|null) {
49
+ this.contextStack = contextStack;
50
+ return this;
51
+ }
52
+
53
+ public withContextStack(contextStack: string|null): this {
54
+ this.contextStack = contextStack;
55
+ return this;
56
+ }
57
+ public getNamespaceName(): string|null {
58
+ return this.namespaceName;
59
+ }
60
+ public setNamespaceName(namespaceName: string|null) {
61
+ this.namespaceName = namespaceName;
62
+ return this;
63
+ }
64
+ public withNamespaceName(namespaceName: string|null): this {
65
+ this.namespaceName = namespaceName;
66
+ return this;
67
+ }
68
+ public getUserId(): string|null {
69
+ return this.userId;
70
+ }
71
+ public setUserId(userId: string|null) {
72
+ this.userId = userId;
73
+ return this;
74
+ }
75
+ public withUserId(userId: string|null): this {
76
+ this.userId = userId;
77
+ return this;
78
+ }
79
+ public getPoint(): number|null {
80
+ return this.point;
81
+ }
82
+ public setPoint(point: number|null) {
83
+ this.point = point;
84
+ return this;
85
+ }
86
+ public withPoint(point: number|null): this {
87
+ this.point = point;
88
+ return this;
89
+ }
90
+
91
+ public getDuplicationAvoider(): string|null {
92
+ return this.duplicationAvoider;
93
+ }
94
+
95
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
96
+ this.duplicationAvoider = duplicationAvoider;
97
+ return this;
98
+ }
99
+
100
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
101
+ this.duplicationAvoider = duplicationAvoider;
102
+ return this;
103
+ }
104
+
105
+ public static fromDict(data: {[key: string]: any}): AcquirePointByUserIdRequest {
106
+ return new AcquirePointByUserIdRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withUserId(data["userId"])
109
+ .withPoint(data["point"]);
110
+ }
111
+
112
+ public toDict(): {[key: string]: any} {
113
+ return {
114
+ "namespaceName": this.getNamespaceName(),
115
+ "userId": this.getUserId(),
116
+ "point": this.getPoint(),
117
+ };
118
+ }
119
+ }
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class ConsumePointByStampTaskRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private stampTask;
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
+ getStampTask(): string | null;
14
+ setStampTask(stampTask: string | null): this;
15
+ withStampTask(stampTask: 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
+ }): ConsumePointByStampTaskRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }
@@ -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 ConsumePointByStampTaskRequest = /** @class */ (function () {
19
+ function ConsumePointByStampTaskRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.stampTask = null;
23
+ this.keyId = null;
24
+ }
25
+ ConsumePointByStampTaskRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ ConsumePointByStampTaskRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ ConsumePointByStampTaskRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ ConsumePointByStampTaskRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ ConsumePointByStampTaskRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ ConsumePointByStampTaskRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ ConsumePointByStampTaskRequest.prototype.getStampTask = function () {
48
+ return this.stampTask;
49
+ };
50
+ ConsumePointByStampTaskRequest.prototype.setStampTask = function (stampTask) {
51
+ this.stampTask = stampTask;
52
+ return this;
53
+ };
54
+ ConsumePointByStampTaskRequest.prototype.withStampTask = function (stampTask) {
55
+ this.stampTask = stampTask;
56
+ return this;
57
+ };
58
+ ConsumePointByStampTaskRequest.prototype.getKeyId = function () {
59
+ return this.keyId;
60
+ };
61
+ ConsumePointByStampTaskRequest.prototype.setKeyId = function (keyId) {
62
+ this.keyId = keyId;
63
+ return this;
64
+ };
65
+ ConsumePointByStampTaskRequest.prototype.withKeyId = function (keyId) {
66
+ this.keyId = keyId;
67
+ return this;
68
+ };
69
+ ConsumePointByStampTaskRequest.fromDict = function (data) {
70
+ return new ConsumePointByStampTaskRequest()
71
+ .withStampTask(data["stampTask"])
72
+ .withKeyId(data["keyId"]);
73
+ };
74
+ ConsumePointByStampTaskRequest.prototype.toDict = function () {
75
+ return {
76
+ "stampTask": this.getStampTask(),
77
+ "keyId": this.getKeyId(),
78
+ };
79
+ };
80
+ return ConsumePointByStampTaskRequest;
81
+ }());
82
+ exports.default = ConsumePointByStampTaskRequest;
83
+ //# sourceMappingURL=ConsumePointByStampTaskRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsumePointByStampTaskRequest.js","sourceRoot":"","sources":["ConsumePointByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAgEtC,CAAC;IA9DU,qDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,qDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAa,GAApB,UAAqB,SAA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,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,qCAAC;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 Gs2AdReward from '../model'
20
+
21
+ export default class ConsumePointByStampTaskRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private stampTask: string|null = null;
26
+ private keyId: string|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 getStampTask(): string|null {
56
+ return this.stampTask;
57
+ }
58
+ public setStampTask(stampTask: string|null) {
59
+ this.stampTask = stampTask;
60
+ return this;
61
+ }
62
+ public withStampTask(stampTask: string|null): this {
63
+ this.stampTask = stampTask;
64
+ return this;
65
+ }
66
+ public getKeyId(): string|null {
67
+ return this.keyId;
68
+ }
69
+ public setKeyId(keyId: string|null) {
70
+ this.keyId = keyId;
71
+ return this;
72
+ }
73
+ public withKeyId(keyId: string|null): this {
74
+ this.keyId = keyId;
75
+ return this;
76
+ }
77
+
78
+ public static fromDict(data: {[key: string]: any}): ConsumePointByStampTaskRequest {
79
+ return new ConsumePointByStampTaskRequest()
80
+ .withStampTask(data["stampTask"])
81
+ .withKeyId(data["keyId"]);
82
+ }
83
+
84
+ public toDict(): {[key: string]: any} {
85
+ return {
86
+ "stampTask": this.getStampTask(),
87
+ "keyId": this.getKeyId(),
88
+ };
89
+ }
90
+ }
@@ -0,0 +1,33 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class ConsumePointByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private point;
8
+ private duplicationAvoider;
9
+ getRequestId(): string | null;
10
+ setRequestId(requestId: string | null): this;
11
+ withRequestId(requestId: string | null): this;
12
+ getContextStack(): string | null;
13
+ setContextStack(contextStack: string | null): this;
14
+ withContextStack(contextStack: string | null): this;
15
+ getNamespaceName(): string | null;
16
+ setNamespaceName(namespaceName: string | null): this;
17
+ withNamespaceName(namespaceName: string | null): this;
18
+ getUserId(): string | null;
19
+ setUserId(userId: string | null): this;
20
+ withUserId(userId: string | null): this;
21
+ getPoint(): number | null;
22
+ setPoint(point: number | null): this;
23
+ withPoint(point: number | null): this;
24
+ getDuplicationAvoider(): string | null;
25
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
26
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
27
+ static fromDict(data: {
28
+ [key: string]: any;
29
+ }): ConsumePointByUserIdRequest;
30
+ toDict(): {
31
+ [key: string]: any;
32
+ };
33
+ }