gs2 1.3.260 → 1.3.262
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/model/PlatformId.d.ts +40 -0
- package/account/model/PlatformId.js +205 -0
- package/account/model/PlatformId.js.map +1 -0
- package/account/model/PlatformId.ts +221 -0
- package/account/model/PlatformUser.d.ts +21 -0
- package/account/model/PlatformUser.js +76 -0
- package/account/model/PlatformUser.js.map +1 -0
- package/account/model/PlatformUser.ts +74 -0
- package/account/model/index.d.ts +3 -1
- package/account/model/index.js +5 -1
- package/account/model/index.js.map +1 -1
- package/account/model/index.ts +4 -0
- package/account/request/CreatePlatformIdByUserIdRequest.d.ts +41 -0
- package/account/request/CreatePlatformIdByUserIdRequest.js +137 -0
- package/account/request/CreatePlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/CreatePlatformIdByUserIdRequest.ts +147 -0
- package/account/request/CreatePlatformIdRequest.d.ts +37 -0
- package/account/request/CreatePlatformIdRequest.js +123 -0
- package/account/request/CreatePlatformIdRequest.js.map +1 -0
- package/account/request/CreatePlatformIdRequest.ts +133 -0
- package/account/request/DeletePlatformIdByUserIdRequest.d.ts +37 -0
- package/account/request/DeletePlatformIdByUserIdRequest.js +123 -0
- package/account/request/DeletePlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/DeletePlatformIdByUserIdRequest.ts +133 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.d.ts +33 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.js +109 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.js.map +1 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.ts +119 -0
- package/account/request/DeletePlatformIdRequest.d.ts +37 -0
- package/account/request/DeletePlatformIdRequest.js +123 -0
- package/account/request/DeletePlatformIdRequest.js.map +1 -0
- package/account/request/DeletePlatformIdRequest.ts +133 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.d.ts +37 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.js +125 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.js.map +1 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.ts +132 -0
- package/account/request/DescribePlatformIdsRequest.d.ts +33 -0
- package/account/request/DescribePlatformIdsRequest.js +111 -0
- package/account/request/DescribePlatformIdsRequest.js.map +1 -0
- package/account/request/DescribePlatformIdsRequest.ts +118 -0
- package/account/request/FindPlatformIdByUserIdRequest.d.ts +41 -0
- package/account/request/FindPlatformIdByUserIdRequest.js +137 -0
- package/account/request/FindPlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/FindPlatformIdByUserIdRequest.ts +147 -0
- package/account/request/FindPlatformIdRequest.d.ts +37 -0
- package/account/request/FindPlatformIdRequest.js +123 -0
- package/account/request/FindPlatformIdRequest.js.map +1 -0
- package/account/request/FindPlatformIdRequest.ts +133 -0
- package/account/request/GetPlatformIdByUserIdRequest.d.ts +33 -0
- package/account/request/GetPlatformIdByUserIdRequest.js +111 -0
- package/account/request/GetPlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/GetPlatformIdByUserIdRequest.ts +118 -0
- package/account/request/GetPlatformIdRequest.d.ts +29 -0
- package/account/request/GetPlatformIdRequest.js +97 -0
- package/account/request/GetPlatformIdRequest.js.map +1 -0
- package/account/request/GetPlatformIdRequest.ts +104 -0
- package/account/request/index.d.ts +12 -1
- package/account/request/index.js +23 -1
- package/account/request/index.js.map +1 -1
- package/account/request/index.ts +22 -0
- package/account/rest.d.ts +11 -0
- package/account/rest.js +325 -0
- package/account/rest.js.map +1 -1
- package/account/rest.ts +369 -0
- package/account/result/CreatePlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/CreatePlatformIdByUserIdResult.js +48 -0
- package/account/result/CreatePlatformIdByUserIdResult.js.map +1 -0
- package/account/result/CreatePlatformIdByUserIdResult.ts +47 -0
- package/account/result/CreatePlatformIdResult.d.ts +14 -0
- package/account/result/CreatePlatformIdResult.js +48 -0
- package/account/result/CreatePlatformIdResult.js.map +1 -0
- package/account/result/CreatePlatformIdResult.ts +47 -0
- package/account/result/DeletePlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/DeletePlatformIdByUserIdResult.js +48 -0
- package/account/result/DeletePlatformIdByUserIdResult.js.map +1 -0
- package/account/result/DeletePlatformIdByUserIdResult.ts +47 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.d.ts +14 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.js +48 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.js.map +1 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.ts +47 -0
- package/account/result/DeletePlatformIdResult.d.ts +14 -0
- package/account/result/DeletePlatformIdResult.js +48 -0
- package/account/result/DeletePlatformIdResult.js.map +1 -0
- package/account/result/DeletePlatformIdResult.ts +47 -0
- package/account/result/DescribePlatformIdsByUserIdResult.d.ts +18 -0
- package/account/result/DescribePlatformIdsByUserIdResult.js +67 -0
- package/account/result/DescribePlatformIdsByUserIdResult.js.map +1 -0
- package/account/result/DescribePlatformIdsByUserIdResult.ts +72 -0
- package/account/result/DescribePlatformIdsResult.d.ts +18 -0
- package/account/result/DescribePlatformIdsResult.js +67 -0
- package/account/result/DescribePlatformIdsResult.js.map +1 -0
- package/account/result/DescribePlatformIdsResult.ts +72 -0
- package/account/result/FindPlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/FindPlatformIdByUserIdResult.js +48 -0
- package/account/result/FindPlatformIdByUserIdResult.js.map +1 -0
- package/account/result/FindPlatformIdByUserIdResult.ts +47 -0
- package/account/result/FindPlatformIdResult.d.ts +14 -0
- package/account/result/FindPlatformIdResult.js +48 -0
- package/account/result/FindPlatformIdResult.js.map +1 -0
- package/account/result/FindPlatformIdResult.ts +47 -0
- package/account/result/GetPlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/GetPlatformIdByUserIdResult.js +48 -0
- package/account/result/GetPlatformIdByUserIdResult.js.map +1 -0
- package/account/result/GetPlatformIdByUserIdResult.ts +47 -0
- package/account/result/GetPlatformIdResult.d.ts +14 -0
- package/account/result/GetPlatformIdResult.js +48 -0
- package/account/result/GetPlatformIdResult.js.map +1 -0
- package/account/result/GetPlatformIdResult.ts +47 -0
- package/account/result/index.d.ts +12 -1
- package/account/result/index.js +23 -1
- package/account/result/index.js.map +1 -1
- package/account/result/index.ts +22 -0
- package/identifier/request/LoginRequest.js +2 -2
- package/identifier/request/LoginRequest.js.map +1 -1
- package/identifier/request/LoginRequest.ts +2 -2
- package/package.json +1 -1
- package/schedule/model/RepeatSetting.d.ts +12 -0
- package/schedule/model/RepeatSetting.js +43 -1
- package/schedule/model/RepeatSetting.js.map +1 -1
- package/schedule/model/RepeatSetting.ts +43 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribePlatformIdsByUserIdResult.js","sourceRoot":"","sources":["DescribePlatformIdsByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,oDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,oDAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,4DAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,0CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,iCAAiC,EAAE;aACzC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,kDAAM,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,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,wCAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -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 Gs2Account from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribePlatformIdsByUserIdResult implements IResult {
|
|
21
|
+
private items: Gs2Account.PlatformId[]|null = null;
|
|
22
|
+
private nextPageToken: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Account.PlatformId[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Account.PlatformId[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Account.PlatformId[]|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}): DescribePlatformIdsByUserIdResult {
|
|
53
|
+
return new DescribePlatformIdsByUserIdResult()
|
|
54
|
+
.withItems(data.items ?
|
|
55
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
56
|
+
return Gs2Account.PlatformId.fromDict(item);
|
|
57
|
+
}
|
|
58
|
+
) : [])
|
|
59
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public toDict(): {[key: string]: any} {
|
|
63
|
+
return {
|
|
64
|
+
"items": this.getItems() ?
|
|
65
|
+
this.getItems()!.map((item: Gs2Account.PlatformId) => {
|
|
66
|
+
return item.toDict();
|
|
67
|
+
}
|
|
68
|
+
) : [],
|
|
69
|
+
"nextPageToken": this.getNextPageToken(),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Account from '../model';
|
|
3
|
+
export default class DescribePlatformIdsResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private nextPageToken;
|
|
6
|
+
getItems(): Gs2Account.PlatformId[] | null;
|
|
7
|
+
setItems(items: Gs2Account.PlatformId[] | null): this;
|
|
8
|
+
withItems(items: Gs2Account.PlatformId[] | 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
|
+
}): DescribePlatformIdsResult;
|
|
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 Gs2Account = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var DescribePlatformIdsResult = /** @class */ (function () {
|
|
21
|
+
function DescribePlatformIdsResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.nextPageToken = null;
|
|
24
|
+
}
|
|
25
|
+
DescribePlatformIdsResult.prototype.getItems = function () {
|
|
26
|
+
return this.items;
|
|
27
|
+
};
|
|
28
|
+
DescribePlatformIdsResult.prototype.setItems = function (items) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
DescribePlatformIdsResult.prototype.withItems = function (items) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DescribePlatformIdsResult.prototype.getNextPageToken = function () {
|
|
37
|
+
return this.nextPageToken;
|
|
38
|
+
};
|
|
39
|
+
DescribePlatformIdsResult.prototype.setNextPageToken = function (nextPageToken) {
|
|
40
|
+
this.nextPageToken = nextPageToken;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
DescribePlatformIdsResult.prototype.withNextPageToken = function (nextPageToken) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DescribePlatformIdsResult.fromDict = function (data) {
|
|
48
|
+
return new DescribePlatformIdsResult()
|
|
49
|
+
.withItems(data.items ?
|
|
50
|
+
data.items.map(function (item) {
|
|
51
|
+
return Gs2Account.PlatformId.fromDict(item);
|
|
52
|
+
}) : [])
|
|
53
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
54
|
+
};
|
|
55
|
+
DescribePlatformIdsResult.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 DescribePlatformIdsResult;
|
|
65
|
+
}());
|
|
66
|
+
exports.default = DescribePlatformIdsResult;
|
|
67
|
+
//# sourceMappingURL=DescribePlatformIdsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribePlatformIdsResult.js","sourceRoot":"","sources":["DescribePlatformIdsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,4CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,4CAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,oDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,yBAAyB,EAAE;aACjC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,0CAAM,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,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,gCAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -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 Gs2Account from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribePlatformIdsResult implements IResult {
|
|
21
|
+
private items: Gs2Account.PlatformId[]|null = null;
|
|
22
|
+
private nextPageToken: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Account.PlatformId[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Account.PlatformId[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Account.PlatformId[]|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}): DescribePlatformIdsResult {
|
|
53
|
+
return new DescribePlatformIdsResult()
|
|
54
|
+
.withItems(data.items ?
|
|
55
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
56
|
+
return Gs2Account.PlatformId.fromDict(item);
|
|
57
|
+
}
|
|
58
|
+
) : [])
|
|
59
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public toDict(): {[key: string]: any} {
|
|
63
|
+
return {
|
|
64
|
+
"items": this.getItems() ?
|
|
65
|
+
this.getItems()!.map((item: Gs2Account.PlatformId) => {
|
|
66
|
+
return item.toDict();
|
|
67
|
+
}
|
|
68
|
+
) : [],
|
|
69
|
+
"nextPageToken": this.getNextPageToken(),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Account from '../model';
|
|
3
|
+
export default class FindPlatformIdByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Account.PlatformUser | null;
|
|
6
|
+
setItem(item: Gs2Account.PlatformUser | null): this;
|
|
7
|
+
withItem(item: Gs2Account.PlatformUser | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): FindPlatformIdByUserIdResult;
|
|
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 Gs2Account = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var FindPlatformIdByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function FindPlatformIdByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
FindPlatformIdByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
FindPlatformIdByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
FindPlatformIdByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
FindPlatformIdByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new FindPlatformIdByUserIdResult()
|
|
37
|
+
.withItem(Gs2Account.PlatformUser.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
FindPlatformIdByUserIdResult.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 FindPlatformIdByUserIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = FindPlatformIdByUserIdResult;
|
|
48
|
+
//# sourceMappingURL=FindPlatformIdByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FindPlatformIdByUserIdResult.js","sourceRoot":"","sources":["FindPlatformIdByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAiC,IAAI,CAAC;IA0BtD,CAAC;IAxBU,8CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,8CAAO,GAAd,UAAe,IAAkC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAQ,GAAf,UAAgB,IAAkC;QAC9C,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,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAClE,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 Gs2Account from '../model'
|
|
19
|
+
|
|
20
|
+
export default class FindPlatformIdByUserIdResult implements IResult {
|
|
21
|
+
private item: Gs2Account.PlatformUser|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Account.PlatformUser|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Account.PlatformUser|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Account.PlatformUser|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): FindPlatformIdByUserIdResult {
|
|
38
|
+
return new FindPlatformIdByUserIdResult()
|
|
39
|
+
.withItem(Gs2Account.PlatformUser.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 Gs2Account from '../model';
|
|
3
|
+
export default class FindPlatformIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Account.PlatformUser | null;
|
|
6
|
+
setItem(item: Gs2Account.PlatformUser | null): this;
|
|
7
|
+
withItem(item: Gs2Account.PlatformUser | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): FindPlatformIdResult;
|
|
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 Gs2Account = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var FindPlatformIdResult = /** @class */ (function () {
|
|
21
|
+
function FindPlatformIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
FindPlatformIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
FindPlatformIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
FindPlatformIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
FindPlatformIdResult.fromDict = function (data) {
|
|
36
|
+
return new FindPlatformIdResult()
|
|
37
|
+
.withItem(Gs2Account.PlatformUser.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
FindPlatformIdResult.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 FindPlatformIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = FindPlatformIdResult;
|
|
48
|
+
//# sourceMappingURL=FindPlatformIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FindPlatformIdResult.js","sourceRoot":"","sources":["FindPlatformIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAiC,IAAI,CAAC;IA0BtD,CAAC;IAxBU,sCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,sCAAO,GAAd,UAAe,IAAkC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAQ,GAAf,UAAgB,IAAkC;QAC9C,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,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAClE,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,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 Gs2Account from '../model'
|
|
19
|
+
|
|
20
|
+
export default class FindPlatformIdResult implements IResult {
|
|
21
|
+
private item: Gs2Account.PlatformUser|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Account.PlatformUser|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Account.PlatformUser|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Account.PlatformUser|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): FindPlatformIdResult {
|
|
38
|
+
return new FindPlatformIdResult()
|
|
39
|
+
.withItem(Gs2Account.PlatformUser.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 Gs2Account from '../model';
|
|
3
|
+
export default class GetPlatformIdByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Account.PlatformId | null;
|
|
6
|
+
setItem(item: Gs2Account.PlatformId | null): this;
|
|
7
|
+
withItem(item: Gs2Account.PlatformId | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetPlatformIdByUserIdResult;
|
|
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 Gs2Account = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetPlatformIdByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function GetPlatformIdByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetPlatformIdByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetPlatformIdByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetPlatformIdByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetPlatformIdByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new GetPlatformIdByUserIdResult()
|
|
37
|
+
.withItem(Gs2Account.PlatformId.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetPlatformIdByUserIdResult.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 GetPlatformIdByUserIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetPlatformIdByUserIdResult;
|
|
48
|
+
//# sourceMappingURL=GetPlatformIdByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPlatformIdByUserIdResult.js","sourceRoot":"","sources":["GetPlatformIdByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA+B,IAAI,CAAC;IA0BpD,CAAC;IAxBU,6CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,6CAAO,GAAd,UAAe,IAAgC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAQ,GAAf,UAAgB,IAAgC;QAC5C,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,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAChE,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 Gs2Account from '../model'
|
|
19
|
+
|
|
20
|
+
export default class GetPlatformIdByUserIdResult implements IResult {
|
|
21
|
+
private item: Gs2Account.PlatformId|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Account.PlatformId|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Account.PlatformId|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Account.PlatformId|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): GetPlatformIdByUserIdResult {
|
|
38
|
+
return new GetPlatformIdByUserIdResult()
|
|
39
|
+
.withItem(Gs2Account.PlatformId.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 Gs2Account from '../model';
|
|
3
|
+
export default class GetPlatformIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Account.PlatformId | null;
|
|
6
|
+
setItem(item: Gs2Account.PlatformId | null): this;
|
|
7
|
+
withItem(item: Gs2Account.PlatformId | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): GetPlatformIdResult;
|
|
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 Gs2Account = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var GetPlatformIdResult = /** @class */ (function () {
|
|
21
|
+
function GetPlatformIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetPlatformIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetPlatformIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetPlatformIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetPlatformIdResult.fromDict = function (data) {
|
|
36
|
+
return new GetPlatformIdResult()
|
|
37
|
+
.withItem(Gs2Account.PlatformId.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetPlatformIdResult.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 GetPlatformIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetPlatformIdResult;
|
|
48
|
+
//# sourceMappingURL=GetPlatformIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPlatformIdResult.js","sourceRoot":"","sources":["GetPlatformIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA+B,IAAI,CAAC;IA0BpD,CAAC;IAxBU,qCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,qCAAO,GAAd,UAAe,IAAgC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAQ,GAAf,UAAgB,IAAgC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mBAAmB,EAAE;aAC3B,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,oCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AA3BD,IA2BC"}
|