gs2 1.3.260 → 1.3.262

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 (120) hide show
  1. package/account/model/PlatformId.d.ts +40 -0
  2. package/account/model/PlatformId.js +205 -0
  3. package/account/model/PlatformId.js.map +1 -0
  4. package/account/model/PlatformId.ts +221 -0
  5. package/account/model/PlatformUser.d.ts +21 -0
  6. package/account/model/PlatformUser.js +76 -0
  7. package/account/model/PlatformUser.js.map +1 -0
  8. package/account/model/PlatformUser.ts +74 -0
  9. package/account/model/index.d.ts +3 -1
  10. package/account/model/index.js +5 -1
  11. package/account/model/index.js.map +1 -1
  12. package/account/model/index.ts +4 -0
  13. package/account/request/CreatePlatformIdByUserIdRequest.d.ts +41 -0
  14. package/account/request/CreatePlatformIdByUserIdRequest.js +137 -0
  15. package/account/request/CreatePlatformIdByUserIdRequest.js.map +1 -0
  16. package/account/request/CreatePlatformIdByUserIdRequest.ts +147 -0
  17. package/account/request/CreatePlatformIdRequest.d.ts +37 -0
  18. package/account/request/CreatePlatformIdRequest.js +123 -0
  19. package/account/request/CreatePlatformIdRequest.js.map +1 -0
  20. package/account/request/CreatePlatformIdRequest.ts +133 -0
  21. package/account/request/DeletePlatformIdByUserIdRequest.d.ts +37 -0
  22. package/account/request/DeletePlatformIdByUserIdRequest.js +123 -0
  23. package/account/request/DeletePlatformIdByUserIdRequest.js.map +1 -0
  24. package/account/request/DeletePlatformIdByUserIdRequest.ts +133 -0
  25. package/account/request/DeletePlatformIdByUserIdentifierRequest.d.ts +33 -0
  26. package/account/request/DeletePlatformIdByUserIdentifierRequest.js +109 -0
  27. package/account/request/DeletePlatformIdByUserIdentifierRequest.js.map +1 -0
  28. package/account/request/DeletePlatformIdByUserIdentifierRequest.ts +119 -0
  29. package/account/request/DeletePlatformIdRequest.d.ts +37 -0
  30. package/account/request/DeletePlatformIdRequest.js +123 -0
  31. package/account/request/DeletePlatformIdRequest.js.map +1 -0
  32. package/account/request/DeletePlatformIdRequest.ts +133 -0
  33. package/account/request/DescribePlatformIdsByUserIdRequest.d.ts +37 -0
  34. package/account/request/DescribePlatformIdsByUserIdRequest.js +125 -0
  35. package/account/request/DescribePlatformIdsByUserIdRequest.js.map +1 -0
  36. package/account/request/DescribePlatformIdsByUserIdRequest.ts +132 -0
  37. package/account/request/DescribePlatformIdsRequest.d.ts +33 -0
  38. package/account/request/DescribePlatformIdsRequest.js +111 -0
  39. package/account/request/DescribePlatformIdsRequest.js.map +1 -0
  40. package/account/request/DescribePlatformIdsRequest.ts +118 -0
  41. package/account/request/FindPlatformIdByUserIdRequest.d.ts +41 -0
  42. package/account/request/FindPlatformIdByUserIdRequest.js +137 -0
  43. package/account/request/FindPlatformIdByUserIdRequest.js.map +1 -0
  44. package/account/request/FindPlatformIdByUserIdRequest.ts +147 -0
  45. package/account/request/FindPlatformIdRequest.d.ts +37 -0
  46. package/account/request/FindPlatformIdRequest.js +123 -0
  47. package/account/request/FindPlatformIdRequest.js.map +1 -0
  48. package/account/request/FindPlatformIdRequest.ts +133 -0
  49. package/account/request/GetPlatformIdByUserIdRequest.d.ts +33 -0
  50. package/account/request/GetPlatformIdByUserIdRequest.js +111 -0
  51. package/account/request/GetPlatformIdByUserIdRequest.js.map +1 -0
  52. package/account/request/GetPlatformIdByUserIdRequest.ts +118 -0
  53. package/account/request/GetPlatformIdRequest.d.ts +29 -0
  54. package/account/request/GetPlatformIdRequest.js +97 -0
  55. package/account/request/GetPlatformIdRequest.js.map +1 -0
  56. package/account/request/GetPlatformIdRequest.ts +104 -0
  57. package/account/request/index.d.ts +12 -1
  58. package/account/request/index.js +23 -1
  59. package/account/request/index.js.map +1 -1
  60. package/account/request/index.ts +22 -0
  61. package/account/rest.d.ts +11 -0
  62. package/account/rest.js +325 -0
  63. package/account/rest.js.map +1 -1
  64. package/account/rest.ts +369 -0
  65. package/account/result/CreatePlatformIdByUserIdResult.d.ts +14 -0
  66. package/account/result/CreatePlatformIdByUserIdResult.js +48 -0
  67. package/account/result/CreatePlatformIdByUserIdResult.js.map +1 -0
  68. package/account/result/CreatePlatformIdByUserIdResult.ts +47 -0
  69. package/account/result/CreatePlatformIdResult.d.ts +14 -0
  70. package/account/result/CreatePlatformIdResult.js +48 -0
  71. package/account/result/CreatePlatformIdResult.js.map +1 -0
  72. package/account/result/CreatePlatformIdResult.ts +47 -0
  73. package/account/result/DeletePlatformIdByUserIdResult.d.ts +14 -0
  74. package/account/result/DeletePlatformIdByUserIdResult.js +48 -0
  75. package/account/result/DeletePlatformIdByUserIdResult.js.map +1 -0
  76. package/account/result/DeletePlatformIdByUserIdResult.ts +47 -0
  77. package/account/result/DeletePlatformIdByUserIdentifierResult.d.ts +14 -0
  78. package/account/result/DeletePlatformIdByUserIdentifierResult.js +48 -0
  79. package/account/result/DeletePlatformIdByUserIdentifierResult.js.map +1 -0
  80. package/account/result/DeletePlatformIdByUserIdentifierResult.ts +47 -0
  81. package/account/result/DeletePlatformIdResult.d.ts +14 -0
  82. package/account/result/DeletePlatformIdResult.js +48 -0
  83. package/account/result/DeletePlatformIdResult.js.map +1 -0
  84. package/account/result/DeletePlatformIdResult.ts +47 -0
  85. package/account/result/DescribePlatformIdsByUserIdResult.d.ts +18 -0
  86. package/account/result/DescribePlatformIdsByUserIdResult.js +67 -0
  87. package/account/result/DescribePlatformIdsByUserIdResult.js.map +1 -0
  88. package/account/result/DescribePlatformIdsByUserIdResult.ts +72 -0
  89. package/account/result/DescribePlatformIdsResult.d.ts +18 -0
  90. package/account/result/DescribePlatformIdsResult.js +67 -0
  91. package/account/result/DescribePlatformIdsResult.js.map +1 -0
  92. package/account/result/DescribePlatformIdsResult.ts +72 -0
  93. package/account/result/FindPlatformIdByUserIdResult.d.ts +14 -0
  94. package/account/result/FindPlatformIdByUserIdResult.js +48 -0
  95. package/account/result/FindPlatformIdByUserIdResult.js.map +1 -0
  96. package/account/result/FindPlatformIdByUserIdResult.ts +47 -0
  97. package/account/result/FindPlatformIdResult.d.ts +14 -0
  98. package/account/result/FindPlatformIdResult.js +48 -0
  99. package/account/result/FindPlatformIdResult.js.map +1 -0
  100. package/account/result/FindPlatformIdResult.ts +47 -0
  101. package/account/result/GetPlatformIdByUserIdResult.d.ts +14 -0
  102. package/account/result/GetPlatformIdByUserIdResult.js +48 -0
  103. package/account/result/GetPlatformIdByUserIdResult.js.map +1 -0
  104. package/account/result/GetPlatformIdByUserIdResult.ts +47 -0
  105. package/account/result/GetPlatformIdResult.d.ts +14 -0
  106. package/account/result/GetPlatformIdResult.js +48 -0
  107. package/account/result/GetPlatformIdResult.js.map +1 -0
  108. package/account/result/GetPlatformIdResult.ts +47 -0
  109. package/account/result/index.d.ts +12 -1
  110. package/account/result/index.js +23 -1
  111. package/account/result/index.js.map +1 -1
  112. package/account/result/index.ts +22 -0
  113. package/identifier/request/LoginRequest.js +2 -2
  114. package/identifier/request/LoginRequest.js.map +1 -1
  115. package/identifier/request/LoginRequest.ts +2 -2
  116. package/package.json +1 -1
  117. package/schedule/model/RepeatSetting.d.ts +12 -0
  118. package/schedule/model/RepeatSetting.js +43 -1
  119. package/schedule/model/RepeatSetting.js.map +1 -1
  120. package/schedule/model/RepeatSetting.ts +43 -1
