gs2 1.3.199 → 1.3.200
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/enhance/model/UnleashRateEntryModel.d.ts +17 -0
- package/enhance/model/UnleashRateEntryModel.js +62 -0
- package/enhance/model/UnleashRateEntryModel.js.map +1 -0
- package/enhance/model/UnleashRateEntryModel.ts +60 -0
- package/enhance/model/UnleashRateModel.d.ts +44 -0
- package/enhance/model/UnleashRateModel.js +207 -0
- package/enhance/model/UnleashRateModel.js.map +1 -0
- package/enhance/model/UnleashRateModel.ts +221 -0
- package/enhance/model/UnleashRateModelMaster.d.ts +56 -0
- package/enhance/model/UnleashRateModelMaster.js +249 -0
- package/enhance/model/UnleashRateModelMaster.js.map +1 -0
- package/enhance/model/UnleashRateModelMaster.ts +263 -0
- package/enhance/model/index.d.ts +4 -1
- package/enhance/model/index.js +7 -1
- package/enhance/model/index.js.map +1 -1
- package/enhance/model/index.ts +6 -0
- package/enhance/request/CreateUnleashRateModelMasterRequest.d.ts +46 -0
- package/enhance/request/CreateUnleashRateModelMasterRequest.js +161 -0
- package/enhance/request/CreateUnleashRateModelMasterRequest.js.map +1 -0
- package/enhance/request/CreateUnleashRateModelMasterRequest.ts +168 -0
- package/enhance/request/DeleteUnleashRateModelMasterRequest.d.ts +25 -0
- package/enhance/request/DeleteUnleashRateModelMasterRequest.js +83 -0
- package/enhance/request/DeleteUnleashRateModelMasterRequest.js.map +1 -0
- package/enhance/request/DeleteUnleashRateModelMasterRequest.ts +90 -0
- package/enhance/request/DescribeUnleashRateModelMastersRequest.d.ts +29 -0
- package/enhance/request/DescribeUnleashRateModelMastersRequest.js +97 -0
- package/enhance/request/DescribeUnleashRateModelMastersRequest.js.map +1 -0
- package/enhance/request/DescribeUnleashRateModelMastersRequest.ts +104 -0
- package/enhance/request/DescribeUnleashRateModelsRequest.d.ts +21 -0
- package/enhance/request/DescribeUnleashRateModelsRequest.js +69 -0
- package/enhance/request/DescribeUnleashRateModelsRequest.js.map +1 -0
- package/enhance/request/DescribeUnleashRateModelsRequest.ts +76 -0
- package/enhance/request/GetUnleashRateModelMasterRequest.d.ts +25 -0
- package/enhance/request/GetUnleashRateModelMasterRequest.js +83 -0
- package/enhance/request/GetUnleashRateModelMasterRequest.js.map +1 -0
- package/enhance/request/GetUnleashRateModelMasterRequest.ts +90 -0
- package/enhance/request/GetUnleashRateModelRequest.d.ts +25 -0
- package/enhance/request/GetUnleashRateModelRequest.js +83 -0
- package/enhance/request/GetUnleashRateModelRequest.js.map +1 -0
- package/enhance/request/GetUnleashRateModelRequest.ts +90 -0
- package/enhance/request/UnleashByStampSheetRequest.d.ts +25 -0
- package/enhance/request/UnleashByStampSheetRequest.js +83 -0
- package/enhance/request/UnleashByStampSheetRequest.js.map +1 -0
- package/enhance/request/UnleashByStampSheetRequest.ts +90 -0
- package/enhance/request/UnleashByUserIdRequest.d.ts +46 -0
- package/enhance/request/UnleashByUserIdRequest.js +165 -0
- package/enhance/request/UnleashByUserIdRequest.js.map +1 -0
- package/enhance/request/UnleashByUserIdRequest.ts +177 -0
- package/enhance/request/UnleashRequest.d.ts +46 -0
- package/enhance/request/UnleashRequest.js +165 -0
- package/enhance/request/UnleashRequest.js.map +1 -0
- package/enhance/request/UnleashRequest.ts +177 -0
- package/enhance/request/UpdateUnleashRateModelMasterRequest.d.ts +46 -0
- package/enhance/request/UpdateUnleashRateModelMasterRequest.js +161 -0
- package/enhance/request/UpdateUnleashRateModelMasterRequest.js.map +1 -0
- package/enhance/request/UpdateUnleashRateModelMasterRequest.ts +168 -0
- package/enhance/request/index.d.ts +11 -1
- package/enhance/request/index.js +21 -1
- package/enhance/request/index.js.map +1 -1
- package/enhance/request/index.ts +20 -0
- package/enhance/rest.d.ts +10 -0
- package/enhance/rest.js +276 -0
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +316 -0
- package/enhance/result/CreateUnleashRateModelMasterResult.d.ts +14 -0
- package/enhance/result/CreateUnleashRateModelMasterResult.js +48 -0
- package/enhance/result/CreateUnleashRateModelMasterResult.js.map +1 -0
- package/enhance/result/CreateUnleashRateModelMasterResult.ts +48 -0
- package/enhance/result/DeleteUnleashRateModelMasterResult.d.ts +14 -0
- package/enhance/result/DeleteUnleashRateModelMasterResult.js +48 -0
- package/enhance/result/DeleteUnleashRateModelMasterResult.js.map +1 -0
- package/enhance/result/DeleteUnleashRateModelMasterResult.ts +48 -0
- package/enhance/result/DescribeUnleashRateModelMastersResult.d.ts +18 -0
- package/enhance/result/DescribeUnleashRateModelMastersResult.js +67 -0
- package/enhance/result/DescribeUnleashRateModelMastersResult.js.map +1 -0
- package/enhance/result/DescribeUnleashRateModelMastersResult.ts +73 -0
- package/enhance/result/DescribeUnleashRateModelsResult.d.ts +14 -0
- package/enhance/result/DescribeUnleashRateModelsResult.js +53 -0
- package/enhance/result/DescribeUnleashRateModelsResult.js.map +1 -0
- package/enhance/result/DescribeUnleashRateModelsResult.ts +56 -0
- package/enhance/result/GetUnleashRateModelMasterResult.d.ts +14 -0
- package/enhance/result/GetUnleashRateModelMasterResult.js +48 -0
- package/enhance/result/GetUnleashRateModelMasterResult.js.map +1 -0
- package/enhance/result/GetUnleashRateModelMasterResult.ts +48 -0
- package/enhance/result/GetUnleashRateModelResult.d.ts +14 -0
- package/enhance/result/GetUnleashRateModelResult.js +48 -0
- package/enhance/result/GetUnleashRateModelResult.js.map +1 -0
- package/enhance/result/GetUnleashRateModelResult.ts +48 -0
- package/enhance/result/UnleashByStampSheetResult.d.ts +30 -0
- package/enhance/result/UnleashByStampSheetResult.js +104 -0
- package/enhance/result/UnleashByStampSheetResult.js.map +1 -0
- package/enhance/result/UnleashByStampSheetResult.ts +116 -0
- package/enhance/result/UnleashByUserIdResult.d.ts +30 -0
- package/enhance/result/UnleashByUserIdResult.js +104 -0
- package/enhance/result/UnleashByUserIdResult.js.map +1 -0
- package/enhance/result/UnleashByUserIdResult.ts +116 -0
- package/enhance/result/UnleashResult.d.ts +30 -0
- package/enhance/result/UnleashResult.js +104 -0
- package/enhance/result/UnleashResult.js.map +1 -0
- package/enhance/result/UnleashResult.ts +116 -0
- package/enhance/result/UpdateUnleashRateModelMasterResult.d.ts +14 -0
- package/enhance/result/UpdateUnleashRateModelMasterResult.js +48 -0
- package/enhance/result/UpdateUnleashRateModelMasterResult.js.map +1 -0
- package/enhance/result/UpdateUnleashRateModelMasterResult.ts +48 -0
- package/enhance/result/index.d.ts +11 -1
- package/enhance/result/index.js +21 -1
- package/enhance/result/index.js.map +1 -1
- package/enhance/result/index.ts +20 -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 Gs2Enhance from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetUnleashRateModelResult implements IResult {
|
|
22
|
+
private item: Gs2Enhance.UnleashRateModel|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Enhance.UnleashRateModel|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Enhance.UnleashRateModel|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Enhance.UnleashRateModel|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetUnleashRateModelResult {
|
|
39
|
+
return new GetUnleashRateModelResult()
|
|
40
|
+
.withItem(Gs2Enhance.UnleashRateModel.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Enhance from '../model';
|
|
3
|
+
export default class UnleashByStampSheetResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private stampSheet;
|
|
7
|
+
private stampSheetEncryptionKeyId;
|
|
8
|
+
private autoRunStampSheet;
|
|
9
|
+
getItem(): Gs2Enhance.UnleashRateModel | null;
|
|
10
|
+
setItem(item: Gs2Enhance.UnleashRateModel | null): this;
|
|
11
|
+
withItem(item: Gs2Enhance.UnleashRateModel | null): this;
|
|
12
|
+
getTransactionId(): string | null;
|
|
13
|
+
setTransactionId(transactionId: string | null): this;
|
|
14
|
+
withTransactionId(transactionId: string | null): this;
|
|
15
|
+
getStampSheet(): string | null;
|
|
16
|
+
setStampSheet(stampSheet: string | null): this;
|
|
17
|
+
withStampSheet(stampSheet: string | null): this;
|
|
18
|
+
getStampSheetEncryptionKeyId(): string | null;
|
|
19
|
+
setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
20
|
+
withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
21
|
+
getAutoRunStampSheet(): boolean | null;
|
|
22
|
+
setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
23
|
+
withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
24
|
+
static fromDict(data: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}): UnleashByStampSheetResult;
|
|
27
|
+
toDict(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 Gs2Enhance = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var UnleashByStampSheetResult = /** @class */ (function () {
|
|
21
|
+
function UnleashByStampSheetResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.transactionId = null;
|
|
24
|
+
this.stampSheet = null;
|
|
25
|
+
this.stampSheetEncryptionKeyId = null;
|
|
26
|
+
this.autoRunStampSheet = null;
|
|
27
|
+
}
|
|
28
|
+
UnleashByStampSheetResult.prototype.getItem = function () {
|
|
29
|
+
return this.item;
|
|
30
|
+
};
|
|
31
|
+
UnleashByStampSheetResult.prototype.setItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
UnleashByStampSheetResult.prototype.withItem = function (item) {
|
|
36
|
+
this.item = item;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
UnleashByStampSheetResult.prototype.getTransactionId = function () {
|
|
40
|
+
return this.transactionId;
|
|
41
|
+
};
|
|
42
|
+
UnleashByStampSheetResult.prototype.setTransactionId = function (transactionId) {
|
|
43
|
+
this.transactionId = transactionId;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
UnleashByStampSheetResult.prototype.withTransactionId = function (transactionId) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
UnleashByStampSheetResult.prototype.getStampSheet = function () {
|
|
51
|
+
return this.stampSheet;
|
|
52
|
+
};
|
|
53
|
+
UnleashByStampSheetResult.prototype.setStampSheet = function (stampSheet) {
|
|
54
|
+
this.stampSheet = stampSheet;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
UnleashByStampSheetResult.prototype.withStampSheet = function (stampSheet) {
|
|
58
|
+
this.stampSheet = stampSheet;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
UnleashByStampSheetResult.prototype.getStampSheetEncryptionKeyId = function () {
|
|
62
|
+
return this.stampSheetEncryptionKeyId;
|
|
63
|
+
};
|
|
64
|
+
UnleashByStampSheetResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
65
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
UnleashByStampSheetResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
69
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
UnleashByStampSheetResult.prototype.getAutoRunStampSheet = function () {
|
|
73
|
+
return this.autoRunStampSheet;
|
|
74
|
+
};
|
|
75
|
+
UnleashByStampSheetResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
|
|
76
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
UnleashByStampSheetResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
|
|
80
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
UnleashByStampSheetResult.fromDict = function (data) {
|
|
84
|
+
return new UnleashByStampSheetResult()
|
|
85
|
+
.withItem(Gs2Enhance.UnleashRateModel.fromDict(data["item"]))
|
|
86
|
+
.withTransactionId(data["transactionId"])
|
|
87
|
+
.withStampSheet(data["stampSheet"])
|
|
88
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
89
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
90
|
+
};
|
|
91
|
+
UnleashByStampSheetResult.prototype.toDict = function () {
|
|
92
|
+
var _a;
|
|
93
|
+
return {
|
|
94
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
95
|
+
"transactionId": this.getTransactionId(),
|
|
96
|
+
"stampSheet": this.getStampSheet(),
|
|
97
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
98
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
return UnleashByStampSheetResult;
|
|
102
|
+
}());
|
|
103
|
+
exports.default = UnleashByStampSheetResult;
|
|
104
|
+
//# sourceMappingURL=UnleashByStampSheetResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnleashByStampSheetResult.js","sourceRoot":"","sources":["UnleashByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAqC,IAAI,CAAC;QAC9C,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,C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|
+
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 Gs2Enhance from '../model'
|
|
20
|
+
|
|
21
|
+
export default class UnleashByStampSheetResult implements IResult {
|
|
22
|
+
private item: Gs2Enhance.UnleashRateModel|null = null;
|
|
23
|
+
private transactionId: string|null = null;
|
|
24
|
+
private stampSheet: string|null = null;
|
|
25
|
+
private stampSheetEncryptionKeyId: string|null = null;
|
|
26
|
+
private autoRunStampSheet: boolean|null = null;
|
|
27
|
+
|
|
28
|
+
public getItem(): Gs2Enhance.UnleashRateModel|null {
|
|
29
|
+
return this.item;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItem(item: Gs2Enhance.UnleashRateModel|null) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItem(item: Gs2Enhance.UnleashRateModel|null): this {
|
|
38
|
+
this.item = item;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getTransactionId(): string|null {
|
|
43
|
+
return this.transactionId;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setTransactionId(transactionId: string|null) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withTransactionId(transactionId: string|null): this {
|
|
52
|
+
this.transactionId = transactionId;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getStampSheet(): string|null {
|
|
57
|
+
return this.stampSheet;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setStampSheet(stampSheet: string|null) {
|
|
61
|
+
this.stampSheet = stampSheet;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
66
|
+
this.stampSheet = stampSheet;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getStampSheetEncryptionKeyId(): string|null {
|
|
71
|
+
return this.stampSheetEncryptionKeyId;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
|
|
75
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
|
|
80
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getAutoRunStampSheet(): boolean|null {
|
|
85
|
+
return this.autoRunStampSheet;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
|
|
89
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
|
|
94
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public static fromDict(data: {[key: string]: any}): UnleashByStampSheetResult {
|
|
99
|
+
return new UnleashByStampSheetResult()
|
|
100
|
+
.withItem(Gs2Enhance.UnleashRateModel.fromDict(data["item"]))
|
|
101
|
+
.withTransactionId(data["transactionId"])
|
|
102
|
+
.withStampSheet(data["stampSheet"])
|
|
103
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
104
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public toDict(): {[key: string]: any} {
|
|
108
|
+
return {
|
|
109
|
+
"item": this.getItem()?.toDict(),
|
|
110
|
+
"transactionId": this.getTransactionId(),
|
|
111
|
+
"stampSheet": this.getStampSheet(),
|
|
112
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
113
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Enhance from '../model';
|
|
3
|
+
export default class UnleashByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private stampSheet;
|
|
7
|
+
private stampSheetEncryptionKeyId;
|
|
8
|
+
private autoRunStampSheet;
|
|
9
|
+
getItem(): Gs2Enhance.UnleashRateModel | null;
|
|
10
|
+
setItem(item: Gs2Enhance.UnleashRateModel | null): this;
|
|
11
|
+
withItem(item: Gs2Enhance.UnleashRateModel | null): this;
|
|
12
|
+
getTransactionId(): string | null;
|
|
13
|
+
setTransactionId(transactionId: string | null): this;
|
|
14
|
+
withTransactionId(transactionId: string | null): this;
|
|
15
|
+
getStampSheet(): string | null;
|
|
16
|
+
setStampSheet(stampSheet: string | null): this;
|
|
17
|
+
withStampSheet(stampSheet: string | null): this;
|
|
18
|
+
getStampSheetEncryptionKeyId(): string | null;
|
|
19
|
+
setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
20
|
+
withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
21
|
+
getAutoRunStampSheet(): boolean | null;
|
|
22
|
+
setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
23
|
+
withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
24
|
+
static fromDict(data: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}): UnleashByUserIdResult;
|
|
27
|
+
toDict(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 Gs2Enhance = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var UnleashByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function UnleashByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.transactionId = null;
|
|
24
|
+
this.stampSheet = null;
|
|
25
|
+
this.stampSheetEncryptionKeyId = null;
|
|
26
|
+
this.autoRunStampSheet = null;
|
|
27
|
+
}
|
|
28
|
+
UnleashByUserIdResult.prototype.getItem = function () {
|
|
29
|
+
return this.item;
|
|
30
|
+
};
|
|
31
|
+
UnleashByUserIdResult.prototype.setItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
UnleashByUserIdResult.prototype.withItem = function (item) {
|
|
36
|
+
this.item = item;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
UnleashByUserIdResult.prototype.getTransactionId = function () {
|
|
40
|
+
return this.transactionId;
|
|
41
|
+
};
|
|
42
|
+
UnleashByUserIdResult.prototype.setTransactionId = function (transactionId) {
|
|
43
|
+
this.transactionId = transactionId;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
UnleashByUserIdResult.prototype.withTransactionId = function (transactionId) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
UnleashByUserIdResult.prototype.getStampSheet = function () {
|
|
51
|
+
return this.stampSheet;
|
|
52
|
+
};
|
|
53
|
+
UnleashByUserIdResult.prototype.setStampSheet = function (stampSheet) {
|
|
54
|
+
this.stampSheet = stampSheet;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
UnleashByUserIdResult.prototype.withStampSheet = function (stampSheet) {
|
|
58
|
+
this.stampSheet = stampSheet;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
UnleashByUserIdResult.prototype.getStampSheetEncryptionKeyId = function () {
|
|
62
|
+
return this.stampSheetEncryptionKeyId;
|
|
63
|
+
};
|
|
64
|
+
UnleashByUserIdResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
65
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
UnleashByUserIdResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
69
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
UnleashByUserIdResult.prototype.getAutoRunStampSheet = function () {
|
|
73
|
+
return this.autoRunStampSheet;
|
|
74
|
+
};
|
|
75
|
+
UnleashByUserIdResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
|
|
76
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
UnleashByUserIdResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
|
|
80
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
UnleashByUserIdResult.fromDict = function (data) {
|
|
84
|
+
return new UnleashByUserIdResult()
|
|
85
|
+
.withItem(Gs2Enhance.UnleashRateModel.fromDict(data["item"]))
|
|
86
|
+
.withTransactionId(data["transactionId"])
|
|
87
|
+
.withStampSheet(data["stampSheet"])
|
|
88
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
89
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
90
|
+
};
|
|
91
|
+
UnleashByUserIdResult.prototype.toDict = function () {
|
|
92
|
+
var _a;
|
|
93
|
+
return {
|
|
94
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
95
|
+
"transactionId": this.getTransactionId(),
|
|
96
|
+
"stampSheet": this.getStampSheet(),
|
|
97
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
98
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
return UnleashByUserIdResult;
|
|
102
|
+
}());
|
|
103
|
+
exports.default = UnleashByUserIdResult;
|
|
104
|
+
//# sourceMappingURL=UnleashByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnleashByUserIdResult.js","sourceRoot":"","sources":["UnleashByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAqC,IAA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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 Gs2Enhance from '../model'
|
|
20
|
+
|
|
21
|
+
export default class UnleashByUserIdResult implements IResult {
|
|
22
|
+
private item: Gs2Enhance.UnleashRateModel|null = null;
|
|
23
|
+
private transactionId: string|null = null;
|
|
24
|
+
private stampSheet: string|null = null;
|
|
25
|
+
private stampSheetEncryptionKeyId: string|null = null;
|
|
26
|
+
private autoRunStampSheet: boolean|null = null;
|
|
27
|
+
|
|
28
|
+
public getItem(): Gs2Enhance.UnleashRateModel|null {
|
|
29
|
+
return this.item;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItem(item: Gs2Enhance.UnleashRateModel|null) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItem(item: Gs2Enhance.UnleashRateModel|null): this {
|
|
38
|
+
this.item = item;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getTransactionId(): string|null {
|
|
43
|
+
return this.transactionId;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setTransactionId(transactionId: string|null) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withTransactionId(transactionId: string|null): this {
|
|
52
|
+
this.transactionId = transactionId;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getStampSheet(): string|null {
|
|
57
|
+
return this.stampSheet;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setStampSheet(stampSheet: string|null) {
|
|
61
|
+
this.stampSheet = stampSheet;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
66
|
+
this.stampSheet = stampSheet;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getStampSheetEncryptionKeyId(): string|null {
|
|
71
|
+
return this.stampSheetEncryptionKeyId;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
|
|
75
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
|
|
80
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getAutoRunStampSheet(): boolean|null {
|
|
85
|
+
return this.autoRunStampSheet;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
|
|
89
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
|
|
94
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public static fromDict(data: {[key: string]: any}): UnleashByUserIdResult {
|
|
99
|
+
return new UnleashByUserIdResult()
|
|
100
|
+
.withItem(Gs2Enhance.UnleashRateModel.fromDict(data["item"]))
|
|
101
|
+
.withTransactionId(data["transactionId"])
|
|
102
|
+
.withStampSheet(data["stampSheet"])
|
|
103
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
104
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public toDict(): {[key: string]: any} {
|
|
108
|
+
return {
|
|
109
|
+
"item": this.getItem()?.toDict(),
|
|
110
|
+
"transactionId": this.getTransactionId(),
|
|
111
|
+
"stampSheet": this.getStampSheet(),
|
|
112
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
113
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Enhance from '../model';
|
|
3
|
+
export default class UnleashResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private stampSheet;
|
|
7
|
+
private stampSheetEncryptionKeyId;
|
|
8
|
+
private autoRunStampSheet;
|
|
9
|
+
getItem(): Gs2Enhance.UnleashRateModel | null;
|
|
10
|
+
setItem(item: Gs2Enhance.UnleashRateModel | null): this;
|
|
11
|
+
withItem(item: Gs2Enhance.UnleashRateModel | null): this;
|
|
12
|
+
getTransactionId(): string | null;
|
|
13
|
+
setTransactionId(transactionId: string | null): this;
|
|
14
|
+
withTransactionId(transactionId: string | null): this;
|
|
15
|
+
getStampSheet(): string | null;
|
|
16
|
+
setStampSheet(stampSheet: string | null): this;
|
|
17
|
+
withStampSheet(stampSheet: string | null): this;
|
|
18
|
+
getStampSheetEncryptionKeyId(): string | null;
|
|
19
|
+
setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
20
|
+
withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
21
|
+
getAutoRunStampSheet(): boolean | null;
|
|
22
|
+
setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
23
|
+
withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
24
|
+
static fromDict(data: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}): UnleashResult;
|
|
27
|
+
toDict(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|