gs2 1.3.182 → 1.3.183
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/account/rest.js +6 -5
- package/account/rest.js.map +1 -1
- package/account/rest.ts +3 -2
- package/adReward/rest.js +6 -5
- package/adReward/rest.js.map +1 -1
- package/adReward/rest.ts +3 -2
- package/chat/rest.js +6 -5
- package/chat/rest.js.map +1 -1
- package/chat/rest.ts +3 -2
- package/datastore/rest.js +6 -5
- package/datastore/rest.js.map +1 -1
- package/datastore/rest.ts +3 -2
- package/dictionary/rest.js +6 -5
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +3 -2
- package/enchant/rest.js +6 -5
- package/enchant/rest.js.map +1 -1
- package/enchant/rest.ts +3 -2
- package/enhance/rest.js +6 -5
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +3 -2
- package/exchange/rest.js +6 -5
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +3 -2
- package/experience/rest.js +6 -5
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +3 -2
- package/formation/rest.js +6 -5
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +3 -2
- package/friend/rest.js +6 -5
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +3 -2
- package/gateway/rest.js +6 -5
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +3 -2
- package/idle/rest.js +6 -5
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +3 -2
- package/inbox/rest.js +6 -5
- package/inbox/rest.js.map +1 -1
- package/inbox/rest.ts +3 -2
- package/inventory/rest.js +6 -5
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +3 -2
- package/jobQueue/rest.js +6 -5
- package/jobQueue/rest.js.map +1 -1
- package/jobQueue/rest.ts +3 -2
- package/limit/rest.js +6 -5
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +3 -2
- package/loginReward/rest.js +6 -5
- package/loginReward/rest.js.map +1 -1
- package/loginReward/rest.ts +3 -2
- package/lottery/rest.js +6 -5
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +3 -2
- package/matchmaking/rest.js +6 -5
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +3 -2
- package/mission/rest.js +6 -5
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +3 -2
- package/money/rest.js +6 -5
- package/money/rest.js.map +1 -1
- package/money/rest.ts +3 -2
- package/package.json +1 -1
- package/project/model/ImportErrorLog.d.ts +39 -0
- package/project/model/ImportErrorLog.js +185 -0
- package/project/model/ImportErrorLog.js.map +1 -0
- package/project/model/ImportErrorLog.ts +198 -0
- package/project/model/ImportProgress.d.ts +46 -0
- package/project/model/ImportProgress.js +195 -0
- package/project/model/ImportProgress.js.map +1 -0
- package/project/model/ImportProgress.ts +205 -0
- package/project/model/index.d.ts +3 -1
- package/project/model/index.js +5 -1
- package/project/model/index.js.map +1 -1
- package/project/model/index.ts +4 -0
- package/project/request/DescribeImportErrorLogsRequest.d.ts +29 -0
- package/project/request/DescribeImportErrorLogsRequest.js +97 -0
- package/project/request/DescribeImportErrorLogsRequest.js.map +1 -0
- package/project/request/DescribeImportErrorLogsRequest.ts +104 -0
- package/project/request/DescribeImportProgressesRequest.d.ts +25 -0
- package/project/request/DescribeImportProgressesRequest.js +83 -0
- package/project/request/DescribeImportProgressesRequest.js.map +1 -0
- package/project/request/DescribeImportProgressesRequest.ts +90 -0
- package/project/request/GetImportErrorLogRequest.d.ts +25 -0
- package/project/request/GetImportErrorLogRequest.js +83 -0
- package/project/request/GetImportErrorLogRequest.js.map +1 -0
- package/project/request/GetImportErrorLogRequest.ts +90 -0
- package/project/request/GetImportProgressRequest.d.ts +21 -0
- package/project/request/GetImportProgressRequest.js +69 -0
- package/project/request/GetImportProgressRequest.js.map +1 -0
- package/project/request/GetImportProgressRequest.ts +76 -0
- package/project/request/ImportUserDataRequest.d.ts +29 -0
- package/project/request/ImportUserDataRequest.js +95 -0
- package/project/request/ImportUserDataRequest.js.map +1 -0
- package/project/request/ImportUserDataRequest.ts +105 -0
- package/project/request/PrepareImportUserDataRequest.d.ts +25 -0
- package/project/request/PrepareImportUserDataRequest.js +81 -0
- package/project/request/PrepareImportUserDataRequest.js.map +1 -0
- package/project/request/PrepareImportUserDataRequest.ts +91 -0
- package/project/request/WaitImportUserDataRequest.d.ts +33 -0
- package/project/request/WaitImportUserDataRequest.js +109 -0
- package/project/request/WaitImportUserDataRequest.js.map +1 -0
- package/project/request/WaitImportUserDataRequest.ts +119 -0
- package/project/request/index.d.ts +8 -1
- package/project/request/index.js +15 -1
- package/project/request/index.js.map +1 -1
- package/project/request/index.ts +14 -0
- package/project/rest.d.ts +7 -0
- package/project/rest.js +182 -0
- package/project/rest.js.map +1 -1
- package/project/rest.ts +210 -0
- package/project/result/DescribeImportErrorLogsResult.d.ts +18 -0
- package/project/result/DescribeImportErrorLogsResult.js +67 -0
- package/project/result/DescribeImportErrorLogsResult.js.map +1 -0
- package/project/result/DescribeImportErrorLogsResult.ts +73 -0
- package/project/result/DescribeImportProgressesResult.d.ts +18 -0
- package/project/result/DescribeImportProgressesResult.js +67 -0
- package/project/result/DescribeImportProgressesResult.js.map +1 -0
- package/project/result/DescribeImportProgressesResult.ts +73 -0
- package/project/result/GetImportErrorLogResult.d.ts +14 -0
- package/project/result/GetImportErrorLogResult.js +48 -0
- package/project/result/GetImportErrorLogResult.js.map +1 -0
- package/project/result/GetImportErrorLogResult.ts +48 -0
- package/project/result/GetImportProgressResult.d.ts +14 -0
- package/project/result/GetImportProgressResult.js +48 -0
- package/project/result/GetImportProgressResult.js.map +1 -0
- package/project/result/GetImportProgressResult.ts +48 -0
- package/project/result/ImportUserDataResult.d.ts +14 -0
- package/project/result/ImportUserDataResult.js +48 -0
- package/project/result/ImportUserDataResult.js.map +1 -0
- package/project/result/ImportUserDataResult.ts +48 -0
- package/project/result/PrepareImportUserDataResult.d.ts +17 -0
- package/project/result/PrepareImportUserDataResult.js +59 -0
- package/project/result/PrepareImportUserDataResult.js.map +1 -0
- package/project/result/PrepareImportUserDataResult.ts +65 -0
- package/project/result/WaitImportUserDataResult.d.ts +14 -0
- package/project/result/WaitImportUserDataResult.js +48 -0
- package/project/result/WaitImportUserDataResult.js.map +1 -0
- package/project/result/WaitImportUserDataResult.ts +48 -0
- package/project/result/index.d.ts +8 -1
- package/project/result/index.js +15 -1
- package/project/result/index.js.map +1 -1
- package/project/result/index.ts +14 -0
- package/quest/rest.js +6 -5
- package/quest/rest.js.map +1 -1
- package/quest/rest.ts +3 -2
- package/ranking/rest.js +6 -5
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +3 -2
- package/schedule/rest.js +6 -5
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +3 -2
- package/serialKey/rest.js +6 -5
- package/serialKey/rest.js.map +1 -1
- package/serialKey/rest.ts +3 -2
- package/showcase/rest.js +6 -5
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +3 -2
- package/skillTree/rest.js +6 -5
- package/skillTree/rest.js.map +1 -1
- package/skillTree/rest.ts +3 -2
- package/stamina/rest.js +6 -5
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +3 -2
- package/stateMachine/rest.js +6 -5
- package/stateMachine/rest.js.map +1 -1
- package/stateMachine/rest.ts +3 -2
- package/version/rest.js +6 -5
- package/version/rest.js.map +1 -1
- package/version/rest.ts +3 -2
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Project = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var DescribeImportErrorLogsResult = /** @class */ (function () {
|
|
21
|
+
function DescribeImportErrorLogsResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.nextPageToken = null;
|
|
24
|
+
}
|
|
25
|
+
DescribeImportErrorLogsResult.prototype.getItems = function () {
|
|
26
|
+
return this.items;
|
|
27
|
+
};
|
|
28
|
+
DescribeImportErrorLogsResult.prototype.setItems = function (items) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
DescribeImportErrorLogsResult.prototype.withItems = function (items) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DescribeImportErrorLogsResult.prototype.getNextPageToken = function () {
|
|
37
|
+
return this.nextPageToken;
|
|
38
|
+
};
|
|
39
|
+
DescribeImportErrorLogsResult.prototype.setNextPageToken = function (nextPageToken) {
|
|
40
|
+
this.nextPageToken = nextPageToken;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
DescribeImportErrorLogsResult.prototype.withNextPageToken = function (nextPageToken) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DescribeImportErrorLogsResult.fromDict = function (data) {
|
|
48
|
+
return new DescribeImportErrorLogsResult()
|
|
49
|
+
.withItems(data.items ?
|
|
50
|
+
data.items.map(function (item) {
|
|
51
|
+
return Gs2Project.ImportErrorLog.fromDict(item);
|
|
52
|
+
}) : [])
|
|
53
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
54
|
+
};
|
|
55
|
+
DescribeImportErrorLogsResult.prototype.toDict = function () {
|
|
56
|
+
return {
|
|
57
|
+
"items": this.getItems() ?
|
|
58
|
+
this.getItems().map(function (item) {
|
|
59
|
+
return item.toDict();
|
|
60
|
+
}) : [],
|
|
61
|
+
"nextPageToken": this.getNextPageToken(),
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
return DescribeImportErrorLogsResult;
|
|
65
|
+
}());
|
|
66
|
+
exports.default = DescribeImportErrorLogsResult;
|
|
67
|
+
//# sourceMappingURL=DescribeImportErrorLogsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeImportErrorLogsResult.js","sourceRoot":"","sources":["DescribeImportErrorLogsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAqC,IAAI,CAAC;QAC/C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,gDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,gDAAQ,GAAf,UAAgB,KAAuC;QACnD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAS,GAAhB,UAAiB,KAAuC;QACpD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,wDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,6BAA6B,EAAE;aACrC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACpD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,8CAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA+B;oBACjD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeImportErrorLogsResult implements IResult {
|
|
22
|
+
private items: Gs2Project.ImportErrorLog[]|null = null;
|
|
23
|
+
private nextPageToken: string|null = null;
|
|
24
|
+
|
|
25
|
+
public getItems(): Gs2Project.ImportErrorLog[]|null {
|
|
26
|
+
return this.items;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItems(items: Gs2Project.ImportErrorLog[]|null) {
|
|
30
|
+
this.items = items;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItems(items: Gs2Project.ImportErrorLog[]|null): this {
|
|
35
|
+
this.items = items;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getNextPageToken(): string|null {
|
|
40
|
+
return this.nextPageToken;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setNextPageToken(nextPageToken: string|null) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withNextPageToken(nextPageToken: string|null): this {
|
|
49
|
+
this.nextPageToken = nextPageToken;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): DescribeImportErrorLogsResult {
|
|
54
|
+
return new DescribeImportErrorLogsResult()
|
|
55
|
+
.withItems(data.items ?
|
|
56
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Project.ImportErrorLog.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : [])
|
|
60
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public toDict(): {[key: string]: any} {
|
|
64
|
+
return {
|
|
65
|
+
"items": this.getItems() ?
|
|
66
|
+
this.getItems()!.map((item: Gs2Project.ImportErrorLog) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
70
|
+
"nextPageToken": this.getNextPageToken(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Project from '../model';
|
|
3
|
+
export default class DescribeImportProgressesResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private nextPageToken;
|
|
6
|
+
getItems(): Gs2Project.ImportProgress[] | null;
|
|
7
|
+
setItems(items: Gs2Project.ImportProgress[] | null): this;
|
|
8
|
+
withItems(items: Gs2Project.ImportProgress[] | null): this;
|
|
9
|
+
getNextPageToken(): string | null;
|
|
10
|
+
setNextPageToken(nextPageToken: string | null): this;
|
|
11
|
+
withNextPageToken(nextPageToken: string | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): DescribeImportProgressesResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Project = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var DescribeImportProgressesResult = /** @class */ (function () {
|
|
21
|
+
function DescribeImportProgressesResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.nextPageToken = null;
|
|
24
|
+
}
|
|
25
|
+
DescribeImportProgressesResult.prototype.getItems = function () {
|
|
26
|
+
return this.items;
|
|
27
|
+
};
|
|
28
|
+
DescribeImportProgressesResult.prototype.setItems = function (items) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
DescribeImportProgressesResult.prototype.withItems = function (items) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DescribeImportProgressesResult.prototype.getNextPageToken = function () {
|
|
37
|
+
return this.nextPageToken;
|
|
38
|
+
};
|
|
39
|
+
DescribeImportProgressesResult.prototype.setNextPageToken = function (nextPageToken) {
|
|
40
|
+
this.nextPageToken = nextPageToken;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
DescribeImportProgressesResult.prototype.withNextPageToken = function (nextPageToken) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DescribeImportProgressesResult.fromDict = function (data) {
|
|
48
|
+
return new DescribeImportProgressesResult()
|
|
49
|
+
.withItems(data.items ?
|
|
50
|
+
data.items.map(function (item) {
|
|
51
|
+
return Gs2Project.ImportProgress.fromDict(item);
|
|
52
|
+
}) : [])
|
|
53
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
54
|
+
};
|
|
55
|
+
DescribeImportProgressesResult.prototype.toDict = function () {
|
|
56
|
+
return {
|
|
57
|
+
"items": this.getItems() ?
|
|
58
|
+
this.getItems().map(function (item) {
|
|
59
|
+
return item.toDict();
|
|
60
|
+
}) : [],
|
|
61
|
+
"nextPageToken": this.getNextPageToken(),
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
return DescribeImportProgressesResult;
|
|
65
|
+
}());
|
|
66
|
+
exports.default = DescribeImportProgressesResult;
|
|
67
|
+
//# sourceMappingURL=DescribeImportProgressesResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeImportProgressesResult.js","sourceRoot":"","sources":["DescribeImportProgressesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAqC,IAAI,CAAC;QAC/C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,iDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,iDAAQ,GAAf,UAAgB,KAAuC;QACnD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAS,GAAhB,UAAiB,KAAuC;QACpD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,yDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACpD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,+CAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA+B;oBACjD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeImportProgressesResult implements IResult {
|
|
22
|
+
private items: Gs2Project.ImportProgress[]|null = null;
|
|
23
|
+
private nextPageToken: string|null = null;
|
|
24
|
+
|
|
25
|
+
public getItems(): Gs2Project.ImportProgress[]|null {
|
|
26
|
+
return this.items;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItems(items: Gs2Project.ImportProgress[]|null) {
|
|
30
|
+
this.items = items;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItems(items: Gs2Project.ImportProgress[]|null): this {
|
|
35
|
+
this.items = items;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getNextPageToken(): string|null {
|
|
40
|
+
return this.nextPageToken;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setNextPageToken(nextPageToken: string|null) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withNextPageToken(nextPageToken: string|null): this {
|
|
49
|
+
this.nextPageToken = nextPageToken;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): DescribeImportProgressesResult {
|
|
54
|
+
return new DescribeImportProgressesResult()
|
|
55
|
+
.withItems(data.items ?
|
|
56
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Project.ImportProgress.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : [])
|
|
60
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public toDict(): {[key: string]: any} {
|
|
64
|
+
return {
|
|
65
|
+
"items": this.getItems() ?
|
|
66
|
+
this.getItems()!.map((item: Gs2Project.ImportProgress) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
70
|
+
"nextPageToken": this.getNextPageToken(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Project from '../model';
|
|
3
|
+
export default class GetImportErrorLogResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Project.ImportErrorLog | null;
|
|
6
|
+
setItem(item: Gs2Project.ImportErrorLog | null): this;
|
|
7
|
+
withItem(item: Gs2Project.ImportErrorLog | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetImportErrorLogResult;
|
|
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 Gs2Project = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetImportErrorLogResult = /** @class */ (function () {
|
|
21
|
+
function GetImportErrorLogResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetImportErrorLogResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetImportErrorLogResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetImportErrorLogResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetImportErrorLogResult.fromDict = function (data) {
|
|
36
|
+
return new GetImportErrorLogResult()
|
|
37
|
+
.withItem(Gs2Project.ImportErrorLog.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetImportErrorLogResult.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 GetImportErrorLogResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetImportErrorLogResult;
|
|
48
|
+
//# sourceMappingURL=GetImportErrorLogResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetImportErrorLogResult.js","sourceRoot":"","sources":["GetImportErrorLogResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,yCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,yCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetImportErrorLogResult implements IResult {
|
|
22
|
+
private item: Gs2Project.ImportErrorLog|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Project.ImportErrorLog|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Project.ImportErrorLog|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Project.ImportErrorLog|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetImportErrorLogResult {
|
|
39
|
+
return new GetImportErrorLogResult()
|
|
40
|
+
.withItem(Gs2Project.ImportErrorLog.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Project from '../model';
|
|
3
|
+
export default class GetImportProgressResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Project.ImportProgress | null;
|
|
6
|
+
setItem(item: Gs2Project.ImportProgress | null): this;
|
|
7
|
+
withItem(item: Gs2Project.ImportProgress | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetImportProgressResult;
|
|
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 Gs2Project = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetImportProgressResult = /** @class */ (function () {
|
|
21
|
+
function GetImportProgressResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetImportProgressResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetImportProgressResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetImportProgressResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetImportProgressResult.fromDict = function (data) {
|
|
36
|
+
return new GetImportProgressResult()
|
|
37
|
+
.withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetImportProgressResult.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 GetImportProgressResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetImportProgressResult;
|
|
48
|
+
//# sourceMappingURL=GetImportProgressResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetImportProgressResult.js","sourceRoot":"","sources":["GetImportProgressResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,yCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,yCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetImportProgressResult implements IResult {
|
|
22
|
+
private item: Gs2Project.ImportProgress|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Project.ImportProgress|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Project.ImportProgress|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Project.ImportProgress|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetImportProgressResult {
|
|
39
|
+
return new GetImportProgressResult()
|
|
40
|
+
.withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Project from '../model';
|
|
3
|
+
export default class ImportUserDataResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Project.ImportProgress | null;
|
|
6
|
+
setItem(item: Gs2Project.ImportProgress | null): this;
|
|
7
|
+
withItem(item: Gs2Project.ImportProgress | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): ImportUserDataResult;
|
|
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 Gs2Project = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ImportUserDataResult = /** @class */ (function () {
|
|
21
|
+
function ImportUserDataResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
ImportUserDataResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ImportUserDataResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ImportUserDataResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ImportUserDataResult.fromDict = function (data) {
|
|
36
|
+
return new ImportUserDataResult()
|
|
37
|
+
.withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
ImportUserDataResult.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 ImportUserDataResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = ImportUserDataResult;
|
|
48
|
+
//# sourceMappingURL=ImportUserDataResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportUserDataResult.js","sourceRoot":"","sources":["ImportUserDataResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,sCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,sCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oBAAoB,EAAE;aAC5B,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,qCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ImportUserDataResult implements IResult {
|
|
22
|
+
private item: Gs2Project.ImportProgress|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Project.ImportProgress|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Project.ImportProgress|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Project.ImportProgress|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): ImportUserDataResult {
|
|
39
|
+
return new ImportUserDataResult()
|
|
40
|
+
.withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|