gs2 1.4.10 → 1.4.11

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 (149) hide show
  1. package/account/model/CurrentModelMaster.d.ts +22 -0
  2. package/account/model/CurrentModelMaster.js +111 -0
  3. package/account/model/CurrentModelMaster.js.map +1 -0
  4. package/account/model/CurrentModelMaster.ts +121 -0
  5. package/account/model/GitHubCheckoutSetting.d.ts +37 -0
  6. package/account/model/GitHubCheckoutSetting.js +132 -0
  7. package/account/model/GitHubCheckoutSetting.js.map +1 -0
  8. package/account/model/GitHubCheckoutSetting.ts +130 -0
  9. package/account/model/OpenIdConnectSetting.d.ts +17 -0
  10. package/account/model/OpenIdConnectSetting.js +62 -0
  11. package/account/model/OpenIdConnectSetting.js.map +1 -0
  12. package/account/model/OpenIdConnectSetting.ts +60 -0
  13. package/account/model/TakeOverTypeModel.d.ts +32 -0
  14. package/account/model/TakeOverTypeModel.js +160 -0
  15. package/account/model/TakeOverTypeModel.js.map +1 -0
  16. package/account/model/TakeOverTypeModel.ts +171 -0
  17. package/account/model/TakeOverTypeModelMaster.d.ts +48 -0
  18. package/account/model/TakeOverTypeModelMaster.js +216 -0
  19. package/account/model/TakeOverTypeModelMaster.js.map +1 -0
  20. package/account/model/TakeOverTypeModelMaster.ts +227 -0
  21. package/account/model/index.d.ts +6 -1
  22. package/account/model/index.js +11 -1
  23. package/account/model/index.js.map +1 -1
  24. package/account/model/index.ts +10 -0
  25. package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.d.ts +41 -0
  26. package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.js +137 -0
  27. package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.js.map +1 -0
  28. package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.ts +147 -0
  29. package/account/request/CreateTakeOverOpenIdConnectRequest.d.ts +37 -0
  30. package/account/request/CreateTakeOverOpenIdConnectRequest.js +123 -0
  31. package/account/request/CreateTakeOverOpenIdConnectRequest.js.map +1 -0
  32. package/account/request/CreateTakeOverOpenIdConnectRequest.ts +133 -0
  33. package/account/request/CreateTakeOverTypeModelMasterRequest.d.ts +38 -0
  34. package/account/request/CreateTakeOverTypeModelMasterRequest.js +128 -0
  35. package/account/request/CreateTakeOverTypeModelMasterRequest.js.map +1 -0
  36. package/account/request/CreateTakeOverTypeModelMasterRequest.ts +132 -0
  37. package/account/request/DeleteTakeOverTypeModelMasterRequest.d.ts +25 -0
  38. package/account/request/DeleteTakeOverTypeModelMasterRequest.js +83 -0
  39. package/account/request/DeleteTakeOverTypeModelMasterRequest.js.map +1 -0
  40. package/account/request/DeleteTakeOverTypeModelMasterRequest.ts +90 -0
  41. package/account/request/DescribeTakeOverTypeModelMastersRequest.d.ts +29 -0
  42. package/account/request/DescribeTakeOverTypeModelMastersRequest.js +97 -0
  43. package/account/request/DescribeTakeOverTypeModelMastersRequest.js.map +1 -0
  44. package/account/request/DescribeTakeOverTypeModelMastersRequest.ts +104 -0
  45. package/account/request/DescribeTakeOverTypeModelsRequest.d.ts +21 -0
  46. package/account/request/DescribeTakeOverTypeModelsRequest.js +69 -0
  47. package/account/request/DescribeTakeOverTypeModelsRequest.js.map +1 -0
  48. package/account/request/DescribeTakeOverTypeModelsRequest.ts +76 -0
  49. package/account/request/DoTakeOverOpenIdConnectRequest.d.ts +29 -0
  50. package/account/request/DoTakeOverOpenIdConnectRequest.js +97 -0
  51. package/account/request/DoTakeOverOpenIdConnectRequest.js.map +1 -0
  52. package/account/request/DoTakeOverOpenIdConnectRequest.ts +104 -0
  53. package/account/request/ExportMasterRequest.d.ts +21 -0
  54. package/account/request/ExportMasterRequest.js +69 -0
  55. package/account/request/ExportMasterRequest.js.map +1 -0
  56. package/account/request/ExportMasterRequest.ts +76 -0
  57. package/account/request/GetCurrentModelMasterRequest.d.ts +21 -0
  58. package/account/request/GetCurrentModelMasterRequest.js +69 -0
  59. package/account/request/GetCurrentModelMasterRequest.js.map +1 -0
  60. package/account/request/GetCurrentModelMasterRequest.ts +76 -0
  61. package/account/request/GetTakeOverTypeModelMasterRequest.d.ts +25 -0
  62. package/account/request/GetTakeOverTypeModelMasterRequest.js +83 -0
  63. package/account/request/GetTakeOverTypeModelMasterRequest.js.map +1 -0
  64. package/account/request/GetTakeOverTypeModelMasterRequest.ts +90 -0
  65. package/account/request/GetTakeOverTypeModelRequest.d.ts +25 -0
  66. package/account/request/GetTakeOverTypeModelRequest.js +83 -0
  67. package/account/request/GetTakeOverTypeModelRequest.js.map +1 -0
  68. package/account/request/GetTakeOverTypeModelRequest.ts +90 -0
  69. package/account/request/UpdateCurrentModelMasterFromGitHubRequest.d.ts +26 -0
  70. package/account/request/UpdateCurrentModelMasterFromGitHubRequest.js +86 -0
  71. package/account/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
  72. package/account/request/UpdateCurrentModelMasterFromGitHubRequest.ts +90 -0
  73. package/account/request/UpdateCurrentModelMasterRequest.d.ts +25 -0
  74. package/account/request/UpdateCurrentModelMasterRequest.js +83 -0
  75. package/account/request/UpdateCurrentModelMasterRequest.js.map +1 -0
  76. package/account/request/UpdateCurrentModelMasterRequest.ts +90 -0
  77. package/account/request/UpdateTakeOverTypeModelMasterRequest.d.ts +38 -0
  78. package/account/request/UpdateTakeOverTypeModelMasterRequest.js +128 -0
  79. package/account/request/UpdateTakeOverTypeModelMasterRequest.js.map +1 -0
  80. package/account/request/UpdateTakeOverTypeModelMasterRequest.ts +132 -0
  81. package/account/request/index.d.ts +15 -1
  82. package/account/request/index.js +30 -1
  83. package/account/request/index.js.map +1 -1
  84. package/account/request/index.ts +28 -0
  85. package/account/rest.d.ts +14 -0
  86. package/account/rest.js +370 -0
  87. package/account/rest.js.map +1 -1
  88. package/account/rest.ts +426 -0
  89. package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.d.ts +14 -0
  90. package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.js +48 -0
  91. package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.js.map +1 -0
  92. package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.ts +47 -0
  93. package/account/result/CreateTakeOverOpenIdConnectResult.d.ts +14 -0
  94. package/account/result/CreateTakeOverOpenIdConnectResult.js +48 -0
  95. package/account/result/CreateTakeOverOpenIdConnectResult.js.map +1 -0
  96. package/account/result/CreateTakeOverOpenIdConnectResult.ts +47 -0
  97. package/account/result/CreateTakeOverTypeModelMasterResult.d.ts +14 -0
  98. package/account/result/CreateTakeOverTypeModelMasterResult.js +48 -0
  99. package/account/result/CreateTakeOverTypeModelMasterResult.js.map +1 -0
  100. package/account/result/CreateTakeOverTypeModelMasterResult.ts +47 -0
  101. package/account/result/DeleteTakeOverTypeModelMasterResult.d.ts +14 -0
  102. package/account/result/DeleteTakeOverTypeModelMasterResult.js +48 -0
  103. package/account/result/DeleteTakeOverTypeModelMasterResult.js.map +1 -0
  104. package/account/result/DeleteTakeOverTypeModelMasterResult.ts +47 -0
  105. package/account/result/DescribeTakeOverTypeModelMastersResult.d.ts +18 -0
  106. package/account/result/DescribeTakeOverTypeModelMastersResult.js +67 -0
  107. package/account/result/DescribeTakeOverTypeModelMastersResult.js.map +1 -0
  108. package/account/result/DescribeTakeOverTypeModelMastersResult.ts +72 -0
  109. package/account/result/DescribeTakeOverTypeModelsResult.d.ts +14 -0
  110. package/account/result/DescribeTakeOverTypeModelsResult.js +53 -0
  111. package/account/result/DescribeTakeOverTypeModelsResult.js.map +1 -0
  112. package/account/result/DescribeTakeOverTypeModelsResult.ts +55 -0
  113. package/account/result/DoTakeOverOpenIdConnectResult.d.ts +14 -0
  114. package/account/result/DoTakeOverOpenIdConnectResult.js +48 -0
  115. package/account/result/DoTakeOverOpenIdConnectResult.js.map +1 -0
  116. package/account/result/DoTakeOverOpenIdConnectResult.ts +47 -0
  117. package/account/result/ExportMasterResult.d.ts +14 -0
  118. package/account/result/ExportMasterResult.js +48 -0
  119. package/account/result/ExportMasterResult.js.map +1 -0
  120. package/account/result/ExportMasterResult.ts +47 -0
  121. package/account/result/GetCurrentModelMasterResult.d.ts +14 -0
  122. package/account/result/GetCurrentModelMasterResult.js +48 -0
  123. package/account/result/GetCurrentModelMasterResult.js.map +1 -0
  124. package/account/result/GetCurrentModelMasterResult.ts +47 -0
  125. package/account/result/GetTakeOverTypeModelMasterResult.d.ts +14 -0
  126. package/account/result/GetTakeOverTypeModelMasterResult.js +48 -0
  127. package/account/result/GetTakeOverTypeModelMasterResult.js.map +1 -0
  128. package/account/result/GetTakeOverTypeModelMasterResult.ts +47 -0
  129. package/account/result/GetTakeOverTypeModelResult.d.ts +14 -0
  130. package/account/result/GetTakeOverTypeModelResult.js +48 -0
  131. package/account/result/GetTakeOverTypeModelResult.js.map +1 -0
  132. package/account/result/GetTakeOverTypeModelResult.ts +47 -0
  133. package/account/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
  134. package/account/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
  135. package/account/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
  136. package/account/result/UpdateCurrentModelMasterFromGitHubResult.ts +47 -0
  137. package/account/result/UpdateCurrentModelMasterResult.d.ts +14 -0
  138. package/account/result/UpdateCurrentModelMasterResult.js +48 -0
  139. package/account/result/UpdateCurrentModelMasterResult.js.map +1 -0
  140. package/account/result/UpdateCurrentModelMasterResult.ts +47 -0
  141. package/account/result/UpdateTakeOverTypeModelMasterResult.d.ts +14 -0
  142. package/account/result/UpdateTakeOverTypeModelMasterResult.js +48 -0
  143. package/account/result/UpdateTakeOverTypeModelMasterResult.js.map +1 -0
  144. package/account/result/UpdateTakeOverTypeModelMasterResult.ts +47 -0
  145. package/account/result/index.d.ts +15 -1
  146. package/account/result/index.js +30 -1
  147. package/account/result/index.js.map +1 -1
  148. package/account/result/index.ts +28 -0
  149. package/package.json +1 -1
