gs2 1.3.170 → 1.3.172
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/adReward/index.d.ts +5 -0
- package/adReward/index.js +28 -0
- package/adReward/index.js.map +1 -0
- package/adReward/index.ts +27 -0
- package/adReward/model/AdMob.d.ts +13 -0
- package/adReward/model/AdMob.js +54 -0
- package/adReward/model/AdMob.js.map +1 -0
- package/adReward/model/AdMob.ts +54 -0
- package/adReward/model/History.d.ts +27 -0
- package/adReward/model/History.js +97 -0
- package/adReward/model/History.js.map +1 -0
- package/adReward/model/History.ts +98 -0
- package/adReward/model/LogSetting.d.ts +13 -0
- package/adReward/model/LogSetting.js +48 -0
- package/adReward/model/LogSetting.js.map +1 -0
- package/adReward/model/LogSetting.ts +46 -0
- package/adReward/model/Namespace.d.ts +58 -0
- package/adReward/model/Namespace.js +229 -0
- package/adReward/model/Namespace.js.map +1 -0
- package/adReward/model/Namespace.ts +237 -0
- package/adReward/model/NotificationSetting.d.ts +21 -0
- package/adReward/model/NotificationSetting.js +76 -0
- package/adReward/model/NotificationSetting.js.map +1 -0
- package/adReward/model/NotificationSetting.ts +74 -0
- package/adReward/model/Point.d.ts +39 -0
- package/adReward/model/Point.js +185 -0
- package/adReward/model/Point.js.map +1 -0
- package/adReward/model/Point.ts +198 -0
- package/adReward/model/UnityAd.d.ts +13 -0
- package/adReward/model/UnityAd.js +54 -0
- package/adReward/model/UnityAd.js.map +1 -0
- package/adReward/model/UnityAd.ts +54 -0
- package/adReward/model/index.d.ts +8 -0
- package/adReward/model/index.js +34 -0
- package/adReward/model/index.js.map +1 -0
- package/adReward/model/index.ts +32 -0
- package/adReward/request/AcquirePointByStampSheetRequest.d.ts +25 -0
- package/adReward/request/AcquirePointByStampSheetRequest.js +83 -0
- package/adReward/request/AcquirePointByStampSheetRequest.js.map +1 -0
- package/adReward/request/AcquirePointByStampSheetRequest.ts +90 -0
- package/adReward/request/AcquirePointByUserIdRequest.d.ts +33 -0
- package/adReward/request/AcquirePointByUserIdRequest.js +109 -0
- package/adReward/request/AcquirePointByUserIdRequest.js.map +1 -0
- package/adReward/request/AcquirePointByUserIdRequest.ts +119 -0
- package/adReward/request/ConsumePointByStampTaskRequest.d.ts +25 -0
- package/adReward/request/ConsumePointByStampTaskRequest.js +83 -0
- package/adReward/request/ConsumePointByStampTaskRequest.js.map +1 -0
- package/adReward/request/ConsumePointByStampTaskRequest.ts +90 -0
- package/adReward/request/ConsumePointByUserIdRequest.d.ts +33 -0
- package/adReward/request/ConsumePointByUserIdRequest.js +109 -0
- package/adReward/request/ConsumePointByUserIdRequest.js.map +1 -0
- package/adReward/request/ConsumePointByUserIdRequest.ts +119 -0
- package/adReward/request/ConsumePointRequest.d.ts +33 -0
- package/adReward/request/ConsumePointRequest.js +109 -0
- package/adReward/request/ConsumePointRequest.js.map +1 -0
- package/adReward/request/ConsumePointRequest.ts +119 -0
- package/adReward/request/CreateNamespaceRequest.d.ts +42 -0
- package/adReward/request/CreateNamespaceRequest.js +142 -0
- package/adReward/request/CreateNamespaceRequest.js.map +1 -0
- package/adReward/request/CreateNamespaceRequest.ts +146 -0
- package/adReward/request/DeleteNamespaceRequest.d.ts +21 -0
- package/adReward/request/DeleteNamespaceRequest.js +69 -0
- package/adReward/request/DeleteNamespaceRequest.js.map +1 -0
- package/adReward/request/DeleteNamespaceRequest.ts +76 -0
- package/adReward/request/DeletePointByUserIdRequest.d.ts +29 -0
- package/adReward/request/DeletePointByUserIdRequest.js +95 -0
- package/adReward/request/DeletePointByUserIdRequest.js.map +1 -0
- package/adReward/request/DeletePointByUserIdRequest.ts +105 -0
- package/adReward/request/DescribeNamespacesRequest.d.ts +25 -0
- package/adReward/request/DescribeNamespacesRequest.js +83 -0
- package/adReward/request/DescribeNamespacesRequest.js.map +1 -0
- package/adReward/request/DescribeNamespacesRequest.ts +90 -0
- package/adReward/request/GetNamespaceRequest.d.ts +21 -0
- package/adReward/request/GetNamespaceRequest.js +69 -0
- package/adReward/request/GetNamespaceRequest.js.map +1 -0
- package/adReward/request/GetNamespaceRequest.ts +76 -0
- package/adReward/request/GetNamespaceStatusRequest.d.ts +21 -0
- package/adReward/request/GetNamespaceStatusRequest.js +69 -0
- package/adReward/request/GetNamespaceStatusRequest.js.map +1 -0
- package/adReward/request/GetNamespaceStatusRequest.ts +76 -0
- package/adReward/request/GetPointByUserIdRequest.d.ts +25 -0
- package/adReward/request/GetPointByUserIdRequest.js +83 -0
- package/adReward/request/GetPointByUserIdRequest.js.map +1 -0
- package/adReward/request/GetPointByUserIdRequest.ts +90 -0
- package/adReward/request/GetPointRequest.d.ts +25 -0
- package/adReward/request/GetPointRequest.js +83 -0
- package/adReward/request/GetPointRequest.js.map +1 -0
- package/adReward/request/GetPointRequest.ts +90 -0
- package/adReward/request/UpdateNamespaceRequest.d.ts +42 -0
- package/adReward/request/UpdateNamespaceRequest.js +142 -0
- package/adReward/request/UpdateNamespaceRequest.js.map +1 -0
- package/adReward/request/UpdateNamespaceRequest.ts +146 -0
- package/adReward/request/index.d.ts +15 -0
- package/adReward/request/index.js +48 -0
- package/adReward/request/index.js.map +1 -0
- package/adReward/request/index.ts +46 -0
- package/adReward/rest.d.ts +21 -0
- package/adReward/rest.js +409 -0
- package/adReward/rest.js.map +1 -0
- package/adReward/rest.ts +463 -0
- package/adReward/result/AcquirePointByStampSheetResult.d.ts +14 -0
- package/adReward/result/AcquirePointByStampSheetResult.js +48 -0
- package/adReward/result/AcquirePointByStampSheetResult.js.map +1 -0
- package/adReward/result/AcquirePointByStampSheetResult.ts +48 -0
- package/adReward/result/AcquirePointByUserIdResult.d.ts +14 -0
- package/adReward/result/AcquirePointByUserIdResult.js +48 -0
- package/adReward/result/AcquirePointByUserIdResult.js.map +1 -0
- package/adReward/result/AcquirePointByUserIdResult.ts +48 -0
- package/adReward/result/ConsumePointByStampTaskResult.d.ts +18 -0
- package/adReward/result/ConsumePointByStampTaskResult.js +62 -0
- package/adReward/result/ConsumePointByStampTaskResult.js.map +1 -0
- package/adReward/result/ConsumePointByStampTaskResult.ts +65 -0
- package/adReward/result/ConsumePointByUserIdResult.d.ts +14 -0
- package/adReward/result/ConsumePointByUserIdResult.js +48 -0
- package/adReward/result/ConsumePointByUserIdResult.js.map +1 -0
- package/adReward/result/ConsumePointByUserIdResult.ts +48 -0
- package/adReward/result/ConsumePointResult.d.ts +14 -0
- package/adReward/result/ConsumePointResult.js +48 -0
- package/adReward/result/ConsumePointResult.js.map +1 -0
- package/adReward/result/ConsumePointResult.ts +48 -0
- package/adReward/result/CreateNamespaceResult.d.ts +14 -0
- package/adReward/result/CreateNamespaceResult.js +48 -0
- package/adReward/result/CreateNamespaceResult.js.map +1 -0
- package/adReward/result/CreateNamespaceResult.ts +48 -0
- package/adReward/result/DeleteNamespaceResult.d.ts +14 -0
- package/adReward/result/DeleteNamespaceResult.js +48 -0
- package/adReward/result/DeleteNamespaceResult.js.map +1 -0
- package/adReward/result/DeleteNamespaceResult.ts +48 -0
- package/adReward/result/DeletePointByUserIdResult.d.ts +14 -0
- package/adReward/result/DeletePointByUserIdResult.js +48 -0
- package/adReward/result/DeletePointByUserIdResult.js.map +1 -0
- package/adReward/result/DeletePointByUserIdResult.ts +48 -0
- package/adReward/result/DescribeNamespacesResult.d.ts +18 -0
- package/adReward/result/DescribeNamespacesResult.js +67 -0
- package/adReward/result/DescribeNamespacesResult.js.map +1 -0
- package/adReward/result/DescribeNamespacesResult.ts +73 -0
- package/adReward/result/GetNamespaceResult.d.ts +14 -0
- package/adReward/result/GetNamespaceResult.js +48 -0
- package/adReward/result/GetNamespaceResult.js.map +1 -0
- package/adReward/result/GetNamespaceResult.ts +48 -0
- package/adReward/result/GetNamespaceStatusResult.d.ts +13 -0
- package/adReward/result/GetNamespaceStatusResult.js +45 -0
- package/adReward/result/GetNamespaceStatusResult.js.map +1 -0
- package/adReward/result/GetNamespaceStatusResult.ts +48 -0
- package/adReward/result/GetPointByUserIdResult.d.ts +14 -0
- package/adReward/result/GetPointByUserIdResult.js +48 -0
- package/adReward/result/GetPointByUserIdResult.js.map +1 -0
- package/adReward/result/GetPointByUserIdResult.ts +48 -0
- package/adReward/result/GetPointResult.d.ts +14 -0
- package/adReward/result/GetPointResult.js +48 -0
- package/adReward/result/GetPointResult.js.map +1 -0
- package/adReward/result/GetPointResult.ts +48 -0
- package/adReward/result/UpdateNamespaceResult.d.ts +14 -0
- package/adReward/result/UpdateNamespaceResult.js +48 -0
- package/adReward/result/UpdateNamespaceResult.js.map +1 -0
- package/adReward/result/UpdateNamespaceResult.ts +48 -0
- package/adReward/result/index.d.ts +15 -0
- package/adReward/result/index.js +48 -0
- package/adReward/result/index.js.map +1 -0
- package/adReward/result/index.ts +46 -0
- package/deploy/model/ChangeSet.d.ts +21 -0
- package/deploy/model/ChangeSet.js +76 -0
- package/deploy/model/ChangeSet.js.map +1 -0
- package/deploy/model/ChangeSet.ts +74 -0
- package/deploy/model/index.d.ts +3 -2
- package/deploy/model/index.js +5 -3
- package/deploy/model/index.js.map +1 -1
- package/deploy/model/index.ts +4 -2
- package/deploy/request/ChangeSetRequest.d.ts +25 -0
- package/deploy/request/ChangeSetRequest.js +83 -0
- package/deploy/request/ChangeSetRequest.js.map +1 -0
- package/deploy/request/ChangeSetRequest.ts +90 -0
- package/deploy/request/index.d.ts +2 -1
- package/deploy/request/index.js +3 -1
- package/deploy/request/index.js.map +1 -1
- package/deploy/request/index.ts +2 -0
- package/deploy/rest.d.ts +1 -0
- package/deploy/rest.js +27 -0
- package/deploy/rest.js.map +1 -1
- package/deploy/rest.ts +31 -0
- package/deploy/result/ChangeSetResult.d.ts +14 -0
- package/deploy/result/ChangeSetResult.js +53 -0
- package/deploy/result/ChangeSetResult.js.map +1 -0
- package/deploy/result/ChangeSetResult.ts +56 -0
- package/deploy/result/index.d.ts +2 -1
- package/deploy/result/index.js +3 -1
- package/deploy/result/index.js.map +1 -1
- package/deploy/result/index.ts +2 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.ts +2 -0
- package/package.json +1 -1
|
@@ -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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AcquirePointByUserIdResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Point|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2AdReward.Point|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2AdReward.Point|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2AdReward.Point|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): AcquirePointByUserIdResult {
|
|
39
|
+
return new AcquirePointByUserIdResult()
|
|
40
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2AdReward from '../model';
|
|
3
|
+
export default class ConsumePointByStampTaskResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private newContextStack;
|
|
6
|
+
getItem(): Gs2AdReward.Point | null;
|
|
7
|
+
setItem(item: Gs2AdReward.Point | null): this;
|
|
8
|
+
withItem(item: Gs2AdReward.Point | null): this;
|
|
9
|
+
getNewContextStack(): string | null;
|
|
10
|
+
setNewContextStack(newContextStack: string | null): this;
|
|
11
|
+
withNewContextStack(newContextStack: string | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): ConsumePointByStampTaskResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ConsumePointByStampTaskResult = /** @class */ (function () {
|
|
21
|
+
function ConsumePointByStampTaskResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.newContextStack = null;
|
|
24
|
+
}
|
|
25
|
+
ConsumePointByStampTaskResult.prototype.getItem = function () {
|
|
26
|
+
return this.item;
|
|
27
|
+
};
|
|
28
|
+
ConsumePointByStampTaskResult.prototype.setItem = function (item) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
ConsumePointByStampTaskResult.prototype.withItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
ConsumePointByStampTaskResult.prototype.getNewContextStack = function () {
|
|
37
|
+
return this.newContextStack;
|
|
38
|
+
};
|
|
39
|
+
ConsumePointByStampTaskResult.prototype.setNewContextStack = function (newContextStack) {
|
|
40
|
+
this.newContextStack = newContextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
ConsumePointByStampTaskResult.prototype.withNewContextStack = function (newContextStack) {
|
|
44
|
+
this.newContextStack = newContextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
ConsumePointByStampTaskResult.fromDict = function (data) {
|
|
48
|
+
return new ConsumePointByStampTaskResult()
|
|
49
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]))
|
|
50
|
+
.withNewContextStack(data["newContextStack"]);
|
|
51
|
+
};
|
|
52
|
+
ConsumePointByStampTaskResult.prototype.toDict = function () {
|
|
53
|
+
var _a;
|
|
54
|
+
return {
|
|
55
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"newContextStack": this.getNewContextStack(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return ConsumePointByStampTaskResult;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = ConsumePointByStampTaskResult;
|
|
62
|
+
//# sourceMappingURL=ConsumePointByStampTaskResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsumePointByStampTaskResult.js","sourceRoot":"","sources":["ConsumePointByStampTaskResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;QACpC,oBAAe,GAAgB,IAAI,CAAC;IA0ChD,CAAC;IAxCU,+CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,+CAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAEM,0DAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,6BAA6B,EAAE;aACrC,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAClD,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,8CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AA5CD,IA4CC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ConsumePointByStampTaskResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Point|null = null;
|
|
23
|
+
private newContextStack: string|null = null;
|
|
24
|
+
|
|
25
|
+
public getItem(): Gs2AdReward.Point|null {
|
|
26
|
+
return this.item;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItem(item: Gs2AdReward.Point|null) {
|
|
30
|
+
this.item = item;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItem(item: Gs2AdReward.Point|null): this {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getNewContextStack(): string|null {
|
|
40
|
+
return this.newContextStack;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setNewContextStack(newContextStack: string|null) {
|
|
44
|
+
this.newContextStack = newContextStack;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withNewContextStack(newContextStack: string|null): this {
|
|
49
|
+
this.newContextStack = newContextStack;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): ConsumePointByStampTaskResult {
|
|
54
|
+
return new ConsumePointByStampTaskResult()
|
|
55
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]))
|
|
56
|
+
.withNewContextStack(data["newContextStack"]);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public toDict(): {[key: string]: any} {
|
|
60
|
+
return {
|
|
61
|
+
"item": this.getItem()?.toDict(),
|
|
62
|
+
"newContextStack": this.getNewContextStack(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2AdReward from '../model';
|
|
3
|
+
export default class ConsumePointByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2AdReward.Point | null;
|
|
6
|
+
setItem(item: Gs2AdReward.Point | null): this;
|
|
7
|
+
withItem(item: Gs2AdReward.Point | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): ConsumePointByUserIdResult;
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ConsumePointByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function ConsumePointByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
ConsumePointByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ConsumePointByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ConsumePointByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ConsumePointByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new ConsumePointByUserIdResult()
|
|
37
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
ConsumePointByUserIdResult.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 ConsumePointByUserIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = ConsumePointByUserIdResult;
|
|
48
|
+
//# sourceMappingURL=ConsumePointByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsumePointByUserIdResult.js","sourceRoot":"","sources":["ConsumePointByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,4CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4CAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,2CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,iCAAC;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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ConsumePointByUserIdResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Point|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2AdReward.Point|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2AdReward.Point|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2AdReward.Point|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): ConsumePointByUserIdResult {
|
|
39
|
+
return new ConsumePointByUserIdResult()
|
|
40
|
+
.withItem(Gs2AdReward.Point.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 Gs2AdReward from '../model';
|
|
3
|
+
export default class ConsumePointResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2AdReward.Point | null;
|
|
6
|
+
setItem(item: Gs2AdReward.Point | null): this;
|
|
7
|
+
withItem(item: Gs2AdReward.Point | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): ConsumePointResult;
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ConsumePointResult = /** @class */ (function () {
|
|
21
|
+
function ConsumePointResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
ConsumePointResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
ConsumePointResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ConsumePointResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ConsumePointResult.fromDict = function (data) {
|
|
36
|
+
return new ConsumePointResult()
|
|
37
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
ConsumePointResult.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 ConsumePointResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = ConsumePointResult;
|
|
48
|
+
//# sourceMappingURL=ConsumePointResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsumePointResult.js","sourceRoot":"","sources":["ConsumePointResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,IAA4B;QACxC,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,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,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,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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ConsumePointResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Point|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2AdReward.Point|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2AdReward.Point|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2AdReward.Point|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): ConsumePointResult {
|
|
39
|
+
return new ConsumePointResult()
|
|
40
|
+
.withItem(Gs2AdReward.Point.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 Gs2AdReward from '../model';
|
|
3
|
+
export default class CreateNamespaceResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2AdReward.Namespace | null;
|
|
6
|
+
setItem(item: Gs2AdReward.Namespace | null): this;
|
|
7
|
+
withItem(item: Gs2AdReward.Namespace | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): CreateNamespaceResult;
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var CreateNamespaceResult = /** @class */ (function () {
|
|
21
|
+
function CreateNamespaceResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
CreateNamespaceResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
CreateNamespaceResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
CreateNamespaceResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
CreateNamespaceResult.fromDict = function (data) {
|
|
36
|
+
return new CreateNamespaceResult()
|
|
37
|
+
.withItem(Gs2AdReward.Namespace.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
CreateNamespaceResult.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 CreateNamespaceResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = CreateNamespaceResult;
|
|
48
|
+
//# sourceMappingURL=CreateNamespaceResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateNamespaceResult.js","sourceRoot":"","sources":["CreateNamespaceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA+B,IAAI,CAAC;IA0BpD,CAAC;IAxBU,uCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,uCAAO,GAAd,UAAe,IAAgC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAQ,GAAf,UAAgB,IAAgC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,qBAAqB,EAAE;aAC7B,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,sCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,4BAAC;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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class CreateNamespaceResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Namespace|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2AdReward.Namespace|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2AdReward.Namespace|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2AdReward.Namespace|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): CreateNamespaceResult {
|
|
39
|
+
return new CreateNamespaceResult()
|
|
40
|
+
.withItem(Gs2AdReward.Namespace.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 Gs2AdReward from '../model';
|
|
3
|
+
export default class DeleteNamespaceResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2AdReward.Namespace | null;
|
|
6
|
+
setItem(item: Gs2AdReward.Namespace | null): this;
|
|
7
|
+
withItem(item: Gs2AdReward.Namespace | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): DeleteNamespaceResult;
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var DeleteNamespaceResult = /** @class */ (function () {
|
|
21
|
+
function DeleteNamespaceResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
DeleteNamespaceResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
DeleteNamespaceResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
DeleteNamespaceResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DeleteNamespaceResult.fromDict = function (data) {
|
|
36
|
+
return new DeleteNamespaceResult()
|
|
37
|
+
.withItem(Gs2AdReward.Namespace.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
DeleteNamespaceResult.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 DeleteNamespaceResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = DeleteNamespaceResult;
|
|
48
|
+
//# sourceMappingURL=DeleteNamespaceResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteNamespaceResult.js","sourceRoot":"","sources":["DeleteNamespaceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA+B,IAAI,CAAC;IA0BpD,CAAC;IAxBU,uCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,uCAAO,GAAd,UAAe,IAAgC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAQ,GAAf,UAAgB,IAAgC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,qBAAqB,EAAE;aAC7B,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,sCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,4BAAC;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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DeleteNamespaceResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Namespace|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2AdReward.Namespace|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2AdReward.Namespace|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2AdReward.Namespace|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): DeleteNamespaceResult {
|
|
39
|
+
return new DeleteNamespaceResult()
|
|
40
|
+
.withItem(Gs2AdReward.Namespace.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|