gs2 1.3.95 → 1.3.100

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 (37) hide show
  1. package/package.json +1 -1
  2. package/serialKey/request/DescribeSerialKeysRequest.d.ts +37 -0
  3. package/serialKey/request/DescribeSerialKeysRequest.js +125 -0
  4. package/serialKey/request/DescribeSerialKeysRequest.js.map +1 -0
  5. package/serialKey/request/DescribeSerialKeysRequest.ts +132 -0
  6. package/serialKey/request/DownloadSerialCodesRequest.d.ts +29 -0
  7. package/serialKey/request/DownloadSerialCodesRequest.js +97 -0
  8. package/serialKey/request/DownloadSerialCodesRequest.js.map +1 -0
  9. package/serialKey/request/DownloadSerialCodesRequest.ts +104 -0
  10. package/serialKey/request/GetSerialKeyRequest.d.ts +25 -0
  11. package/serialKey/request/GetSerialKeyRequest.js +83 -0
  12. package/serialKey/request/GetSerialKeyRequest.js.map +1 -0
  13. package/serialKey/request/GetSerialKeyRequest.ts +90 -0
  14. package/serialKey/request/index.d.ts +4 -2
  15. package/serialKey/request/index.js +7 -3
  16. package/serialKey/request/index.js.map +1 -1
  17. package/serialKey/request/index.ts +6 -2
  18. package/serialKey/rest.d.ts +3 -1
  19. package/serialKey/rest.js +50 -3
  20. package/serialKey/rest.js.map +1 -1
  21. package/serialKey/rest.ts +58 -3
  22. package/serialKey/result/DescribeSerialKeysResult.d.ts +18 -0
  23. package/serialKey/result/DescribeSerialKeysResult.js +67 -0
  24. package/serialKey/result/DescribeSerialKeysResult.js.map +1 -0
  25. package/serialKey/result/DescribeSerialKeysResult.ts +73 -0
  26. package/serialKey/result/DownloadSerialCodesResult.d.ts +13 -0
  27. package/serialKey/result/DownloadSerialCodesResult.js +45 -0
  28. package/serialKey/result/DownloadSerialCodesResult.js.map +1 -0
  29. package/serialKey/result/DownloadSerialCodesResult.ts +48 -0
  30. package/serialKey/result/GetSerialKeyResult.d.ts +18 -0
  31. package/serialKey/result/GetSerialKeyResult.js +62 -0
  32. package/serialKey/result/GetSerialKeyResult.js.map +1 -0
  33. package/serialKey/result/GetSerialKeyResult.ts +65 -0
  34. package/serialKey/result/index.d.ts +4 -2
  35. package/serialKey/result/index.js +7 -3
  36. package/serialKey/result/index.js.map +1 -1
  37. package/serialKey/result/index.ts +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2",
