gs2 1.4.1 → 1.4.3

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 (103) hide show
  1. package/guild/model/IgnoreUser.d.ts +24 -0
  2. package/guild/model/IgnoreUser.js +149 -0
  3. package/guild/model/IgnoreUser.js.map +1 -0
  4. package/guild/model/IgnoreUser.ts +165 -0
  5. package/guild/model/IgnoreUsers.d.ts +41 -0
  6. package/guild/model/IgnoreUsers.js +213 -0
  7. package/guild/model/IgnoreUsers.js.map +1 -0
  8. package/guild/model/IgnoreUsers.ts +230 -0
  9. package/guild/model/index.d.ts +2 -1
  10. package/guild/model/index.js +3 -1
  11. package/guild/model/index.js.map +1 -1
  12. package/guild/model/index.ts +2 -0
  13. package/guild/request/AddIgnoreUserByGuildNameRequest.d.ts +41 -0
  14. package/guild/request/AddIgnoreUserByGuildNameRequest.js +137 -0
  15. package/guild/request/AddIgnoreUserByGuildNameRequest.js.map +1 -0
  16. package/guild/request/AddIgnoreUserByGuildNameRequest.ts +147 -0
  17. package/guild/request/AddIgnoreUserRequest.d.ts +37 -0
  18. package/guild/request/AddIgnoreUserRequest.js +123 -0
  19. package/guild/request/AddIgnoreUserRequest.js.map +1 -0
  20. package/guild/request/AddIgnoreUserRequest.ts +133 -0
  21. package/guild/request/DeleteIgnoreUserByGuildNameRequest.d.ts +41 -0
  22. package/guild/request/DeleteIgnoreUserByGuildNameRequest.js +137 -0
  23. package/guild/request/DeleteIgnoreUserByGuildNameRequest.js.map +1 -0
  24. package/guild/request/DeleteIgnoreUserByGuildNameRequest.ts +147 -0
  25. package/guild/request/DeleteIgnoreUserRequest.d.ts +37 -0
  26. package/guild/request/DeleteIgnoreUserRequest.js +123 -0
  27. package/guild/request/DeleteIgnoreUserRequest.js.map +1 -0
  28. package/guild/request/DeleteIgnoreUserRequest.ts +133 -0
  29. package/guild/request/DescribeIgnoreUsersByGuildNameRequest.d.ts +37 -0
  30. package/guild/request/DescribeIgnoreUsersByGuildNameRequest.js +125 -0
  31. package/guild/request/DescribeIgnoreUsersByGuildNameRequest.js.map +1 -0
  32. package/guild/request/DescribeIgnoreUsersByGuildNameRequest.ts +132 -0
  33. package/guild/request/DescribeIgnoreUsersRequest.d.ts +37 -0
  34. package/guild/request/DescribeIgnoreUsersRequest.js +125 -0
  35. package/guild/request/DescribeIgnoreUsersRequest.js.map +1 -0
  36. package/guild/request/DescribeIgnoreUsersRequest.ts +132 -0
  37. package/guild/request/GetIgnoreUserByGuildNameRequest.d.ts +37 -0
  38. package/guild/request/GetIgnoreUserByGuildNameRequest.js +125 -0
  39. package/guild/request/GetIgnoreUserByGuildNameRequest.js.map +1 -0
  40. package/guild/request/GetIgnoreUserByGuildNameRequest.ts +132 -0
  41. package/guild/request/GetIgnoreUserRequest.d.ts +33 -0
  42. package/guild/request/GetIgnoreUserRequest.js +111 -0
  43. package/guild/request/GetIgnoreUserRequest.js.map +1 -0
  44. package/guild/request/GetIgnoreUserRequest.ts +118 -0
  45. package/guild/request/index.d.ts +9 -1
  46. package/guild/request/index.js +17 -1
  47. package/guild/request/index.js.map +1 -1
  48. package/guild/request/index.ts +16 -0
  49. package/guild/rest.d.ts +8 -0
  50. package/guild/rest.js +239 -0
  51. package/guild/rest.js.map +1 -1
  52. package/guild/rest.ts +271 -0
  53. package/guild/result/AddIgnoreUserByGuildNameResult.d.ts +18 -0
  54. package/guild/result/AddIgnoreUserByGuildNameResult.js +62 -0
  55. package/guild/result/AddIgnoreUserByGuildNameResult.js.map +1 -0
  56. package/guild/result/AddIgnoreUserByGuildNameResult.ts +64 -0
  57. package/guild/result/AddIgnoreUserResult.d.ts +18 -0
  58. package/guild/result/AddIgnoreUserResult.js +62 -0
  59. package/guild/result/AddIgnoreUserResult.js.map +1 -0
  60. package/guild/result/AddIgnoreUserResult.ts +64 -0
  61. package/guild/result/DeleteIgnoreUserByGuildNameResult.d.ts +14 -0
  62. package/guild/result/DeleteIgnoreUserByGuildNameResult.js +48 -0
  63. package/guild/result/DeleteIgnoreUserByGuildNameResult.js.map +1 -0
  64. package/guild/result/DeleteIgnoreUserByGuildNameResult.ts +47 -0
  65. package/guild/result/DeleteIgnoreUserResult.d.ts +14 -0
  66. package/guild/result/DeleteIgnoreUserResult.js +48 -0
  67. package/guild/result/DeleteIgnoreUserResult.js.map +1 -0
  68. package/guild/result/DeleteIgnoreUserResult.ts +47 -0
  69. package/guild/result/DescribeIgnoreUsersByGuildNameResult.d.ts +18 -0
  70. package/guild/result/DescribeIgnoreUsersByGuildNameResult.js +67 -0
  71. package/guild/result/DescribeIgnoreUsersByGuildNameResult.js.map +1 -0
  72. package/guild/result/DescribeIgnoreUsersByGuildNameResult.ts +72 -0
  73. package/guild/result/DescribeIgnoreUsersResult.d.ts +18 -0
  74. package/guild/result/DescribeIgnoreUsersResult.js +67 -0
  75. package/guild/result/DescribeIgnoreUsersResult.js.map +1 -0
  76. package/guild/result/DescribeIgnoreUsersResult.ts +72 -0
  77. package/guild/result/GetIgnoreUserByGuildNameResult.d.ts +14 -0
  78. package/guild/result/GetIgnoreUserByGuildNameResult.js +48 -0
  79. package/guild/result/GetIgnoreUserByGuildNameResult.js.map +1 -0
  80. package/guild/result/GetIgnoreUserByGuildNameResult.ts +47 -0
  81. package/guild/result/GetIgnoreUserResult.d.ts +14 -0
  82. package/guild/result/GetIgnoreUserResult.js +48 -0
  83. package/guild/result/GetIgnoreUserResult.js.map +1 -0
  84. package/guild/result/GetIgnoreUserResult.ts +47 -0
  85. package/guild/result/index.d.ts +9 -1
  86. package/guild/result/index.js +17 -1
  87. package/guild/result/index.js.map +1 -1
  88. package/guild/result/index.ts +16 -0
  89. package/package.json +1 -1
  90. package/project/request/GetProjectTokenByIdentifierRequest.d.ts +4 -0
  91. package/project/request/GetProjectTokenByIdentifierRequest.js +15 -1
  92. package/project/request/GetProjectTokenByIdentifierRequest.js.map +1 -1
  93. package/project/request/GetProjectTokenByIdentifierRequest.ts +15 -1
  94. package/project/rest.js +2 -1
  95. package/project/rest.js.map +1 -1
  96. package/project/rest.ts +1 -0
  97. package/ranking/request/PutScoreByUserIdRequest.d.ts +0 -4
  98. package/ranking/request/PutScoreByUserIdRequest.js +0 -12
  99. package/ranking/request/PutScoreByUserIdRequest.js.map +1 -1
  100. package/ranking/request/PutScoreByUserIdRequest.ts +0 -15
  101. package/ranking/rest.js +5 -8
  102. package/ranking/rest.js.map +1 -1
  103. package/ranking/rest.ts +0 -3
