gs2 1.3.250 → 1.3.253

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 (211) hide show
  1. package/matchmaking/model/{CurrentRatingModelMaster.d.ts → CurrentModelMaster.d.ts} +2 -2
  2. package/matchmaking/model/{CurrentRatingModelMaster.js → CurrentModelMaster.js} +19 -19
  3. package/matchmaking/model/CurrentModelMaster.js.map +1 -0
  4. package/matchmaking/model/{CurrentRatingModelMaster.ts → CurrentModelMaster.ts} +3 -3
  5. package/matchmaking/model/JoinedSeasonGathering.d.ts +45 -0
  6. package/matchmaking/model/JoinedSeasonGathering.js +241 -0
  7. package/matchmaking/model/JoinedSeasonGathering.js.map +1 -0
  8. package/matchmaking/model/JoinedSeasonGathering.ts +260 -0
  9. package/matchmaking/model/SeasonGathering.d.ts +50 -0
  10. package/matchmaking/model/SeasonGathering.js +285 -0
  11. package/matchmaking/model/SeasonGathering.js.map +1 -0
  12. package/matchmaking/model/SeasonGathering.ts +309 -0
  13. package/matchmaking/model/SeasonModel.d.ts +39 -0
  14. package/matchmaking/model/SeasonModel.js +185 -0
  15. package/matchmaking/model/SeasonModel.js.map +1 -0
  16. package/matchmaking/model/SeasonModel.ts +198 -0
  17. package/matchmaking/model/SeasonModelMaster.d.ts +55 -0
  18. package/matchmaking/model/SeasonModelMaster.js +241 -0
  19. package/matchmaking/model/SeasonModelMaster.js.map +1 -0
  20. package/matchmaking/model/SeasonModelMaster.ts +254 -0
  21. package/matchmaking/model/index.d.ts +6 -2
  22. package/matchmaking/model/index.js +11 -3
  23. package/matchmaking/model/index.js.map +1 -1
  24. package/matchmaking/model/index.ts +10 -2
  25. package/matchmaking/request/CreateSeasonModelMasterRequest.d.ts +45 -0
  26. package/matchmaking/request/CreateSeasonModelMasterRequest.js +153 -0
  27. package/matchmaking/request/CreateSeasonModelMasterRequest.js.map +1 -0
  28. package/matchmaking/request/CreateSeasonModelMasterRequest.ts +160 -0
  29. package/matchmaking/request/DeleteSeasonGatheringRequest.d.ts +37 -0
  30. package/matchmaking/request/DeleteSeasonGatheringRequest.js +125 -0
  31. package/matchmaking/request/DeleteSeasonGatheringRequest.js.map +1 -0
  32. package/matchmaking/request/DeleteSeasonGatheringRequest.ts +132 -0
  33. package/matchmaking/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
  34. package/matchmaking/request/DeleteSeasonModelMasterRequest.js +83 -0
  35. package/matchmaking/request/DeleteSeasonModelMasterRequest.js.map +1 -0
  36. package/matchmaking/request/DeleteSeasonModelMasterRequest.ts +90 -0
  37. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.d.ts +41 -0
  38. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js +139 -0
  39. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js.map +1 -0
  40. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.ts +146 -0
  41. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.d.ts +37 -0
  42. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js +125 -0
  43. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js.map +1 -0
  44. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.ts +132 -0
  45. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.d.ts +41 -0
  46. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js +139 -0
  47. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js.map +1 -0
  48. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.ts +146 -0
  49. package/matchmaking/request/DescribeSeasonGatheringsRequest.d.ts +41 -0
  50. package/matchmaking/request/DescribeSeasonGatheringsRequest.js +139 -0
  51. package/matchmaking/request/DescribeSeasonGatheringsRequest.js.map +1 -0
  52. package/matchmaking/request/DescribeSeasonGatheringsRequest.ts +146 -0
  53. package/matchmaking/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
  54. package/matchmaking/request/DescribeSeasonModelMastersRequest.js +97 -0
  55. package/matchmaking/request/DescribeSeasonModelMastersRequest.js.map +1 -0
  56. package/matchmaking/request/DescribeSeasonModelMastersRequest.ts +104 -0
  57. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.d.ts → DescribeSeasonModelsRequest.d.ts} +2 -2
  58. package/matchmaking/request/DescribeSeasonModelsRequest.js +69 -0
  59. package/matchmaking/request/DescribeSeasonModelsRequest.js.map +1 -0
  60. package/matchmaking/request/DescribeSeasonModelsRequest.ts +76 -0
  61. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.d.ts +41 -0
  62. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js +137 -0
  63. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js.map +1 -0
  64. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.ts +147 -0
  65. package/matchmaking/request/DoSeasonMatchmakingRequest.d.ts +37 -0
  66. package/matchmaking/request/DoSeasonMatchmakingRequest.js +123 -0
  67. package/matchmaking/request/DoSeasonMatchmakingRequest.js.map +1 -0
  68. package/matchmaking/request/DoSeasonMatchmakingRequest.ts +133 -0
  69. package/matchmaking/request/GetCurrentModelMasterRequest.d.ts +21 -0
  70. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.js → GetCurrentModelMasterRequest.js} +17 -17
  71. package/matchmaking/request/GetCurrentModelMasterRequest.js.map +1 -0
  72. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.ts → GetCurrentModelMasterRequest.ts} +3 -3
  73. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.d.ts +37 -0
  74. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js +125 -0
  75. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js.map +1 -0
  76. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.ts +132 -0
  77. package/matchmaking/request/GetJoinedSeasonGatheringRequest.d.ts +33 -0
  78. package/matchmaking/request/GetJoinedSeasonGatheringRequest.js +111 -0
  79. package/matchmaking/request/GetJoinedSeasonGatheringRequest.js.map +1 -0
  80. package/matchmaking/request/GetJoinedSeasonGatheringRequest.ts +118 -0
  81. package/matchmaking/request/GetSeasonGatheringRequest.d.ts +37 -0
  82. package/matchmaking/request/GetSeasonGatheringRequest.js +125 -0
  83. package/matchmaking/request/GetSeasonGatheringRequest.js.map +1 -0
  84. package/matchmaking/request/GetSeasonGatheringRequest.ts +132 -0
  85. package/matchmaking/request/GetSeasonModelMasterRequest.d.ts +25 -0
  86. package/matchmaking/request/GetSeasonModelMasterRequest.js +83 -0
  87. package/matchmaking/request/GetSeasonModelMasterRequest.js.map +1 -0
  88. package/matchmaking/request/GetSeasonModelMasterRequest.ts +90 -0
  89. package/matchmaking/request/GetSeasonModelRequest.d.ts +25 -0
  90. package/matchmaking/request/GetSeasonModelRequest.js +83 -0
  91. package/matchmaking/request/GetSeasonModelRequest.js.map +1 -0
  92. package/matchmaking/request/GetSeasonModelRequest.ts +90 -0
  93. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.d.ts → UpdateCurrentModelMasterFromGitHubRequest.d.ts} +2 -2
  94. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.js → UpdateCurrentModelMasterFromGitHubRequest.js} +20 -20
  95. package/matchmaking/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
  96. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.ts → UpdateCurrentModelMasterFromGitHubRequest.ts} +3 -3
  97. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.d.ts → UpdateCurrentModelMasterRequest.d.ts} +2 -2
  98. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.js → UpdateCurrentModelMasterRequest.js} +20 -20
  99. package/matchmaking/request/UpdateCurrentModelMasterRequest.js.map +1 -0
  100. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.ts → UpdateCurrentModelMasterRequest.ts} +3 -3
  101. package/matchmaking/request/UpdateSeasonModelMasterRequest.d.ts +45 -0
  102. package/matchmaking/request/UpdateSeasonModelMasterRequest.js +153 -0
  103. package/matchmaking/request/UpdateSeasonModelMasterRequest.js.map +1 -0
  104. package/matchmaking/request/UpdateSeasonModelMasterRequest.ts +160 -0
  105. package/matchmaking/request/index.d.ts +21 -4
  106. package/matchmaking/request/index.js +42 -8
  107. package/matchmaking/request/index.js.map +1 -1
  108. package/matchmaking/request/index.ts +40 -6
  109. package/matchmaking/rest.d.ts +20 -3
  110. package/matchmaking/rest.js +472 -6
  111. package/matchmaking/rest.js.map +1 -1
  112. package/matchmaking/rest.ts +540 -6
  113. package/matchmaking/result/CreateSeasonModelMasterResult.d.ts +14 -0
  114. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.js → CreateSeasonModelMasterResult.js} +12 -12
  115. package/matchmaking/result/CreateSeasonModelMasterResult.js.map +1 -0
  116. package/matchmaking/result/CreateSeasonModelMasterResult.ts +47 -0
  117. package/matchmaking/result/DeleteSeasonGatheringResult.d.ts +14 -0
  118. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.js → DeleteSeasonGatheringResult.js} +12 -12
  119. package/matchmaking/result/DeleteSeasonGatheringResult.js.map +1 -0
  120. package/matchmaking/result/DeleteSeasonGatheringResult.ts +47 -0
  121. package/matchmaking/result/DeleteSeasonModelMasterResult.d.ts +14 -0
  122. package/matchmaking/result/DeleteSeasonModelMasterResult.js +48 -0
  123. package/matchmaking/result/DeleteSeasonModelMasterResult.js.map +1 -0
  124. package/matchmaking/result/DeleteSeasonModelMasterResult.ts +47 -0
  125. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.d.ts +18 -0
  126. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js +67 -0
  127. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js.map +1 -0
  128. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.ts +72 -0
  129. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.d.ts +18 -0
  130. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js +67 -0
  131. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js.map +1 -0
  132. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.ts +72 -0
  133. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.d.ts +18 -0
  134. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js +67 -0
  135. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js.map +1 -0
  136. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.ts +72 -0
  137. package/matchmaking/result/DescribeSeasonGatheringsResult.d.ts +18 -0
  138. package/matchmaking/result/DescribeSeasonGatheringsResult.js +67 -0
  139. package/matchmaking/result/DescribeSeasonGatheringsResult.js.map +1 -0
  140. package/matchmaking/result/DescribeSeasonGatheringsResult.ts +72 -0
  141. package/matchmaking/result/DescribeSeasonModelMastersResult.d.ts +18 -0
  142. package/matchmaking/result/DescribeSeasonModelMastersResult.js +67 -0
  143. package/matchmaking/result/DescribeSeasonModelMastersResult.js.map +1 -0
  144. package/matchmaking/result/DescribeSeasonModelMastersResult.ts +72 -0
  145. package/matchmaking/result/DescribeSeasonModelsResult.d.ts +14 -0
  146. package/matchmaking/result/DescribeSeasonModelsResult.js +53 -0
  147. package/matchmaking/result/DescribeSeasonModelsResult.js.map +1 -0
  148. package/matchmaking/result/DescribeSeasonModelsResult.ts +55 -0
  149. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.d.ts +18 -0
  150. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js +62 -0
  151. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js.map +1 -0
  152. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.ts +64 -0
  153. package/matchmaking/result/DoSeasonMatchmakingResult.d.ts +18 -0
  154. package/matchmaking/result/DoSeasonMatchmakingResult.js +62 -0
  155. package/matchmaking/result/DoSeasonMatchmakingResult.js.map +1 -0
  156. package/matchmaking/result/DoSeasonMatchmakingResult.ts +64 -0
  157. package/matchmaking/result/ExportMasterResult.d.ts +3 -3
  158. package/matchmaking/result/ExportMasterResult.js +1 -1
  159. package/matchmaking/result/ExportMasterResult.js.map +1 -1
  160. package/matchmaking/result/ExportMasterResult.ts +5 -5
  161. package/matchmaking/result/GetCurrentModelMasterResult.d.ts +14 -0
  162. package/matchmaking/result/GetCurrentModelMasterResult.js +48 -0
  163. package/matchmaking/result/GetCurrentModelMasterResult.js.map +1 -0
  164. package/matchmaking/result/{GetCurrentRatingModelMasterResult.ts → GetCurrentModelMasterResult.ts} +8 -8
  165. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.d.ts +14 -0
  166. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js +48 -0
  167. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js.map +1 -0
  168. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.ts +47 -0
  169. package/matchmaking/result/GetJoinedSeasonGatheringResult.d.ts +14 -0
  170. package/matchmaking/result/{GetCurrentRatingModelMasterResult.js → GetJoinedSeasonGatheringResult.js} +12 -12
  171. package/matchmaking/result/GetJoinedSeasonGatheringResult.js.map +1 -0
  172. package/matchmaking/result/GetJoinedSeasonGatheringResult.ts +47 -0
  173. package/matchmaking/result/GetSeasonGatheringResult.d.ts +14 -0
  174. package/matchmaking/result/GetSeasonGatheringResult.js +48 -0
  175. package/matchmaking/result/GetSeasonGatheringResult.js.map +1 -0
  176. package/matchmaking/result/GetSeasonGatheringResult.ts +47 -0
  177. package/matchmaking/result/GetSeasonModelMasterResult.d.ts +14 -0
  178. package/matchmaking/result/GetSeasonModelMasterResult.js +48 -0
  179. package/matchmaking/result/GetSeasonModelMasterResult.js.map +1 -0
  180. package/matchmaking/result/GetSeasonModelMasterResult.ts +47 -0
  181. package/matchmaking/result/GetSeasonModelResult.d.ts +14 -0
  182. package/matchmaking/result/GetSeasonModelResult.js +48 -0
  183. package/matchmaking/result/GetSeasonModelResult.js.map +1 -0
  184. package/matchmaking/result/GetSeasonModelResult.ts +47 -0
  185. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
  186. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
  187. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
  188. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.ts → UpdateCurrentModelMasterFromGitHubResult.ts} +8 -8
  189. package/matchmaking/result/UpdateCurrentModelMasterResult.d.ts +14 -0
  190. package/matchmaking/result/UpdateCurrentModelMasterResult.js +48 -0
  191. package/matchmaking/result/UpdateCurrentModelMasterResult.js.map +1 -0
  192. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.ts → UpdateCurrentModelMasterResult.ts} +8 -8
  193. package/matchmaking/result/UpdateSeasonModelMasterResult.d.ts +14 -0
  194. package/matchmaking/result/UpdateSeasonModelMasterResult.js +48 -0
  195. package/matchmaking/result/UpdateSeasonModelMasterResult.js.map +1 -0
  196. package/matchmaking/result/UpdateSeasonModelMasterResult.ts +47 -0
  197. package/matchmaking/result/index.d.ts +21 -4
  198. package/matchmaking/result/index.js +42 -8
  199. package/matchmaking/result/index.js.map +1 -1
  200. package/matchmaking/result/index.ts +40 -6
  201. package/package.json +1 -1
  202. package/matchmaking/model/CurrentRatingModelMaster.js.map +0 -1
  203. package/matchmaking/request/GetCurrentRatingModelMasterRequest.js.map +0 -1
  204. package/matchmaking/request/UpdateCurrentRatingModelMasterFromGitHubRequest.js.map +0 -1
  205. package/matchmaking/request/UpdateCurrentRatingModelMasterRequest.js.map +0 -1
  206. package/matchmaking/result/GetCurrentRatingModelMasterResult.d.ts +0 -14
  207. package/matchmaking/result/GetCurrentRatingModelMasterResult.js.map +0 -1
  208. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.d.ts +0 -14
  209. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.js.map +0 -1
  210. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.d.ts +0 -14
  211. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.js.map +0 -1