@@ -0,0 +1,216 @@
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 tslib_1 = require("tslib");
19
+ var OpenIdConnectSetting_1 = tslib_1.__importDefault(require("./OpenIdConnectSetting"));
20
+ var grnFormat = "grn:gs2:{region}:{ownerId}:account:{namespaceName}:model:takeOver:{type}";
21
+ var TakeOverTypeModelMaster = /** @class */ (function () {
22
+ function TakeOverTypeModelMaster() {
23
+ this.takeOverTypeModelId = null;
24
+ this.type = null;
25
+ this.description = null;
26
+ this.metadata = null;
27
+ this.openIdConnectSetting = null;
28
+ this.createdAt = null;
29
+ this.updatedAt = null;
30
+ this.revision = null;
31
+ }
32
+ TakeOverTypeModelMaster.getRegion = function (grn) {
33
+ var match = grn.match(grnFormat
34
+ .replace('{region}', '(.*)')
35
+ .replace('{ownerId}', '.*')
36
+ .replace('{namespaceName}', '.*')
37
+ .replace('{type}', '.*'));
38
+ if (match) {
39
+ return match[1];
40
+ }
41
+ return null;
42
+ };
43
+ TakeOverTypeModelMaster.getOwnerId = function (grn) {
44
+ var match = grn.match(grnFormat
45
+ .replace('{region}', '.*')
46
+ .replace('{ownerId}', '(.*)')
47
+ .replace('{namespaceName}', '.*')
48
+ .replace('{type}', '.*'));
49
+ if (match) {
50
+ return match[1];
51
+ }
52
+ return null;
53
+ };
54
+ TakeOverTypeModelMaster.getNamespaceName = function (grn) {
55
+ var match = grn.match(grnFormat
56
+ .replace('{region}', '.*')
57
+ .replace('{ownerId}', '.*')
58
+ .replace('{namespaceName}', '(.*)')
59
+ .replace('{type}', '.*'));
60
+ if (match) {
61
+ return match[1];
62
+ }
63
+ return null;
64
+ };
65
+ TakeOverTypeModelMaster.getType = function (grn) {
66
+ var match = grn.match(grnFormat
67
+ .replace('{region}', '.*')
68
+ .replace('{ownerId}', '.*')
69
+ .replace('{namespaceName}', '.*')
70
+ .replace('{type}', '(.*)'));
71
+ if (match) {
72
+ return match[1];
73
+ }
74
+ return null;
75
+ };
76
+ TakeOverTypeModelMaster.isValid = function (grn) {
77
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
78
+ return false;
79
+ }
80
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
81
+ return false;
82
+ }
83
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getType(grn) == null || this.getType(grn) === '') {
87
+ return false;
88
+ }
89
+ return true;
90
+ };
91
+ TakeOverTypeModelMaster.createGrn = function (region, ownerId, namespaceName, type) {
92
+ return grnFormat
93
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
94
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
95
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
96
+ .replace('{type}', type !== null && type !== void 0 ? type : '');
97
+ };
98
+ TakeOverTypeModelMaster.prototype.getTakeOverTypeModelId = function () {
99
+ return this.takeOverTypeModelId;
100
+ };
101
+ TakeOverTypeModelMaster.prototype.setTakeOverTypeModelId = function (takeOverTypeModelId) {
102
+ this.takeOverTypeModelId = takeOverTypeModelId;
103
+ return this;
104
+ };
105
+ TakeOverTypeModelMaster.prototype.withTakeOverTypeModelId = function (takeOverTypeModelId) {
106
+ this.takeOverTypeModelId = takeOverTypeModelId;
107
+ return this;
108
+ };
109
+ TakeOverTypeModelMaster.prototype.getType = function () {
110
+ return this.type;
111
+ };
112
+ TakeOverTypeModelMaster.prototype.setType = function (type) {
113
+ this.type = type;
114
+ return this;
115
+ };
116
+ TakeOverTypeModelMaster.prototype.withType = function (type) {
117
+ this.type = type;
118
+ return this;
119
+ };
120
+ TakeOverTypeModelMaster.prototype.getDescription = function () {
121
+ return this.description;
122
+ };
123
+ TakeOverTypeModelMaster.prototype.setDescription = function (description) {
124
+ this.description = description;
125
+ return this;
126
+ };
127
+ TakeOverTypeModelMaster.prototype.withDescription = function (description) {
128
+ this.description = description;
129
+ return this;
130
+ };
131
+ TakeOverTypeModelMaster.prototype.getMetadata = function () {
132
+ return this.metadata;
133
+ };
134
+ TakeOverTypeModelMaster.prototype.setMetadata = function (metadata) {
135
+ this.metadata = metadata;
136
+ return this;
137
+ };
138
+ TakeOverTypeModelMaster.prototype.withMetadata = function (metadata) {
139
+ this.metadata = metadata;
140
+ return this;
141
+ };
142
+ TakeOverTypeModelMaster.prototype.getOpenIdConnectSetting = function () {
143
+ return this.openIdConnectSetting;
144
+ };
145
+ TakeOverTypeModelMaster.prototype.setOpenIdConnectSetting = function (openIdConnectSetting) {
146
+ this.openIdConnectSetting = openIdConnectSetting;
147
+ return this;
148
+ };
149
+ TakeOverTypeModelMaster.prototype.withOpenIdConnectSetting = function (openIdConnectSetting) {
150
+ this.openIdConnectSetting = openIdConnectSetting;
151
+ return this;
152
+ };
153
+ TakeOverTypeModelMaster.prototype.getCreatedAt = function () {
154
+ return this.createdAt;
155
+ };
156
+ TakeOverTypeModelMaster.prototype.setCreatedAt = function (createdAt) {
157
+ this.createdAt = createdAt;
158
+ return this;
159
+ };
160
+ TakeOverTypeModelMaster.prototype.withCreatedAt = function (createdAt) {
161
+ this.createdAt = createdAt;
162
+ return this;
163
+ };
164
+ TakeOverTypeModelMaster.prototype.getUpdatedAt = function () {
165
+ return this.updatedAt;
166
+ };
167
+ TakeOverTypeModelMaster.prototype.setUpdatedAt = function (updatedAt) {
168
+ this.updatedAt = updatedAt;
169
+ return this;
170
+ };
171
+ TakeOverTypeModelMaster.prototype.withUpdatedAt = function (updatedAt) {
172
+ this.updatedAt = updatedAt;
173
+ return this;
174
+ };
175
+ TakeOverTypeModelMaster.prototype.getRevision = function () {
176
+ return this.revision;
177
+ };
178
+ TakeOverTypeModelMaster.prototype.setRevision = function (revision) {
179
+ this.revision = revision;
180
+ return this;
181
+ };
182
+ TakeOverTypeModelMaster.prototype.withRevision = function (revision) {
183
+ this.revision = revision;
184
+ return this;
185
+ };
186
+ TakeOverTypeModelMaster.fromDict = function (data) {
187
+ if (data == undefined || data == null) {
188
+ return null;
189
+ }
190
+ return new TakeOverTypeModelMaster()
191
+ .withTakeOverTypeModelId(data["takeOverTypeModelId"])
192
+ .withType(data["type"])
193
+ .withDescription(data["description"])
194
+ .withMetadata(data["metadata"])
195
+ .withOpenIdConnectSetting(OpenIdConnectSetting_1.default.fromDict(data["openIdConnectSetting"]))
196
+ .withCreatedAt(data["createdAt"])
197
+ .withUpdatedAt(data["updatedAt"])
198
+ .withRevision(data["revision"]);
199
+ };
200
+ TakeOverTypeModelMaster.prototype.toDict = function () {
201
+ var _a;
202
+ return {
203
+ "takeOverTypeModelId": this.getTakeOverTypeModelId(),
204
+ "type": this.getType(),
205
+ "description": this.getDescription(),
206
+ "metadata": this.getMetadata(),
207
+ "openIdConnectSetting": (_a = this.getOpenIdConnectSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
208
+ "createdAt": this.getCreatedAt(),
209
+ "updatedAt": this.getUpdatedAt(),
210
+ "revision": this.getRevision(),
211
+ };
212
+ };
213
+ return TakeOverTypeModelMaster;
214
+ }());
215
+ exports.default = TakeOverTypeModelMaster;
216
+ //# sourceMappingURL=TakeOverTypeModelMaster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TakeOverTypeModelMaster.js","sourceRoot":"","sources":["TakeOverTypeModelMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wFAA0D;AAC1D,IAAM,SAAS,GAAW,0EAA0E,CAAC;AAErG;IAAA;QACY,wBAAmB,GAAgB,IAAI,CAAC;QACxC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAA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I,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA9MD,IA8MC"}
@@ -0,0 +1,227 @@
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 IModel from '../../core/interface/IModel';
18
+ import OpenIdConnectSetting from './OpenIdConnectSetting';
19
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:account:{namespaceName}:model:takeOver:{type}";
20
+
21
+ export default class TakeOverTypeModelMaster implements IModel {
22
+ private takeOverTypeModelId: string|null = null;
23
+ private type: number|null = null;
24
+ private description: string|null = null;
25
+ private metadata: string|null = null;
26
+ private openIdConnectSetting: OpenIdConnectSetting|null = null;
27
+ private createdAt: number|null = null;
28
+ private updatedAt: number|null = null;
29
+ private revision: number|null = null;
30
+
31
+ public static getRegion(grn: string): string|null {
32
+ const match = grn.match(grnFormat
33
+ .replace('{region}', '(.*)')
34
+ .replace('{ownerId}', '.*')
35
+ .replace('{namespaceName}', '.*')
36
+ .replace('{type}', '.*')
37
+ );
38
+ if (match) {
39
+ return match[1];
40
+ }
41
+ return null;
42
+ }
43
+
44
+ public static getOwnerId(grn: string): string|null {
45
+ const match = grn.match(grnFormat
46
+ .replace('{region}', '.*')
47
+ .replace('{ownerId}', '(.*)')
48
+ .replace('{namespaceName}', '.*')
49
+ .replace('{type}', '.*')
50
+ );
51
+ if (match) {
52
+ return match[1];
53
+ }
54
+ return null;
55
+ }
56
+
57
+ public static getNamespaceName(grn: string): string|null {
58
+ const match = grn.match(grnFormat
59
+ .replace('{region}', '.*')
60
+ .replace('{ownerId}', '.*')
61
+ .replace('{namespaceName}', '(.*)')
62
+ .replace('{type}', '.*')
63
+ );
64
+ if (match) {
65
+ return match[1];
66
+ }
67
+ return null;
68
+ }
69
+
70
+ public static getType(grn: string): string|null {
71
+ const match = grn.match(grnFormat
72
+ .replace('{region}', '.*')
73
+ .replace('{ownerId}', '.*')
74
+ .replace('{namespaceName}', '.*')
75
+ .replace('{type}', '(.*)')
76
+ );
77
+ if (match) {
78
+ return match[1];
79
+ }
80
+ return null;
81
+ }
82
+
83
+ public static isValid(grn: string): boolean {
84
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
85
+ return false;
86
+ }
87
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
88
+ return false;
89
+ }
90
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
91
+ return false;
92
+ }
93
+ if (this.getType(grn) == null || this.getType(grn) === '') {
94
+ return false;
95
+ }
96
+ return true;
97
+ }
98
+
99
+ public static createGrn(
100
+ region: string|null,
101
+ ownerId: string|null,
102
+ namespaceName: string|null,
103
+ type: string|null,
104
+ ): string|null {
105
+ return grnFormat
106
+ .replace('{region}', region ?? '')
107
+ .replace('{ownerId}', ownerId ?? '')
108
+ .replace('{namespaceName}', namespaceName ?? '')
109
+ .replace('{type}', type ?? '');
110
+ }
111
+ public getTakeOverTypeModelId(): string|null {
112
+ return this.takeOverTypeModelId;
113
+ }
114
+ public setTakeOverTypeModelId(takeOverTypeModelId: string|null) {
115
+ this.takeOverTypeModelId = takeOverTypeModelId;
116
+ return this;
117
+ }
118
+ public withTakeOverTypeModelId(takeOverTypeModelId: string|null): this {
119
+ this.takeOverTypeModelId = takeOverTypeModelId;
120
+ return this;
121
+ }
122
+ public getType(): number|null {
123
+ return this.type;
124
+ }
125
+ public setType(type: number|null) {
126
+ this.type = type;
127
+ return this;
128
+ }
129
+ public withType(type: number|null): this {
130
+ this.type = type;
131
+ return this;
132
+ }
133
+ public getDescription(): string|null {
134
+ return this.description;
135
+ }
136
+ public setDescription(description: string|null) {
137
+ this.description = description;
138
+ return this;
139
+ }
140
+ public withDescription(description: string|null): this {
141
+ this.description = description;
142
+ return this;
143
+ }
144
+ public getMetadata(): string|null {
145
+ return this.metadata;
146
+ }
147
+ public setMetadata(metadata: string|null) {
148
+ this.metadata = metadata;
149
+ return this;
150
+ }
151
+ public withMetadata(metadata: string|null): this {
152
+ this.metadata = metadata;
153
+ return this;
154
+ }
155
+ public getOpenIdConnectSetting(): OpenIdConnectSetting|null {
156
+ return this.openIdConnectSetting;
157
+ }
158
+ public setOpenIdConnectSetting(openIdConnectSetting: OpenIdConnectSetting|null) {
159
+ this.openIdConnectSetting = openIdConnectSetting;
160
+ return this;
161
+ }
162
+ public withOpenIdConnectSetting(openIdConnectSetting: OpenIdConnectSetting|null): this {
163
+ this.openIdConnectSetting = openIdConnectSetting;
164
+ return this;
165
+ }
166
+ public getCreatedAt(): number|null {
167
+ return this.createdAt;
168
+ }
169
+ public setCreatedAt(createdAt: number|null) {
170
+ this.createdAt = createdAt;
171
+ return this;
172
+ }
173
+ public withCreatedAt(createdAt: number|null): this {
174
+ this.createdAt = createdAt;
175
+ return this;
176
+ }
177
+ public getUpdatedAt(): number|null {
178
+ return this.updatedAt;
179
+ }
180
+ public setUpdatedAt(updatedAt: number|null) {
181
+ this.updatedAt = updatedAt;
182
+ return this;
183
+ }
184
+ public withUpdatedAt(updatedAt: number|null): this {
185
+ this.updatedAt = updatedAt;
186
+ return this;
187
+ }
188
+ public getRevision(): number|null {
189
+ return this.revision;
190
+ }
191
+ public setRevision(revision: number|null) {
192
+ this.revision = revision;
193
+ return this;
194
+ }
195
+ public withRevision(revision: number|null): this {
196
+ this.revision = revision;
197
+ return this;
198
+ }
199
+
200
+ public static fromDict(data: {[key: string]: any}): TakeOverTypeModelMaster|null {
201
+ if (data == undefined || data == null) {
202
+ return null;
203
+ }
204
+ return new TakeOverTypeModelMaster()
205
+ .withTakeOverTypeModelId(data["takeOverTypeModelId"])
206
+ .withType(data["type"])
207
+ .withDescription(data["description"])
208
+ .withMetadata(data["metadata"])
209
+ .withOpenIdConnectSetting(OpenIdConnectSetting.fromDict(data["openIdConnectSetting"]))
210
+ .withCreatedAt(data["createdAt"])
211
+ .withUpdatedAt(data["updatedAt"])
212
+ .withRevision(data["revision"]);
213
+ }
214
+
215
+ public toDict(): {[key: string]: any} {
216
+ return {
217
+ "takeOverTypeModelId": this.getTakeOverTypeModelId(),
218
+ "type": this.getType(),
219
+ "description": this.getDescription(),
220
+ "metadata": this.getMetadata(),
221
+ "openIdConnectSetting": this.getOpenIdConnectSetting()?.toDict(),
222
+ "createdAt": this.getCreatedAt(),
223
+ "updatedAt": this.getUpdatedAt(),
224
+ "revision": this.getRevision(),
225
+ };
226
+ }
227
+ }
@@ -3,8 +3,13 @@ import Account from "./Account";
3
3
  import TakeOver from "./TakeOver";