@@ -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 DescribePlatformIdsRequest = /** @class */ (function () {
19
+ function DescribePlatformIdsRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.accessToken = null;
24
+ this.pageToken = null;
25
+ this.limit = null;
26
+ }
27
+ DescribePlatformIdsRequest.prototype.getRequestId = function () {
28
+ return this.requestId;
29
+ };
30
+ DescribePlatformIdsRequest.prototype.setRequestId = function (requestId) {
31
+ this.requestId = requestId;
32
+ return this;
33
+ };
34
+ DescribePlatformIdsRequest.prototype.withRequestId = function (requestId) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ };
38
+ DescribePlatformIdsRequest.prototype.getContextStack = function () {
39
+ return this.contextStack;
40
+ };
41
+ DescribePlatformIdsRequest.prototype.setContextStack = function (contextStack) {
42
+ this.contextStack = contextStack;
43
+ return this;
44
+ };
45
+ DescribePlatformIdsRequest.prototype.withContextStack = function (contextStack) {
46
+ this.contextStack = contextStack;
47
+ return this;
48
+ };
49
+ DescribePlatformIdsRequest.prototype.getNamespaceName = function () {
50
+ return this.namespaceName;
51
+ };
52
+ DescribePlatformIdsRequest.prototype.setNamespaceName = function (namespaceName) {
53
+ this.namespaceName = namespaceName;
54
+ return this;
55
+ };
56
+ DescribePlatformIdsRequest.prototype.withNamespaceName = function (namespaceName) {
57
+ this.namespaceName = namespaceName;
58
+ return this;
59
+ };
60
+ DescribePlatformIdsRequest.prototype.getAccessToken = function () {
61
+ return this.accessToken;
62
+ };
63
+ DescribePlatformIdsRequest.prototype.setAccessToken = function (accessToken) {
64
+ this.accessToken = accessToken;
65
+ return this;
66
+ };
67
+ DescribePlatformIdsRequest.prototype.withAccessToken = function (accessToken) {
68
+ this.accessToken = accessToken;
69
+ return this;
70
+ };
71
+ DescribePlatformIdsRequest.prototype.getPageToken = function () {
72
+ return this.pageToken;
73
+ };
74
+ DescribePlatformIdsRequest.prototype.setPageToken = function (pageToken) {
75
+ this.pageToken = pageToken;
76
+ return this;
77
+ };
78
+ DescribePlatformIdsRequest.prototype.withPageToken = function (pageToken) {
79
+ this.pageToken = pageToken;
80
+ return this;
81
+ };
82
+ DescribePlatformIdsRequest.prototype.getLimit = function () {
83
+ return this.limit;
84
+ };
85
+ DescribePlatformIdsRequest.prototype.setLimit = function (limit) {
86
+ this.limit = limit;
87
+ return this;
88
+ };
89
+ DescribePlatformIdsRequest.prototype.withLimit = function (limit) {
90
+ this.limit = limit;
91
+ return this;
92
+ };
93
+ DescribePlatformIdsRequest.fromDict = function (data) {
94
+ return new DescribePlatformIdsRequest()
95
+ .withNamespaceName(data["namespaceName"])
96
+ .withAccessToken(data["accessToken"])
97
+ .withPageToken(data["pageToken"])
98
+ .withLimit(data["limit"]);
99
+ };
100
+ DescribePlatformIdsRequest.prototype.toDict = function () {
101
+ return {
102
+ "namespaceName": this.getNamespaceName(),
103
+ "accessToken": this.getAccessToken(),
104
+ "pageToken": this.getPageToken(),
105
+ "limit": this.getLimit(),
106
+ };
107
+ };
108
+ return DescribePlatformIdsRequest;
109
+ }());
110
+ exports.default = DescribePlatformIdsRequest;
111
+ //# sourceMappingURL=DescribePlatformIdsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePlatformIdsRequest.js","sourceRoot":"","sources":["DescribePlatformIdsRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IA0FtC,CAAC;IAxFU,iDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,iDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CA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,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,6CAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,iCAAC;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 Gs2Account from '../model'
20
+
21
+ export default class DescribePlatformIdsRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private accessToken: string|null = null;
27
+ private pageToken: string|null = null;
28
+ private limit: number|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 getAccessToken(): string|null {
69
+ return this.accessToken;
70
+ }
71
+ public setAccessToken(accessToken: string|null) {
72
+ this.accessToken = accessToken;
73
+ return this;
74
+ }
75
+ public withAccessToken(accessToken: string|null): this {
76
+ this.accessToken = accessToken;
77
+ return this;
78
+ }
79
+ public getPageToken(): string|null {
80
+ return this.pageToken;
81
+ }
82
+ public setPageToken(pageToken: string|null) {
83
+ this.pageToken = pageToken;
84
+ return this;
85
+ }
86
+ public withPageToken(pageToken: string|null): this {
87
+ this.pageToken = pageToken;
88
+ return this;
89
+ }
90
+ public getLimit(): number|null {
91
+ return this.limit;
92
+ }
93
+ public setLimit(limit: number|null) {
94
+ this.limit = limit;
95
+ return this;
96
+ }
97
+ public withLimit(limit: number|null): this {
98
+ this.limit = limit;
99
+ return this;
100
+ }
101
+
102
+ public static fromDict(data: {[key: string]: any}): DescribePlatformIdsRequest {
103
+ return new DescribePlatformIdsRequest()
104
+ .withNamespaceName(data["namespaceName"])
105
+ .withAccessToken(data["accessToken"])
106
+ .withPageToken(data["pageToken"])
107
+ .withLimit(data["limit"]);
108
+ }
109
+
110
+ public toDict(): {[key: string]: any} {
111
+ return {
112
+ "namespaceName": this.getNamespaceName(),
113
+ "accessToken": this.getAccessToken(),
114
+ "pageToken": this.getPageToken(),
115
+ "limit": this.getLimit(),
116
+ };
117
+ }
118
+ }
@@ -0,0 +1,41 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class FindPlatformIdByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private type;
8
+ private userIdentifier;
9
+ private timeOffsetToken;
10
+ private duplicationAvoider;
11
+ getRequestId(): string | null;
12
+ setRequestId(requestId: string | null): this;
13
+ withRequestId(requestId: string | null): this;
14
+ getContextStack(): string | null;
15
+ setContextStack(contextStack: string | null): this;
16
+ withContextStack(contextStack: string | null): this;
17
+ getNamespaceName(): string | null;
18
+ setNamespaceName(namespaceName: string | null): this;
19
+ withNamespaceName(namespaceName: string | null): this;
20
+ getUserId(): string | null;
21
+ setUserId(userId: string | null): this;
22
+ withUserId(userId: string | null): this;
23
+ getType(): number | null;
24
+ setType(type: number | null): this;
25
+ withType(type: number | null): this;
26
+ getUserIdentifier(): string | null;
27
+ setUserIdentifier(userIdentifier: string | null): this;
28
+ withUserIdentifier(userIdentifier: string | null): this;
29
+ getTimeOffsetToken(): string | null;
30
+ setTimeOffsetToken(timeOffsetToken: string | null): this;
31
+ withTimeOffsetToken(timeOffsetToken: string | null): this;
32
+ getDuplicationAvoider(): string | null;
33
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
34
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
35
+ static fromDict(data: {
36
+ [key: string]: any;
37
+ }): FindPlatformIdByUserIdRequest;
38
+ toDict(): {
39
+ [key: string]: any;
40
+ };
41
+ }
@@ -0,0 +1,137 @@
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 FindPlatformIdByUserIdRequest = /** @class */ (function () {
19
+ function FindPlatformIdByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.type = null;
25
+ this.userIdentifier = null;
26
+ this.timeOffsetToken = null;
27
+ this.duplicationAvoider = null;
28
+ }
29
+ FindPlatformIdByUserIdRequest.prototype.getRequestId = function () {
30
+ return this.requestId;
31
+ };
32
+ FindPlatformIdByUserIdRequest.prototype.setRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ FindPlatformIdByUserIdRequest.prototype.withRequestId = function (requestId) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ };
40
+ FindPlatformIdByUserIdRequest.prototype.getContextStack = function () {
41
+ return this.contextStack;
42
+ };
43
+ FindPlatformIdByUserIdRequest.prototype.setContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ FindPlatformIdByUserIdRequest.prototype.withContextStack = function (contextStack) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ };
51
+ FindPlatformIdByUserIdRequest.prototype.getNamespaceName = function () {
52
+ return this.namespaceName;
53
+ };
54
+ FindPlatformIdByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
55
+ this.namespaceName = namespaceName;
56
+ return this;
57
+ };
58
+ FindPlatformIdByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
59
+ this.namespaceName = namespaceName;
60
+ return this;
61
+ };
62
+ FindPlatformIdByUserIdRequest.prototype.getUserId = function () {
63
+ return this.userId;
64
+ };
65
+ FindPlatformIdByUserIdRequest.prototype.setUserId = function (userId) {
66
+ this.userId = userId;
67
+ return this;
68
+ };
69
+ FindPlatformIdByUserIdRequest.prototype.withUserId = function (userId) {
70
+ this.userId = userId;
71
+ return this;
72
+ };
73
+ FindPlatformIdByUserIdRequest.prototype.getType = function () {
74
+ return this.type;
75
+ };
76
+ FindPlatformIdByUserIdRequest.prototype.setType = function (type) {
77
+ this.type = type;
78
+ return this;
79
+ };
80
+ FindPlatformIdByUserIdRequest.prototype.withType = function (type) {
81
+ this.type = type;
82
+ return this;
83
+ };
84
+ FindPlatformIdByUserIdRequest.prototype.getUserIdentifier = function () {
85
+ return this.userIdentifier;
86
+ };
87
+ FindPlatformIdByUserIdRequest.prototype.setUserIdentifier = function (userIdentifier) {
88
+ this.userIdentifier = userIdentifier;
89
+ return this;
90
+ };
91
+ FindPlatformIdByUserIdRequest.prototype.withUserIdentifier = function (userIdentifier) {
92
+ this.userIdentifier = userIdentifier;
93
+ return this;
94
+ };
95
+ FindPlatformIdByUserIdRequest.prototype.getTimeOffsetToken = function () {
96
+ return this.timeOffsetToken;
97
+ };
98
+ FindPlatformIdByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
99
+ this.timeOffsetToken = timeOffsetToken;
100
+ return this;
101
+ };
102
+ FindPlatformIdByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
103
+ this.timeOffsetToken = timeOffsetToken;
104
+ return this;
105
+ };
106
+ FindPlatformIdByUserIdRequest.prototype.getDuplicationAvoider = function () {
107
+ return this.duplicationAvoider;
108
+ };
109
+ FindPlatformIdByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
110
+ this.duplicationAvoider = duplicationAvoider;
111
+ return this;
112
+ };
113
+ FindPlatformIdByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
114
+ this.duplicationAvoider = duplicationAvoider;
115
+ return this;
116
+ };
117
+ FindPlatformIdByUserIdRequest.fromDict = function (data) {
118
+ return new FindPlatformIdByUserIdRequest()
119
+ .withNamespaceName(data["namespaceName"])
120
+ .withUserId(data["userId"])
121
+ .withType(data["type"])
122
+ .withUserIdentifier(data["userIdentifier"])
123
+ .withTimeOffsetToken(data["timeOffsetToken"]);
124
+ };
125
+ FindPlatformIdByUserIdRequest.prototype.toDict = function () {
126
+ return {
127
+ "namespaceName": this.getNamespaceName(),
128
+ "userId": this.getUserId(),
129
+ "type": this.getType(),
130
+ "userIdentifier": this.getUserIdentifier(),
131
+ "timeOffsetToken": this.getTimeOffsetToken(),
132
+ };
133
+ };
134
+ return FindPlatformIdByUserIdRequest;
135
+ }());
136
+ exports.default = FindPlatformIdByUserIdRequest;
137
+ //# sourceMappingURL=FindPlatformIdByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FindPlatformIdByUserIdRequest.js","sourceRoot":"","sources":["FindPlatformIdByUserIdRequest.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,SAAI,GAAgB,IAAI,CAAC;QACzB,mBAAc,GAAgB,IAAI,CAAC;QACnC,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAqHnD,CAAC;IAnHU,oDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,oDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;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AC1C,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,8CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AA9HD,IA8HC"}
@@ -0,0 +1,147 @@
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 Gs2Account from '../model'
20
+
21
+ export default class FindPlatformIdByUserIdRequest 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 type: number|null = null;
28
+ private userIdentifier: string|null = null;
29
+ private timeOffsetToken: string|null = null;
30
+ private duplicationAvoider: string|null = null;
31
+
32
+ public getRequestId(): string|null {
33
+ return this.requestId;
34
+ }
35
+
36
+ public setRequestId(requestId: string|null) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ }
40
+
41
+ public withRequestId(requestId: string|null): this {
42
+ this.requestId = requestId;
43
+ return this;
44
+ }
45
+
46
+ public getContextStack(): string|null {
47
+ return this.contextStack;
48
+ }
49
+
50
+ public setContextStack(contextStack: string|null) {
51
+ this.contextStack = contextStack;
52
+ return this;
53
+ }
54
+
55
+ public withContextStack(contextStack: string|null): this {
56
+ this.contextStack = contextStack;
57
+ return this;
58
+ }
59
+ public getNamespaceName(): string|null {
60
+ return this.namespaceName;
61
+ }
62
+ public setNamespaceName(namespaceName: string|null) {
63
+ this.namespaceName = namespaceName;
64
+ return this;
65
+ }
66
+ public withNamespaceName(namespaceName: string|null): this {
67
+ this.namespaceName = namespaceName;
68
+ return this;
69
+ }
70
+ public getUserId(): string|null {
71
+ return this.userId;
72
+ }
73
+ public setUserId(userId: string|null) {
74
+ this.userId = userId;
75
+ return this;
76
+ }
77
+ public withUserId(userId: string|null): this {
78
+ this.userId = userId;
79
+ return this;
80
+ }
81
+ public getType(): number|null {
82
+ return this.type;
83
+ }
84
+ public setType(type: number|null) {
85
+ this.type = type;
86
+ return this;
87
+ }
88
+ public withType(type: number|null): this {
89
+ this.type = type;
90
+ return this;
91
+ }
92
+ public getUserIdentifier(): string|null {
93
+ return this.userIdentifier;
94
+ }
95
+ public setUserIdentifier(userIdentifier: string|null) {
96
+ this.userIdentifier = userIdentifier;
97
+ return this;
98
+ }
99
+ public withUserIdentifier(userIdentifier: string|null): this {
100
+ this.userIdentifier = userIdentifier;
101
+ return this;
102
+ }
103
+ public getTimeOffsetToken(): string|null {
104
+ return this.timeOffsetToken;
105
+ }
106
+ public setTimeOffsetToken(timeOffsetToken: string|null) {
107
+ this.timeOffsetToken = timeOffsetToken;
108
+ return this;
109
+ }
110
+ public withTimeOffsetToken(timeOffsetToken: string|null): this {
111
+ this.timeOffsetToken = timeOffsetToken;
112
+ return this;
113
+ }
114
+
115
+ public getDuplicationAvoider(): string|null {
116
+ return this.duplicationAvoider;
117
+ }
118
+
119
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
120
+ this.duplicationAvoider = duplicationAvoider;
121
+ return this;
122
+ }
123
+
124
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
125
+ this.duplicationAvoider = duplicationAvoider;
126
+ return this;
127
+ }
128
+
129
+ public static fromDict(data: {[key: string]: any}): FindPlatformIdByUserIdRequest {
130
+ return new FindPlatformIdByUserIdRequest()
131
+ .withNamespaceName(data["namespaceName"])
132
+ .withUserId(data["userId"])
133
+ .withType(data["type"])
134
+ .withUserIdentifier(data["userIdentifier"])
135
+ .withTimeOffsetToken(data["timeOffsetToken"]);
136
+ }
137
+
138
+ public toDict(): {[key: string]: any} {
139
+ return {
140
+ "namespaceName": this.getNamespaceName(),
141
+ "userId": this.getUserId(),
142
+ "type": this.getType(),
143
+ "userIdentifier": this.getUserIdentifier(),
144
+ "timeOffsetToken": this.getTimeOffsetToken(),
145
+ };
146
+ }
147
+ }
@@ -0,0 +1,37 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class FindPlatformIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private accessToken;
7
+ private type;
8
+ private userIdentifier;
9
+ private duplicationAvoider;
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
+ getAccessToken(): string | null;
20
+ setAccessToken(accessToken: string | null): this;
21
+ withAccessToken(accessToken: string | null): this;
22
+ getType(): number | null;
23
+ setType(type: number | null): this;
24
+ withType(type: number | null): this;
25
+ getUserIdentifier(): string | null;
26
+ setUserIdentifier(userIdentifier: string | null): this;
27
+ withUserIdentifier(userIdentifier: string | null): this;
28
+ getDuplicationAvoider(): string | null;
29
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
30
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
31
+ static fromDict(data: {
32
+ [key: string]: any;
33
+ }): FindPlatformIdRequest;
34
+ toDict(): {
35
+ [key: string]: any;
36
+ };
37
+ }