gs2 1.3.250 → 1.3.254
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.
- package/matchmaking/model/{CurrentRatingModelMaster.d.ts → CurrentModelMaster.d.ts} +2 -2
- package/matchmaking/model/{CurrentRatingModelMaster.js → CurrentModelMaster.js} +19 -19
- package/matchmaking/model/CurrentModelMaster.js.map +1 -0
- package/matchmaking/model/{CurrentRatingModelMaster.ts → CurrentModelMaster.ts} +3 -3
- package/matchmaking/model/JoinedSeasonGathering.d.ts +45 -0
- package/matchmaking/model/JoinedSeasonGathering.js +241 -0
- package/matchmaking/model/JoinedSeasonGathering.js.map +1 -0
- package/matchmaking/model/JoinedSeasonGathering.ts +260 -0
- package/matchmaking/model/SeasonGathering.d.ts +50 -0
- package/matchmaking/model/SeasonGathering.js +285 -0
- package/matchmaking/model/SeasonGathering.js.map +1 -0
- package/matchmaking/model/SeasonGathering.ts +309 -0
- package/matchmaking/model/SeasonModel.d.ts +39 -0
- package/matchmaking/model/SeasonModel.js +185 -0
- package/matchmaking/model/SeasonModel.js.map +1 -0
- package/matchmaking/model/SeasonModel.ts +198 -0
- package/matchmaking/model/SeasonModelMaster.d.ts +55 -0
- package/matchmaking/model/SeasonModelMaster.js +241 -0
- package/matchmaking/model/SeasonModelMaster.js.map +1 -0
- package/matchmaking/model/SeasonModelMaster.ts +254 -0
- package/matchmaking/model/index.d.ts +6 -2
- package/matchmaking/model/index.js +11 -3
- package/matchmaking/model/index.js.map +1 -1
- package/matchmaking/model/index.ts +10 -2
- package/matchmaking/request/CreateSeasonModelMasterRequest.d.ts +45 -0
- package/matchmaking/request/CreateSeasonModelMasterRequest.js +153 -0
- package/matchmaking/request/CreateSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/CreateSeasonModelMasterRequest.ts +160 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.d.ts +37 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.js +125 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.js.map +1 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.ts +132 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.js +83 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.ts +90 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.d.ts +41 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js +139 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js.map +1 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.ts +146 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.d.ts +37 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js +125 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js.map +1 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.ts +132 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.d.ts +41 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js +139 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js.map +1 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.ts +146 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.d.ts +41 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.js +139 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.js.map +1 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.ts +146 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.js +97 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.js.map +1 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.ts +104 -0
- package/matchmaking/request/{GetCurrentRatingModelMasterRequest.d.ts → DescribeSeasonModelsRequest.d.ts} +2 -2
- package/matchmaking/request/DescribeSeasonModelsRequest.js +69 -0
- package/matchmaking/request/DescribeSeasonModelsRequest.js.map +1 -0
- package/matchmaking/request/DescribeSeasonModelsRequest.ts +76 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.d.ts +41 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js +137 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js.map +1 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.ts +147 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.d.ts +37 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.js +123 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.js.map +1 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.ts +133 -0
- package/matchmaking/request/GetCurrentModelMasterRequest.d.ts +21 -0
- package/matchmaking/request/{GetCurrentRatingModelMasterRequest.js → GetCurrentModelMasterRequest.js} +17 -17
- package/matchmaking/request/GetCurrentModelMasterRequest.js.map +1 -0
- package/matchmaking/request/{GetCurrentRatingModelMasterRequest.ts → GetCurrentModelMasterRequest.ts} +3 -3
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.d.ts +37 -0
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js +125 -0
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js.map +1 -0
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.ts +132 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.d.ts +33 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.js +111 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.js.map +1 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.ts +118 -0
- package/matchmaking/request/GetSeasonGatheringRequest.d.ts +37 -0
- package/matchmaking/request/GetSeasonGatheringRequest.js +125 -0
- package/matchmaking/request/GetSeasonGatheringRequest.js.map +1 -0
- package/matchmaking/request/GetSeasonGatheringRequest.ts +132 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.d.ts +25 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.js +83 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.ts +90 -0
- package/matchmaking/request/GetSeasonModelRequest.d.ts +25 -0
- package/matchmaking/request/GetSeasonModelRequest.js +83 -0
- package/matchmaking/request/GetSeasonModelRequest.js.map +1 -0
- package/matchmaking/request/GetSeasonModelRequest.ts +90 -0
- package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.d.ts → UpdateCurrentModelMasterFromGitHubRequest.d.ts} +2 -2
- package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.js → UpdateCurrentModelMasterFromGitHubRequest.js} +20 -20
- package/matchmaking/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
- package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.ts → UpdateCurrentModelMasterFromGitHubRequest.ts} +3 -3
- package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.d.ts → UpdateCurrentModelMasterRequest.d.ts} +2 -2
- package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.js → UpdateCurrentModelMasterRequest.js} +20 -20
- package/matchmaking/request/UpdateCurrentModelMasterRequest.js.map +1 -0
- package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.ts → UpdateCurrentModelMasterRequest.ts} +3 -3
- package/matchmaking/request/UpdateSeasonModelMasterRequest.d.ts +45 -0
- package/matchmaking/request/UpdateSeasonModelMasterRequest.js +153 -0
- package/matchmaking/request/UpdateSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/UpdateSeasonModelMasterRequest.ts +160 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.d.ts +25 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js +83 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js.map +1 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.ts +90 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.d.ts +53 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js +179 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js.map +1 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.ts +189 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.d.ts +49 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.js +165 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.js.map +1 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.ts +175 -0
- package/matchmaking/request/index.d.ts +24 -4
- package/matchmaking/request/index.js +48 -8
- package/matchmaking/request/index.js.map +1 -1
- package/matchmaking/request/index.ts +46 -6
- package/matchmaking/rest.d.ts +23 -3
- package/matchmaking/rest.js +574 -6
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +654 -6
- package/matchmaking/result/CreateSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.js → CreateSeasonModelMasterResult.js} +12 -12
- package/matchmaking/result/CreateSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/CreateSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/DeleteSeasonGatheringResult.d.ts +14 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.js → DeleteSeasonGatheringResult.js} +12 -12
- package/matchmaking/result/DeleteSeasonGatheringResult.js.map +1 -0
- package/matchmaking/result/DeleteSeasonGatheringResult.ts +47 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.js +48 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.d.ts +18 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js +67 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js.map +1 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.ts +72 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.d.ts +18 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js +67 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js.map +1 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.ts +72 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.d.ts +18 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js +67 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js.map +1 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.ts +72 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.d.ts +18 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.js +67 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.js.map +1 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.ts +72 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.d.ts +18 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.js +67 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.js.map +1 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.ts +72 -0
- package/matchmaking/result/DescribeSeasonModelsResult.d.ts +14 -0
- package/matchmaking/result/DescribeSeasonModelsResult.js +53 -0
- package/matchmaking/result/DescribeSeasonModelsResult.js.map +1 -0
- package/matchmaking/result/DescribeSeasonModelsResult.ts +55 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.d.ts +18 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js +62 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js.map +1 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.ts +64 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.d.ts +18 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.js +62 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.js.map +1 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.ts +64 -0
- package/matchmaking/result/ExportMasterResult.d.ts +3 -3
- package/matchmaking/result/ExportMasterResult.js +1 -1
- package/matchmaking/result/ExportMasterResult.js.map +1 -1
- package/matchmaking/result/ExportMasterResult.ts +5 -5
- package/matchmaking/result/GetCurrentModelMasterResult.d.ts +14 -0
- package/matchmaking/result/GetCurrentModelMasterResult.js +48 -0
- package/matchmaking/result/GetCurrentModelMasterResult.js.map +1 -0
- package/matchmaking/result/{GetCurrentRatingModelMasterResult.ts → GetCurrentModelMasterResult.ts} +8 -8
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.d.ts +14 -0
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js +48 -0
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js.map +1 -0
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.ts +47 -0
- package/matchmaking/result/GetJoinedSeasonGatheringResult.d.ts +14 -0
- package/matchmaking/result/{GetCurrentRatingModelMasterResult.js → GetJoinedSeasonGatheringResult.js} +12 -12
- package/matchmaking/result/GetJoinedSeasonGatheringResult.js.map +1 -0
- package/matchmaking/result/GetJoinedSeasonGatheringResult.ts +47 -0
- package/matchmaking/result/GetSeasonGatheringResult.d.ts +14 -0
- package/matchmaking/result/GetSeasonGatheringResult.js +48 -0
- package/matchmaking/result/GetSeasonGatheringResult.js.map +1 -0
- package/matchmaking/result/GetSeasonGatheringResult.ts +47 -0
- package/matchmaking/result/GetSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/GetSeasonModelMasterResult.js +48 -0
- package/matchmaking/result/GetSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/GetSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/GetSeasonModelResult.d.ts +14 -0
- package/matchmaking/result/GetSeasonModelResult.js +48 -0
- package/matchmaking/result/GetSeasonModelResult.js.map +1 -0
- package/matchmaking/result/GetSeasonModelResult.ts +47 -0
- package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
- package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
- package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.ts → UpdateCurrentModelMasterFromGitHubResult.ts} +8 -8
- package/matchmaking/result/UpdateCurrentModelMasterResult.d.ts +14 -0
- package/matchmaking/result/UpdateCurrentModelMasterResult.js +48 -0
- package/matchmaking/result/UpdateCurrentModelMasterResult.js.map +1 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.ts → UpdateCurrentModelMasterResult.ts} +8 -8
- package/matchmaking/result/UpdateSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/UpdateSeasonModelMasterResult.js +48 -0
- package/matchmaking/result/UpdateSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/UpdateSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.d.ts +13 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js +45 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js.map +1 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.ts +46 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.d.ts +9 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js +30 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js.map +1 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.ts +29 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.d.ts +9 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.js +30 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.js.map +1 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.ts +29 -0
- package/matchmaking/result/index.d.ts +24 -4
- package/matchmaking/result/index.js +48 -8
- package/matchmaking/result/index.js.map +1 -1
- package/matchmaking/result/index.ts +46 -6
- package/package.json +1 -1
- package/matchmaking/model/CurrentRatingModelMaster.js.map +0 -1
- package/matchmaking/request/GetCurrentRatingModelMasterRequest.js.map +0 -1
- package/matchmaking/request/UpdateCurrentRatingModelMasterFromGitHubRequest.js.map +0 -1
- package/matchmaking/request/UpdateCurrentRatingModelMasterRequest.js.map +0 -1
- package/matchmaking/result/GetCurrentRatingModelMasterResult.d.ts +0 -14
- package/matchmaking/result/GetCurrentRatingModelMasterResult.js.map +0 -1
- package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.d.ts +0 -14
- package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.js.map +0 -1
- package/matchmaking/result/UpdateCurrentRatingModelMasterResult.d.ts +0 -14
- package/matchmaking/result/UpdateCurrentRatingModelMasterResult.js.map +0 -1
|
@@ -0,0 +1,254 @@
|
|
|
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}:model:{seasonName}";
|
|
19
|
+
|
|
20
|
+
export default class SeasonModelMaster implements IModel {
|
|
21
|
+
private seasonModelId: string|null = null;
|
|
22
|
+
private name: string|null = null;
|
|
23
|
+
private metadata: string|null = null;
|
|
24
|
+
private description: string|null = null;
|
|
25
|
+
private maximumParticipants: number|null = null;
|
|
26
|
+
private experienceModelId: string|null = null;
|
|
27
|
+
private challengePeriodEventId: string|null = null;
|
|
28
|
+
private createdAt: number|null = null;
|
|
29
|
+
private updatedAt: number|null = null;
|
|
30
|
+
private revision: number|null = null;
|
|
31
|
+
|
|
32
|
+
public static getRegion(grn: string): string|null {
|
|
33
|
+
const match = grn.match(grnFormat
|
|
34
|
+
.replace('{region}', '(.*)')
|
|
35
|
+
.replace('{ownerId}', '.*')
|
|
36
|
+
.replace('{namespaceName}', '.*')
|
|
37
|
+
.replace('{seasonName}', '.*')
|
|
38
|
+
);
|
|
39
|
+
if (match) {
|
|
40
|
+
return match[1];
|
|
41
|
+
}
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public static getOwnerId(grn: string): string|null {
|
|
46
|
+
const match = grn.match(grnFormat
|
|
47
|
+
.replace('{region}', '.*')
|
|
48
|
+
.replace('{ownerId}', '(.*)')
|
|
49
|
+
.replace('{namespaceName}', '.*')
|
|
50
|
+
.replace('{seasonName}', '.*')
|
|
51
|
+
);
|
|
52
|
+
if (match) {
|
|
53
|
+
return match[1];
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public static getNamespaceName(grn: string): string|null {
|
|
59
|
+
const match = grn.match(grnFormat
|
|
60
|
+
.replace('{region}', '.*')
|
|
61
|
+
.replace('{ownerId}', '.*')
|
|
62
|
+
.replace('{namespaceName}', '(.*)')
|
|
63
|
+
.replace('{seasonName}', '.*')
|
|
64
|
+
);
|
|
65
|
+
if (match) {
|
|
66
|
+
return match[1];
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public static getSeasonName(grn: string): string|null {
|
|
72
|
+
const match = grn.match(grnFormat
|
|
73
|
+
.replace('{region}', '.*')
|
|
74
|
+
.replace('{ownerId}', '.*')
|
|
75
|
+
.replace('{namespaceName}', '.*')
|
|
76
|
+
.replace('{seasonName}', '(.*)')
|
|
77
|
+
);
|
|
78
|
+
if (match) {
|
|
79
|
+
return match[1];
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public static isValid(grn: string): boolean {
|
|
85
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
public static createGrn(
|
|
101
|
+
region: string|null,
|
|
102
|
+
ownerId: string|null,
|
|
103
|
+
namespaceName: string|null,
|
|
104
|
+
seasonName: string|null,
|
|
105
|
+
): string|null {
|
|
106
|
+
return grnFormat
|
|
107
|
+
.replace('{region}', region ?? '')
|
|
108
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
109
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
110
|
+
.replace('{seasonName}', seasonName ?? '');
|
|
111
|
+
}
|
|
112
|
+
public getSeasonModelId(): string|null {
|
|
113
|
+
return this.seasonModelId;
|
|
114
|
+
}
|
|
115
|
+
public setSeasonModelId(seasonModelId: string|null) {
|
|
116
|
+
this.seasonModelId = seasonModelId;
|
|
117
|
+
return this;
|
|
118
|
+
}
|
|
119
|
+
public withSeasonModelId(seasonModelId: string|null): this {
|
|
120
|
+
this.seasonModelId = seasonModelId;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
public getName(): string|null {
|
|
124
|
+
return this.name;
|
|
125
|
+
}
|
|
126
|
+
public setName(name: string|null) {
|
|
127
|
+
this.name = name;
|
|
128
|
+
return this;
|
|
129
|
+
}
|
|
130
|
+
public withName(name: string|null): this {
|
|
131
|
+
this.name = name;
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
public getMetadata(): string|null {
|
|
135
|
+
return this.metadata;
|
|
136
|
+
}
|
|
137
|
+
public setMetadata(metadata: string|null) {
|
|
138
|
+
this.metadata = metadata;
|
|
139
|
+
return this;
|
|
140
|
+
}
|
|
141
|
+
public withMetadata(metadata: string|null): this {
|
|
142
|
+
this.metadata = metadata;
|
|
143
|
+
return this;
|
|
144
|
+
}
|
|
145
|
+
public getDescription(): string|null {
|
|
146
|
+
return this.description;
|
|
147
|
+
}
|
|
148
|
+
public setDescription(description: string|null) {
|
|
149
|
+
this.description = description;
|
|
150
|
+
return this;
|
|
151
|
+
}
|
|
152
|
+
public withDescription(description: string|null): this {
|
|
153
|
+
this.description = description;
|
|
154
|
+
return this;
|
|
155
|
+
}
|
|
156
|
+
public getMaximumParticipants(): number|null {
|
|
157
|
+
return this.maximumParticipants;
|
|
158
|
+
}
|
|
159
|
+
public setMaximumParticipants(maximumParticipants: number|null) {
|
|
160
|
+
this.maximumParticipants = maximumParticipants;
|
|
161
|
+
return this;
|
|
162
|
+
}
|
|
163
|
+
public withMaximumParticipants(maximumParticipants: number|null): this {
|
|
164
|
+
this.maximumParticipants = maximumParticipants;
|
|
165
|
+
return this;
|
|
166
|
+
}
|
|
167
|
+
public getExperienceModelId(): string|null {
|
|
168
|
+
return this.experienceModelId;
|
|
169
|
+
}
|
|
170
|
+
public setExperienceModelId(experienceModelId: string|null) {
|
|
171
|
+
this.experienceModelId = experienceModelId;
|
|
172
|
+
return this;
|
|
173
|
+
}
|
|
174
|
+
public withExperienceModelId(experienceModelId: string|null): this {
|
|
175
|
+
this.experienceModelId = experienceModelId;
|
|
176
|
+
return this;
|
|
177
|
+
}
|
|
178
|
+
public getChallengePeriodEventId(): string|null {
|
|
179
|
+
return this.challengePeriodEventId;
|
|
180
|
+
}
|
|
181
|
+
public setChallengePeriodEventId(challengePeriodEventId: string|null) {
|
|
182
|
+
this.challengePeriodEventId = challengePeriodEventId;
|
|
183
|
+
return this;
|
|
184
|
+
}
|
|
185
|
+
public withChallengePeriodEventId(challengePeriodEventId: string|null): this {
|
|
186
|
+
this.challengePeriodEventId = challengePeriodEventId;
|
|
187
|
+
return this;
|
|
188
|
+
}
|
|
189
|
+
public getCreatedAt(): number|null {
|
|
190
|
+
return this.createdAt;
|
|
191
|
+
}
|
|
192
|
+
public setCreatedAt(createdAt: number|null) {
|
|
193
|
+
this.createdAt = createdAt;
|
|
194
|
+
return this;
|
|
195
|
+
}
|
|
196
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
197
|
+
this.createdAt = createdAt;
|
|
198
|
+
return this;
|
|
199
|
+
}
|
|
200
|
+
public getUpdatedAt(): number|null {
|
|
201
|
+
return this.updatedAt;
|
|
202
|
+
}
|
|
203
|
+
public setUpdatedAt(updatedAt: number|null) {
|
|
204
|
+
this.updatedAt = updatedAt;
|
|
205
|
+
return this;
|
|
206
|
+
}
|
|
207
|
+
public withUpdatedAt(updatedAt: number|null): this {
|
|
208
|
+
this.updatedAt = updatedAt;
|
|
209
|
+
return this;
|
|
210
|
+
}
|
|
211
|
+
public getRevision(): number|null {
|
|
212
|
+
return this.revision;
|
|
213
|
+
}
|
|
214
|
+
public setRevision(revision: number|null) {
|
|
215
|
+
this.revision = revision;
|
|
216
|
+
return this;
|
|
217
|
+
}
|
|
218
|
+
public withRevision(revision: number|null): this {
|
|
219
|
+
this.revision = revision;
|
|
220
|
+
return this;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
public static fromDict(data: {[key: string]: any}): SeasonModelMaster|null {
|
|
224
|
+
if (data == undefined || data == null) {
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
return new SeasonModelMaster()
|
|
228
|
+
.withSeasonModelId(data["seasonModelId"])
|
|
229
|
+
.withName(data["name"])
|
|
230
|
+
.withMetadata(data["metadata"])
|
|
231
|
+
.withDescription(data["description"])
|
|
232
|
+
.withMaximumParticipants(data["maximumParticipants"])
|
|
233
|
+
.withExperienceModelId(data["experienceModelId"])
|
|
234
|
+
.withChallengePeriodEventId(data["challengePeriodEventId"])
|
|
235
|
+
.withCreatedAt(data["createdAt"])
|
|
236
|
+
.withUpdatedAt(data["updatedAt"])
|
|
237
|
+
.withRevision(data["revision"]);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
public toDict(): {[key: string]: any} {
|
|
241
|
+
return {
|
|
242
|
+
"seasonModelId": this.getSeasonModelId(),
|
|
243
|
+
"name": this.getName(),
|
|
244
|
+
"metadata": this.getMetadata(),
|
|
245
|
+
"description": this.getDescription(),
|
|
246
|
+
"maximumParticipants": this.getMaximumParticipants(),
|
|
247
|
+
"experienceModelId": this.getExperienceModelId(),
|
|
248
|
+
"challengePeriodEventId": this.getChallengePeriodEventId(),
|
|
249
|
+
"createdAt": this.getCreatedAt(),
|
|
250
|
+
"updatedAt": this.getUpdatedAt(),
|
|
251
|
+
"revision": this.getRevision(),
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
}
|
|
@@ -2,7 +2,11 @@ import Namespace from "./Namespace";
|
|
|
2
2
|
import Gathering from "./Gathering";
|
|
3
3
|
import RatingModelMaster from "./RatingModelMaster";
|
|
4
4
|
import RatingModel from "./RatingModel";
|
|
5
|
-
import
|
|
5
|
+
import CurrentModelMaster from "./CurrentModelMaster";
|
|
6
|
+
import SeasonModel from "./SeasonModel";
|
|
7
|
+
import SeasonModelMaster from "./SeasonModelMaster";
|
|
8
|
+
import SeasonGathering from "./SeasonGathering";
|
|
9
|
+
import JoinedSeasonGathering from "./JoinedSeasonGathering";
|
|
6
10
|
import ScriptSetting from "./ScriptSetting";
|
|
7
11
|
import NotificationSetting from "./NotificationSetting";
|
|
8
12
|
import LogSetting from "./LogSetting";
|
|
@@ -18,4 +22,4 @@ import SignedBallot from "./SignedBallot";
|
|
|
18
22
|
import WrittenBallot from "./WrittenBallot";
|
|
19
23
|
import Vote from "./Vote";
|
|
20
24
|
import TimeSpan from "./TimeSpan";
|
|
21
|
-
export { Namespace, Gathering, RatingModelMaster, RatingModel,
|
|
25
|
+
export { Namespace, Gathering, RatingModelMaster, RatingModel, CurrentModelMaster, SeasonModel, SeasonModelMaster, SeasonGathering, JoinedSeasonGathering, ScriptSetting, NotificationSetting, LogSetting, GitHubCheckoutSetting, AttributeRange, CapacityOfRole, Attribute, Player, Rating, GameResult, Ballot, SignedBallot, WrittenBallot, Vote, TimeSpan, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TimeSpan = exports.Vote = exports.WrittenBallot = exports.SignedBallot = exports.Ballot = exports.GameResult = exports.Rating = exports.Player = exports.Attribute = exports.CapacityOfRole = exports.AttributeRange = exports.GitHubCheckoutSetting = exports.LogSetting = exports.NotificationSetting = exports.ScriptSetting = exports.
|
|
3
|
+
exports.TimeSpan = exports.Vote = exports.WrittenBallot = exports.SignedBallot = exports.Ballot = exports.GameResult = exports.Rating = exports.Player = exports.Attribute = exports.CapacityOfRole = exports.AttributeRange = exports.GitHubCheckoutSetting = exports.LogSetting = exports.NotificationSetting = exports.ScriptSetting = exports.JoinedSeasonGathering = exports.SeasonGathering = exports.SeasonModelMaster = exports.SeasonModel = exports.CurrentModelMaster = exports.RatingModel = exports.RatingModelMaster = exports.Gathering = exports.Namespace = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -25,8 +25,16 @@ var RatingModelMaster_1 = tslib_1.__importDefault(require("./RatingModelMaster")
|
|
|
25
25
|
exports.RatingModelMaster = RatingModelMaster_1.default;
|
|
26
26
|
var RatingModel_1 = tslib_1.__importDefault(require("./RatingModel"));
|
|
27
27
|
exports.RatingModel = RatingModel_1.default;
|
|
28
|
-
var
|
|
29
|
-
exports.
|
|
28
|
+
var CurrentModelMaster_1 = tslib_1.__importDefault(require("./CurrentModelMaster"));
|
|
29
|
+
exports.CurrentModelMaster = CurrentModelMaster_1.default;
|
|
30
|
+
var SeasonModel_1 = tslib_1.__importDefault(require("./SeasonModel"));
|
|
31
|
+
exports.SeasonModel = SeasonModel_1.default;
|
|
32
|
+
var SeasonModelMaster_1 = tslib_1.__importDefault(require("./SeasonModelMaster"));
|
|
33
|
+
exports.SeasonModelMaster = SeasonModelMaster_1.default;
|
|
34
|
+
var SeasonGathering_1 = tslib_1.__importDefault(require("./SeasonGathering"));
|
|
35
|
+
exports.SeasonGathering = SeasonGathering_1.default;
|
|
36
|
+
var JoinedSeasonGathering_1 = tslib_1.__importDefault(require("./JoinedSeasonGathering"));
|
|
37
|
+
exports.JoinedSeasonGathering = JoinedSeasonGathering_1.default;
|
|
30
38
|
var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
31
39
|
exports.ScriptSetting = ScriptSetting_1.default;
|
|
32
40
|
var NotificationSetting_1 = tslib_1.__importDefault(require("./NotificationSetting"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AA0B/B,oBA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|
|
19
19
|
import RatingModel from "./RatingModel"
|
|
20
|
-
import
|
|
20
|
+
import CurrentModelMaster from "./CurrentModelMaster"
|
|
21
|
+
import SeasonModel from "./SeasonModel"
|
|
22
|
+
import SeasonModelMaster from "./SeasonModelMaster"
|
|
23
|
+
import SeasonGathering from "./SeasonGathering"
|
|
24
|
+
import JoinedSeasonGathering from "./JoinedSeasonGathering"
|
|
21
25
|
import ScriptSetting from "./ScriptSetting"
|
|
22
26
|
import NotificationSetting from "./NotificationSetting"
|
|
23
27
|
import LogSetting from "./LogSetting"
|
|
@@ -39,7 +43,11 @@ export {
|
|
|
39
43
|
Gathering,
|
|
40
44
|
RatingModelMaster,
|
|
41
45
|
RatingModel,
|
|
42
|
-
|
|
46
|
+
CurrentModelMaster,
|
|
47
|
+
SeasonModel,
|
|
48
|
+
SeasonModelMaster,
|
|
49
|
+
SeasonGathering,
|
|
50
|
+
JoinedSeasonGathering,
|
|
43
51
|
ScriptSetting,
|
|
44
52
|
NotificationSetting,
|
|
45
53
|
LogSetting,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class CreateSeasonModelMasterRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private name;
|
|
7
|
+
private description;
|
|
8
|
+
private metadata;
|
|
9
|
+
private maximumParticipants;
|
|
10
|
+
private experienceModelId;
|
|
11
|
+
private challengePeriodEventId;
|
|
12
|
+
getRequestId(): string | null;
|
|
13
|
+
setRequestId(requestId: string | null): this;
|
|
14
|
+
withRequestId(requestId: string | null): this;
|
|
15
|
+
getContextStack(): string | null;
|
|
16
|
+
setContextStack(contextStack: string | null): this;
|
|
17
|
+
withContextStack(contextStack: string | null): this;
|
|
18
|
+
getNamespaceName(): string | null;
|
|
19
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
21
|
+
getName(): string | null;
|
|
22
|
+
setName(name: string | null): this;
|
|
23
|
+
withName(name: string | null): this;
|
|
24
|
+
getDescription(): string | null;
|
|
25
|
+
setDescription(description: string | null): this;
|
|
26
|
+
withDescription(description: string | null): this;
|
|
27
|
+
getMetadata(): string | null;
|
|
28
|
+
setMetadata(metadata: string | null): this;
|
|
29
|
+
withMetadata(metadata: string | null): this;
|
|
30
|
+
getMaximumParticipants(): number | null;
|
|
31
|
+
setMaximumParticipants(maximumParticipants: number | null): this;
|
|
32
|
+
withMaximumParticipants(maximumParticipants: number | null): this;
|
|
33
|
+
getExperienceModelId(): string | null;
|
|
34
|
+
setExperienceModelId(experienceModelId: string | null): this;
|
|
35
|
+
withExperienceModelId(experienceModelId: string | null): this;
|
|
36
|
+
getChallengePeriodEventId(): string | null;
|
|
37
|
+
setChallengePeriodEventId(challengePeriodEventId: string | null): this;
|
|
38
|
+
withChallengePeriodEventId(challengePeriodEventId: string | null): this;
|
|
39
|
+
static fromDict(data: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}): CreateSeasonModelMasterRequest;
|
|
42
|
+
toDict(): {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
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 CreateSeasonModelMasterRequest = /** @class */ (function () {
|
|
19
|
+
function CreateSeasonModelMasterRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.name = null;
|
|
24
|
+
this.description = null;
|
|
25
|
+
this.metadata = null;
|
|
26
|
+
this.maximumParticipants = null;
|
|
27
|
+
this.experienceModelId = null;
|
|
28
|
+
this.challengePeriodEventId = null;
|
|
29
|
+
}
|
|
30
|
+
CreateSeasonModelMasterRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
CreateSeasonModelMasterRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
CreateSeasonModelMasterRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
CreateSeasonModelMasterRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
CreateSeasonModelMasterRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
CreateSeasonModelMasterRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
CreateSeasonModelMasterRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
CreateSeasonModelMasterRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
CreateSeasonModelMasterRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
CreateSeasonModelMasterRequest.prototype.getName = function () {
|
|
64
|
+
return this.name;
|
|
65
|
+
};
|
|
66
|
+
CreateSeasonModelMasterRequest.prototype.setName = function (name) {
|
|
67
|
+
this.name = name;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
CreateSeasonModelMasterRequest.prototype.withName = function (name) {
|
|
71
|
+
this.name = name;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
CreateSeasonModelMasterRequest.prototype.getDescription = function () {
|
|
75
|
+
return this.description;
|
|
76
|
+
};
|
|
77
|
+
CreateSeasonModelMasterRequest.prototype.setDescription = function (description) {
|
|
78
|
+
this.description = description;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
CreateSeasonModelMasterRequest.prototype.withDescription = function (description) {
|
|
82
|
+
this.description = description;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
CreateSeasonModelMasterRequest.prototype.getMetadata = function () {
|
|
86
|
+
return this.metadata;
|
|
87
|
+
};
|
|
88
|
+
CreateSeasonModelMasterRequest.prototype.setMetadata = function (metadata) {
|
|
89
|
+
this.metadata = metadata;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
CreateSeasonModelMasterRequest.prototype.withMetadata = function (metadata) {
|
|
93
|
+
this.metadata = metadata;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
CreateSeasonModelMasterRequest.prototype.getMaximumParticipants = function () {
|
|
97
|
+
return this.maximumParticipants;
|
|
98
|
+
};
|
|
99
|
+
CreateSeasonModelMasterRequest.prototype.setMaximumParticipants = function (maximumParticipants) {
|
|
100
|
+
this.maximumParticipants = maximumParticipants;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
CreateSeasonModelMasterRequest.prototype.withMaximumParticipants = function (maximumParticipants) {
|
|
104
|
+
this.maximumParticipants = maximumParticipants;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
CreateSeasonModelMasterRequest.prototype.getExperienceModelId = function () {
|
|
108
|
+
return this.experienceModelId;
|
|
109
|
+
};
|
|
110
|
+
CreateSeasonModelMasterRequest.prototype.setExperienceModelId = function (experienceModelId) {
|
|
111
|
+
this.experienceModelId = experienceModelId;
|
|
112
|
+
return this;
|
|
113
|
+
};
|
|
114
|
+
CreateSeasonModelMasterRequest.prototype.withExperienceModelId = function (experienceModelId) {
|
|
115
|
+
this.experienceModelId = experienceModelId;
|
|
116
|
+
return this;
|
|
117
|
+
};
|
|
118
|
+
CreateSeasonModelMasterRequest.prototype.getChallengePeriodEventId = function () {
|
|
119
|
+
return this.challengePeriodEventId;
|
|
120
|
+
};
|
|
121
|
+
CreateSeasonModelMasterRequest.prototype.setChallengePeriodEventId = function (challengePeriodEventId) {
|
|
122
|
+
this.challengePeriodEventId = challengePeriodEventId;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
125
|
+
CreateSeasonModelMasterRequest.prototype.withChallengePeriodEventId = function (challengePeriodEventId) {
|
|
126
|
+
this.challengePeriodEventId = challengePeriodEventId;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
CreateSeasonModelMasterRequest.fromDict = function (data) {
|
|
130
|
+
return new CreateSeasonModelMasterRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withName(data["name"])
|
|
133
|
+
.withDescription(data["description"])
|
|
134
|
+
.withMetadata(data["metadata"])
|
|
135
|
+
.withMaximumParticipants(data["maximumParticipants"])
|
|
136
|
+
.withExperienceModelId(data["experienceModelId"])
|
|
137
|
+
.withChallengePeriodEventId(data["challengePeriodEventId"]);
|
|
138
|
+
};
|
|
139
|
+
CreateSeasonModelMasterRequest.prototype.toDict = function () {
|
|
140
|
+
return {
|
|
141
|
+
"namespaceName": this.getNamespaceName(),
|
|
142
|
+
"name": this.getName(),
|
|
143
|
+
"description": this.getDescription(),
|
|
144
|
+
"metadata": this.getMetadata(),
|
|
145
|
+
"maximumParticipants": this.getMaximumParticipants(),
|
|
146
|
+
"experienceModelId": this.getExperienceModelId(),
|
|
147
|
+
"challengePeriodEventId": this.getChallengePeriodEventId(),
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
return CreateSeasonModelMasterRequest;
|
|
151
|
+
}());
|
|
152
|
+
exports.default = CreateSeasonModelMasterRequest;
|
|
153
|
+
//# sourceMappingURL=CreateSeasonModelMasterRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateSeasonModelMasterRequest.js","sourceRoot":"","sources":["CreateSeasonModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,wBAAmB,GAAgB,IAAI,CAAC;QACxC,sBAAiB,GAAgB,IAAI,CAAC;QACtC,2BAAsB,GAAgB,IAAI,CAAC;IAiIvD,CAAC;IA/HU,qDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,qDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,wDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAA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