gs2 1.4.87 → 1.4.89
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/chat/model/CategoryModel.d.ts +27 -0
- package/chat/model/CategoryModel.js +143 -0
- package/chat/model/CategoryModel.js.map +1 -0
- package/chat/model/CategoryModel.ts +158 -0
- package/chat/model/CategoryModelMaster.d.ts +43 -0
- package/chat/model/CategoryModelMaster.js +199 -0
- package/chat/model/CategoryModelMaster.js.map +1 -0
- package/chat/model/CategoryModelMaster.ts +214 -0
- package/chat/model/CurrentModelMaster.d.ts +22 -0
- package/chat/model/CurrentModelMaster.js +111 -0
- package/chat/model/CurrentModelMaster.js.map +1 -0
- package/chat/model/CurrentModelMaster.ts +123 -0
- package/chat/model/GitHubCheckoutSetting.d.ts +37 -0
- package/chat/model/GitHubCheckoutSetting.js +132 -0
- package/chat/model/GitHubCheckoutSetting.js.map +1 -0
- package/chat/model/GitHubCheckoutSetting.ts +132 -0
- package/chat/model/index.d.ts +5 -1
- package/chat/model/index.js +9 -1
- package/chat/model/index.js.map +1 -1
- package/chat/model/index.ts +8 -0
- package/chat/request/CreateCategoryModelMasterRequest.d.ts +33 -0
- package/chat/request/CreateCategoryModelMasterRequest.js +111 -0
- package/chat/request/CreateCategoryModelMasterRequest.js.map +1 -0
- package/chat/request/CreateCategoryModelMasterRequest.ts +118 -0
- package/chat/request/DeleteCategoryModelMasterRequest.d.ts +25 -0
- package/chat/request/DeleteCategoryModelMasterRequest.js +83 -0
- package/chat/request/DeleteCategoryModelMasterRequest.js.map +1 -0
- package/chat/request/DeleteCategoryModelMasterRequest.ts +90 -0
- package/chat/request/DescribeCategoryModelMastersRequest.d.ts +29 -0
- package/chat/request/DescribeCategoryModelMastersRequest.js +97 -0
- package/chat/request/DescribeCategoryModelMastersRequest.js.map +1 -0
- package/chat/request/DescribeCategoryModelMastersRequest.ts +104 -0
- package/chat/request/DescribeCategoryModelsRequest.d.ts +21 -0
- package/chat/request/DescribeCategoryModelsRequest.js +69 -0
- package/chat/request/DescribeCategoryModelsRequest.js.map +1 -0
- package/chat/request/DescribeCategoryModelsRequest.ts +76 -0
- package/chat/request/ExportMasterRequest.d.ts +21 -0
- package/chat/request/ExportMasterRequest.js +69 -0
- package/chat/request/ExportMasterRequest.js.map +1 -0
- package/chat/request/ExportMasterRequest.ts +76 -0
- package/chat/request/GetCategoryModelMasterRequest.d.ts +25 -0
- package/chat/request/GetCategoryModelMasterRequest.js +83 -0
- package/chat/request/GetCategoryModelMasterRequest.js.map +1 -0
- package/chat/request/GetCategoryModelMasterRequest.ts +90 -0
- package/chat/request/GetCategoryModelRequest.d.ts +25 -0
- package/chat/request/GetCategoryModelRequest.js +83 -0
- package/chat/request/GetCategoryModelRequest.js.map +1 -0
- package/chat/request/GetCategoryModelRequest.ts +90 -0
- package/chat/request/GetCurrentModelMasterRequest.d.ts +21 -0
- package/chat/request/GetCurrentModelMasterRequest.js +69 -0
- package/chat/request/GetCurrentModelMasterRequest.js.map +1 -0
- package/chat/request/GetCurrentModelMasterRequest.ts +76 -0
- package/chat/request/PreUpdateCurrentModelMasterRequest.d.ts +21 -0
- package/chat/request/PreUpdateCurrentModelMasterRequest.js +69 -0
- package/chat/request/PreUpdateCurrentModelMasterRequest.js.map +1 -0
- package/chat/request/PreUpdateCurrentModelMasterRequest.ts +76 -0
- package/chat/request/UpdateCategoryModelMasterRequest.d.ts +33 -0
- package/chat/request/UpdateCategoryModelMasterRequest.js +111 -0
- package/chat/request/UpdateCategoryModelMasterRequest.js.map +1 -0
- package/chat/request/UpdateCategoryModelMasterRequest.ts +118 -0
- package/chat/request/UpdateCurrentModelMasterFromGitHubRequest.d.ts +26 -0
- package/chat/request/UpdateCurrentModelMasterFromGitHubRequest.js +86 -0
- package/chat/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
- package/chat/request/UpdateCurrentModelMasterFromGitHubRequest.ts +90 -0
- package/chat/request/UpdateCurrentModelMasterRequest.d.ts +33 -0
- package/chat/request/UpdateCurrentModelMasterRequest.js +111 -0
- package/chat/request/UpdateCurrentModelMasterRequest.js.map +1 -0
- package/chat/request/UpdateCurrentModelMasterRequest.ts +118 -0
- package/chat/request/index.d.ts +13 -1
- package/chat/request/index.js +26 -1
- package/chat/request/index.js.map +1 -1
- package/chat/request/index.ts +24 -0
- package/chat/rest.d.ts +12 -0
- package/chat/rest.js +299 -0
- package/chat/rest.js.map +1 -1
- package/chat/rest.ts +347 -0
- package/chat/result/CreateCategoryModelMasterResult.d.ts +14 -0
- package/chat/result/CreateCategoryModelMasterResult.js +48 -0
- package/chat/result/CreateCategoryModelMasterResult.js.map +1 -0
- package/chat/result/CreateCategoryModelMasterResult.ts +47 -0
- package/chat/result/DeleteCategoryModelMasterResult.d.ts +14 -0
- package/chat/result/DeleteCategoryModelMasterResult.js +48 -0
- package/chat/result/DeleteCategoryModelMasterResult.js.map +1 -0
- package/chat/result/DeleteCategoryModelMasterResult.ts +47 -0
- package/chat/result/DescribeCategoryModelMastersResult.d.ts +18 -0
- package/chat/result/DescribeCategoryModelMastersResult.js +67 -0
- package/chat/result/DescribeCategoryModelMastersResult.js.map +1 -0
- package/chat/result/DescribeCategoryModelMastersResult.ts +72 -0
- package/chat/result/DescribeCategoryModelsResult.d.ts +14 -0
- package/chat/result/DescribeCategoryModelsResult.js +53 -0
- package/chat/result/DescribeCategoryModelsResult.js.map +1 -0
- package/chat/result/DescribeCategoryModelsResult.ts +55 -0
- package/chat/result/ExportMasterResult.d.ts +14 -0
- package/chat/result/ExportMasterResult.js +48 -0
- package/chat/result/ExportMasterResult.js.map +1 -0
- package/chat/result/ExportMasterResult.ts +47 -0
- package/chat/result/GetCategoryModelMasterResult.d.ts +14 -0
- package/chat/result/GetCategoryModelMasterResult.js +48 -0
- package/chat/result/GetCategoryModelMasterResult.js.map +1 -0
- package/chat/result/GetCategoryModelMasterResult.ts +47 -0
- package/chat/result/GetCategoryModelResult.d.ts +14 -0
- package/chat/result/GetCategoryModelResult.js +48 -0
- package/chat/result/GetCategoryModelResult.js.map +1 -0
- package/chat/result/GetCategoryModelResult.ts +47 -0
- package/chat/result/GetCurrentModelMasterResult.d.ts +14 -0
- package/chat/result/GetCurrentModelMasterResult.js +48 -0
- package/chat/result/GetCurrentModelMasterResult.js.map +1 -0
- package/chat/result/GetCurrentModelMasterResult.ts +47 -0
- package/chat/result/PreUpdateCurrentModelMasterResult.d.ts +17 -0
- package/chat/result/PreUpdateCurrentModelMasterResult.js +59 -0
- package/chat/result/PreUpdateCurrentModelMasterResult.js.map +1 -0
- package/chat/result/PreUpdateCurrentModelMasterResult.ts +63 -0
- package/chat/result/UpdateCategoryModelMasterResult.d.ts +14 -0
- package/chat/result/UpdateCategoryModelMasterResult.js +48 -0
- package/chat/result/UpdateCategoryModelMasterResult.js.map +1 -0
- package/chat/result/UpdateCategoryModelMasterResult.ts +47 -0
- package/chat/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
- package/chat/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
- package/chat/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
- package/chat/result/UpdateCurrentModelMasterFromGitHubResult.ts +47 -0
- package/chat/result/UpdateCurrentModelMasterResult.d.ts +14 -0
- package/chat/result/UpdateCurrentModelMasterResult.js +48 -0
- package/chat/result/UpdateCurrentModelMasterResult.js.map +1 -0
- package/chat/result/UpdateCurrentModelMasterResult.ts +47 -0
- package/chat/result/index.d.ts +13 -1
- package/chat/result/index.js +26 -1
- package/chat/result/index.js.map +1 -1
- package/chat/result/index.ts +24 -0
- package/gateway/request/SetUserIdByUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdByUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdByUserIdRequest.ts +14 -0
- package/gateway/request/SetUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdRequest.js +15 -1
- package/gateway/request/SetUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdRequest.ts +15 -1
- package/gateway/rest.js +4 -2
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +2 -0
- package/package.json +1 -1
- package/ranking2/model/ClusterRankingModelMaster.d.ts +0 -4
- package/ranking2/model/ClusterRankingModelMaster.js +0 -14
- package/ranking2/model/ClusterRankingModelMaster.js.map +1 -1
- package/ranking2/model/ClusterRankingModelMaster.ts +0 -14
- package/ranking2/model/SubscribeRankingModelMaster.d.ts +0 -4
- package/ranking2/model/SubscribeRankingModelMaster.js +0 -14
- package/ranking2/model/SubscribeRankingModelMaster.js.map +1 -1
- package/ranking2/model/SubscribeRankingModelMaster.ts +0 -14
- package/ranking2/request/CreateClusterRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/CreateClusterRankingModelMasterRequest.js +0 -14
- package/ranking2/request/CreateClusterRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/CreateClusterRankingModelMasterRequest.ts +0 -14
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.js +0 -14
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.ts +0 -14
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.js +0 -14
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.ts +0 -14
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.js +0 -14
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.ts +0 -14
- package/ranking2/rest.js +20 -24
- package/ranking2/rest.js.map +1 -1
- package/ranking2/rest.ts +0 -4
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Chat from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribeCategoryModelMastersResult implements IResult {
|
|
21
|
+
private items: Gs2Chat.CategoryModelMaster[]|null = null;
|
|
22
|
+
private nextPageToken: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Chat.CategoryModelMaster[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Chat.CategoryModelMaster[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Chat.CategoryModelMaster[]|null): this {
|
|
34
|
+
this.items = items;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public getNextPageToken(): string|null {
|
|
39
|
+
return this.nextPageToken;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public setNextPageToken(nextPageToken: string|null) {
|
|
43
|
+
this.nextPageToken = nextPageToken;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public withNextPageToken(nextPageToken: string|null): this {
|
|
48
|
+
this.nextPageToken = nextPageToken;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static fromDict(data: {[key: string]: any}): DescribeCategoryModelMastersResult {
|
|
53
|
+
return new DescribeCategoryModelMastersResult()
|
|
54
|
+
.withItems(data.items ?
|
|
55
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
56
|
+
return Gs2Chat.CategoryModelMaster.fromDict(item);
|
|
57
|
+
}
|
|
58
|
+
) : null)
|
|
59
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public toDict(): {[key: string]: any} {
|
|
63
|
+
return {
|
|
64
|
+
"items": this.getItems() ?
|
|
65
|
+
this.getItems()!.map((item: Gs2Chat.CategoryModelMaster) => {
|
|
66
|
+
return item.toDict();
|
|
67
|
+
}
|
|
68
|
+
) : null,
|
|
69
|
+
"nextPageToken": this.getNextPageToken(),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Chat from '../model';
|
|
3
|
+
export default class DescribeCategoryModelsResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
getItems(): Gs2Chat.CategoryModel[] | null;
|
|
6
|
+
setItems(items: Gs2Chat.CategoryModel[] | null): this;
|
|
7
|
+
withItems(items: Gs2Chat.CategoryModel[] | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): DescribeCategoryModelsResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Chat = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var DescribeCategoryModelsResult = /** @class */ (function () {
|
|
21
|
+
function DescribeCategoryModelsResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
}
|
|
24
|
+
DescribeCategoryModelsResult.prototype.getItems = function () {
|
|
25
|
+
return this.items;
|
|
26
|
+
};
|
|
27
|
+
DescribeCategoryModelsResult.prototype.setItems = function (items) {
|
|
28
|
+
this.items = items;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
DescribeCategoryModelsResult.prototype.withItems = function (items) {
|
|
32
|
+
this.items = items;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DescribeCategoryModelsResult.fromDict = function (data) {
|
|
36
|
+
return new DescribeCategoryModelsResult()
|
|
37
|
+
.withItems(data.items ?
|
|
38
|
+
data.items.map(function (item) {
|
|
39
|
+
return Gs2Chat.CategoryModel.fromDict(item);
|
|
40
|
+
}) : null);
|
|
41
|
+
};
|
|
42
|
+
DescribeCategoryModelsResult.prototype.toDict = function () {
|
|
43
|
+
return {
|
|
44
|
+
"items": this.getItems() ?
|
|
45
|
+
this.getItems().map(function (item) {
|
|
46
|
+
return item.toDict();
|
|
47
|
+
}) : null,
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
return DescribeCategoryModelsResult;
|
|
51
|
+
}());
|
|
52
|
+
exports.default = DescribeCategoryModelsResult;
|
|
53
|
+
//# sourceMappingURL=DescribeCategoryModelsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeCategoryModelsResult.js","sourceRoot":"","sources":["DescribeCategoryModelsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wDAAmC;AAEnC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;IAkCvD,CAAC;IAhCU,+CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,+CAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4BAA4B,EAAE;aACpC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,6CAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA2B;oBAC7C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AAnCD,IAmCC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Chat from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribeCategoryModelsResult implements IResult {
|
|
21
|
+
private items: Gs2Chat.CategoryModel[]|null = null;
|
|
22
|
+
|
|
23
|
+
public getItems(): Gs2Chat.CategoryModel[]|null {
|
|
24
|
+
return this.items;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItems(items: Gs2Chat.CategoryModel[]|null) {
|
|
28
|
+
this.items = items;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItems(items: Gs2Chat.CategoryModel[]|null): this {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): DescribeCategoryModelsResult {
|
|
38
|
+
return new DescribeCategoryModelsResult()
|
|
39
|
+
.withItems(data.items ?
|
|
40
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
41
|
+
return Gs2Chat.CategoryModel.fromDict(item);
|
|
42
|
+
}
|
|
43
|
+
) : null);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public toDict(): {[key: string]: any} {
|
|
47
|
+
return {
|
|
48
|
+
"items": this.getItems() ?
|
|
49
|
+
this.getItems()!.map((item: Gs2Chat.CategoryModel) => {
|
|
50
|
+
return item.toDict();
|
|
51
|
+
}
|
|
52
|
+
) : null,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Chat from '../model';
|
|
3
|
+
export default class ExportMasterResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Chat.CurrentModelMaster | null;
|
|
6
|
+
setItem(item: Gs2Chat.CurrentModelMaster | null): this;
|
|
7
|
+
withItem(item: Gs2Chat.CurrentModelMaster | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): ExportMasterResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Chat = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ExportMasterResult = /** @class */ (function () {
|
|
21
|
+
function ExportMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
ExportMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ExportMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ExportMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ExportMasterResult.fromDict = function (data) {
|
|
36
|
+
return new ExportMasterResult()
|
|
37
|
+
.withItem(Gs2Chat.CurrentModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
ExportMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return ExportMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = ExportMasterResult;
|
|
48
|
+
//# sourceMappingURL=ExportMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExportMasterResult.js","sourceRoot":"","sources":["ExportMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wDAAmC;AAEnC;IAAA;QACY,SAAI,GAAoC,IAAI,CAAC;IA0BzD,CAAC;IAxBU,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oCAAO,GAAd,UAAe,IAAqC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,IAAqC;QACjD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kBAAkB,EAAE;aAC1B,QAAQ,CAAC,OAAO,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAEM,mCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Chat from '../model'
|
|
19
|
+
|
|
20
|
+
export default class ExportMasterResult implements IResult {
|
|
21
|
+
private item: Gs2Chat.CurrentModelMaster|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Chat.CurrentModelMaster|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Chat.CurrentModelMaster|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Chat.CurrentModelMaster|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): ExportMasterResult {
|
|
38
|
+
return new ExportMasterResult()
|
|
39
|
+
.withItem(Gs2Chat.CurrentModelMaster.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Chat from '../model';
|
|
3
|
+
export default class GetCategoryModelMasterResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Chat.CategoryModelMaster | null;
|
|
6
|
+
setItem(item: Gs2Chat.CategoryModelMaster | null): this;
|
|
7
|
+
withItem(item: Gs2Chat.CategoryModelMaster | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetCategoryModelMasterResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Chat = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetCategoryModelMasterResult = /** @class */ (function () {
|
|
21
|
+
function GetCategoryModelMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetCategoryModelMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetCategoryModelMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetCategoryModelMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetCategoryModelMasterResult.fromDict = function (data) {
|
|
36
|
+
return new GetCategoryModelMasterResult()
|
|
37
|
+
.withItem(Gs2Chat.CategoryModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetCategoryModelMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GetCategoryModelMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetCategoryModelMasterResult;
|
|
48
|
+
//# sourceMappingURL=GetCategoryModelMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetCategoryModelMasterResult.js","sourceRoot":"","sources":["GetCategoryModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wDAAmC;AAEnC;IAAA;QACY,SAAI,GAAqC,IAAI,CAAC;IA0B1D,CAAC;IAxBU,8CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,8CAAO,GAAd,UAAe,IAAsC;QACjD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAQ,GAAf,UAAgB,IAAsC;QAClD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4BAA4B,EAAE;aACpC,QAAQ,CAAC,OAAO,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACtE,CAAC;IAEM,6CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Chat from '../model'
|
|
19
|
+
|
|
20
|
+
export default class GetCategoryModelMasterResult implements IResult {
|
|
21
|
+
private item: Gs2Chat.CategoryModelMaster|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Chat.CategoryModelMaster|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Chat.CategoryModelMaster|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Chat.CategoryModelMaster|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): GetCategoryModelMasterResult {
|
|
38
|
+
return new GetCategoryModelMasterResult()
|
|
39
|
+
.withItem(Gs2Chat.CategoryModelMaster.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Chat from '../model';
|
|
3
|
+
export default class GetCategoryModelResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Chat.CategoryModel | null;
|
|
6
|
+
setItem(item: Gs2Chat.CategoryModel | null): this;
|
|
7
|
+
withItem(item: Gs2Chat.CategoryModel | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetCategoryModelResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Chat = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetCategoryModelResult = /** @class */ (function () {
|
|
21
|
+
function GetCategoryModelResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetCategoryModelResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetCategoryModelResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetCategoryModelResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetCategoryModelResult.fromDict = function (data) {
|
|
36
|
+
return new GetCategoryModelResult()
|
|
37
|
+
.withItem(Gs2Chat.CategoryModel.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetCategoryModelResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GetCategoryModelResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetCategoryModelResult;
|
|
48
|
+
//# sourceMappingURL=GetCategoryModelResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetCategoryModelResult.js","sourceRoot":"","sources":["GetCategoryModelResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wDAAmC;AAEnC;IAAA;QACY,SAAI,GAA+B,IAAI,CAAC;IA0BpD,CAAC;IAxBU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAAgC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAAgC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Chat from '../model'
|
|
19
|
+
|
|
20
|
+
export default class GetCategoryModelResult implements IResult {
|
|
21
|
+
private item: Gs2Chat.CategoryModel|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Chat.CategoryModel|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Chat.CategoryModel|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Chat.CategoryModel|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): GetCategoryModelResult {
|
|
38
|
+
return new GetCategoryModelResult()
|
|
39
|
+
.withItem(Gs2Chat.CategoryModel.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Chat from '../model';
|
|
3
|
+
export default class GetCurrentModelMasterResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Chat.CurrentModelMaster | null;
|
|
6
|
+
setItem(item: Gs2Chat.CurrentModelMaster | null): this;
|
|
7
|
+
withItem(item: Gs2Chat.CurrentModelMaster | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetCurrentModelMasterResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Chat = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetCurrentModelMasterResult = /** @class */ (function () {
|
|
21
|
+
function GetCurrentModelMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetCurrentModelMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetCurrentModelMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetCurrentModelMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetCurrentModelMasterResult.fromDict = function (data) {
|
|
36
|
+
return new GetCurrentModelMasterResult()
|
|
37
|
+
.withItem(Gs2Chat.CurrentModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetCurrentModelMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GetCurrentModelMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetCurrentModelMasterResult;
|
|
48
|
+
//# sourceMappingURL=GetCurrentModelMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetCurrentModelMasterResult.js","sourceRoot":"","sources":["GetCurrentModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wDAAmC;AAEnC;IAAA;QACY,SAAI,GAAoC,IAAI,CAAC;IA0BzD,CAAC;IAxBU,6CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,6CAAO,GAAd,UAAe,IAAqC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAQ,GAAf,UAAgB,IAAqC;QACjD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,oCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,2BAA2B,EAAE;aACnC,QAAQ,CAAC,OAAO,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAEM,4CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Chat from '../model'
|
|
19
|
+
|
|
20
|
+
export default class GetCurrentModelMasterResult implements IResult {
|
|
21
|
+
private item: Gs2Chat.CurrentModelMaster|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Chat.CurrentModelMaster|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Chat.CurrentModelMaster|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Chat.CurrentModelMaster|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): GetCurrentModelMasterResult {
|
|
38
|
+
return new GetCurrentModelMasterResult()
|
|
39
|
+
.withItem(Gs2Chat.CurrentModelMaster.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|