4
4
  import PlatformId from "./PlatformId";
5
5
  import DataOwner from "./DataOwner";
6
+ import TakeOverTypeModel from "./TakeOverTypeModel";
7
+ import TakeOverTypeModelMaster from "./TakeOverTypeModelMaster";
8
+ import CurrentModelMaster from "./CurrentModelMaster";
9
+ import OpenIdConnectSetting from "./OpenIdConnectSetting";
6
10
  import PlatformUser from "./PlatformUser";
7
11
  import BanStatus from "./BanStatus";
12
+ import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
8
13
  import ScriptSetting from "./ScriptSetting";
9
14
  import LogSetting from "./LogSetting";
10
- export { Namespace, Account, TakeOver, PlatformId, DataOwner, PlatformUser, BanStatus, ScriptSetting, LogSetting, };
15
+ export { Namespace, Account, TakeOver, PlatformId, DataOwner, TakeOverTypeModel, TakeOverTypeModelMaster, CurrentModelMaster, OpenIdConnectSetting, PlatformUser, BanStatus, GitHubCheckoutSetting, ScriptSetting, LogSetting, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LogSetting = exports.ScriptSetting = exports.BanStatus = exports.PlatformUser = exports.DataOwner = exports.PlatformId = exports.TakeOver = exports.Account = exports.Namespace = void 0;
3
+ exports.LogSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.BanStatus = exports.PlatformUser = exports.OpenIdConnectSetting = exports.CurrentModelMaster = exports.TakeOverTypeModelMaster = exports.TakeOverTypeModel = exports.DataOwner = exports.PlatformId = exports.TakeOver = exports.Account = exports.Namespace = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -27,10 +27,20 @@ var PlatformId_1 = tslib_1.__importDefault(require("./PlatformId"));
27
27
  exports.PlatformId = PlatformId_1.default;
28
28
  var DataOwner_1 = tslib_1.__importDefault(require("./DataOwner"));
29
29
  exports.DataOwner = DataOwner_1.default;
30
+ var TakeOverTypeModel_1 = tslib_1.__importDefault(require("./TakeOverTypeModel"));
31
+ exports.TakeOverTypeModel = TakeOverTypeModel_1.default;
32
+ var TakeOverTypeModelMaster_1 = tslib_1.__importDefault(require("./TakeOverTypeModelMaster"));
33
+ exports.TakeOverTypeModelMaster = TakeOverTypeModelMaster_1.default;
34
+ var CurrentModelMaster_1 = tslib_1.__importDefault(require("./CurrentModelMaster"));
35
+ exports.CurrentModelMaster = CurrentModelMaster_1.default;
36
+ var OpenIdConnectSetting_1 = tslib_1.__importDefault(require("./OpenIdConnectSetting"));
37
+ exports.OpenIdConnectSetting = OpenIdConnectSetting_1.default;
30
38
  var PlatformUser_1 = tslib_1.__importDefault(require("./PlatformUser"));
31
39
  exports.PlatformUser = PlatformUser_1.default;
32
40
  var BanStatus_1 = tslib_1.__importDefault(require("./BanStatus"));
33
41
  exports.BanStatus = BanStatus_1.default;
42
+ var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutSetting"));
43
+ exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
34
44
  var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
35
45
  exports.ScriptSetting = ScriptSetting_1.default;
36
46
  var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAW/B,oBAXG,mBAAS,CAWH;AAVb,8DAA+B;AAW3B,kBAXG,iBAAO,CAWH;AAVX,gEAAiC;AAW7B,mBAXG,kBAAQ,CAWH;AAVZ,oEAAqC;AAWjC,qBAXG,oBAAU,CAWH;AAVd,kEAAmC;AAW/B,oBAXG,mBAAS,CAWH;AAVb,wEAAyC;AAWrC,uBAXG,sBAAY,CAWH;AAVhB,kEAAmC;AAW/B,oBAXG,mBAAS,CAWH;AAVb,0EAA2C;AAWvC,wBAXG,uBAAa,CAWH;AAVjB,oEAAqC;AAWjC,qBAXG,oBAAU,CAWH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAgB/B,oBAhBG,mBAAS,CAgBH;AAfb,8DAA+B;AAgB3B,kBAhBG,iBAAO,CAgBH;AAfX,gEAAiC;AAgB7B,mBAhBG,kBAAQ,CAgBH;AAfZ,oEAAqC;AAgBjC,qBAhBG,oBAAU,CAgBH;AAfd,kEAAmC;AAgB/B,oBAhBG,mBAAS,CAgBH;AAfb,kFAAmD;AAgB/C,4BAhBG,2BAAiB,CAgBH;AAfrB,8FAA+D;AAgB3D,kCAhBG,iCAAuB,CAgBH;AAf3B,oFAAqD;AAgBjD,6BAhBG,4BAAkB,CAgBH;AAftB,wFAAyD;AAgBrD,+BAhBG,8BAAoB,CAgBH;AAfxB,wEAAyC;AAgBrC,uBAhBG,sBAAY,CAgBH;AAfhB,kEAAmC;AAgB/B,oBAhBG,mBAAS,CAgBH;AAfb,0FAA2D;AAgBvD,gCAhBG,+BAAqB,CAgBH;AAfzB,0EAA2C;AAgBvC,wBAhBG,uBAAa,CAgBH;AAfjB,oEAAqC;AAgBjC,qBAhBG,oBAAU,CAgBH"}
@@ -18,8 +18,13 @@ import Account from "./Account"
18
18
  import TakeOver from "./TakeOver"
19
19
  import PlatformId from "./PlatformId"
20
20
  import DataOwner from "./DataOwner"
21
+ import TakeOverTypeModel from "./TakeOverTypeModel"
22
+ import TakeOverTypeModelMaster from "./TakeOverTypeModelMaster"
23
+ import CurrentModelMaster from "./CurrentModelMaster"
24
+ import OpenIdConnectSetting from "./OpenIdConnectSetting"
21
25
  import PlatformUser from "./PlatformUser"
22
26
  import BanStatus from "./BanStatus"
27
+ import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
23
28
  import ScriptSetting from "./ScriptSetting"
24
29
  import LogSetting from "./LogSetting"
25
30
 
@@ -29,8 +34,13 @@ export {
29
34
  TakeOver,
30
35
  PlatformId,
31
36
  DataOwner,
37
+ TakeOverTypeModel,
38
+ TakeOverTypeModelMaster,
39
+ CurrentModelMaster,
40
+ OpenIdConnectSetting,
32
41
  PlatformUser,
33
42
  BanStatus,
43
+ GitHubCheckoutSetting,
34
44
  ScriptSetting,
35
45
  LogSetting,
36
46
  };
@@ -0,0 +1,41 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class CreateTakeOverOpenIdConnectAndByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private type;
8
+ private idToken;
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
+ getIdToken(): string | null;
27
+ setIdToken(idToken: string | null): this;
28
+ withIdToken(idToken: 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
+ }): CreateTakeOverOpenIdConnectAndByUserIdRequest;
38
+ toDict(): {
39
+ [key: string]: any;
40
+ };
41
+ }