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
|
+
"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 GetPointResult = /** @class */ (function () {
|
|
21
|
+
function GetPointResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
GetPointResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
GetPointResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetPointResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetPointResult.fromDict = function (data) {
|
|
36
|
+
return new GetPointResult()
|
|
37
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
GetPointResult.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 GetPointResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GetPointResult;
|
|
48
|
+
//# sourceMappingURL=GetPointResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPointResult.js","sourceRoot":"","sources":["GetPointResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,gCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,cAAc,EAAE;aACtB,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,+BAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,qBAAC;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 GetPointResult 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}): GetPointResult {
|
|
39
|
+
return new GetPointResult()
|
|
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 UpdateNamespaceResult 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
|
+
}): UpdateNamespaceResult;
|
|
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 UpdateNamespaceResult = /** @class */ (function () {
|
|
21
|
+
function UpdateNamespaceResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
UpdateNamespaceResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
UpdateNamespaceResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
UpdateNamespaceResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
UpdateNamespaceResult.fromDict = function (data) {
|
|
36
|
+
return new UpdateNamespaceResult()
|
|
37
|
+
.withItem(Gs2AdReward.Namespace.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
UpdateNamespaceResult.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 UpdateNamespaceResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = UpdateNamespaceResult;
|
|
48
|
+
//# sourceMappingURL=UpdateNamespaceResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateNamespaceResult.js","sourceRoot":"","sources":["UpdateNamespaceResult.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 UpdateNamespaceResult 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}): UpdateNamespaceResult {
|
|
39
|
+
return new UpdateNamespaceResult()
|
|
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,15 @@
|
|
|
1
|
+
import DescribeNamespacesResult from "./DescribeNamespacesResult";
|
|
2
|
+
import CreateNamespaceResult from "./CreateNamespaceResult";
|
|
3
|
+
import GetNamespaceStatusResult from "./GetNamespaceStatusResult";
|
|
4
|
+
import GetNamespaceResult from "./GetNamespaceResult";
|
|
5
|
+
import UpdateNamespaceResult from "./UpdateNamespaceResult";
|
|
6
|
+
import DeleteNamespaceResult from "./DeleteNamespaceResult";
|
|
7
|
+
import GetPointResult from "./GetPointResult";
|
|
8
|
+
import GetPointByUserIdResult from "./GetPointByUserIdResult";
|
|
9
|
+
import AcquirePointByUserIdResult from "./AcquirePointByUserIdResult";
|
|
10
|
+
import ConsumePointResult from "./ConsumePointResult";
|
|
11
|
+
import ConsumePointByUserIdResult from "./ConsumePointByUserIdResult";
|
|
12
|
+
import DeletePointByUserIdResult from "./DeletePointByUserIdResult";
|
|
13
|
+
import ConsumePointByStampTaskResult from "./ConsumePointByStampTaskResult";
|
|
14
|
+
import AcquirePointByStampSheetResult from "./AcquirePointByStampSheetResult";
|
|
15
|
+
export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, GetPointResult, GetPointByUserIdResult, AcquirePointByUserIdResult, ConsumePointResult, ConsumePointByUserIdResult, DeletePointByUserIdResult, ConsumePointByStampTaskResult, AcquirePointByStampSheetResult, };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AcquirePointByStampSheetResult = exports.ConsumePointByStampTaskResult = exports.DeletePointByUserIdResult = exports.ConsumePointByUserIdResult = exports.ConsumePointResult = exports.AcquirePointByUserIdResult = exports.GetPointByUserIdResult = exports.GetPointResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
Reserved.
|
|
8
|
+
|
|
9
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
You may not use this file except in compliance with the License.
|
|
11
|
+
A copy of the License is located at
|
|
12
|
+
|
|
13
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
|
|
15
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
express or implied. See the License for the specific language governing
|
|
18
|
+
permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
var DescribeNamespacesResult_1 = tslib_1.__importDefault(require("./DescribeNamespacesResult"));
|
|
21
|
+
exports.DescribeNamespacesResult = DescribeNamespacesResult_1.default;
|
|
22
|
+
var CreateNamespaceResult_1 = tslib_1.__importDefault(require("./CreateNamespaceResult"));
|
|
23
|
+
exports.CreateNamespaceResult = CreateNamespaceResult_1.default;
|
|
24
|
+
var GetNamespaceStatusResult_1 = tslib_1.__importDefault(require("./GetNamespaceStatusResult"));
|
|
25
|
+
exports.GetNamespaceStatusResult = GetNamespaceStatusResult_1.default;
|
|
26
|
+
var GetNamespaceResult_1 = tslib_1.__importDefault(require("./GetNamespaceResult"));
|
|
27
|
+
exports.GetNamespaceResult = GetNamespaceResult_1.default;
|
|
28
|
+
var UpdateNamespaceResult_1 = tslib_1.__importDefault(require("./UpdateNamespaceResult"));
|
|
29
|
+
exports.UpdateNamespaceResult = UpdateNamespaceResult_1.default;
|
|
30
|
+
var DeleteNamespaceResult_1 = tslib_1.__importDefault(require("./DeleteNamespaceResult"));
|
|
31
|
+
exports.DeleteNamespaceResult = DeleteNamespaceResult_1.default;
|
|
32
|
+
var GetPointResult_1 = tslib_1.__importDefault(require("./GetPointResult"));
|
|
33
|
+
exports.GetPointResult = GetPointResult_1.default;
|
|
34
|
+
var GetPointByUserIdResult_1 = tslib_1.__importDefault(require("./GetPointByUserIdResult"));
|
|
35
|
+
exports.GetPointByUserIdResult = GetPointByUserIdResult_1.default;
|
|
36
|
+
var AcquirePointByUserIdResult_1 = tslib_1.__importDefault(require("./AcquirePointByUserIdResult"));
|
|
37
|
+
exports.AcquirePointByUserIdResult = AcquirePointByUserIdResult_1.default;
|
|
38
|
+
var ConsumePointResult_1 = tslib_1.__importDefault(require("./ConsumePointResult"));
|
|
39
|
+
exports.ConsumePointResult = ConsumePointResult_1.default;
|
|
40
|
+
var ConsumePointByUserIdResult_1 = tslib_1.__importDefault(require("./ConsumePointByUserIdResult"));
|
|
41
|
+
exports.ConsumePointByUserIdResult = ConsumePointByUserIdResult_1.default;
|
|
42
|
+
var DeletePointByUserIdResult_1 = tslib_1.__importDefault(require("./DeletePointByUserIdResult"));
|
|
43
|
+
exports.DeletePointByUserIdResult = DeletePointByUserIdResult_1.default;
|
|
44
|
+
var ConsumePointByStampTaskResult_1 = tslib_1.__importDefault(require("./ConsumePointByStampTaskResult"));
|
|
45
|
+
exports.ConsumePointByStampTaskResult = ConsumePointByStampTaskResult_1.default;
|
|
46
|
+
var AcquirePointByStampSheetResult_1 = tslib_1.__importDefault(require("./AcquirePointByStampSheetResult"));
|
|
47
|
+
exports.AcquirePointByStampSheetResult = AcquirePointByStampSheetResult_1.default;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAiE;AAgB7D,mCAhBG,kCAAwB,CAgBH;AAf5B,0FAA2D;AAgBvD,gCAhBG,+BAAqB,CAgBH;AAfzB,gGAAiE;AAgB7D,mCAhBG,kCAAwB,CAgBH;AAf5B,oFAAqD;AAgBjD,6BAhBG,4BAAkB,CAgBH;AAftB,0FAA2D;AAgBvD,gCAhBG,+BAAqB,CAgBH;AAfzB,0FAA2D;AAgBvD,gCAhBG,+BAAqB,CAgBH;AAfzB,4EAA6C;AAgBzC,yBAhBG,wBAAc,CAgBH;AAflB,4FAA6D;AAgBzD,iCAhBG,gCAAsB,CAgBH;AAf1B,oGAAqE;AAgBjE,qCAhBG,oCAA0B,CAgBH;AAf9B,oFAAqD;AAgBjD,6BAhBG,4BAAkB,CAgBH;AAftB,oGAAqE;AAgBjE,qCAhBG,oCAA0B,CAgBH;AAf9B,kGAAmE;AAgB/D,oCAhBG,mCAAyB,CAgBH;AAf7B,0GAA2E;AAgBvE,wCAhBG,uCAA6B,CAgBH;AAfjC,4GAA6E;AAgBzE,yCAhBG,wCAA8B,CAgBH"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import DescribeNamespacesResult from "./DescribeNamespacesResult"
|
|
17
|
+
import CreateNamespaceResult from "./CreateNamespaceResult"
|
|
18
|
+
import GetNamespaceStatusResult from "./GetNamespaceStatusResult"
|
|
19
|
+
import GetNamespaceResult from "./GetNamespaceResult"
|
|
20
|
+
import UpdateNamespaceResult from "./UpdateNamespaceResult"
|
|
21
|
+
import DeleteNamespaceResult from "./DeleteNamespaceResult"
|
|
22
|
+
import GetPointResult from "./GetPointResult"
|
|
23
|
+
import GetPointByUserIdResult from "./GetPointByUserIdResult"
|
|
24
|
+
import AcquirePointByUserIdResult from "./AcquirePointByUserIdResult"
|
|
25
|
+
import ConsumePointResult from "./ConsumePointResult"
|
|
26
|
+
import ConsumePointByUserIdResult from "./ConsumePointByUserIdResult"
|
|
27
|
+
import DeletePointByUserIdResult from "./DeletePointByUserIdResult"
|
|
28
|
+
import ConsumePointByStampTaskResult from "./ConsumePointByStampTaskResult"
|
|
29
|
+
import AcquirePointByStampSheetResult from "./AcquirePointByStampSheetResult"
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
DescribeNamespacesResult,
|
|
33
|
+
CreateNamespaceResult,
|
|
34
|
+
GetNamespaceStatusResult,
|
|
35
|
+
GetNamespaceResult,
|
|
36
|
+
UpdateNamespaceResult,
|
|
37
|
+
DeleteNamespaceResult,
|
|
38
|
+
GetPointResult,
|
|
39
|
+
GetPointByUserIdResult,
|
|
40
|
+
AcquirePointByUserIdResult,
|
|
41
|
+
ConsumePointResult,
|
|
42
|
+
ConsumePointByUserIdResult,
|
|
43
|
+
DeletePointByUserIdResult,
|
|
44
|
+
ConsumePointByStampTaskResult,
|
|
45
|
+
AcquirePointByStampSheetResult,
|
|
46
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class ChangeSet implements IModel {
|
|
3
|
+
private resourceName;
|
|
4
|
+
private resourceType;
|
|
5
|
+
private operation;
|
|
6
|
+
getResourceName(): string | null;
|
|
7
|
+
setResourceName(resourceName: string | null): this;
|
|
8
|
+
withResourceName(resourceName: string | null): this;
|
|
9
|
+
getResourceType(): string | null;
|
|
10
|
+
setResourceType(resourceType: string | null): this;
|
|
11
|
+
withResourceType(resourceType: string | null): this;
|
|
12
|
+
getOperation(): string | null;
|
|
13
|
+
setOperation(operation: string | null): this;
|
|
14
|
+
withOperation(operation: string | null): this;
|
|
15
|
+
static fromDict(data: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}): ChangeSet | null;
|
|
18
|
+
toDict(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 ChangeSet = /** @class */ (function () {
|
|
19
|
+
function ChangeSet() {
|
|
20
|
+
this.resourceName = null;
|
|
21
|
+
this.resourceType = null;
|
|
22
|
+
this.operation = null;
|
|
23
|
+
}
|
|
24
|
+
ChangeSet.prototype.getResourceName = function () {
|
|
25
|
+
return this.resourceName;
|
|
26
|
+
};
|
|
27
|
+
ChangeSet.prototype.setResourceName = function (resourceName) {
|
|
28
|
+
this.resourceName = resourceName;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ChangeSet.prototype.withResourceName = function (resourceName) {
|
|
32
|
+
this.resourceName = resourceName;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ChangeSet.prototype.getResourceType = function () {
|
|
36
|
+
return this.resourceType;
|
|
37
|
+
};
|
|
38
|
+
ChangeSet.prototype.setResourceType = function (resourceType) {
|
|
39
|
+
this.resourceType = resourceType;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
ChangeSet.prototype.withResourceType = function (resourceType) {
|
|
43
|
+
this.resourceType = resourceType;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
ChangeSet.prototype.getOperation = function () {
|
|
47
|
+
return this.operation;
|
|
48
|
+
};
|
|
49
|
+
ChangeSet.prototype.setOperation = function (operation) {
|
|
50
|
+
this.operation = operation;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
ChangeSet.prototype.withOperation = function (operation) {
|
|
54
|
+
this.operation = operation;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
ChangeSet.fromDict = function (data) {
|
|
58
|
+
if (data == undefined || data == null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return new ChangeSet()
|
|
62
|
+
.withResourceName(data["resourceName"])
|
|
63
|
+
.withResourceType(data["resourceType"])
|
|
64
|
+
.withOperation(data["operation"]);
|
|
65
|
+
};
|
|
66
|
+
ChangeSet.prototype.toDict = function () {
|
|
67
|
+
return {
|
|
68
|
+
"resourceName": this.getResourceName(),
|
|
69
|
+
"resourceType": this.getResourceType(),
|
|
70
|
+
"operation": this.getOperation(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
return ChangeSet;
|
|
74
|
+
}());
|
|
75
|
+
exports.default = ChangeSet;
|
|
76
|
+
//# sourceMappingURL=ChangeSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangeSet.js","sourceRoot":"","sources":["ChangeSet.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;IAoD1C,CAAC;IAnDU,mCAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IACM,mCAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mCAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IACM,mCAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,gCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,SAAS,EAAE;aACjB,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,0BAAM,GAAb;QACI,OAAO;YACH,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,gBAAC;AAAD,CAAC,AAvDD,IAuDC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class ChangeSet implements IModel {
|
|
20
|
+
private resourceName: string|null = null;
|
|
21
|
+
private resourceType: string|null = null;
|
|
22
|
+
private operation: string|null = null;
|
|
23
|
+
public getResourceName(): string|null {
|
|
24
|
+
return this.resourceName;
|
|
25
|
+
}
|
|
26
|
+
public setResourceName(resourceName: string|null) {
|
|
27
|
+
this.resourceName = resourceName;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withResourceName(resourceName: string|null): this {
|
|
31
|
+
this.resourceName = resourceName;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public getResourceType(): string|null {
|
|
35
|
+
return this.resourceType;
|
|
36
|
+
}
|
|
37
|
+
public setResourceType(resourceType: string|null) {
|
|
38
|
+
this.resourceType = resourceType;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
public withResourceType(resourceType: string|null): this {
|
|
42
|
+
this.resourceType = resourceType;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
public getOperation(): string|null {
|
|
46
|
+
return this.operation;
|
|
47
|
+
}
|
|
48
|
+
public setOperation(operation: string|null) {
|
|
49
|
+
this.operation = operation;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
public withOperation(operation: string|null): this {
|
|
53
|
+
this.operation = operation;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public static fromDict(data: {[key: string]: any}): ChangeSet|null {
|
|
58
|
+
if (data == undefined || data == null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return new ChangeSet()
|
|
62
|
+
.withResourceName(data["resourceName"])
|
|
63
|
+
.withResourceType(data["resourceType"])
|
|
64
|
+
.withOperation(data["operation"]);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public toDict(): {[key: string]: any} {
|
|
68
|
+
return {
|
|
69
|
+
"resourceName": this.getResourceName(),
|
|
70
|
+
"resourceType": this.getResourceType(),
|
|
71
|
+
"operation": this.getOperation(),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}
|
package/deploy/model/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import Stack from "./Stack";
|
|
|
2
2
|
import Resource from "./Resource";
|
|
3
3
|
import Event from "./Event";
|
|
4
4
|
import Output from "./Output";
|
|
5
|
-
import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
|
|
6
5
|
import OutputField from "./OutputField";
|
|
7
|
-
|
|
6
|
+
import ChangeSet from "./ChangeSet";
|
|
7
|
+
import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
|
|
8
|
+
export { Stack, Resource, Event, Output, OutputField, ChangeSet, GitHubCheckoutSetting, };
|
package/deploy/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GitHubCheckoutSetting = exports.ChangeSet = exports.OutputField = exports.Output = exports.Event = exports.Resource = exports.Stack = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -25,8 +25,10 @@ var Event_1 = tslib_1.__importDefault(require("./Event"));
|
|
|
25
25
|
exports.Event = Event_1.default;
|
|
26
26
|
var Output_1 = tslib_1.__importDefault(require("./Output"));
|
|
27
27
|
exports.Output = Output_1.default;
|
|
28
|
-
var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutSetting"));
|
|
29
|
-
exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
|
|
30
28
|
var OutputField_1 = tslib_1.__importDefault(require("./OutputField"));
|
|
31
29
|
exports.OutputField = OutputField_1.default;
|
|
30
|
+
var ChangeSet_1 = tslib_1.__importDefault(require("./ChangeSet"));
|
|
31
|
+
exports.ChangeSet = ChangeSet_1.default;
|
|
32
|
+
var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutSetting"));
|
|
33
|
+
exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
|
|
32
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0DAA2B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0DAA2B;AASvB,gBATG,eAAK,CASH;AART,gEAAiC;AAS7B,mBATG,kBAAQ,CASH;AARZ,0DAA2B;AASvB,gBATG,eAAK,CASH;AART,4DAA6B;AASzB,iBATG,gBAAM,CASH;AARV,sEAAuC;AASnC,sBATG,qBAAW,CASH;AARf,kEAAmC;AAS/B,oBATG,mBAAS,CASH;AARb,0FAA2D;AASvD,gCATG,+BAAqB,CASH"}
|
package/deploy/model/index.ts
CHANGED
|
@@ -17,14 +17,16 @@ import Stack from "./Stack"
|
|
|
17
17
|
import Resource from "./Resource"
|
|
18
18
|
import Event from "./Event"
|
|
19
19
|
import Output from "./Output"
|
|
20
|
-
import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
|
|
21
20
|
import OutputField from "./OutputField"
|
|
21
|
+
import ChangeSet from "./ChangeSet"
|
|
22
|
+
import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
|
|
22
23
|
|
|
23
24
|
export {
|
|
24
25
|
Stack,
|
|
25
26
|
Resource,
|
|
26
27
|
Event,
|
|
27
28
|
Output,
|
|
28
|
-
GitHubCheckoutSetting,
|
|
29
29
|
OutputField,
|
|
30
|
+
ChangeSet,
|
|
31
|
+
GitHubCheckoutSetting,
|
|
30
32
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class ChangeSetRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private stackName;
|
|
6
|
+
private template;
|
|
7
|
+
getRequestId(): string | null;
|
|
8
|
+
setRequestId(requestId: string | null): this;
|
|
9
|
+
withRequestId(requestId: string | null): this;
|
|
10
|
+
getContextStack(): string | null;
|
|
11
|
+
setContextStack(contextStack: string | null): this;
|
|
12
|
+
withContextStack(contextStack: string | null): this;
|
|
13
|
+
getStackName(): string | null;
|
|
14
|
+
setStackName(stackName: string | null): this;
|
|
15
|
+
withStackName(stackName: string | null): this;
|
|
16
|
+
getTemplate(): string | null;
|
|
17
|
+
setTemplate(template: string | null): this;
|
|
18
|
+
withTemplate(template: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): ChangeSetRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|