@@ -0,0 +1,260 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+
17
+ import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:matchmaking:{namespaceName}:season:{seasonName}:{season}:user:{userId}:joinedGathering";
19
+
20
+ export default class JoinedSeasonGathering implements IModel {
21
+ private joinedSeasonGatheringId: string|null = null;
22
+ private userId: string|null = null;
23
+ private seasonName: string|null = null;
24
+ private season: number|null = null;
25
+ private tier: number|null = null;
26
+ private seasonGatheringName: string|null = null;
27
+ private createdAt: number|null = null;
28
+
29
+ public static getRegion(grn: string): string|null {
30
+ const match = grn.match(grnFormat
31
+ .replace('{region}', '(.*)')
32
+ .replace('{ownerId}', '.*')
33
+ .replace('{namespaceName}', '.*')
34
+ .replace('{seasonName}', '.*')
35
+ .replace('{season}', '.*')
36
+ .replace('{userId}', '.*')
37
+ );
38
+ if (match) {
39
+ return match[1];
40
+ }
41
+ return null;
42
+ }
43
+
44
+ public static getOwnerId(grn: string): string|null {
45
+ const match = grn.match(grnFormat
46
+ .replace('{region}', '.*')
47
+ .replace('{ownerId}', '(.*)')
48
+ .replace('{namespaceName}', '.*')
49
+ .replace('{seasonName}', '.*')
50
+ .replace('{season}', '.*')
51
+ .replace('{userId}', '.*')
52
+ );
53
+ if (match) {
54
+ return match[1];
55
+ }
56
+ return null;
57
+ }
58
+
59
+ public static getNamespaceName(grn: string): string|null {
60
+ const match = grn.match(grnFormat
61
+ .replace('{region}', '.*')
62
+ .replace('{ownerId}', '.*')
63
+ .replace('{namespaceName}', '(.*)')
64
+ .replace('{seasonName}', '.*')
65
+ .replace('{season}', '.*')
66
+ .replace('{userId}', '.*')
67
+ );
68
+ if (match) {
69
+ return match[1];
70
+ }
71
+ return null;
72
+ }
73
+
74
+ public static getSeasonName(grn: string): string|null {
75
+ const match = grn.match(grnFormat
76
+ .replace('{region}', '.*')
77
+ .replace('{ownerId}', '.*')
78
+ .replace('{namespaceName}', '.*')
79
+ .replace('{seasonName}', '(.*)')
80
+ .replace('{season}', '.*')
81
+ .replace('{userId}', '.*')
82
+ );
83
+ if (match) {
84
+ return match[1];
85
+ }
86
+ return null;
87
+ }
88
+
89
+ public static getSeason(grn: string): string|null {
90
+ const match = grn.match(grnFormat
91
+ .replace('{region}', '.*')
92
+ .replace('{ownerId}', '.*')
93
+ .replace('{namespaceName}', '.*')
94
+ .replace('{seasonName}', '.*')
95
+ .replace('{season}', '(.*)')
96
+ .replace('{userId}', '.*')
97
+ );
98
+ if (match) {
99
+ return match[1];
100
+ }
101
+ return null;
102
+ }
103
+
104
+ public static getUserId(grn: string): string|null {
105
+ const match = grn.match(grnFormat
106
+ .replace('{region}', '.*')
107
+ .replace('{ownerId}', '.*')
108
+ .replace('{namespaceName}', '.*')
109
+ .replace('{seasonName}', '.*')
110
+ .replace('{season}', '.*')
111
+ .replace('{userId}', '(.*)')
112
+ );
113
+ if (match) {
114
+ return match[1];
115
+ }
116
+ return null;
117
+ }
118
+
119
+ public static isValid(grn: string): boolean {
120
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
121
+ return false;
122
+ }
123
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
124
+ return false;
125
+ }
126
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
127
+ return false;
128
+ }
129
+ if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
130
+ return false;
131
+ }
132
+ if (this.getSeason(grn) == null || this.getSeason(grn) === '') {
133
+ return false;
134
+ }
135
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
136
+ return false;
137
+ }
138
+ return true;
139
+ }
140
+
141
+ public static createGrn(
142
+ region: string|null,
143
+ ownerId: string|null,
144
+ namespaceName: string|null,
145
+ seasonName: string|null,
146
+ season: string|null,
147
+ userId: string|null,
148
+ ): string|null {
149
+ return grnFormat
150
+ .replace('{region}', region ?? '')
151
+ .replace('{ownerId}', ownerId ?? '')
152
+ .replace('{namespaceName}', namespaceName ?? '')
153
+ .replace('{seasonName}', seasonName ?? '')
154
+ .replace('{season}', season ?? '')
155
+ .replace('{userId}', userId ?? '');
156
+ }
157
+ public getJoinedSeasonGatheringId(): string|null {
158
+ return this.joinedSeasonGatheringId;
159
+ }
160
+ public setJoinedSeasonGatheringId(joinedSeasonGatheringId: string|null) {
161
+ this.joinedSeasonGatheringId = joinedSeasonGatheringId;
162
+ return this;
163
+ }
164
+ public withJoinedSeasonGatheringId(joinedSeasonGatheringId: string|null): this {
165
+ this.joinedSeasonGatheringId = joinedSeasonGatheringId;
166
+ return this;
167
+ }
168
+ public getUserId(): string|null {
169
+ return this.userId;
170
+ }
171
+ public setUserId(userId: string|null) {
172
+ this.userId = userId;
173
+ return this;
174
+ }
175
+ public withUserId(userId: string|null): this {
176
+ this.userId = userId;
177
+ return this;
178
+ }
179
+ public getSeasonName(): string|null {
180
+ return this.seasonName;
181
+ }
182
+ public setSeasonName(seasonName: string|null) {
183
+ this.seasonName = seasonName;
184
+ return this;
185
+ }
186
+ public withSeasonName(seasonName: string|null): this {
187
+ this.seasonName = seasonName;
188
+ return this;
189
+ }
190
+ public getSeason(): number|null {
191
+ return this.season;
192
+ }
193
+ public setSeason(season: number|null) {
194
+ this.season = season;
195
+ return this;
196
+ }
197
+ public withSeason(season: number|null): this {
198
+ this.season = season;
199
+ return this;
200
+ }
201
+ public getTier(): number|null {
202
+ return this.tier;
203
+ }
204
+ public setTier(tier: number|null) {
205
+ this.tier = tier;
206
+ return this;
207
+ }
208
+ public withTier(tier: number|null): this {
209
+ this.tier = tier;
210
+ return this;
211
+ }
212
+ public getSeasonGatheringName(): string|null {
213
+ return this.seasonGatheringName;
214
+ }
215
+ public setSeasonGatheringName(seasonGatheringName: string|null) {
216
+ this.seasonGatheringName = seasonGatheringName;
217
+ return this;
218
+ }
219
+ public withSeasonGatheringName(seasonGatheringName: string|null): this {
220
+ this.seasonGatheringName = seasonGatheringName;
221
+ return this;
222
+ }
223
+ public getCreatedAt(): number|null {
224
+ return this.createdAt;
225
+ }
226
+ public setCreatedAt(createdAt: number|null) {
227
+ this.createdAt = createdAt;
228
+ return this;
229
+ }
230
+ public withCreatedAt(createdAt: number|null): this {
231
+ this.createdAt = createdAt;
232
+ return this;
233
+ }
234
+
235
+ public static fromDict(data: {[key: string]: any}): JoinedSeasonGathering|null {
236
+ if (data == undefined || data == null) {
237
+ return null;
238
+ }
239
+ return new JoinedSeasonGathering()
240
+ .withJoinedSeasonGatheringId(data["joinedSeasonGatheringId"])
241
+ .withUserId(data["userId"])
242
+ .withSeasonName(data["seasonName"])
243
+ .withSeason(data["season"])
244
+ .withTier(data["tier"])
245
+ .withSeasonGatheringName(data["seasonGatheringName"])
246
+ .withCreatedAt(data["createdAt"]);
247
+ }
248
+
249
+ public toDict(): {[key: string]: any} {
250
+ return {
251
+ "joinedSeasonGatheringId": this.getJoinedSeasonGatheringId(),
252
+ "userId": this.getUserId(),
253
+ "seasonName": this.getSeasonName(),
254
+ "season": this.getSeason(),
255
+ "tier": this.getTier(),
256
+ "seasonGatheringName": this.getSeasonGatheringName(),
257
+ "createdAt": this.getCreatedAt(),
258
+ };
259
+ }
260
+ }
@@ -0,0 +1,50 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class SeasonGathering implements IModel {
3
+ private seasonGatheringId;
4
+ private seasonName;
5
+ private season;
6
+ private tier;
7
+ private name;
8
+ private participants;
9
+ private createdAt;
10
+ private revision;
11
+ static getRegion(grn: string): string | null;
12
+ static getOwnerId(grn: string): string | null;
13
+ static getNamespaceName(grn: string): string | null;
14
+ static getSeasonName(grn: string): string | null;
15
+ static getSeason(grn: string): string | null;
16
+ static getTier(grn: string): string | null;
17
+ static getSeasonGatheringName(grn: string): string | null;
18
+ static isValid(grn: string): boolean;
19
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, seasonName: string | null, season: string | null, tier: string | null, seasonGatheringName: string | null): string | null;
20
+ getSeasonGatheringId(): string | null;
21
+ setSeasonGatheringId(seasonGatheringId: string | null): this;
22
+ withSeasonGatheringId(seasonGatheringId: string | null): this;
23
+ getSeasonName(): string | null;
24
+ setSeasonName(seasonName: string | null): this;
25
+ withSeasonName(seasonName: string | null): this;
26
+ getSeason(): number | null;
27
+ setSeason(season: number | null): this;
28
+ withSeason(season: number | null): this;
29
+ getTier(): number | null;
30
+ setTier(tier: number | null): this;
31
+ withTier(tier: number | null): this;
32
+ getName(): string | null;
33
+ setName(name: string | null): this;
34
+ withName(name: string | null): this;
35
+ getParticipants(): string[] | null;
36
+ setParticipants(participants: string[] | null): this;
37
+ withParticipants(participants: string[] | null): this;
38
+ getCreatedAt(): number | null;
39
+ setCreatedAt(createdAt: number | null): this;
40
+ withCreatedAt(createdAt: number | null): this;
41
+ getRevision(): number | null;
42
+ setRevision(revision: number | null): this;
43
+ withRevision(revision: number | null): this;
44
+ static fromDict(data: {
45
+ [key: string]: any;
46
+ }): SeasonGathering | null;
47
+ toDict(): {
48
+ [key: string]: any;
49
+ };
50
+ }
@@ -0,0 +1,285 @@
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 grnFormat = "grn:gs2:{region}:{ownerId}:matchmaking:{namespaceName}:season:{seasonName}:{season}:{tier}:gathering:{seasonGatheringName}";
19
+ var SeasonGathering = /** @class */ (function () {
20
+ function SeasonGathering() {
21
+ this.seasonGatheringId = null;
22
+ this.seasonName = null;
23
+ this.season = null;
24
+ this.tier = null;
25
+ this.name = null;
26
+ this.participants = null;
27
+ this.createdAt = null;
28
+ this.revision = null;
29
+ }
30
+ SeasonGathering.getRegion = function (grn) {
31
+ var match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ .replace('{seasonName}', '.*')
36
+ .replace('{season}', '.*')
37
+ .replace('{tier}', '.*')
38
+ .replace('{seasonGatheringName}', '.*'));
39
+ if (match) {
40
+ return match[1];
41
+ }
42
+ return null;
43
+ };
44
+ SeasonGathering.getOwnerId = function (grn) {
45
+ var match = grn.match(grnFormat
46
+ .replace('{region}', '.*')
47
+ .replace('{ownerId}', '(.*)')
48
+ .replace('{namespaceName}', '.*')
49
+ .replace('{seasonName}', '.*')
50
+ .replace('{season}', '.*')
51
+ .replace('{tier}', '.*')
52
+ .replace('{seasonGatheringName}', '.*'));
53
+ if (match) {
54
+ return match[1];
55
+ }
56
+ return null;
57
+ };
58
+ SeasonGathering.getNamespaceName = function (grn) {
59
+ var match = grn.match(grnFormat
60
+ .replace('{region}', '.*')
61
+ .replace('{ownerId}', '.*')
62
+ .replace('{namespaceName}', '(.*)')
63
+ .replace('{seasonName}', '.*')
64
+ .replace('{season}', '.*')
65
+ .replace('{tier}', '.*')
66
+ .replace('{seasonGatheringName}', '.*'));
67
+ if (match) {
68
+ return match[1];
69
+ }
70
+ return null;
71
+ };
72
+ SeasonGathering.getSeasonName = function (grn) {
73
+ var match = grn.match(grnFormat
74
+ .replace('{region}', '.*')
75
+ .replace('{ownerId}', '.*')
76
+ .replace('{namespaceName}', '.*')
77
+ .replace('{seasonName}', '(.*)')
78
+ .replace('{season}', '.*')
79
+ .replace('{tier}', '.*')
80
+ .replace('{seasonGatheringName}', '.*'));
81
+ if (match) {
82
+ return match[1];
83
+ }
84
+ return null;
85
+ };
86
+ SeasonGathering.getSeason = function (grn) {
87
+ var match = grn.match(grnFormat
88
+ .replace('{region}', '.*')
89
+ .replace('{ownerId}', '.*')
90
+ .replace('{namespaceName}', '.*')
91
+ .replace('{seasonName}', '.*')
92
+ .replace('{season}', '(.*)')
93
+ .replace('{tier}', '.*')
94
+ .replace('{seasonGatheringName}', '.*'));
95
+ if (match) {
96
+ return match[1];
97
+ }
98
+ return null;
99
+ };
100
+ SeasonGathering.getTier = function (grn) {
101
+ var match = grn.match(grnFormat
102
+ .replace('{region}', '.*')
103
+ .replace('{ownerId}', '.*')
104
+ .replace('{namespaceName}', '.*')
105
+ .replace('{seasonName}', '.*')
106
+ .replace('{season}', '.*')
107
+ .replace('{tier}', '(.*)')
108
+ .replace('{seasonGatheringName}', '.*'));
109
+ if (match) {
110
+ return match[1];
111
+ }
112
+ return null;
113
+ };
114
+ SeasonGathering.getSeasonGatheringName = function (grn) {
115
+ var match = grn.match(grnFormat
116
+ .replace('{region}', '.*')
117
+ .replace('{ownerId}', '.*')
118
+ .replace('{namespaceName}', '.*')
119
+ .replace('{seasonName}', '.*')
120
+ .replace('{season}', '.*')
121
+ .replace('{tier}', '.*')
122
+ .replace('{seasonGatheringName}', '(.*)'));
123
+ if (match) {
124
+ return match[1];
125
+ }
126
+ return null;
127
+ };
128
+ SeasonGathering.isValid = function (grn) {
129
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
130
+ return false;
131
+ }
132
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
133
+ return false;
134
+ }
135
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
136
+ return false;
137
+ }
138
+ if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
139
+ return false;
140
+ }
141
+ if (this.getSeason(grn) == null || this.getSeason(grn) === '') {
142
+ return false;
143
+ }
144
+ if (this.getTier(grn) == null || this.getTier(grn) === '') {
145
+ return false;
146
+ }
147
+ if (this.getSeasonGatheringName(grn) == null || this.getSeasonGatheringName(grn) === '') {
148
+ return false;
149
+ }
150
+ return true;
151
+ };
152
+ SeasonGathering.createGrn = function (region, ownerId, namespaceName, seasonName, season, tier, seasonGatheringName) {
153
+ return grnFormat
154
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
155
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
156
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
157
+ .replace('{seasonName}', seasonName !== null && seasonName !== void 0 ? seasonName : '')
158
+ .replace('{season}', season !== null && season !== void 0 ? season : '')
159
+ .replace('{tier}', tier !== null && tier !== void 0 ? tier : '')
160
+ .replace('{seasonGatheringName}', seasonGatheringName !== null && seasonGatheringName !== void 0 ? seasonGatheringName : '');
161
+ };
162
+ SeasonGathering.prototype.getSeasonGatheringId = function () {
163
+ return this.seasonGatheringId;
164
+ };
165
+ SeasonGathering.prototype.setSeasonGatheringId = function (seasonGatheringId) {
166
+ this.seasonGatheringId = seasonGatheringId;
167
+ return this;
168
+ };
169
+ SeasonGathering.prototype.withSeasonGatheringId = function (seasonGatheringId) {
170
+ this.seasonGatheringId = seasonGatheringId;
171
+ return this;
172
+ };
173
+ SeasonGathering.prototype.getSeasonName = function () {
174
+ return this.seasonName;
175
+ };
176
+ SeasonGathering.prototype.setSeasonName = function (seasonName) {
177
+ this.seasonName = seasonName;
178
+ return this;
179
+ };
180
+ SeasonGathering.prototype.withSeasonName = function (seasonName) {
181
+ this.seasonName = seasonName;
182
+ return this;
183
+ };
184
+ SeasonGathering.prototype.getSeason = function () {
185
+ return this.season;
186
+ };
187
+ SeasonGathering.prototype.setSeason = function (season) {
188
+ this.season = season;
189
+ return this;
190
+ };
191
+ SeasonGathering.prototype.withSeason = function (season) {
192
+ this.season = season;
193
+ return this;
194
+ };
195
+ SeasonGathering.prototype.getTier = function () {
196
+ return this.tier;
197
+ };
198
+ SeasonGathering.prototype.setTier = function (tier) {
199
+ this.tier = tier;
200
+ return this;
201
+ };
202
+ SeasonGathering.prototype.withTier = function (tier) {
203
+ this.tier = tier;
204
+ return this;
205
+ };
206
+ SeasonGathering.prototype.getName = function () {
207
+ return this.name;
208
+ };
209
+ SeasonGathering.prototype.setName = function (name) {
210
+ this.name = name;
211
+ return this;
212
+ };
213
+ SeasonGathering.prototype.withName = function (name) {
214
+ this.name = name;
215
+ return this;
216
+ };
217
+ SeasonGathering.prototype.getParticipants = function () {
218
+ return this.participants;
219
+ };
220
+ SeasonGathering.prototype.setParticipants = function (participants) {
221
+ this.participants = participants;
222
+ return this;
223
+ };
224
+ SeasonGathering.prototype.withParticipants = function (participants) {
225
+ this.participants = participants;
226
+ return this;
227
+ };
228
+ SeasonGathering.prototype.getCreatedAt = function () {
229
+ return this.createdAt;
230
+ };
231
+ SeasonGathering.prototype.setCreatedAt = function (createdAt) {
232
+ this.createdAt = createdAt;
233
+ return this;
234
+ };
235
+ SeasonGathering.prototype.withCreatedAt = function (createdAt) {
236
+ this.createdAt = createdAt;
237
+ return this;
238
+ };
239
+ SeasonGathering.prototype.getRevision = function () {
240
+ return this.revision;
241
+ };
242
+ SeasonGathering.prototype.setRevision = function (revision) {
243
+ this.revision = revision;
244
+ return this;
245
+ };
246
+ SeasonGathering.prototype.withRevision = function (revision) {
247
+ this.revision = revision;
248
+ return this;
249
+ };
250
+ SeasonGathering.fromDict = function (data) {
251
+ if (data == undefined || data == null) {
252
+ return null;
253
+ }
254
+ return new SeasonGathering()
255
+ .withSeasonGatheringId(data["seasonGatheringId"])
256
+ .withSeasonName(data["seasonName"])
257
+ .withSeason(data["season"])
258
+ .withTier(data["tier"])
259
+ .withName(data["name"])
260
+ .withParticipants(data.participants ?
261
+ data.participants.map(function (item) {
262
+ return item;
263
+ }) : [])
264
+ .withCreatedAt(data["createdAt"])
265
+ .withRevision(data["revision"]);
266
+ };
267
+ SeasonGathering.prototype.toDict = function () {
268
+ return {
269
+ "seasonGatheringId": this.getSeasonGatheringId(),
270
+ "seasonName": this.getSeasonName(),
271
+ "season": this.getSeason(),
272
+ "tier": this.getTier(),
273
+ "name": this.getName(),
274
+ "participants": this.getParticipants() ?
275
+ this.getParticipants().map(function (item) {
276
+ return item;
277
+ }) : [],
278
+ "createdAt": this.getCreatedAt(),
279
+ "revision": this.getRevision(),
280
+ };
281
+ };
282
+ return SeasonGathering;
283
+ }());
284
+ exports.default = SeasonGathering;
285
+ //# sourceMappingURL=SeasonGathering.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeasonGathering.js","sourceRoot":"","sources":["SeasonGathering.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,4HAA4H,CAAC;AAEvJ;IAAA;QACY,sBAAiB,GAAgB,IAAI,CAAC;QACtC,eAAU,GAAgB,IAAI,CAAC;QAC/B,WAAM,GAAgB,IAAI,CAAC;QAC3B,SAAI,GAAgB,IAAI,CAAC;QACzB,SAAI,GAAgB,IAAI,CAAC;QACzB,iBAAY,GAAkB,IAAI,CAAC;QACnC,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;IAyRzC,CAAC;IAvRiB,yBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO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