3
- "version": "1.3.95",
3
+ "version": "1.3.100",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -0,0 +1,37 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class DescribeSerialKeysRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private campaignModelName;
7
+ private issueJobName;
8
+ private pageToken;
9
+ private limit;
10
+ getRequestId(): string | null;
11
+ setRequestId(requestId: string | null): this;
12
+ withRequestId(requestId: string | null): this;
13
+ getContextStack(): string | null;
14
+ setContextStack(contextStack: string | null): this;
15
+ withContextStack(contextStack: string | null): this;
16
+ getNamespaceName(): string | null;
17
+ setNamespaceName(namespaceName: string | null): this;
18
+ withNamespaceName(namespaceName: string | null): this;
19
+ getCampaignModelName(): string | null;
20
+ setCampaignModelName(campaignModelName: string | null): this;
21
+ withCampaignModelName(campaignModelName: string | null): this;
22
+ getIssueJobName(): string | null;
23
+ setIssueJobName(issueJobName: string | null): this;
24
+ withIssueJobName(issueJobName: string | null): this;
25
+ getPageToken(): string | null;
26
+ setPageToken(pageToken: string | null): this;
27
+ withPageToken(pageToken: string | null): this;
28
+ getLimit(): number | null;
29
+ setLimit(limit: number | null): this;
30
+ withLimit(limit: number | null): this;
31
+ static fromDict(data: {
32
+ [key: string]: any;
33
+ }): DescribeSerialKeysRequest;
34
+ toDict(): {
35
+ [key: string]: any;
36
+ };
37
+ }
@@ -0,0 +1,125 @@
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 DescribeSerialKeysRequest = /** @class */ (function () {
19
+ function DescribeSerialKeysRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.campaignModelName = null;
24
+ this.issueJobName = null;
25
+ this.pageToken = null;
26
+ this.limit = null;
27
+ }
28
+ DescribeSerialKeysRequest.prototype.getRequestId = function () {
29
+ return this.requestId;
30
+ };
31
+ DescribeSerialKeysRequest.prototype.setRequestId = function (requestId) {
32
+ this.requestId = requestId;
33
+ return this;
34
+ };
35
+ DescribeSerialKeysRequest.prototype.withRequestId = function (requestId) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ };
39
+ DescribeSerialKeysRequest.prototype.getContextStack = function () {
40
+ return this.contextStack;
41
+ };
42
+ DescribeSerialKeysRequest.prototype.setContextStack = function (contextStack) {
43
+ this.contextStack = contextStack;
44
+ return this;
45
+ };
46
+ DescribeSerialKeysRequest.prototype.withContextStack = function (contextStack) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ };
50
+ DescribeSerialKeysRequest.prototype.getNamespaceName = function () {
51
+ return this.namespaceName;
52
+ };
53
+ DescribeSerialKeysRequest.prototype.setNamespaceName = function (namespaceName) {
54
+ this.namespaceName = namespaceName;
55
+ return this;
56
+ };
57
+ DescribeSerialKeysRequest.prototype.withNamespaceName = function (namespaceName) {
58
+ this.namespaceName = namespaceName;
59
+ return this;
60
+ };
61
+ DescribeSerialKeysRequest.prototype.getCampaignModelName = function () {
62
+ return this.campaignModelName;
63
+ };
64
+ DescribeSerialKeysRequest.prototype.setCampaignModelName = function (campaignModelName) {
65
+ this.campaignModelName = campaignModelName;
66
+ return this;
67
+ };
68
+ DescribeSerialKeysRequest.prototype.withCampaignModelName = function (campaignModelName) {
69
+ this.campaignModelName = campaignModelName;
70
+ return this;
71
+ };
72
+ DescribeSerialKeysRequest.prototype.getIssueJobName = function () {
73
+ return this.issueJobName;
74
+ };
75
+ DescribeSerialKeysRequest.prototype.setIssueJobName = function (issueJobName) {
76
+ this.issueJobName = issueJobName;
77
+ return this;
78
+ };
79
+ DescribeSerialKeysRequest.prototype.withIssueJobName = function (issueJobName) {
80
+ this.issueJobName = issueJobName;
81
+ return this;
82
+ };
83
+ DescribeSerialKeysRequest.prototype.getPageToken = function () {
84
+ return this.pageToken;
85
+ };
86
+ DescribeSerialKeysRequest.prototype.setPageToken = function (pageToken) {
87
+ this.pageToken = pageToken;
88
+ return this;
89
+ };
90
+ DescribeSerialKeysRequest.prototype.withPageToken = function (pageToken) {
91
+ this.pageToken = pageToken;
92
+ return this;
93
+ };
94
+ DescribeSerialKeysRequest.prototype.getLimit = function () {
95
+ return this.limit;
96
+ };
97
+ DescribeSerialKeysRequest.prototype.setLimit = function (limit) {
98
+ this.limit = limit;
99
+ return this;
100
+ };
101
+ DescribeSerialKeysRequest.prototype.withLimit = function (limit) {
102
+ this.limit = limit;
103
+ return this;
104
+ };
105
+ DescribeSerialKeysRequest.fromDict = function (data) {
106
+ return new DescribeSerialKeysRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withCampaignModelName(data["campaignModelName"])
109
+ .withIssueJobName(data["issueJobName"])
110
+ .withPageToken(data["pageToken"])
111
+ .withLimit(data["limit"]);
112
+ };
113
+ DescribeSerialKeysRequest.prototype.toDict = function () {
114
+ return {
115
+ "namespaceName": this.getNamespaceName(),
116
+ "campaignModelName": this.getCampaignModelName(),
117
+ "issueJobName": this.getIssueJobName(),
118
+ "pageToken": this.getPageToken(),
119
+ "limit": this.getLimit(),
120
+ };
121
+ };
122
+ return DescribeSerialKeysRequest;
123
+ }());
124
+ exports.default = DescribeSerialKeysRequest;
125
+ //# sourceMappingURL=DescribeSerialKeysRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeSerialKeysRequest.js","sourceRoot":"","sources":["DescribeSerialKeysRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,sBAAiB,GAAgB,IAAI,CAAC;QACtC,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAuGtC,CAAC;IArGU,gDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,gDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,mDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,oDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,a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CAAC;IACM,6CAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,yBAAyB,EAAE;aACjC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;aAChD,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,0CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,gCAAC;AAAD,CAAC,AA/GD,IA+GC"}
@@ -0,0 +1,132 @@
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 Gs2SerialKey from '../model'
20
+
21
+ export default class DescribeSerialKeysRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private campaignModelName: string|null = null;
27
+ private issueJobName: string|null = null;
28
+ private pageToken: string|null = null;
29
+ private limit: number|null = null;
30
+
31
+ public getRequestId(): string|null {
32
+ return this.requestId;
33
+ }
34
+
35
+ public setRequestId(requestId: string|null) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ }
39
+
40
+ public withRequestId(requestId: string|null): this {
41
+ this.requestId = requestId;
42
+ return this;
43
+ }
44
+
45
+ public getContextStack(): string|null {
46
+ return this.contextStack;
47
+ }
48
+
49
+ public setContextStack(contextStack: string|null) {
50
+ this.contextStack = contextStack;
51
+ return this;
52
+ }
53
+
54
+ public withContextStack(contextStack: string|null): this {
55
+ this.contextStack = contextStack;
56
+ return this;
57
+ }
58
+ public getNamespaceName(): string|null {
59
+ return this.namespaceName;
60
+ }
61
+ public setNamespaceName(namespaceName: string|null) {
62
+ this.namespaceName = namespaceName;
63
+ return this;
64
+ }
65
+ public withNamespaceName(namespaceName: string|null): this {
66
+ this.namespaceName = namespaceName;
67
+ return this;
68
+ }
69
+ public getCampaignModelName(): string|null {
70
+ return this.campaignModelName;
71
+ }
72
+ public setCampaignModelName(campaignModelName: string|null) {
73
+ this.campaignModelName = campaignModelName;
74
+ return this;
75
+ }
76
+ public withCampaignModelName(campaignModelName: string|null): this {
77
+ this.campaignModelName = campaignModelName;
78
+ return this;
79
+ }
80
+ public getIssueJobName(): string|null {
81
+ return this.issueJobName;
82
+ }
83
+ public setIssueJobName(issueJobName: string|null) {
84
+ this.issueJobName = issueJobName;
85
+ return this;
86
+ }
87
+ public withIssueJobName(issueJobName: string|null): this {
88
+ this.issueJobName = issueJobName;
89
+ return this;
90
+ }
91
+ public getPageToken(): string|null {
92
+ return this.pageToken;
93
+ }
94
+ public setPageToken(pageToken: string|null) {
95
+ this.pageToken = pageToken;
96
+ return this;
97
+ }
98
+ public withPageToken(pageToken: string|null): this {
99
+ this.pageToken = pageToken;
100
+ return this;
101
+ }
102
+ public getLimit(): number|null {
103
+ return this.limit;
104
+ }
105
+ public setLimit(limit: number|null) {
106
+ this.limit = limit;
107
+ return this;
108
+ }
109
+ public withLimit(limit: number|null): this {
110
+ this.limit = limit;
111
+ return this;
112
+ }
113
+
114
+ public static fromDict(data: {[key: string]: any}): DescribeSerialKeysRequest {
115
+ return new DescribeSerialKeysRequest()
116
+ .withNamespaceName(data["namespaceName"])
117
+ .withCampaignModelName(data["campaignModelName"])
118
+ .withIssueJobName(data["issueJobName"])
119
+ .withPageToken(data["pageToken"])
120
+ .withLimit(data["limit"]);
121
+ }
122
+
123
+ public toDict(): {[key: string]: any} {
124
+ return {
125
+ "namespaceName": this.getNamespaceName(),
126
+ "campaignModelName": this.getCampaignModelName(),
127
+ "issueJobName": this.getIssueJobName(),
128
+ "pageToken": this.getPageToken(),
129
+ "limit": this.getLimit(),
130
+ };
131
+ }
132
+ }
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class DownloadSerialCodesRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private campaignModelName;
7
+ private issueJobName;
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
+ getCampaignModelName(): string | null;
18
+ setCampaignModelName(campaignModelName: string | null): this;
19
+ withCampaignModelName(campaignModelName: string | null): this;
20
+ getIssueJobName(): string | null;
21
+ setIssueJobName(issueJobName: string | null): this;
22
+ withIssueJobName(issueJobName: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): DownloadSerialCodesRequest;
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 DownloadSerialCodesRequest = /** @class */ (function () {
19
+ function DownloadSerialCodesRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.campaignModelName = null;
24
+ this.issueJobName = null;
25
+ }
26
+ DownloadSerialCodesRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ DownloadSerialCodesRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ DownloadSerialCodesRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ DownloadSerialCodesRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ DownloadSerialCodesRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ DownloadSerialCodesRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ DownloadSerialCodesRequest.prototype.getNamespaceName = function () {
49
+ return this.namespaceName;
50
+ };
51
+ DownloadSerialCodesRequest.prototype.setNamespaceName = function (namespaceName) {
52
+ this.namespaceName = namespaceName;
53
+ return this;
54
+ };
55
+ DownloadSerialCodesRequest.prototype.withNamespaceName = function (namespaceName) {
56
+ this.namespaceName = namespaceName;
57
+ return this;
58
+ };
59
+ DownloadSerialCodesRequest.prototype.getCampaignModelName = function () {
60
+ return this.campaignModelName;
61
+ };
62
+ DownloadSerialCodesRequest.prototype.setCampaignModelName = function (campaignModelName) {
63
+ this.campaignModelName = campaignModelName;
64
+ return this;
65
+ };
66
+ DownloadSerialCodesRequest.prototype.withCampaignModelName = function (campaignModelName) {
67
+ this.campaignModelName = campaignModelName;
68
+ return this;
69
+ };
70
+ DownloadSerialCodesRequest.prototype.getIssueJobName = function () {
71
+ return this.issueJobName;
72
+ };
73
+ DownloadSerialCodesRequest.prototype.setIssueJobName = function (issueJobName) {
74
+ this.issueJobName = issueJobName;
75
+ return this;
76
+ };
77
+ DownloadSerialCodesRequest.prototype.withIssueJobName = function (issueJobName) {
78
+ this.issueJobName = issueJobName;
79
+ return this;
80
+ };
81
+ DownloadSerialCodesRequest.fromDict = function (data) {
82
+ return new DownloadSerialCodesRequest()
83
+ .withNamespaceName(data["namespaceName"])
84
+ .withCampaignModelName(data["campaignModelName"])
85
+ .withIssueJobName(data["issueJobName"]);
86
+ };
87
+ DownloadSerialCodesRequest.prototype.toDict = function () {
88
+ return {
89
+ "namespaceName": this.getNamespaceName(),
90
+ "campaignModelName": this.getCampaignModelName(),
91
+ "issueJobName": this.getIssueJobName(),
92
+ };
93
+ };
94
+ return DownloadSerialCodesRequest;
95
+ }());
96
+ exports.default = DownloadSerialCodesRequest;
97
+ //# sourceMappingURL=DownloadSerialCodesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadSerialCodesRequest.js","sourceRoot":"","sources":["DownloadSerialCodesRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,sBAAiB,GAAgB,IAAI,CAAC;QACtC,iBAAY,GAAgB,IAAI,CAAC;IA6E7C,CAAC;IA3EU,iDAAY,GAAnB;QACI,OAAO,IAA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C;IACM,oDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;aAChD,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;IAChD,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;SACzC,CAAC;IACN,CAAC;IACL,iCAAC;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 Gs2SerialKey from '../model'
20
+
21
+ export default class DownloadSerialCodesRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private campaignModelName: string|null = null;
27
+ private issueJobName: 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 getCampaignModelName(): string|null {
68
+ return this.campaignModelName;
69
+ }
70
+ public setCampaignModelName(campaignModelName: string|null) {
71
+ this.campaignModelName = campaignModelName;
72
+ return this;
73
+ }
74
+ public withCampaignModelName(campaignModelName: string|null): this {
75
+ this.campaignModelName = campaignModelName;
76
+ return this;
77
+ }
78
+ public getIssueJobName(): string|null {
79
+ return this.issueJobName;
80
+ }
81
+ public setIssueJobName(issueJobName: string|null) {
82
+ this.issueJobName = issueJobName;
83
+ return this;
84
+ }
85
+ public withIssueJobName(issueJobName: string|null): this {
86
+ this.issueJobName = issueJobName;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): DownloadSerialCodesRequest {
91
+ return new DownloadSerialCodesRequest()
92
+ .withNamespaceName(data["namespaceName"])
93
+ .withCampaignModelName(data["campaignModelName"])
94
+ .withIssueJobName(data["issueJobName"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "namespaceName": this.getNamespaceName(),
100
+ "campaignModelName": this.getCampaignModelName(),
101
+ "issueJobName": this.getIssueJobName(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetSerialKeyRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private code;
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
+ getNamespaceName(): string | null;
14
+ setNamespaceName(namespaceName: string | null): this;
15
+ withNamespaceName(namespaceName: string | null): this;
16
+ getCode(): string | null;
17
+ setCode(code: string | null): this;
18
+ withCode(code: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): GetSerialKeyRequest;
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 GetSerialKeyRequest = /** @class */ (function () {
19
+ function GetSerialKeyRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.code = null;
24
+ }
25
+ GetSerialKeyRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ GetSerialKeyRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ GetSerialKeyRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ GetSerialKeyRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ GetSerialKeyRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ GetSerialKeyRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ GetSerialKeyRequest.prototype.getNamespaceName = function () {
48
+ return this.namespaceName;
49
+ };
50
+ GetSerialKeyRequest.prototype.setNamespaceName = function (namespaceName) {
51
+ this.namespaceName = namespaceName;
52
+ return this;
53
+ };
54
+ GetSerialKeyRequest.prototype.withNamespaceName = function (namespaceName) {
55
+ this.namespaceName = namespaceName;
56
+ return this;
57
+ };
58
+ GetSerialKeyRequest.prototype.getCode = function () {
59
+ return this.code;
60
+ };
61
+ GetSerialKeyRequest.prototype.setCode = function (code) {
62
+ this.code = code;
63
+ return this;
64
+ };
65
+ GetSerialKeyRequest.prototype.withCode = function (code) {
66
+ this.code = code;
67
+ return this;
68
+ };
69
+ GetSerialKeyRequest.fromDict = function (data) {
70
+ return new GetSerialKeyRequest()
71
+ .withNamespaceName(data["namespaceName"])
72
+ .withCode(data["code"]);
73
+ };
74
+ GetSerialKeyRequest.prototype.toDict = function () {
75
+ return {
76
+ "namespaceName": this.getNamespaceName(),
77
+ "code": this.getCode(),
78
+ };
79
+ };
80
+ return GetSerialKeyRequest;
81
+ }());
82
+ exports.default = GetSerialKeyRequest;
83
+ //# sourceMappingURL=GetSerialKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetSerialKeyRequest.js","sourceRoot":"","sources":["GetSerialKeyRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QA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