gs2 1.3.148 → 1.3.150

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 (70) hide show
  1. package/package.json +1 -1
  2. package/showcase/model/RandomDisplayItem.d.ts +4 -0
  3. package/showcase/model/RandomDisplayItem.js +14 -0
  4. package/showcase/model/RandomDisplayItem.js.map +1 -1
  5. package/showcase/model/RandomDisplayItem.ts +14 -0
  6. package/showcase/request/{DescribeRandomShowcaseSalesItemsByUserIdRequest.d.ts → DescribeRandomDisplayItemsByUserIdRequest.d.ts} +2 -2
  7. package/showcase/request/DescribeRandomDisplayItemsByUserIdRequest.js +97 -0
  8. package/showcase/request/DescribeRandomDisplayItemsByUserIdRequest.js.map +1 -0
  9. package/showcase/request/{DescribeRandomShowcaseSalesItemsByUserIdRequest.ts → DescribeRandomDisplayItemsByUserIdRequest.ts} +3 -3
  10. package/showcase/request/{DescribeRandomShowcaseSalesItemsRequest.d.ts → DescribeRandomDisplayItemsRequest.d.ts} +2 -2
  11. package/showcase/request/{DescribeRandomShowcaseSalesItemsRequest.js → DescribeRandomDisplayItemsRequest.js} +23 -23
  12. package/showcase/request/DescribeRandomDisplayItemsRequest.js.map +1 -0
  13. package/showcase/request/{DescribeRandomShowcaseSalesItemsRequest.ts → DescribeRandomDisplayItemsRequest.ts} +3 -3
  14. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.d.ts +25 -0
  15. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.js +83 -0
  16. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.js.map +1 -0
  17. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.ts +90 -0
  18. package/showcase/request/ForceReDrawByUserIdRequest.d.ts +33 -0
  19. package/showcase/request/ForceReDrawByUserIdRequest.js +109 -0
  20. package/showcase/request/ForceReDrawByUserIdRequest.js.map +1 -0
  21. package/showcase/request/ForceReDrawByUserIdRequest.ts +119 -0
  22. package/showcase/request/GetRandomDisplayItemByUserIdRequest.d.ts +33 -0
  23. package/showcase/request/GetRandomDisplayItemByUserIdRequest.js +111 -0
  24. package/showcase/request/GetRandomDisplayItemByUserIdRequest.js.map +1 -0
  25. package/showcase/request/GetRandomDisplayItemByUserIdRequest.ts +118 -0
  26. package/showcase/request/GetRandomDisplayItemRequest.d.ts +33 -0
  27. package/showcase/request/GetRandomDisplayItemRequest.js +111 -0
  28. package/showcase/request/GetRandomDisplayItemRequest.js.map +1 -0
  29. package/showcase/request/GetRandomDisplayItemRequest.ts +118 -0
  30. package/showcase/request/index.d.ts +9 -5
  31. package/showcase/request/index.js +17 -9
  32. package/showcase/request/index.js.map +1 -1
  33. package/showcase/request/index.ts +16 -8
  34. package/showcase/rest.d.ts +8 -4
  35. package/showcase/rest.js +163 -57
  36. package/showcase/rest.js.map +1 -1
  37. package/showcase/rest.ts +172 -50
  38. package/showcase/result/{DescribeRandomShowcaseSalesItemsByUserIdResult.d.ts → DescribeRandomDisplayItemsByUserIdResult.d.ts} +2 -2
  39. package/showcase/result/{DescribeRandomShowcaseSalesItemsByUserIdResult.js → DescribeRandomDisplayItemsByUserIdResult.js} +11 -11
  40. package/showcase/result/DescribeRandomDisplayItemsByUserIdResult.js.map +1 -0
  41. package/showcase/result/{DescribeRandomShowcaseSalesItemsByUserIdResult.ts → DescribeRandomDisplayItemsByUserIdResult.ts} +3 -3
  42. package/showcase/result/{DescribeRandomShowcaseSalesItemsResult.d.ts → DescribeRandomDisplayItemsResult.d.ts} +2 -2
  43. package/showcase/result/DescribeRandomDisplayItemsResult.js +53 -0
  44. package/showcase/result/DescribeRandomDisplayItemsResult.js.map +1 -0
  45. package/showcase/result/{DescribeRandomShowcaseSalesItemsResult.ts → DescribeRandomDisplayItemsResult.ts} +3 -3
  46. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.d.ts +14 -0
  47. package/showcase/result/{DescribeRandomShowcaseSalesItemsResult.js → ForceReDrawByUserIdByStampSheetResult.js} +11 -11
  48. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.js.map +1 -0
  49. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.ts +56 -0
  50. package/showcase/result/ForceReDrawByUserIdResult.d.ts +14 -0
  51. package/showcase/result/ForceReDrawByUserIdResult.js +53 -0
  52. package/showcase/result/ForceReDrawByUserIdResult.js.map +1 -0
  53. package/showcase/result/ForceReDrawByUserIdResult.ts +56 -0
  54. package/showcase/result/GetRandomDisplayItemByUserIdResult.d.ts +14 -0
  55. package/showcase/result/GetRandomDisplayItemByUserIdResult.js +48 -0
  56. package/showcase/result/GetRandomDisplayItemByUserIdResult.js.map +1 -0
  57. package/showcase/result/GetRandomDisplayItemByUserIdResult.ts +48 -0
  58. package/showcase/result/GetRandomDisplayItemResult.d.ts +14 -0
  59. package/showcase/result/GetRandomDisplayItemResult.js +48 -0
  60. package/showcase/result/GetRandomDisplayItemResult.js.map +1 -0
  61. package/showcase/result/GetRandomDisplayItemResult.ts +48 -0
  62. package/showcase/result/index.d.ts +9 -5
  63. package/showcase/result/index.js +17 -9
  64. package/showcase/result/index.js.map +1 -1
  65. package/showcase/result/index.ts +16 -8
  66. package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.js +0 -97
  67. package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.js.map +0 -1
  68. package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.js.map +0 -1
  69. package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.js.map +0 -1
  70. package/showcase/result/DescribeRandomShowcaseSalesItemsResult.js.map +0 -1
