gs2 1.4.24 → 1.4.26

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 (129) hide show
  1. package/guard/index.d.ts +5 -0
  2. package/guard/index.js +28 -0
  3. package/guard/index.js.map +1 -0
  4. package/guard/index.ts +27 -0
  5. package/guard/model/BlockingPolicyModel.d.ts +65 -0
  6. package/guard/model/BlockingPolicyModel.js +248 -0
  7. package/guard/model/BlockingPolicyModel.js.map +1 -0
  8. package/guard/model/BlockingPolicyModel.ts +252 -0
  9. package/guard/model/Namespace.d.ts +43 -0
  10. package/guard/model/Namespace.js +184 -0
  11. package/guard/model/Namespace.js.map +1 -0
  12. package/guard/model/Namespace.ts +192 -0
  13. package/guard/model/index.d.ts +3 -0
  14. package/guard/model/index.js +24 -0
  15. package/guard/model/index.js.map +1 -0
  16. package/guard/model/index.ts +22 -0
  17. package/guard/request/CreateNamespaceRequest.d.ts +30 -0
  18. package/guard/request/CreateNamespaceRequest.js +100 -0
  19. package/guard/request/CreateNamespaceRequest.js.map +1 -0
  20. package/guard/request/CreateNamespaceRequest.ts +104 -0
  21. package/guard/request/DeleteNamespaceRequest.d.ts +21 -0
  22. package/guard/request/DeleteNamespaceRequest.js +69 -0
  23. package/guard/request/DeleteNamespaceRequest.js.map +1 -0
  24. package/guard/request/DeleteNamespaceRequest.ts +76 -0
  25. package/guard/request/DescribeNamespacesRequest.d.ts +25 -0
  26. package/guard/request/DescribeNamespacesRequest.js +83 -0
  27. package/guard/request/DescribeNamespacesRequest.js.map +1 -0
  28. package/guard/request/DescribeNamespacesRequest.ts +90 -0
  29. package/guard/request/GetNamespaceRequest.d.ts +21 -0
  30. package/guard/request/GetNamespaceRequest.js +69 -0
  31. package/guard/request/GetNamespaceRequest.js.map +1 -0
  32. package/guard/request/GetNamespaceRequest.ts +76 -0
  33. package/guard/request/GetNamespaceStatusRequest.d.ts +21 -0
  34. package/guard/request/GetNamespaceStatusRequest.js +69 -0
  35. package/guard/request/GetNamespaceStatusRequest.js.map +1 -0
  36. package/guard/request/GetNamespaceStatusRequest.ts +76 -0
  37. package/guard/request/UpdateNamespaceRequest.d.ts +30 -0
  38. package/guard/request/UpdateNamespaceRequest.js +100 -0
  39. package/guard/request/UpdateNamespaceRequest.js.map +1 -0
  40. package/guard/request/UpdateNamespaceRequest.ts +104 -0
  41. package/guard/request/index.d.ts +7 -0
  42. package/guard/request/index.js +32 -0
  43. package/guard/request/index.js.map +1 -0
  44. package/guard/request/index.ts +30 -0
  45. package/guard/rest.d.ts +13 -0
  46. package/guard/rest.js +176 -0
  47. package/guard/rest.js.map +1 -0
  48. package/guard/rest.ts +198 -0
  49. package/guard/result/CreateNamespaceResult.d.ts +14 -0
  50. package/guard/result/CreateNamespaceResult.js +48 -0
  51. package/guard/result/CreateNamespaceResult.js.map +1 -0
  52. package/guard/result/CreateNamespaceResult.ts +47 -0
  53. package/guard/result/DeleteNamespaceResult.d.ts +14 -0
  54. package/guard/result/DeleteNamespaceResult.js +48 -0
  55. package/guard/result/DeleteNamespaceResult.js.map +1 -0
  56. package/guard/result/DeleteNamespaceResult.ts +47 -0
  57. package/guard/result/DescribeNamespacesResult.d.ts +18 -0
  58. package/guard/result/DescribeNamespacesResult.js +67 -0
  59. package/guard/result/DescribeNamespacesResult.js.map +1 -0
  60. package/guard/result/DescribeNamespacesResult.ts +72 -0
  61. package/guard/result/GetNamespaceResult.d.ts +14 -0
  62. package/guard/result/GetNamespaceResult.js +48 -0
  63. package/guard/result/GetNamespaceResult.js.map +1 -0
  64. package/guard/result/GetNamespaceResult.ts +47 -0
  65. package/guard/result/GetNamespaceStatusResult.d.ts +13 -0
  66. package/guard/result/GetNamespaceStatusResult.js +45 -0
  67. package/guard/result/GetNamespaceStatusResult.js.map +1 -0
  68. package/guard/result/GetNamespaceStatusResult.ts +46 -0
  69. package/guard/result/UpdateNamespaceResult.d.ts +14 -0
  70. package/guard/result/UpdateNamespaceResult.js +48 -0
  71. package/guard/result/UpdateNamespaceResult.js.map +1 -0
  72. package/guard/result/UpdateNamespaceResult.ts +47 -0
  73. package/guard/result/index.d.ts +7 -0
  74. package/guard/result/index.js +32 -0
  75. package/guard/result/index.js.map +1 -0
  76. package/guard/result/index.ts +30 -0
  77. package/identifier/request/AttachGuardRequest.d.ts +29 -0
  78. package/identifier/request/AttachGuardRequest.js +97 -0
  79. package/identifier/request/AttachGuardRequest.js.map +1 -0
  80. package/identifier/request/AttachGuardRequest.ts +104 -0
  81. package/identifier/request/DescribeAttachedGuardsRequest.d.ts +25 -0
  82. package/identifier/request/DescribeAttachedGuardsRequest.js +83 -0
  83. package/identifier/request/DescribeAttachedGuardsRequest.js.map +1 -0
  84. package/identifier/request/DescribeAttachedGuardsRequest.ts +90 -0
  85. package/identifier/request/DetachGuardRequest.d.ts +29 -0
  86. package/identifier/request/DetachGuardRequest.js +97 -0
  87. package/identifier/request/DetachGuardRequest.js.map +1 -0
  88. package/identifier/request/DetachGuardRequest.ts +104 -0
  89. package/identifier/request/index.d.ts +4 -1
  90. package/identifier/request/index.js +7 -1
  91. package/identifier/request/index.js.map +1 -1
  92. package/identifier/request/index.ts +6 -0
  93. package/identifier/rest.d.ts +3 -0
  94. package/identifier/rest.js +75 -0
  95. package/identifier/rest.js.map +1 -1
  96. package/identifier/rest.ts +87 -0
  97. package/identifier/result/AttachGuardResult.d.ts +13 -0
  98. package/identifier/result/AttachGuardResult.js +51 -0
  99. package/identifier/result/AttachGuardResult.js.map +1 -0
  100. package/identifier/result/AttachGuardResult.ts +54 -0
  101. package/identifier/result/DescribeAttachedGuardsResult.d.ts +13 -0
  102. package/identifier/result/DescribeAttachedGuardsResult.js +51 -0
  103. package/identifier/result/DescribeAttachedGuardsResult.js.map +1 -0
  104. package/identifier/result/DescribeAttachedGuardsResult.ts +54 -0
  105. package/identifier/result/DetachGuardResult.d.ts +13 -0
  106. package/identifier/result/DetachGuardResult.js +51 -0
  107. package/identifier/result/DetachGuardResult.js.map +1 -0
  108. package/identifier/result/DetachGuardResult.ts +54 -0
  109. package/identifier/result/index.d.ts +4 -1
  110. package/identifier/result/index.js +7 -1
  111. package/identifier/result/index.js.map +1 -1
  112. package/identifier/result/index.ts +6 -0
  113. package/index.d.ts +2 -1
  114. package/index.js +4 -2
  115. package/index.js.map +1 -1
  116. package/index.ts +2 -0
  117. package/lock/request/index.d.ts +1 -3
  118. package/lock/request/index.js +1 -5
  119. package/lock/request/index.js.map +1 -1
  120. package/lock/request/index.ts +0 -4
  121. package/lock/rest.d.ts +0 -2
  122. package/lock/rest.js +0 -55
  123. package/lock/rest.js.map +1 -1
  124. package/lock/rest.ts +0 -63
  125. package/lock/result/index.d.ts +1 -3
  126. package/lock/result/index.js +1 -5
  127. package/lock/result/index.js.map +1 -1
  128. package/lock/result/index.ts +0 -4
  129. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetNamespaceResult.js","sourceRoot":"","sources":["GetNamespaceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAA4B,IAAI,CAAC;IA0BjD,CAAC;IAxBU,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oCAAO,GAAd,UAAe,IAA6B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,IAA6B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kBAAkB,EAAE;aAC1B,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAEM,mCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,47 @@
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 IResult from '../../core/interface/IResult';
18
+ import * as Gs2Guard from '../model'
19
+
20
+ export default class GetNamespaceResult implements IResult {
21
+ private item: Gs2Guard.Namespace|null = null;
22
+
23
+ public getItem(): Gs2Guard.Namespace|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Guard.Namespace|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Guard.Namespace|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetNamespaceResult {
38
+ return new GetNamespaceResult()
39
+ .withItem(Gs2Guard.Namespace.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,13 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ export default class GetNamespaceStatusResult implements IResult {
3
+ private status;
4
+ getStatus(): string | null;
5
+ setStatus(status: string | null): this;
6
+ withStatus(status: string | null): this;
7
+ static fromDict(data: {
8
+ [key: string]: any;
9
+ }): GetNamespaceStatusResult;
10
+ toDict(): {
11
+ [key: string]: any;
12
+ };
13
+ }
@@ -0,0 +1,45 @@
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 GetNamespaceStatusResult = /** @class */ (function () {
19
+ function GetNamespaceStatusResult() {
20
+ this.status = null;
21
+ }
22
+ GetNamespaceStatusResult.prototype.getStatus = function () {
23
+ return this.status;
24
+ };
25
+ GetNamespaceStatusResult.prototype.setStatus = function (status) {
26
+ this.status = status;
27
+ return this;
28
+ };
29
+ GetNamespaceStatusResult.prototype.withStatus = function (status) {
30
+ this.status = status;
31
+ return this;
32
+ };
33
+ GetNamespaceStatusResult.fromDict = function (data) {
34
+ return new GetNamespaceStatusResult()
35
+ .withStatus(data["status"]);
36
+ };
37
+ GetNamespaceStatusResult.prototype.toDict = function () {
38
+ return {
39
+ "status": this.getStatus(),
40
+ };
41
+ };
42
+ return GetNamespaceStatusResult;
43
+ }());
44
+ exports.default = GetNamespaceStatusResult;
45
+ //# sourceMappingURL=GetNamespaceStatusResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetNamespaceStatusResult.js","sourceRoot":"","sources":["GetNamespaceStatusResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,WAAM,GAAgB,IAAI,CAAC;IA0BvC,CAAC;IAxBU,4CAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,4CAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,46 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ export default class GetNamespaceStatusResult implements IResult {
20
+ private status: string|null = null;
21
+
22
+ public getStatus(): string|null {
23
+ return this.status;
24
+ }
25
+
26
+ public setStatus(status: string|null) {
27
+ this.status = status;
28
+ return this;
29
+ }
30
+
31
+ public withStatus(status: string|null): this {
32
+ this.status = status;
33
+ return this;
34
+ }
35
+
36
+ public static fromDict(data: {[key: string]: any}): GetNamespaceStatusResult {
37
+ return new GetNamespaceStatusResult()
38
+ .withStatus(data["status"]);
39
+ }
40
+
41
+ public toDict(): {[key: string]: any} {
42
+ return {
43
+ "status": this.getStatus(),
44
+ };
45
+ }
46
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Guard from '../model';
3
+ export default class UpdateNamespaceResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Guard.Namespace | null;
6
+ setItem(item: Gs2Guard.Namespace | null): this;
7
+ withItem(item: Gs2Guard.Namespace | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): UpdateNamespaceResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 Gs2Guard = tslib_1.__importStar(require("../model"));
20
+ var UpdateNamespaceResult = /** @class */ (function () {
21
+ function UpdateNamespaceResult() {
22
+ this.item = null;
23
+ }
24
+ UpdateNamespaceResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ UpdateNamespaceResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ UpdateNamespaceResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ UpdateNamespaceResult.fromDict = function (data) {
36
+ return new UpdateNamespaceResult()
37
+ .withItem(Gs2Guard.Namespace.fromDict(data["item"]));
38
+ };
39
+ UpdateNamespaceResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return UpdateNamespaceResult;
46
+ }());
47
+ exports.default = UpdateNamespaceResult;
48
+ //# sourceMappingURL=UpdateNamespaceResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateNamespaceResult.js","sourceRoot":"","sources":["UpdateNamespaceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAA4B,IAAI,CAAC;IA0BjD,CAAC;IAxBU,uCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,uCAAO,GAAd,UAAe,IAA6B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAQ,GAAf,UAAgB,IAA6B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,qBAAqB,EAAE;aAC7B,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAEM,sCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,4BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,47 @@
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 IResult from '../../core/interface/IResult';
18
+ import * as Gs2Guard from '../model'
19
+
20
+ export default class UpdateNamespaceResult implements IResult {
21
+ private item: Gs2Guard.Namespace|null = null;
22
+
23
+ public getItem(): Gs2Guard.Namespace|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Guard.Namespace|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Guard.Namespace|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): UpdateNamespaceResult {
38
+ return new UpdateNamespaceResult()
39
+ .withItem(Gs2Guard.Namespace.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,7 @@
1
+ import DescribeNamespacesResult from "./DescribeNamespacesResult";
2
+ import CreateNamespaceResult from "./CreateNamespaceResult";
3
+ import GetNamespaceStatusResult from "./GetNamespaceStatusResult";
4
+ import GetNamespaceResult from "./GetNamespaceResult";
5
+ import UpdateNamespaceResult from "./UpdateNamespaceResult";
6
+ import DeleteNamespaceResult from "./DeleteNamespaceResult";
7
+ export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
4
+ var tslib_1 = require("tslib");
5
+ /*
6
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
7
+ Reserved.
8
+
9
+ Licensed under the Apache License, Version 2.0 (the "License").
10
+ You may not use this file except in compliance with the License.
11
+ A copy of the License is located at
12
+
13
+ http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+ or in the "license" file accompanying this file. This file is distributed
16
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
17
+ express or implied. See the License for the specific language governing
18
+ permissions and limitations under the License.
19
+ */
20
+ var DescribeNamespacesResult_1 = tslib_1.__importDefault(require("./DescribeNamespacesResult"));
21
+ exports.DescribeNamespacesResult = DescribeNamespacesResult_1.default;
22
+ var CreateNamespaceResult_1 = tslib_1.__importDefault(require("./CreateNamespaceResult"));
23
+ exports.CreateNamespaceResult = CreateNamespaceResult_1.default;
24
+ var GetNamespaceStatusResult_1 = tslib_1.__importDefault(require("./GetNamespaceStatusResult"));
25
+ exports.GetNamespaceStatusResult = GetNamespaceStatusResult_1.default;
26
+ var GetNamespaceResult_1 = tslib_1.__importDefault(require("./GetNamespaceResult"));
27
+ exports.GetNamespaceResult = GetNamespaceResult_1.default;
28
+ var UpdateNamespaceResult_1 = tslib_1.__importDefault(require("./UpdateNamespaceResult"));
29
+ exports.UpdateNamespaceResult = UpdateNamespaceResult_1.default;
30
+ var DeleteNamespaceResult_1 = tslib_1.__importDefault(require("./DeleteNamespaceResult"));
31
+ exports.DeleteNamespaceResult = DeleteNamespaceResult_1.default;
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAiE;AAQ7D,mCARG,kCAAwB,CAQH;AAP5B,0FAA2D;AAQvD,gCARG,+BAAqB,CAQH;AAPzB,gGAAiE;AAQ7D,mCARG,kCAAwB,CAQH;AAP5B,oFAAqD;AAQjD,6BARG,4BAAkB,CAQH;AAPtB,0FAA2D;AAQvD,gCARG,+BAAqB,CAQH;AAPzB,0FAA2D;AAQvD,gCARG,+BAAqB,CAQH"}
@@ -0,0 +1,30 @@
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
+ import DescribeNamespacesResult from "./DescribeNamespacesResult"
17
+ import CreateNamespaceResult from "./CreateNamespaceResult"
18
+ import GetNamespaceStatusResult from "./GetNamespaceStatusResult"
19
+ import GetNamespaceResult from "./GetNamespaceResult"
20
+ import UpdateNamespaceResult from "./UpdateNamespaceResult"
21
+ import DeleteNamespaceResult from "./DeleteNamespaceResult"
22
+
23
+ export {
24
+ DescribeNamespacesResult,
25
+ CreateNamespaceResult,
26
+ GetNamespaceStatusResult,
27
+ GetNamespaceResult,
28
+ UpdateNamespaceResult,
29
+ DeleteNamespaceResult,
30
+ };
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class AttachGuardRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private userName;
6
+ private clientId;
7
+ private guardNamespaceId;
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
+ getUserName(): string | null;
15
+ setUserName(userName: string | null): this;
16
+ withUserName(userName: string | null): this;
17
+ getClientId(): string | null;
18
+ setClientId(clientId: string | null): this;
19
+ withClientId(clientId: string | null): this;
20
+ getGuardNamespaceId(): string | null;
21
+ setGuardNamespaceId(guardNamespaceId: string | null): this;
22
+ withGuardNamespaceId(guardNamespaceId: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): AttachGuardRequest;
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 AttachGuardRequest = /** @class */ (function () {
19
+ function AttachGuardRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.userName = null;
23
+ this.clientId = null;
24
+ this.guardNamespaceId = null;
25
+ }
26
+ AttachGuardRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ AttachGuardRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ AttachGuardRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ AttachGuardRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ AttachGuardRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ AttachGuardRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ AttachGuardRequest.prototype.getUserName = function () {
49
+ return this.userName;
50
+ };
51
+ AttachGuardRequest.prototype.setUserName = function (userName) {
52
+ this.userName = userName;
53
+ return this;
54
+ };
55
+ AttachGuardRequest.prototype.withUserName = function (userName) {
56
+ this.userName = userName;
57
+ return this;
58
+ };
59
+ AttachGuardRequest.prototype.getClientId = function () {
60
+ return this.clientId;
61
+ };
62
+ AttachGuardRequest.prototype.setClientId = function (clientId) {
63
+ this.clientId = clientId;
64
+ return this;
65
+ };
66
+ AttachGuardRequest.prototype.withClientId = function (clientId) {
67
+ this.clientId = clientId;
68
+ return this;
69
+ };
70
+ AttachGuardRequest.prototype.getGuardNamespaceId = function () {
71
+ return this.guardNamespaceId;
72
+ };
73
+ AttachGuardRequest.prototype.setGuardNamespaceId = function (guardNamespaceId) {
74
+ this.guardNamespaceId = guardNamespaceId;
75
+ return this;
76
+ };
77
+ AttachGuardRequest.prototype.withGuardNamespaceId = function (guardNamespaceId) {
78
+ this.guardNamespaceId = guardNamespaceId;
79
+ return this;
80
+ };
81
+ AttachGuardRequest.fromDict = function (data) {
82
+ return new AttachGuardRequest()
83
+ .withUserName(data["userName"])
84
+ .withClientId(data["clientId"])
85
+ .withGuardNamespaceId(data["guardNamespaceId"]);
86
+ };
87
+ AttachGuardRequest.prototype.toDict = function () {
88
+ return {
89
+ "userName": this.getUserName(),
90
+ "clientId": this.getClientId(),
91
+ "guardNamespaceId": this.getGuardNamespaceId(),
92
+ };
93
+ };
94
+ return AttachGuardRequest;
95
+ }());
96
+ exports.default = AttachGuardRequest;
97
+ //# sourceMappingURL=AttachGuardRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachGuardRequest.js","sourceRoot":"","sources":["AttachGuardRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,qBAAgB,GAAgB,IAAI,CAAC;IA6EjD,CAAC;IA3EU,yCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,yCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,4CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wCAAW,GAAlB;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACM,wCAAW,GAAlB,UAAmB,QAAqB;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAY,GAAnB,UAAoB,QAAqB;QACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wCAAW,GAAlB;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACM,wCAAW,GAAlB,UAAmB,QAAqB;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAY,GAAnB,UAAoB,QAAqB;QACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAmB,GAA1B;QACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IACM,gDAAmB,GAA1B,UAA2B,gBAA6B;QACpD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAoB,GAA3B,UAA4B,gBAA6B;QACrD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kBAAkB,EAAE;aAC1B,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,oBAAoB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACxD,CAAC;IAEM,mCAAM,GAAb;QACI,OAAO;YACH,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE;SACjD,CAAC;IACN,CAAC;IACL,yBAAC;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 Gs2Identifier from '../model'
20
+
21
+ export default class AttachGuardRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private userName: string|null = null;
26
+ private clientId: string|null = null;
27
+ private guardNamespaceId: 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 getUserName(): string|null {
57
+ return this.userName;
58
+ }
59
+ public setUserName(userName: string|null) {
60
+ this.userName = userName;
61
+ return this;
62
+ }
63
+ public withUserName(userName: string|null): this {
64
+ this.userName = userName;
65
+ return this;
66
+ }
67
+ public getClientId(): string|null {
68
+ return this.clientId;
69
+ }
70
+ public setClientId(clientId: string|null) {
71
+ this.clientId = clientId;
72
+ return this;
73
+ }
74
+ public withClientId(clientId: string|null): this {
75
+ this.clientId = clientId;
76
+ return this;
77
+ }
78
+ public getGuardNamespaceId(): string|null {
79
+ return this.guardNamespaceId;
80
+ }
81
+ public setGuardNamespaceId(guardNamespaceId: string|null) {
82
+ this.guardNamespaceId = guardNamespaceId;
83
+ return this;
84
+ }
85
+ public withGuardNamespaceId(guardNamespaceId: string|null): this {
86
+ this.guardNamespaceId = guardNamespaceId;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): AttachGuardRequest {
91
+ return new AttachGuardRequest()
92
+ .withUserName(data["userName"])
93
+ .withClientId(data["clientId"])
94
+ .withGuardNamespaceId(data["guardNamespaceId"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "userName": this.getUserName(),
100
+ "clientId": this.getClientId(),
101
+ "guardNamespaceId": this.getGuardNamespaceId(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class DescribeAttachedGuardsRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private clientId;
6
+ private userName;
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
+ getClientId(): string | null;
14
+ setClientId(clientId: string | null): this;
15
+ withClientId(clientId: string | null): this;
16
+ getUserName(): string | null;
17
+ setUserName(userName: string | null): this;
18
+ withUserName(userName: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): DescribeAttachedGuardsRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }