gs2 1.4.4 → 1.4.6

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 (91) hide show
  1. package/guild/model/GuildModel.d.ts +4 -0
  2. package/guild/model/GuildModel.js +14 -0
  3. package/guild/model/GuildModel.js.map +1 -1
  4. package/guild/model/GuildModel.ts +14 -0
  5. package/guild/model/GuildModelMaster.d.ts +4 -0
  6. package/guild/model/GuildModelMaster.js +14 -0
  7. package/guild/model/GuildModelMaster.js.map +1 -1
  8. package/guild/model/GuildModelMaster.ts +14 -0
  9. package/guild/model/LastGuildMasterActivity.d.ts +24 -0
  10. package/guild/model/LastGuildMasterActivity.js +149 -0
  11. package/guild/model/LastGuildMasterActivity.js.map +1 -0
  12. package/guild/model/LastGuildMasterActivity.ts +165 -0
  13. package/guild/model/Namespace.d.ts +17 -0
  14. package/guild/model/Namespace.js +59 -2
  15. package/guild/model/Namespace.js.map +1 -1
  16. package/guild/model/Namespace.ts +57 -0
  17. package/guild/model/index.d.ts +2 -1
  18. package/guild/model/index.js +3 -1
  19. package/guild/model/index.js.map +1 -1
  20. package/guild/model/index.ts +2 -0
  21. package/guild/request/CreateGuildModelMasterRequest.d.ts +4 -0
  22. package/guild/request/CreateGuildModelMasterRequest.js +14 -0
  23. package/guild/request/CreateGuildModelMasterRequest.js.map +1 -1
  24. package/guild/request/CreateGuildModelMasterRequest.ts +14 -0
  25. package/guild/request/CreateNamespaceRequest.d.ts +16 -0
  26. package/guild/request/CreateNamespaceRequest.js +58 -2
  27. package/guild/request/CreateNamespaceRequest.js.map +1 -1
  28. package/guild/request/CreateNamespaceRequest.ts +56 -0
  29. package/guild/request/GetLastGuildMasterActivityByGuildNameRequest.d.ts +29 -0
  30. package/guild/request/GetLastGuildMasterActivityByGuildNameRequest.js +97 -0
  31. package/guild/request/GetLastGuildMasterActivityByGuildNameRequest.js.map +1 -0
  32. package/guild/request/GetLastGuildMasterActivityByGuildNameRequest.ts +104 -0
  33. package/guild/request/GetLastGuildMasterActivityRequest.d.ts +29 -0
  34. package/guild/request/GetLastGuildMasterActivityRequest.js +97 -0
  35. package/guild/request/GetLastGuildMasterActivityRequest.js.map +1 -0
  36. package/guild/request/GetLastGuildMasterActivityRequest.ts +104 -0
  37. package/guild/request/PromoteSeniorMemberByGuildNameRequest.d.ts +33 -0
  38. package/guild/request/PromoteSeniorMemberByGuildNameRequest.js +109 -0
  39. package/guild/request/PromoteSeniorMemberByGuildNameRequest.js.map +1 -0
  40. package/guild/request/PromoteSeniorMemberByGuildNameRequest.ts +119 -0
  41. package/guild/request/PromoteSeniorMemberRequest.d.ts +33 -0
  42. package/guild/request/PromoteSeniorMemberRequest.js +109 -0
  43. package/guild/request/PromoteSeniorMemberRequest.js.map +1 -0
  44. package/guild/request/PromoteSeniorMemberRequest.ts +119 -0
  45. package/guild/request/UpdateGuildModelMasterRequest.d.ts +4 -0
  46. package/guild/request/UpdateGuildModelMasterRequest.js +14 -0
  47. package/guild/request/UpdateGuildModelMasterRequest.js.map +1 -1
  48. package/guild/request/UpdateGuildModelMasterRequest.ts +14 -0
  49. package/guild/request/UpdateNamespaceRequest.d.ts +16 -0
  50. package/guild/request/UpdateNamespaceRequest.js +58 -2
  51. package/guild/request/UpdateNamespaceRequest.js.map +1 -1
  52. package/guild/request/UpdateNamespaceRequest.ts +56 -0
  53. package/guild/request/index.d.ts +5 -1
  54. package/guild/request/index.js +9 -1
  55. package/guild/request/index.js.map +1 -1
  56. package/guild/request/index.ts +8 -0
  57. package/guild/rest.d.ts +4 -0
  58. package/guild/rest.js +138 -14
  59. package/guild/rest.js.map +1 -1
  60. package/guild/rest.ts +140 -0
  61. package/guild/result/GetLastGuildMasterActivityByGuildNameResult.d.ts +18 -0
  62. package/guild/result/GetLastGuildMasterActivityByGuildNameResult.js +62 -0
  63. package/guild/result/GetLastGuildMasterActivityByGuildNameResult.js.map +1 -0
  64. package/guild/result/GetLastGuildMasterActivityByGuildNameResult.ts +64 -0
  65. package/guild/result/GetLastGuildMasterActivityResult.d.ts +18 -0
  66. package/guild/result/GetLastGuildMasterActivityResult.js +62 -0
  67. package/guild/result/GetLastGuildMasterActivityResult.js.map +1 -0
  68. package/guild/result/GetLastGuildMasterActivityResult.ts +64 -0
  69. package/guild/result/PromoteSeniorMemberByGuildNameResult.d.ts +18 -0
  70. package/guild/result/PromoteSeniorMemberByGuildNameResult.js +62 -0
  71. package/guild/result/PromoteSeniorMemberByGuildNameResult.js.map +1 -0
  72. package/guild/result/PromoteSeniorMemberByGuildNameResult.ts +64 -0
  73. package/guild/result/PromoteSeniorMemberResult.d.ts +18 -0
  74. package/guild/result/PromoteSeniorMemberResult.js +62 -0
  75. package/guild/result/PromoteSeniorMemberResult.js.map +1 -0
  76. package/guild/result/PromoteSeniorMemberResult.ts +64 -0
  77. package/guild/result/index.d.ts +5 -1
  78. package/guild/result/index.js +9 -1
  79. package/guild/result/index.js.map +1 -1
  80. package/guild/result/index.ts +8 -0
  81. package/package.json +1 -1
  82. package/ranking/request/PutScoreByUserIdRequest.d.ts +4 -0
  83. package/ranking/request/PutScoreByUserIdRequest.js +12 -0
  84. package/ranking/request/PutScoreByUserIdRequest.js.map +1 -1
  85. package/ranking/request/PutScoreByUserIdRequest.ts +15 -0
  86. package/ranking/rest.js +8 -5
  87. package/ranking/rest.js.map +1 -1
  88. package/ranking/rest.ts +3 -0
  89. package/schedule/rest.js +4 -2
  90. package/schedule/rest.js.map +1 -1
  91. package/schedule/rest.ts +2 -0