@@ -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 Gs2Guild from '../model'
19
+
20
+ export default class DeleteIgnoreUserByGuildNameResult implements IResult {
21
+ private item: Gs2Guild.IgnoreUser|null = null;
22
+
23
+ public getItem(): Gs2Guild.IgnoreUser|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Guild.IgnoreUser|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Guild.IgnoreUser|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): DeleteIgnoreUserByGuildNameResult {
38
+ return new DeleteIgnoreUserByGuildNameResult()
39
+ .withItem(Gs2Guild.IgnoreUser.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Guild from '../model';
3
+ export default class DeleteIgnoreUserResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Guild.IgnoreUser | null;
6
+ setItem(item: Gs2Guild.IgnoreUser | null): this;
7
+ withItem(item: Gs2Guild.IgnoreUser | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): DeleteIgnoreUserResult;
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 Gs2Guild = tslib_1.__importStar(require("../model"));
20
+ var DeleteIgnoreUserResult = /** @class */ (function () {
21
+ function DeleteIgnoreUserResult() {
22
+ this.item = null;
23
+ }
24
+ DeleteIgnoreUserResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ DeleteIgnoreUserResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ DeleteIgnoreUserResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ DeleteIgnoreUserResult.fromDict = function (data) {
36
+ return new DeleteIgnoreUserResult()
37
+ .withItem(Gs2Guild.IgnoreUser.fromDict(data["item"]));
38
+ };
39
+ DeleteIgnoreUserResult.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 DeleteIgnoreUserResult;
46
+ }());
47
+ exports.default = DeleteIgnoreUserResult;
48
+ //# sourceMappingURL=DeleteIgnoreUserResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteIgnoreUserResult.js","sourceRoot":"","sources":["DeleteIgnoreUserResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6BAAC;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 Gs2Guild from '../model'
19
+
20
+ export default class DeleteIgnoreUserResult implements IResult {
21
+ private item: Gs2Guild.IgnoreUser|null = null;
22
+
23
+ public getItem(): Gs2Guild.IgnoreUser|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Guild.IgnoreUser|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Guild.IgnoreUser|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): DeleteIgnoreUserResult {
38
+ return new DeleteIgnoreUserResult()
39
+ .withItem(Gs2Guild.IgnoreUser.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,18 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Guild from '../model';
3
+ export default class DescribeIgnoreUsersByGuildNameResult implements IResult {
4
+ private items;
5
+ private nextPageToken;
6
+ getItems(): Gs2Guild.IgnoreUser[] | null;
7
+ setItems(items: Gs2Guild.IgnoreUser[] | null): this;
8
+ withItems(items: Gs2Guild.IgnoreUser[] | null): this;
9
+ getNextPageToken(): string | null;
10
+ setNextPageToken(nextPageToken: string | null): this;
11
+ withNextPageToken(nextPageToken: string | null): this;
12
+ static fromDict(data: {
13
+ [key: string]: any;
14
+ }): DescribeIgnoreUsersByGuildNameResult;
15
+ toDict(): {
16
+ [key: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,67 @@
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 Gs2Guild = tslib_1.__importStar(require("../model"));
20
+ var DescribeIgnoreUsersByGuildNameResult = /** @class */ (function () {
21
+ function DescribeIgnoreUsersByGuildNameResult() {
22
+ this.items = null;
23
+ this.nextPageToken = null;
24
+ }
25
+ DescribeIgnoreUsersByGuildNameResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ DescribeIgnoreUsersByGuildNameResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ DescribeIgnoreUsersByGuildNameResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ DescribeIgnoreUsersByGuildNameResult.prototype.getNextPageToken = function () {
37
+ return this.nextPageToken;
38
+ };
39
+ DescribeIgnoreUsersByGuildNameResult.prototype.setNextPageToken = function (nextPageToken) {
40
+ this.nextPageToken = nextPageToken;
41
+ return this;
42
+ };
43
+ DescribeIgnoreUsersByGuildNameResult.prototype.withNextPageToken = function (nextPageToken) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ };
47
+ DescribeIgnoreUsersByGuildNameResult.fromDict = function (data) {
48
+ return new DescribeIgnoreUsersByGuildNameResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2Guild.IgnoreUser.fromDict(item);
52
+ }) : [])
53
+ .withNextPageToken(data["nextPageToken"]);
54
+ };
55
+ DescribeIgnoreUsersByGuildNameResult.prototype.toDict = function () {
56
+ return {
57
+ "items": this.getItems() ?
58
+ this.getItems().map(function (item) {
59
+ return item.toDict();
60
+ }) : [],
61
+ "nextPageToken": this.getNextPageToken(),
62
+ };
63
+ };
64
+ return DescribeIgnoreUsersByGuildNameResult;
65
+ }());
66
+ exports.default = DescribeIgnoreUsersByGuildNameResult;
67
+ //# sourceMappingURL=DescribeIgnoreUsersByGuildNameResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeIgnoreUsersByGuildNameResult.js","sourceRoot":"","sources":["DescribeIgnoreUsersByGuildNameResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AAEpC;IAAA;QACY,UAAK,GAA+B,IAAI,CAAC;QACzC,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,uDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,uDAAQ,GAAf,UAAgB,KAAiC;QAC7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAS,GAAhB,UAAiB,KAAiC;QAC9C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,+DAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gEAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oCAAoC,EAAE;aAC5C,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9C,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,qDAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAyB;oBAC3C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,2CAAC;AAAD,CAAC,AApDD,IAoDC"}
@@ -0,0 +1,72 @@
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 Gs2Guild from '../model'
19
+
20
+ export default class DescribeIgnoreUsersByGuildNameResult implements IResult {
21
+ private items: Gs2Guild.IgnoreUser[]|null = null;
22
+ private nextPageToken: string|null = null;
23
+
24
+ public getItems(): Gs2Guild.IgnoreUser[]|null {
25
+ return this.items;
26
+ }
27
+
28
+ public setItems(items: Gs2Guild.IgnoreUser[]|null) {
29
+ this.items = items;
30
+ return this;
31
+ }
32
+
33
+ public withItems(items: Gs2Guild.IgnoreUser[]|null): this {
34
+ this.items = items;
35
+ return this;
36
+ }
37
+
38
+ public getNextPageToken(): string|null {
39
+ return this.nextPageToken;
40
+ }
41
+
42
+ public setNextPageToken(nextPageToken: string|null) {
43
+ this.nextPageToken = nextPageToken;
44
+ return this;
45
+ }
46
+
47
+ public withNextPageToken(nextPageToken: string|null): this {
48
+ this.nextPageToken = nextPageToken;
49
+ return this;
50
+ }
51
+
52
+ public static fromDict(data: {[key: string]: any}): DescribeIgnoreUsersByGuildNameResult {
53
+ return new DescribeIgnoreUsersByGuildNameResult()
54
+ .withItems(data.items ?
55
+ data.items.map((item: {[key: string]: any}) => {
56
+ return Gs2Guild.IgnoreUser.fromDict(item);
57
+ }
58
+ ) : [])
59
+ .withNextPageToken(data["nextPageToken"]);
60
+ }
61
+
62
+ public toDict(): {[key: string]: any} {
63
+ return {
64
+ "items": this.getItems() ?
65
+ this.getItems()!.map((item: Gs2Guild.IgnoreUser) => {
66
+ return item.toDict();
67
+ }
68
+ ) : [],
69
+ "nextPageToken": this.getNextPageToken(),
70
+ };
71
+ }
72
+ }
@@ -0,0 +1,18 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Guild from '../model';
3
+ export default class DescribeIgnoreUsersResult implements IResult {
4
+ private items;
5
+ private nextPageToken;
6
+ getItems(): Gs2Guild.IgnoreUser[] | null;
7
+ setItems(items: Gs2Guild.IgnoreUser[] | null): this;
8
+ withItems(items: Gs2Guild.IgnoreUser[] | null): this;
9
+ getNextPageToken(): string | null;
10
+ setNextPageToken(nextPageToken: string | null): this;
11
+ withNextPageToken(nextPageToken: string | null): this;
12
+ static fromDict(data: {
13
+ [key: string]: any;
14
+ }): DescribeIgnoreUsersResult;
15
+ toDict(): {
16
+ [key: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,67 @@
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 Gs2Guild = tslib_1.__importStar(require("../model"));
20
+ var DescribeIgnoreUsersResult = /** @class */ (function () {
21
+ function DescribeIgnoreUsersResult() {
22
+ this.items = null;
23
+ this.nextPageToken = null;
24
+ }
25
+ DescribeIgnoreUsersResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ DescribeIgnoreUsersResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ DescribeIgnoreUsersResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ DescribeIgnoreUsersResult.prototype.getNextPageToken = function () {
37
+ return this.nextPageToken;
38
+ };
39
+ DescribeIgnoreUsersResult.prototype.setNextPageToken = function (nextPageToken) {
40
+ this.nextPageToken = nextPageToken;
41
+ return this;
42
+ };
43
+ DescribeIgnoreUsersResult.prototype.withNextPageToken = function (nextPageToken) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ };
47
+ DescribeIgnoreUsersResult.fromDict = function (data) {
48
+ return new DescribeIgnoreUsersResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2Guild.IgnoreUser.fromDict(item);
52
+ }) : [])
53
+ .withNextPageToken(data["nextPageToken"]);
54
+ };
55
+ DescribeIgnoreUsersResult.prototype.toDict = function () {
56
+ return {
57
+ "items": this.getItems() ?
58
+ this.getItems().map(function (item) {
59
+ return item.toDict();
60
+ }) : [],
61
+ "nextPageToken": this.getNextPageToken(),
62
+ };
63
+ };
64
+ return DescribeIgnoreUsersResult;
65
+ }());
66
+ exports.default = DescribeIgnoreUsersResult;
67
+ //# sourceMappingURL=DescribeIgnoreUsersResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeIgnoreUsersResult.js","sourceRoot":"","sources":["DescribeIgnoreUsersResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AAEpC;IAAA;QACY,UAAK,GAA+B,IAAI,CAAC;QACzC,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,4CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,4CAAQ,GAAf,UAAgB,KAAiC;QAC7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAS,GAAhB,UAAiB,KAAiC;QAC9C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,oDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,yBAAyB,EAAE;aACjC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9C,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,0CAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAyB;oBAC3C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,gCAAC;AAAD,CAAC,AApDD,IAoDC"}
@@ -0,0 +1,72 @@
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 Gs2Guild from '../model'
19
+
20
+ export default class DescribeIgnoreUsersResult implements IResult {
21
+ private items: Gs2Guild.IgnoreUser[]|null = null;
22
+ private nextPageToken: string|null = null;
23
+
24
+ public getItems(): Gs2Guild.IgnoreUser[]|null {
25
+ return this.items;
26
+ }
27
+
28
+ public setItems(items: Gs2Guild.IgnoreUser[]|null) {
29
+ this.items = items;
30
+ return this;
31
+ }
32
+
33
+ public withItems(items: Gs2Guild.IgnoreUser[]|null): this {
34
+ this.items = items;
35
+ return this;
36
+ }
37
+
38
+ public getNextPageToken(): string|null {
39
+ return this.nextPageToken;
40
+ }
41
+
42
+ public setNextPageToken(nextPageToken: string|null) {
43
+ this.nextPageToken = nextPageToken;
44
+ return this;
45
+ }
46
+
47
+ public withNextPageToken(nextPageToken: string|null): this {
48
+ this.nextPageToken = nextPageToken;
49
+ return this;
50
+ }
51
+
52
+ public static fromDict(data: {[key: string]: any}): DescribeIgnoreUsersResult {
53
+ return new DescribeIgnoreUsersResult()
54
+ .withItems(data.items ?
55
+ data.items.map((item: {[key: string]: any}) => {
56
+ return Gs2Guild.IgnoreUser.fromDict(item);
57
+ }
58
+ ) : [])
59
+ .withNextPageToken(data["nextPageToken"]);
60
+ }
61
+
62
+ public toDict(): {[key: string]: any} {
63
+ return {
64
+ "items": this.getItems() ?
65
+ this.getItems()!.map((item: Gs2Guild.IgnoreUser) => {
66
+ return item.toDict();
67
+ }
68
+ ) : [],
69
+ "nextPageToken": this.getNextPageToken(),
70
+ };
71
+ }
72
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Guild from '../model';
3
+ export default class GetIgnoreUserByGuildNameResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Guild.IgnoreUser | null;
6
+ setItem(item: Gs2Guild.IgnoreUser | null): this;
7
+ withItem(item: Gs2Guild.IgnoreUser | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetIgnoreUserByGuildNameResult;
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 Gs2Guild = tslib_1.__importStar(require("../model"));
20
+ var GetIgnoreUserByGuildNameResult = /** @class */ (function () {
21
+ function GetIgnoreUserByGuildNameResult() {
22
+ this.item = null;
23
+ }
24
+ GetIgnoreUserByGuildNameResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetIgnoreUserByGuildNameResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetIgnoreUserByGuildNameResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetIgnoreUserByGuildNameResult.fromDict = function (data) {
36
+ return new GetIgnoreUserByGuildNameResult()
37
+ .withItem(Gs2Guild.IgnoreUser.fromDict(data["item"]));
38
+ };
39
+ GetIgnoreUserByGuildNameResult.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 GetIgnoreUserByGuildNameResult;
46
+ }());
47
+ exports.default = GetIgnoreUserByGuildNameResult;
48
+ //# sourceMappingURL=GetIgnoreUserByGuildNameResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetIgnoreUserByGuildNameResult.js","sourceRoot":"","sources":["GetIgnoreUserByGuildNameResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAA6B,IAAI,CAAC;IA0BlD,CAAC;IAxBU,gDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gDAAO,GAAd,UAAe,IAA8B;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAQ,GAAf,UAAgB,IAA8B;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,+CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,qCAAC;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 Gs2Guild from '../model'
19
+
20
+ export default class GetIgnoreUserByGuildNameResult implements IResult {
21
+ private item: Gs2Guild.IgnoreUser|null = null;
22
+
23
+ public getItem(): Gs2Guild.IgnoreUser|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Guild.IgnoreUser|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Guild.IgnoreUser|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetIgnoreUserByGuildNameResult {
38
+ return new GetIgnoreUserByGuildNameResult()
39
+ .withItem(Gs2Guild.IgnoreUser.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Guild from '../model';
3
+ export default class GetIgnoreUserResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Guild.IgnoreUser | null;
6
+ setItem(item: Gs2Guild.IgnoreUser | null): this;
7
+ withItem(item: Gs2Guild.IgnoreUser | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetIgnoreUserResult;
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 Gs2Guild = tslib_1.__importStar(require("../model"));
20
+ var GetIgnoreUserResult = /** @class */ (function () {
21
+ function GetIgnoreUserResult() {
22
+ this.item = null;
23
+ }
24
+ GetIgnoreUserResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetIgnoreUserResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetIgnoreUserResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetIgnoreUserResult.fromDict = function (data) {
36
+ return new GetIgnoreUserResult()
37
+ .withItem(Gs2Guild.IgnoreUser.fromDict(data["item"]));
38
+ };
39
+ GetIgnoreUserResult.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 GetIgnoreUserResult;
46
+ }());
47
+ exports.default = GetIgnoreUserResult;
48
+ //# sourceMappingURL=GetIgnoreUserResult.js.map