gs2 1.4.25 → 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 (49) hide show
  1. package/identifier/request/AttachGuardRequest.d.ts +29 -0
  2. package/identifier/request/AttachGuardRequest.js +97 -0
  3. package/identifier/request/AttachGuardRequest.js.map +1 -0
  4. package/identifier/request/AttachGuardRequest.ts +104 -0
  5. package/identifier/request/DescribeAttachedGuardsRequest.d.ts +25 -0
  6. package/identifier/request/DescribeAttachedGuardsRequest.js +83 -0
  7. package/identifier/request/DescribeAttachedGuardsRequest.js.map +1 -0
  8. package/identifier/request/DescribeAttachedGuardsRequest.ts +90 -0
  9. package/identifier/request/DetachGuardRequest.d.ts +29 -0
  10. package/identifier/request/DetachGuardRequest.js +97 -0
  11. package/identifier/request/DetachGuardRequest.js.map +1 -0
  12. package/identifier/request/DetachGuardRequest.ts +104 -0
  13. package/identifier/request/index.d.ts +4 -1
  14. package/identifier/request/index.js +7 -1
  15. package/identifier/request/index.js.map +1 -1
  16. package/identifier/request/index.ts +6 -0
  17. package/identifier/rest.d.ts +3 -0
  18. package/identifier/rest.js +75 -0
  19. package/identifier/rest.js.map +1 -1
  20. package/identifier/rest.ts +87 -0
  21. package/identifier/result/AttachGuardResult.d.ts +13 -0
  22. package/identifier/result/AttachGuardResult.js +51 -0
  23. package/identifier/result/AttachGuardResult.js.map +1 -0
  24. package/identifier/result/AttachGuardResult.ts +54 -0
  25. package/identifier/result/DescribeAttachedGuardsResult.d.ts +13 -0
  26. package/identifier/result/DescribeAttachedGuardsResult.js +51 -0
  27. package/identifier/result/DescribeAttachedGuardsResult.js.map +1 -0
  28. package/identifier/result/DescribeAttachedGuardsResult.ts +54 -0
  29. package/identifier/result/DetachGuardResult.d.ts +13 -0
  30. package/identifier/result/DetachGuardResult.js +51 -0
  31. package/identifier/result/DetachGuardResult.js.map +1 -0
  32. package/identifier/result/DetachGuardResult.ts +54 -0
  33. package/identifier/result/index.d.ts +4 -1
  34. package/identifier/result/index.js +7 -1
  35. package/identifier/result/index.js.map +1 -1
  36. package/identifier/result/index.ts +6 -0
  37. package/lock/request/index.d.ts +1 -3
  38. package/lock/request/index.js +1 -5
  39. package/lock/request/index.js.map +1 -1
  40. package/lock/request/index.ts +0 -4
  41. package/lock/rest.d.ts +0 -2
  42. package/lock/rest.js +0 -55
  43. package/lock/rest.js.map +1 -1
  44. package/lock/rest.ts +0 -63
  45. package/lock/result/index.d.ts +1 -3
  46. package/lock/result/index.js +1 -5
  47. package/lock/result/index.js.map +1 -1
  48. package/lock/result/index.ts +0 -4
  49. package/package.json +1 -1