@@ -29,6 +29,10 @@ export default class CreateNamespaceRequest implements IRequest {
29
29
  private changeMemberNotification: Gs2Guild.NotificationSetting|null = null;
30
30
  private receiveRequestNotification: Gs2Guild.NotificationSetting|null = null;
31
31
  private removeRequestNotification: Gs2Guild.NotificationSetting|null = null;
32
+ private createGuildScript: Gs2Guild.ScriptSetting|null = null;
33
+ private joinGuildScript: Gs2Guild.ScriptSetting|null = null;
34
+ private leaveGuildScript: Gs2Guild.ScriptSetting|null = null;
35
+ private changeRoleScript: Gs2Guild.ScriptSetting|null = null;
32
36
  private logSetting: Gs2Guild.LogSetting|null = null;
33
37
 
34
38
  public getRequestId(): string|null {
@@ -135,6 +139,50 @@ export default class CreateNamespaceRequest implements IRequest {
135
139
  this.removeRequestNotification = removeRequestNotification;
136
140
  return this;
137
141
  }
142
+ public getCreateGuildScript(): Gs2Guild.ScriptSetting|null {
143
+ return this.createGuildScript;
144
+ }
145
+ public setCreateGuildScript(createGuildScript: Gs2Guild.ScriptSetting|null) {
146
+ this.createGuildScript = createGuildScript;
147
+ return this;
148
+ }
149
+ public withCreateGuildScript(createGuildScript: Gs2Guild.ScriptSetting|null): this {
150
+ this.createGuildScript = createGuildScript;
151
+ return this;
152
+ }
153
+ public getJoinGuildScript(): Gs2Guild.ScriptSetting|null {
154
+ return this.joinGuildScript;
155
+ }
156
+ public setJoinGuildScript(joinGuildScript: Gs2Guild.ScriptSetting|null) {
157
+ this.joinGuildScript = joinGuildScript;
158
+ return this;
159
+ }
160
+ public withJoinGuildScript(joinGuildScript: Gs2Guild.ScriptSetting|null): this {
161
+ this.joinGuildScript = joinGuildScript;
162
+ return this;
163
+ }
164
+ public getLeaveGuildScript(): Gs2Guild.ScriptSetting|null {
165
+ return this.leaveGuildScript;
166
+ }
167
+ public setLeaveGuildScript(leaveGuildScript: Gs2Guild.ScriptSetting|null) {
168
+ this.leaveGuildScript = leaveGuildScript;
169
+ return this;
170
+ }
171
+ public withLeaveGuildScript(leaveGuildScript: Gs2Guild.ScriptSetting|null): this {
172
+ this.leaveGuildScript = leaveGuildScript;
173
+ return this;
174
+ }
175
+ public getChangeRoleScript(): Gs2Guild.ScriptSetting|null {
176
+ return this.changeRoleScript;
177
+ }
178
+ public setChangeRoleScript(changeRoleScript: Gs2Guild.ScriptSetting|null) {
179
+ this.changeRoleScript = changeRoleScript;
180
+ return this;
181
+ }
182
+ public withChangeRoleScript(changeRoleScript: Gs2Guild.ScriptSetting|null): this {
183
+ this.changeRoleScript = changeRoleScript;
184
+ return this;
185
+ }
138
186
  public getLogSetting(): Gs2Guild.LogSetting|null {
139
187
  return this.logSetting;
140
188
  }
@@ -156,6 +204,10 @@ export default class CreateNamespaceRequest implements IRequest {
156
204
  .withChangeMemberNotification(Gs2Guild.NotificationSetting.fromDict(data["changeMemberNotification"]))
157
205
  .withReceiveRequestNotification(Gs2Guild.NotificationSetting.fromDict(data["receiveRequestNotification"]))
158
206
  .withRemoveRequestNotification(Gs2Guild.NotificationSetting.fromDict(data["removeRequestNotification"]))
207
+ .withCreateGuildScript(Gs2Guild.ScriptSetting.fromDict(data["createGuildScript"]))
208
+ .withJoinGuildScript(Gs2Guild.ScriptSetting.fromDict(data["joinGuildScript"]))
209
+ .withLeaveGuildScript(Gs2Guild.ScriptSetting.fromDict(data["leaveGuildScript"]))
210
+ .withChangeRoleScript(Gs2Guild.ScriptSetting.fromDict(data["changeRoleScript"]))
159
211
  .withLogSetting(Gs2Guild.LogSetting.fromDict(data["logSetting"]));
160
212
  }
161
213
 
@@ -168,6 +220,10 @@ export default class CreateNamespaceRequest implements IRequest {
168
220
  "changeMemberNotification": this.getChangeMemberNotification()?.toDict(),
169
221
  "receiveRequestNotification": this.getReceiveRequestNotification()?.toDict(),
170
222
  "removeRequestNotification": this.getRemoveRequestNotification()?.toDict(),
223
+ "createGuildScript": this.getCreateGuildScript()?.toDict(),
224
+ "joinGuildScript": this.getJoinGuildScript()?.toDict(),
225
+ "leaveGuildScript": this.getLeaveGuildScript()?.toDict(),
226
+ "changeRoleScript": this.getChangeRoleScript()?.toDict(),
171
227
  "logSetting": this.getLogSetting()?.toDict(),
172
228
  };
173
229
  }
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetLastGuildMasterActivityByGuildNameRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private guildModelName;
7
+ private guildName;
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
+ getNamespaceName(): string | null;
15
+ setNamespaceName(namespaceName: string | null): this;
16
+ withNamespaceName(namespaceName: string | null): this;
17
+ getGuildModelName(): string | null;
18
+ setGuildModelName(guildModelName: string | null): this;
19
+ withGuildModelName(guildModelName: string | null): this;
20
+ getGuildName(): string | null;
21
+ setGuildName(guildName: string | null): this;
22
+ withGuildName(guildName: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): GetLastGuildMasterActivityByGuildNameRequest;
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 GetLastGuildMasterActivityByGuildNameRequest = /** @class */ (function () {
19
+ function GetLastGuildMasterActivityByGuildNameRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.guildModelName = null;
24
+ this.guildName = null;
25
+ }
26
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.getNamespaceName = function () {
49
+ return this.namespaceName;
50
+ };
51
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.setNamespaceName = function (namespaceName) {
52
+ this.namespaceName = namespaceName;
53
+ return this;
54
+ };
55
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.withNamespaceName = function (namespaceName) {
56
+ this.namespaceName = namespaceName;
57
+ return this;
58
+ };
59
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.getGuildModelName = function () {
60
+ return this.guildModelName;
61
+ };
62
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.setGuildModelName = function (guildModelName) {
63
+ this.guildModelName = guildModelName;
64
+ return this;
65
+ };
66
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.withGuildModelName = function (guildModelName) {
67
+ this.guildModelName = guildModelName;
68
+ return this;
69
+ };
70
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.getGuildName = function () {
71
+ return this.guildName;
72
+ };
73
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.setGuildName = function (guildName) {
74
+ this.guildName = guildName;
75
+ return this;
76
+ };
77
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.withGuildName = function (guildName) {
78
+ this.guildName = guildName;
79
+ return this;
80
+ };
81
+ GetLastGuildMasterActivityByGuildNameRequest.fromDict = function (data) {
82
+ return new GetLastGuildMasterActivityByGuildNameRequest()
83
+ .withNamespaceName(data["namespaceName"])
84
+ .withGuildModelName(data["guildModelName"])
85
+ .withGuildName(data["guildName"]);
86
+ };
87
+ GetLastGuildMasterActivityByGuildNameRequest.prototype.toDict = function () {
88
+ return {
89
+ "namespaceName": this.getNamespaceName(),
90
+ "guildModelName": this.getGuildModelName(),
91
+ "guildName": this.getGuildName(),
92
+ };
93
+ };
94
+ return GetLastGuildMasterActivityByGuildNameRequest;
95
+ }());
96
+ exports.default = GetLastGuildMasterActivityByGuildNameRequest;
97
+ //# sourceMappingURL=GetLastGuildMasterActivityByGuildNameRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLastGuildMasterActivityByGuildNameRequest.js","sourceRoot":"","sources":["GetLastGuildMasterActivityByGuildNameRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAgB,IAAI,CAAC;QACnC,cAAS,GAAgB,IAAI,CAAC;IA6E1C,CAAC;IA3EU,mEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,mEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sEAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,sEAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uEAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uEAAgB,GAAvB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C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,mDAAC;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 Gs2Guild from '../model'
20
+
21
+ export default class GetLastGuildMasterActivityByGuildNameRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private guildModelName: string|null = null;
27
+ private guildName: 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 getNamespaceName(): string|null {
57
+ return this.namespaceName;
58
+ }
59
+ public setNamespaceName(namespaceName: string|null) {
60
+ this.namespaceName = namespaceName;
61
+ return this;
62
+ }
63
+ public withNamespaceName(namespaceName: string|null): this {
64
+ this.namespaceName = namespaceName;
65
+ return this;
66
+ }
67
+ public getGuildModelName(): string|null {
68
+ return this.guildModelName;
69
+ }
70
+ public setGuildModelName(guildModelName: string|null) {
71
+ this.guildModelName = guildModelName;
72
+ return this;
73
+ }
74
+ public withGuildModelName(guildModelName: string|null): this {
75
+ this.guildModelName = guildModelName;
76
+ return this;
77
+ }
78
+ public getGuildName(): string|null {
79
+ return this.guildName;
80
+ }
81
+ public setGuildName(guildName: string|null) {
82
+ this.guildName = guildName;
83
+ return this;
84
+ }
85
+ public withGuildName(guildName: string|null): this {
86
+ this.guildName = guildName;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): GetLastGuildMasterActivityByGuildNameRequest {
91
+ return new GetLastGuildMasterActivityByGuildNameRequest()
92
+ .withNamespaceName(data["namespaceName"])
93
+ .withGuildModelName(data["guildModelName"])
94
+ .withGuildName(data["guildName"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "namespaceName": this.getNamespaceName(),
100
+ "guildModelName": this.getGuildModelName(),
101
+ "guildName": this.getGuildName(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class GetLastGuildMasterActivityRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private guildModelName;
7
+ private accessToken;
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
+ getNamespaceName(): string | null;
15
+ setNamespaceName(namespaceName: string | null): this;
16
+ withNamespaceName(namespaceName: string | null): this;
17
+ getGuildModelName(): string | null;
18
+ setGuildModelName(guildModelName: string | null): this;
19
+ withGuildModelName(guildModelName: string | null): this;
20
+ getAccessToken(): string | null;
21
+ setAccessToken(accessToken: string | null): this;
22
+ withAccessToken(accessToken: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): GetLastGuildMasterActivityRequest;
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 GetLastGuildMasterActivityRequest = /** @class */ (function () {
19
+ function GetLastGuildMasterActivityRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.guildModelName = null;
24
+ this.accessToken = null;
25
+ }
26
+ GetLastGuildMasterActivityRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ GetLastGuildMasterActivityRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ GetLastGuildMasterActivityRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ GetLastGuildMasterActivityRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ GetLastGuildMasterActivityRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ GetLastGuildMasterActivityRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ GetLastGuildMasterActivityRequest.prototype.getNamespaceName = function () {
49
+ return this.namespaceName;
50
+ };
51
+ GetLastGuildMasterActivityRequest.prototype.setNamespaceName = function (namespaceName) {
52
+ this.namespaceName = namespaceName;
53
+ return this;
54
+ };
55
+ GetLastGuildMasterActivityRequest.prototype.withNamespaceName = function (namespaceName) {
56
+ this.namespaceName = namespaceName;
57
+ return this;
58
+ };
59
+ GetLastGuildMasterActivityRequest.prototype.getGuildModelName = function () {
60
+ return this.guildModelName;
61
+ };
62
+ GetLastGuildMasterActivityRequest.prototype.setGuildModelName = function (guildModelName) {
63
+ this.guildModelName = guildModelName;
64
+ return this;
65
+ };
66
+ GetLastGuildMasterActivityRequest.prototype.withGuildModelName = function (guildModelName) {
67
+ this.guildModelName = guildModelName;
68
+ return this;
69
+ };
70
+ GetLastGuildMasterActivityRequest.prototype.getAccessToken = function () {
71
+ return this.accessToken;
72
+ };
73
+ GetLastGuildMasterActivityRequest.prototype.setAccessToken = function (accessToken) {
74
+ this.accessToken = accessToken;
75
+ return this;
76
+ };
77
+ GetLastGuildMasterActivityRequest.prototype.withAccessToken = function (accessToken) {
78
+ this.accessToken = accessToken;
79
+ return this;
80
+ };
81
+ GetLastGuildMasterActivityRequest.fromDict = function (data) {
82
+ return new GetLastGuildMasterActivityRequest()
83
+ .withNamespaceName(data["namespaceName"])
84
+ .withGuildModelName(data["guildModelName"])
85
+ .withAccessToken(data["accessToken"]);
86
+ };
87
+ GetLastGuildMasterActivityRequest.prototype.toDict = function () {
88
+ return {
89
+ "namespaceName": this.getNamespaceName(),
90
+ "guildModelName": this.getGuildModelName(),
91
+ "accessToken": this.getAccessToken(),
92
+ };
93
+ };
94
+ return GetLastGuildMasterActivityRequest;
95
+ }());
96
+ exports.default = GetLastGuildMasterActivityRequest;
97
+ //# sourceMappingURL=GetLastGuildMasterActivityRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLastGuildMasterActivityRequest.js","sourceRoot":"","sources":["GetLastGuildMasterActivityRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,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GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0DAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IACM,0DAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2DAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,0CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,iCAAiC,EAAE;aACzC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;aAC1C,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,kDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,wCAAC;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 Gs2Guild from '../model'
20
+
21
+ export default class GetLastGuildMasterActivityRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private guildModelName: string|null = null;
27
+ private accessToken: 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 getNamespaceName(): string|null {
57
+ return this.namespaceName;
58
+ }
59
+ public setNamespaceName(namespaceName: string|null) {
60
+ this.namespaceName = namespaceName;
61
+ return this;
62
+ }
63
+ public withNamespaceName(namespaceName: string|null): this {
64
+ this.namespaceName = namespaceName;
65
+ return this;
66
+ }
67
+ public getGuildModelName(): string|null {
68
+ return this.guildModelName;
69
+ }
70
+ public setGuildModelName(guildModelName: string|null) {
71
+ this.guildModelName = guildModelName;
72
+ return this;
73
+ }
74
+ public withGuildModelName(guildModelName: string|null): this {
75
+ this.guildModelName = guildModelName;
76
+ return this;
77
+ }
78
+ public getAccessToken(): string|null {
79
+ return this.accessToken;
80
+ }
81
+ public setAccessToken(accessToken: string|null) {
82
+ this.accessToken = accessToken;
83
+ return this;
84
+ }
85
+ public withAccessToken(accessToken: string|null): this {
86
+ this.accessToken = accessToken;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): GetLastGuildMasterActivityRequest {
91
+ return new GetLastGuildMasterActivityRequest()
92
+ .withNamespaceName(data["namespaceName"])
93
+ .withGuildModelName(data["guildModelName"])
94
+ .withAccessToken(data["accessToken"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "namespaceName": this.getNamespaceName(),
100
+ "guildModelName": this.getGuildModelName(),
101
+ "accessToken": this.getAccessToken(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,33 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class PromoteSeniorMemberByGuildNameRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private guildModelName;
7
+ private guildName;
8
+ private duplicationAvoider;
9
+ getRequestId(): string | null;
10
+ setRequestId(requestId: string | null): this;
11
+ withRequestId(requestId: string | null): this;
12
+ getContextStack(): string | null;
13
+ setContextStack(contextStack: string | null): this;
14
+ withContextStack(contextStack: string | null): this;
15
+ getNamespaceName(): string | null;
16
+ setNamespaceName(namespaceName: string | null): this;
17
+ withNamespaceName(namespaceName: string | null): this;
18
+ getGuildModelName(): string | null;
19
+ setGuildModelName(guildModelName: string | null): this;
20
+ withGuildModelName(guildModelName: string | null): this;
21
+ getGuildName(): string | null;
22
+ setGuildName(guildName: string | null): this;
23
+ withGuildName(guildName: string | null): this;
24
+ getDuplicationAvoider(): string | null;
25
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
26
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
27
+ static fromDict(data: {
28
+ [key: string]: any;
29
+ }): PromoteSeniorMemberByGuildNameRequest;
30
+ toDict(): {
31
+ [key: string]: any;
32
+ };
33
+ }