@@ -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 ForceReDrawByUserIdRequest = /** @class */ (function () {
19
+ function ForceReDrawByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.showcaseName = null;
24
+ this.userId = null;
25
+ this.duplicationAvoider = null;
26
+ }
27
+ ForceReDrawByUserIdRequest.prototype.getRequestId = function () {
28
+ return this.requestId;
29
+ };
30
+ ForceReDrawByUserIdRequest.prototype.setRequestId = function (requestId) {
31
+ this.requestId = requestId;
32
+ return this;
33
+ };
34
+ ForceReDrawByUserIdRequest.prototype.withRequestId = function (requestId) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ };
38
+ ForceReDrawByUserIdRequest.prototype.getContextStack = function () {
39
+ return this.contextStack;
40
+ };
41
+ ForceReDrawByUserIdRequest.prototype.setContextStack = function (contextStack) {
42
+ this.contextStack = contextStack;
43
+ return this;
44
+ };
45
+ ForceReDrawByUserIdRequest.prototype.withContextStack = function (contextStack) {
46
+ this.contextStack = contextStack;
47
+ return this;
48
+ };
49
+ ForceReDrawByUserIdRequest.prototype.getNamespaceName = function () {
50
+ return this.namespaceName;
51
+ };
52
+ ForceReDrawByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
53
+ this.namespaceName = namespaceName;
54
+ return this;
55
+ };
56
+ ForceReDrawByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
57
+ this.namespaceName = namespaceName;
58
+ return this;
59
+ };
60
+ ForceReDrawByUserIdRequest.prototype.getShowcaseName = function () {
61
+ return this.showcaseName;
62
+ };
63
+ ForceReDrawByUserIdRequest.prototype.setShowcaseName = function (showcaseName) {
64
+ this.showcaseName = showcaseName;
65
+ return this;
66
+ };
67
+ ForceReDrawByUserIdRequest.prototype.withShowcaseName = function (showcaseName) {
68
+ this.showcaseName = showcaseName;
69
+ return this;
70
+ };
71
+ ForceReDrawByUserIdRequest.prototype.getUserId = function () {
72
+ return this.userId;
73
+ };
74
+ ForceReDrawByUserIdRequest.prototype.setUserId = function (userId) {
75
+ this.userId = userId;
76
+ return this;
77
+ };
78
+ ForceReDrawByUserIdRequest.prototype.withUserId = function (userId) {
79
+ this.userId = userId;
80
+ return this;
81
+ };
82
+ ForceReDrawByUserIdRequest.prototype.getDuplicationAvoider = function () {
83
+ return this.duplicationAvoider;
84
+ };
85
+ ForceReDrawByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
86
+ this.duplicationAvoider = duplicationAvoider;
87
+ return this;
88
+ };
89
+ ForceReDrawByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
90
+ this.duplicationAvoider = duplicationAvoider;
91
+ return this;
92
+ };
93
+ ForceReDrawByUserIdRequest.fromDict = function (data) {
94
+ return new ForceReDrawByUserIdRequest()
95
+ .withNamespaceName(data["namespaceName"])
96
+ .withShowcaseName(data["showcaseName"])
97
+ .withUserId(data["userId"]);
98
+ };
99
+ ForceReDrawByUserIdRequest.prototype.toDict = function () {
100
+ return {
101
+ "namespaceName": this.getNamespaceName(),
102
+ "showcaseName": this.getShowcaseName(),
103
+ "userId": this.getUserId(),
104
+ };
105
+ };
106
+ return ForceReDrawByUserIdRequest;
107
+ }());
108
+ exports.default = ForceReDrawByUserIdRequest;
109
+ //# sourceMappingURL=ForceReDrawByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForceReDrawByUserIdRequest.js","sourceRoot":"","sources":["ForceReDrawByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,iBAAY,GAAgB,IAAI,CAAC;QACjC,WAAM,GAAgB,IAAI,CAAC;QAC3B,uBA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CAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,8CAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,0DAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,iCAAC;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 Gs2Showcase from '../model'
20
+
21
+ export default class ForceReDrawByUserIdRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private showcaseName: string|null = null;
27
+ private userId: string|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 getShowcaseName(): string|null {
69
+ return this.showcaseName;
70
+ }
71
+ public setShowcaseName(showcaseName: string|null) {
72
+ this.showcaseName = showcaseName;
73
+ return this;
74
+ }
75
+ public withShowcaseName(showcaseName: string|null): this {
76
+ this.showcaseName = showcaseName;
77
+ return this;
78
+ }
79
+ public getUserId(): string|null {
80
+ return this.userId;
81
+ }
82
+ public setUserId(userId: string|null) {
83
+ this.userId = userId;
84
+ return this;
85
+ }
86
+ public withUserId(userId: string|null): this {
87
+ this.userId = userId;
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}): ForceReDrawByUserIdRequest {
106
+ return new ForceReDrawByUserIdRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withShowcaseName(data["showcaseName"])
109
+ .withUserId(data["userId"]);
110
+ }
111
+
112
+ public toDict(): {[key: string]: any} {
113
+ return {
114
+ "namespaceName": this.getNamespaceName(),
115
+ "showcaseName": this.getShowcaseName(),
116
+ "userId": this.getUserId(),
117
+ };
118
+ }
119
+ }
@@ -0,0 +1,33 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetRandomDisplayItemByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private showcaseName;
7
+ private displayItemName;
8
+ private userId;
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
+ getShowcaseName(): string | null;
19
+ setShowcaseName(showcaseName: string | null): this;
20
+ withShowcaseName(showcaseName: string | null): this;
21
+ getDisplayItemName(): string | null;
22
+ setDisplayItemName(displayItemName: string | null): this;
23
+ withDisplayItemName(displayItemName: string | null): this;
24
+ getUserId(): string | null;
25
+ setUserId(userId: string | null): this;
26
+ withUserId(userId: string | null): this;
27
+ static fromDict(data: {
28
+ [key: string]: any;
29
+ }): GetRandomDisplayItemByUserIdRequest;
30
+ toDict(): {
31
+ [key: string]: any;
32
+ };
33
+ }
@@ -0,0 +1,111 @@
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 GetRandomDisplayItemByUserIdRequest = /** @class */ (function () {
19
+ function GetRandomDisplayItemByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.showcaseName = null;
24
+ this.displayItemName = null;
25
+ this.userId = null;
26
+ }
27
+ GetRandomDisplayItemByUserIdRequest.prototype.getRequestId = function () {
28
+ return this.requestId;
29
+ };
30
+ GetRandomDisplayItemByUserIdRequest.prototype.setRequestId = function (requestId) {
31
+ this.requestId = requestId;
32
+ return this;
33
+ };
34
+ GetRandomDisplayItemByUserIdRequest.prototype.withRequestId = function (requestId) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ };
38
+ GetRandomDisplayItemByUserIdRequest.prototype.getContextStack = function () {
39
+ return this.contextStack;
40
+ };
41
+ GetRandomDisplayItemByUserIdRequest.prototype.setContextStack = function (contextStack) {
42
+ this.contextStack = contextStack;
43
+ return this;
44
+ };
45
+ GetRandomDisplayItemByUserIdRequest.prototype.withContextStack = function (contextStack) {
46
+ this.contextStack = contextStack;
47
+ return this;
48
+ };
49
+ GetRandomDisplayItemByUserIdRequest.prototype.getNamespaceName = function () {
50
+ return this.namespaceName;
51
+ };
52
+ GetRandomDisplayItemByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
53
+ this.namespaceName = namespaceName;
54
+ return this;
55
+ };
56
+ GetRandomDisplayItemByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
57
+ this.namespaceName = namespaceName;
58
+ return this;
59
+ };
60
+ GetRandomDisplayItemByUserIdRequest.prototype.getShowcaseName = function () {
61
+ return this.showcaseName;
62
+ };
63
+ GetRandomDisplayItemByUserIdRequest.prototype.setShowcaseName = function (showcaseName) {
64
+ this.showcaseName = showcaseName;
65
+ return this;
66
+ };
67
+ GetRandomDisplayItemByUserIdRequest.prototype.withShowcaseName = function (showcaseName) {
68
+ this.showcaseName = showcaseName;
69
+ return this;
70
+ };
71
+ GetRandomDisplayItemByUserIdRequest.prototype.getDisplayItemName = function () {
72
+ return this.displayItemName;
73
+ };
74
+ GetRandomDisplayItemByUserIdRequest.prototype.setDisplayItemName = function (displayItemName) {
75
+ this.displayItemName = displayItemName;
76
+ return this;
77
+ };
78
+ GetRandomDisplayItemByUserIdRequest.prototype.withDisplayItemName = function (displayItemName) {
79
+ this.displayItemName = displayItemName;
80
+ return this;
81
+ };
82
+ GetRandomDisplayItemByUserIdRequest.prototype.getUserId = function () {
83
+ return this.userId;
84
+ };
85
+ GetRandomDisplayItemByUserIdRequest.prototype.setUserId = function (userId) {
86
+ this.userId = userId;
87
+ return this;
88
+ };
89
+ GetRandomDisplayItemByUserIdRequest.prototype.withUserId = function (userId) {
90
+ this.userId = userId;
91
+ return this;
92
+ };
93
+ GetRandomDisplayItemByUserIdRequest.fromDict = function (data) {
94
+ return new GetRandomDisplayItemByUserIdRequest()
95
+ .withNamespaceName(data["namespaceName"])
96
+ .withShowcaseName(data["showcaseName"])
97
+ .withDisplayItemName(data["displayItemName"])
98
+ .withUserId(data["userId"]);
99
+ };
100
+ GetRandomDisplayItemByUserIdRequest.prototype.toDict = function () {
101
+ return {
102
+ "namespaceName": this.getNamespaceName(),
103
+ "showcaseName": this.getShowcaseName(),
104
+ "displayItemName": this.getDisplayItemName(),
105
+ "userId": this.getUserId(),
106
+ };
107
+ };
108
+ return GetRandomDisplayItemByUserIdRequest;
109
+ }());
110
+ exports.default = GetRandomDisplayItemByUserIdRequest;
111
+ //# sourceMappingURL=GetRandomDisplayItemByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetRandomDisplayItemByUserIdRequest.js","sourceRoot":"","sources":["GetRandomDisplayItemByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,iBAAY,GAAgB,IAAI,CAAC;QACjC,oBAAe,GAAgB,IAAI,CAAC;QACpC,WAAM,GAAgB,IAAI,CAAC;IA0FvC,CAAC;IAxFU,0DAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,0DAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,6DAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8DAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAC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gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC5C,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,oDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,0CAAC;AAAD,CAAC,AAjGD,IAiGC"}
@@ -0,0 +1,118 @@
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 Gs2Showcase from '../model'
20
+
21
+ export default class GetRandomDisplayItemByUserIdRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private showcaseName: string|null = null;
27
+ private displayItemName: string|null = null;
28
+ private userId: 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 getShowcaseName(): string|null {
69
+ return this.showcaseName;
70
+ }
71
+ public setShowcaseName(showcaseName: string|null) {
72
+ this.showcaseName = showcaseName;
73
+ return this;
74
+ }
75
+ public withShowcaseName(showcaseName: string|null): this {
76
+ this.showcaseName = showcaseName;
77
+ return this;
78
+ }
79
+ public getDisplayItemName(): string|null {
80
+ return this.displayItemName;
81
+ }
82
+ public setDisplayItemName(displayItemName: string|null) {
83
+ this.displayItemName = displayItemName;
84
+ return this;
85
+ }
86
+ public withDisplayItemName(displayItemName: string|null): this {
87
+ this.displayItemName = displayItemName;
88
+ return this;
89
+ }
90
+ public getUserId(): string|null {
91
+ return this.userId;
92
+ }
93
+ public setUserId(userId: string|null) {
94
+ this.userId = userId;
95
+ return this;
96
+ }
97
+ public withUserId(userId: string|null): this {
98
+ this.userId = userId;
99
+ return this;
100
+ }
101
+
102
+ public static fromDict(data: {[key: string]: any}): GetRandomDisplayItemByUserIdRequest {
103
+ return new GetRandomDisplayItemByUserIdRequest()
104
+ .withNamespaceName(data["namespaceName"])
105
+ .withShowcaseName(data["showcaseName"])
106
+ .withDisplayItemName(data["displayItemName"])
107
+ .withUserId(data["userId"]);
108
+ }
109
+
110
+ public toDict(): {[key: string]: any} {
111
+ return {
112
+ "namespaceName": this.getNamespaceName(),
113
+ "showcaseName": this.getShowcaseName(),
114
+ "displayItemName": this.getDisplayItemName(),
115
+ "userId": this.getUserId(),
116
+ };
117
+ }
118
+ }
@@ -0,0 +1,33 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetRandomDisplayItemRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private showcaseName;
7
+ private displayItemName;
8
+ private accessToken;
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
+ getShowcaseName(): string | null;
19
+ setShowcaseName(showcaseName: string | null): this;
20
+ withShowcaseName(showcaseName: string | null): this;
21
+ getDisplayItemName(): string | null;
22
+ setDisplayItemName(displayItemName: string | null): this;
23
+ withDisplayItemName(displayItemName: string | null): this;
24
+ getAccessToken(): string | null;
25
+ setAccessToken(accessToken: string | null): this;
26
+ withAccessToken(accessToken: string | null): this;
27
+ static fromDict(data: {
28
+ [key: string]: any;
29
+ }): GetRandomDisplayItemRequest;
30
+ toDict(): {
31
+ [key: string]: any;
32
+ };
33
+ }
@@ -0,0 +1,111 @@
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 GetRandomDisplayItemRequest = /** @class */ (function () {
19
+ function GetRandomDisplayItemRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.showcaseName = null;
24
+ this.displayItemName = null;
25
+ this.accessToken = null;
26
+ }
27
+ GetRandomDisplayItemRequest.prototype.getRequestId = function () {
28
+ return this.requestId;
29
+ };
30
+ GetRandomDisplayItemRequest.prototype.setRequestId = function (requestId) {
31
+ this.requestId = requestId;
32
+ return this;
33
+ };
34
+ GetRandomDisplayItemRequest.prototype.withRequestId = function (requestId) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ };
38
+ GetRandomDisplayItemRequest.prototype.getContextStack = function () {
39
+ return this.contextStack;
40
+ };
41
+ GetRandomDisplayItemRequest.prototype.setContextStack = function (contextStack) {
42
+ this.contextStack = contextStack;
43
+ return this;
44
+ };
45
+ GetRandomDisplayItemRequest.prototype.withContextStack = function (contextStack) {
46
+ this.contextStack = contextStack;
47
+ return this;
48
+ };
49
+ GetRandomDisplayItemRequest.prototype.getNamespaceName = function () {
50
+ return this.namespaceName;
51
+ };
52
+ GetRandomDisplayItemRequest.prototype.setNamespaceName = function (namespaceName) {
53
+ this.namespaceName = namespaceName;
54
+ return this;
55
+ };
56
+ GetRandomDisplayItemRequest.prototype.withNamespaceName = function (namespaceName) {
57
+ this.namespaceName = namespaceName;
58
+ return this;
59
+ };
60
+ GetRandomDisplayItemRequest.prototype.getShowcaseName = function () {
61
+ return this.showcaseName;
62
+ };
63
+ GetRandomDisplayItemRequest.prototype.setShowcaseName = function (showcaseName) {
64
+ this.showcaseName = showcaseName;
65
+ return this;
66
+ };
67
+ GetRandomDisplayItemRequest.prototype.withShowcaseName = function (showcaseName) {
68
+ this.showcaseName = showcaseName;
69
+ return this;
70
+ };
71
+ GetRandomDisplayItemRequest.prototype.getDisplayItemName = function () {
72
+ return this.displayItemName;
73
+ };
74
+ GetRandomDisplayItemRequest.prototype.setDisplayItemName = function (displayItemName) {
75
+ this.displayItemName = displayItemName;
76
+ return this;
77
+ };
78
+ GetRandomDisplayItemRequest.prototype.withDisplayItemName = function (displayItemName) {
79
+ this.displayItemName = displayItemName;
80
+ return this;
81
+ };
82
+ GetRandomDisplayItemRequest.prototype.getAccessToken = function () {
83
+ return this.accessToken;
84
+ };
85
+ GetRandomDisplayItemRequest.prototype.setAccessToken = function (accessToken) {
86
+ this.accessToken = accessToken;
87
+ return this;
88
+ };
89
+ GetRandomDisplayItemRequest.prototype.withAccessToken = function (accessToken) {
90
+ this.accessToken = accessToken;
91
+ return this;
92
+ };
93
+ GetRandomDisplayItemRequest.fromDict = function (data) {
94
+ return new GetRandomDisplayItemRequest()
95
+ .withNamespaceName(data["namespaceName"])
96
+ .withShowcaseName(data["showcaseName"])
97
+ .withDisplayItemName(data["displayItemName"])
98
+ .withAccessToken(data["accessToken"]);
99
+ };
100
+ GetRandomDisplayItemRequest.prototype.toDict = function () {
101
+ return {
102
+ "namespaceName": this.getNamespaceName(),
103
+ "showcaseName": this.getShowcaseName(),
104
+ "displayItemName": this.getDisplayItemName(),
105
+ "accessToken": this.getAccessToken(),
106
+ };
107
+ };
108
+ return GetRandomDisplayItemRequest;
109
+ }());
110
+ exports.default = GetRandomDisplayItemRequest;
111
+ //# sourceMappingURL=GetRandomDisplayItemRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetRandomDisplayItemRequest.js","sourceRoot":"","sources":["GetRandomDisplayItemRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,iBAAY,GAAgB,IAAI,CAAC;QACjC,oBAAe,GAAgB,IAAI,CAAC;QACpC,gBAAW,GAAgB,IAAI,CAAC;IA0F5C,CAAC;IAxFU,kDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAA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