@@ -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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,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
+ }
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
4
+ Reserved.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License").
7
+ You may not use this file except in compliance with the License.
8
+ A copy of the License is located at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ or in the "license" file accompanying this file. This file is distributed
13
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ express or implied. See the License for the specific language governing
15
+ permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var DescribeAttachedGuardsRequest = /** @class */ (function () {
19
+ function DescribeAttachedGuardsRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.clientId = null;
23
+ this.userName = null;
24
+ }
25
+ DescribeAttachedGuardsRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ DescribeAttachedGuardsRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ DescribeAttachedGuardsRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ DescribeAttachedGuardsRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ DescribeAttachedGuardsRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ DescribeAttachedGuardsRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ DescribeAttachedGuardsRequest.prototype.getClientId = function () {
48
+ return this.clientId;
49
+ };
50
+ DescribeAttachedGuardsRequest.prototype.setClientId = function (clientId) {
51
+ this.clientId = clientId;
52
+ return this;
53
+ };
54
+ DescribeAttachedGuardsRequest.prototype.withClientId = function (clientId) {
55
+ this.clientId = clientId;
56
+ return this;
57
+ };
58
+ DescribeAttachedGuardsRequest.prototype.getUserName = function () {
59
+ return this.userName;
60
+ };
61
+ DescribeAttachedGuardsRequest.prototype.setUserName = function (userName) {
62
+ this.userName = userName;
63
+ return this;
64
+ };
65
+ DescribeAttachedGuardsRequest.prototype.withUserName = function (userName) {
66
+ this.userName = userName;
67
+ return this;
68
+ };
69
+ DescribeAttachedGuardsRequest.fromDict = function (data) {
70
+ return new DescribeAttachedGuardsRequest()
71
+ .withClientId(data["clientId"])
72
+ .withUserName(data["userName"]);
73
+ };
74
+ DescribeAttachedGuardsRequest.prototype.toDict = function () {
75
+ return {
76
+ "clientId": this.getClientId(),
77
+ "userName": this.getUserName(),
78
+ };
79
+ };
80
+ return DescribeAttachedGuardsRequest;
81
+ }());
82
+ exports.default = DescribeAttachedGuardsRequest;
83
+ //# sourceMappingURL=DescribeAttachedGuardsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAttachedGuardsRequest.js","sourceRoot":"","sources":["DescribeAttachedGuardsRequest.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;IAgEzC,CAAC;IA9DU,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;IAEM,qDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,Y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*
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 DescribeAttachedGuardsRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private clientId: string|null = null;
26
+ private userName: string|null = null;
27
+
28
+ public getRequestId(): string|null {
29
+ return this.requestId;
30
+ }
31
+
32
+ public setRequestId(requestId: string|null) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ }
36
+
37
+ public withRequestId(requestId: string|null): this {
38
+ this.requestId = requestId;
39
+ return this;
40
+ }
41
+
42
+ public getContextStack(): string|null {
43
+ return this.contextStack;
44
+ }
45
+
46
+ public setContextStack(contextStack: string|null) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ }
50
+
51
+ public withContextStack(contextStack: string|null): this {
52
+ this.contextStack = contextStack;
53
+ return this;
54
+ }
55
+ public getClientId(): string|null {
56
+ return this.clientId;
57
+ }
58
+ public setClientId(clientId: string|null) {
59
+ this.clientId = clientId;
60
+ return this;
61
+ }
62
+ public withClientId(clientId: string|null): this {
63
+ this.clientId = clientId;
64
+ return this;
65
+ }
66
+ public getUserName(): string|null {
67
+ return this.userName;
68
+ }
69
+ public setUserName(userName: string|null) {
70
+ this.userName = userName;
71
+ return this;
72
+ }
73
+ public withUserName(userName: string|null): this {
74
+ this.userName = userName;
75
+ return this;
76
+ }
77
+
78
+ public static fromDict(data: {[key: string]: any}): DescribeAttachedGuardsRequest {
79
+ return new DescribeAttachedGuardsRequest()
80
+ .withClientId(data["clientId"])
81
+ .withUserName(data["userName"]);
82
+ }
83
+
84
+ public toDict(): {[key: string]: any} {
85
+ return {
86
+ "clientId": this.getClientId(),
87
+ "userName": this.getUserName(),
88
+ };
89
+ }
90
+ }
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class DetachGuardRequest 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
+ }): DetachGuardRequest;
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 DetachGuardRequest = /** @class */ (function () {
19
+ function DetachGuardRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.userName = null;
23
+ this.clientId = null;
24
+ this.guardNamespaceId = null;
25
+ }
26
+ DetachGuardRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ DetachGuardRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ DetachGuardRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ DetachGuardRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ DetachGuardRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ DetachGuardRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ DetachGuardRequest.prototype.getUserName = function () {
49
+ return this.userName;
50
+ };
51
+ DetachGuardRequest.prototype.setUserName = function (userName) {
52
+ this.userName = userName;
53
+ return this;
54
+ };
55
+ DetachGuardRequest.prototype.withUserName = function (userName) {
56
+ this.userName = userName;
57
+ return this;
58
+ };
59
+ DetachGuardRequest.prototype.getClientId = function () {
60
+ return this.clientId;
61
+ };
62
+ DetachGuardRequest.prototype.setClientId = function (clientId) {
63
+ this.clientId = clientId;
64
+ return this;
65
+ };
66
+ DetachGuardRequest.prototype.withClientId = function (clientId) {
67
+ this.clientId = clientId;
68
+ return this;
69
+ };
70
+ DetachGuardRequest.prototype.getGuardNamespaceId = function () {
71
+ return this.guardNamespaceId;
72
+ };
73
+ DetachGuardRequest.prototype.setGuardNamespaceId = function (guardNamespaceId) {
74
+ this.guardNamespaceId = guardNamespaceId;
75
+ return this;
76
+ };
77
+ DetachGuardRequest.prototype.withGuardNamespaceId = function (guardNamespaceId) {
78
+ this.guardNamespaceId = guardNamespaceId;
79
+ return this;
80
+ };
81
+ DetachGuardRequest.fromDict = function (data) {
82
+ return new DetachGuardRequest()
83
+ .withUserName(data["userName"])
84
+ .withClientId(data["clientId"])
85
+ .withGuardNamespaceId(data["guardNamespaceId"]);
86
+ };
87
+ DetachGuardRequest.prototype.toDict = function () {
88
+ return {
89
+ "userName": this.getUserName(),
90
+ "clientId": this.getClientId(),
91
+ "guardNamespaceId": this.getGuardNamespaceId(),
92
+ };
93
+ };
94
+ return DetachGuardRequest;
95
+ }());
96
+ exports.default = DetachGuardRequest;
97
+ //# sourceMappingURL=DetachGuardRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetachGuardRequest.js","sourceRoot":"","sources":["DetachGuardRequest.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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AE,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 DetachGuardRequest 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}): DetachGuardRequest {
91
+ return new DetachGuardRequest()
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
+ }