gs2 1.4.43 → 1.4.45
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/formation/request/SetFormRequest.d.ts +42 -0
- package/formation/request/SetFormRequest.js +145 -0
- package/formation/request/SetFormRequest.js.map +1 -0
- package/formation/request/SetFormRequest.ts +155 -0
- package/formation/request/SetPropertyFormRequest.d.ts +42 -0
- package/formation/request/SetPropertyFormRequest.js +145 -0
- package/formation/request/SetPropertyFormRequest.js.map +1 -0
- package/formation/request/SetPropertyFormRequest.ts +155 -0
- package/formation/request/index.d.ts +3 -1
- package/formation/request/index.js +5 -1
- package/formation/request/index.js.map +1 -1
- package/formation/request/index.ts +4 -0
- package/formation/rest.d.ts +2 -0
- package/formation/rest.js +70 -0
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +78 -0
- package/formation/result/SetFormResult.d.ts +26 -0
- package/formation/result/SetFormResult.js +90 -0
- package/formation/result/SetFormResult.js.map +1 -0
- package/formation/result/SetFormResult.ts +98 -0
- package/formation/result/SetPropertyFormResult.d.ts +18 -0
- package/formation/result/SetPropertyFormResult.js +62 -0
- package/formation/result/SetPropertyFormResult.js.map +1 -0
- package/formation/result/SetPropertyFormResult.ts +64 -0
- package/formation/result/index.d.ts +3 -1
- package/formation/result/index.js +5 -1
- package/formation/result/index.js.map +1 -1
- package/formation/result/index.ts +4 -0
- package/package.json +1 -1
- package/stamina/request/ApplyStaminaByUserIdRequest.d.ts +37 -0
- package/stamina/request/ApplyStaminaByUserIdRequest.js +123 -0
- package/stamina/request/ApplyStaminaByUserIdRequest.js.map +1 -0
- package/stamina/request/ApplyStaminaByUserIdRequest.ts +133 -0
- package/stamina/request/ApplyStaminaRequest.d.ts +33 -0
- package/stamina/request/ApplyStaminaRequest.js +109 -0
- package/stamina/request/ApplyStaminaRequest.js.map +1 -0
- package/stamina/request/ApplyStaminaRequest.ts +119 -0
- package/stamina/request/index.d.ts +3 -1
- package/stamina/request/index.js +6 -2
- package/stamina/request/index.js.map +1 -1
- package/stamina/request/index.ts +4 -0
- package/stamina/rest.d.ts +2 -0
- package/stamina/rest.js +67 -0
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +75 -0
- package/stamina/result/ApplyStaminaByUserIdResult.d.ts +18 -0
- package/stamina/result/ApplyStaminaByUserIdResult.js +62 -0
- package/stamina/result/ApplyStaminaByUserIdResult.js.map +1 -0
- package/stamina/result/ApplyStaminaByUserIdResult.ts +64 -0
- package/stamina/result/ApplyStaminaResult.d.ts +18 -0
- package/stamina/result/ApplyStaminaResult.js +62 -0
- package/stamina/result/ApplyStaminaResult.js.map +1 -0
- package/stamina/result/ApplyStaminaResult.ts +64 -0
- package/stamina/result/index.d.ts +3 -1
- package/stamina/result/index.js +6 -2
- package/stamina/result/index.js.map +1 -1
- package/stamina/result/index.ts +4 -0
|
@@ -0,0 +1,90 @@
|
|
|
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 Gs2Formation = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var SetFormResult = /** @class */ (function () {
|
|
21
|
+
function SetFormResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.mold = null;
|
|
24
|
+
this.moldModel = null;
|
|
25
|
+
this.formModel = null;
|
|
26
|
+
}
|
|
27
|
+
SetFormResult.prototype.getItem = function () {
|
|
28
|
+
return this.item;
|
|
29
|
+
};
|
|
30
|
+
SetFormResult.prototype.setItem = function (item) {
|
|
31
|
+
this.item = item;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
SetFormResult.prototype.withItem = function (item) {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
SetFormResult.prototype.getMold = function () {
|
|
39
|
+
return this.mold;
|
|
40
|
+
};
|
|
41
|
+
SetFormResult.prototype.setMold = function (mold) {
|
|
42
|
+
this.mold = mold;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
SetFormResult.prototype.withMold = function (mold) {
|
|
46
|
+
this.mold = mold;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
SetFormResult.prototype.getMoldModel = function () {
|
|
50
|
+
return this.moldModel;
|
|
51
|
+
};
|
|
52
|
+
SetFormResult.prototype.setMoldModel = function (moldModel) {
|
|
53
|
+
this.moldModel = moldModel;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
SetFormResult.prototype.withMoldModel = function (moldModel) {
|
|
57
|
+
this.moldModel = moldModel;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
SetFormResult.prototype.getFormModel = function () {
|
|
61
|
+
return this.formModel;
|
|
62
|
+
};
|
|
63
|
+
SetFormResult.prototype.setFormModel = function (formModel) {
|
|
64
|
+
this.formModel = formModel;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
SetFormResult.prototype.withFormModel = function (formModel) {
|
|
68
|
+
this.formModel = formModel;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
SetFormResult.fromDict = function (data) {
|
|
72
|
+
return new SetFormResult()
|
|
73
|
+
.withItem(Gs2Formation.Form.fromDict(data["item"]))
|
|
74
|
+
.withMold(Gs2Formation.Mold.fromDict(data["mold"]))
|
|
75
|
+
.withMoldModel(Gs2Formation.MoldModel.fromDict(data["moldModel"]))
|
|
76
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
77
|
+
};
|
|
78
|
+
SetFormResult.prototype.toDict = function () {
|
|
79
|
+
var _a, _b, _c, _d;
|
|
80
|
+
return {
|
|
81
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
82
|
+
"mold": (_b = this.getMold()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
83
|
+
"moldModel": (_c = this.getMoldModel()) === null || _c === void 0 ? void 0 : _c.toDict(),
|
|
84
|
+
"formModel": (_d = this.getFormModel()) === null || _d === void 0 ? void 0 : _d.toDict(),
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
return SetFormResult;
|
|
88
|
+
}());
|
|
89
|
+
exports.default = SetFormResult;
|
|
90
|
+
//# sourceMappingURL=SetFormResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetFormResult.js","sourceRoot":"","sources":["SetFormResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;QACpC,SAAI,GAA2B,IAAI,CAAC;QACpC,cAAS,GAAgC,IAAI,CAAC;QAC9C,cAAS,GAAgC,IAAI,CAAC;IA0E1D,CAAC;IAxEU,+BAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,+BAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+BAAO,GAAd;QAC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C,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;IAEM,8BAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,WAAW,EAAE,MAAA,IAAI,CAAC,YAAY,EAAE,0CAAE,MAAM,EAAE;YAC1C,WAAW,EAAE,MAAA,IAAI,CAAC,YAAY,EAAE,0CAAE,MAAM,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,oBAAC;AAAD,CAAC,AA9ED,IA8EC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Formation from '../model'
|
|
19
|
+
|
|
20
|
+
export default class SetFormResult implements IResult {
|
|
21
|
+
private item: Gs2Formation.Form|null = null;
|
|
22
|
+
private mold: Gs2Formation.Mold|null = null;
|
|
23
|
+
private moldModel: Gs2Formation.MoldModel|null = null;
|
|
24
|
+
private formModel: Gs2Formation.FormModel|null = null;
|
|
25
|
+
|
|
26
|
+
public getItem(): Gs2Formation.Form|null {
|
|
27
|
+
return this.item;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public setItem(item: Gs2Formation.Form|null) {
|
|
31
|
+
this.item = item;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public withItem(item: Gs2Formation.Form|null): this {
|
|
36
|
+
this.item = item;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public getMold(): Gs2Formation.Mold|null {
|
|
41
|
+
return this.mold;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public setMold(mold: Gs2Formation.Mold|null) {
|
|
45
|
+
this.mold = mold;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public withMold(mold: Gs2Formation.Mold|null): this {
|
|
50
|
+
this.mold = mold;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public getMoldModel(): Gs2Formation.MoldModel|null {
|
|
55
|
+
return this.moldModel;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public setMoldModel(moldModel: Gs2Formation.MoldModel|null) {
|
|
59
|
+
this.moldModel = moldModel;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public withMoldModel(moldModel: Gs2Formation.MoldModel|null): this {
|
|
64
|
+
this.moldModel = moldModel;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public getFormModel(): Gs2Formation.FormModel|null {
|
|
69
|
+
return this.formModel;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
public setFormModel(formModel: Gs2Formation.FormModel|null) {
|
|
73
|
+
this.formModel = formModel;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public withFormModel(formModel: Gs2Formation.FormModel|null): this {
|
|
78
|
+
this.formModel = formModel;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
public static fromDict(data: {[key: string]: any}): SetFormResult {
|
|
83
|
+
return new SetFormResult()
|
|
84
|
+
.withItem(Gs2Formation.Form.fromDict(data["item"]))
|
|
85
|
+
.withMold(Gs2Formation.Mold.fromDict(data["mold"]))
|
|
86
|
+
.withMoldModel(Gs2Formation.MoldModel.fromDict(data["moldModel"]))
|
|
87
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public toDict(): {[key: string]: any} {
|
|
91
|
+
return {
|
|
92
|
+
"item": this.getItem()?.toDict(),
|
|
93
|
+
"mold": this.getMold()?.toDict(),
|
|
94
|
+
"moldModel": this.getMoldModel()?.toDict(),
|
|
95
|
+
"formModel": this.getFormModel()?.toDict(),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Formation from '../model';
|
|
3
|
+
export default class SetPropertyFormResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private propertyFormModel;
|
|
6
|
+
getItem(): Gs2Formation.PropertyForm | null;
|
|
7
|
+
setItem(item: Gs2Formation.PropertyForm | null): this;
|
|
8
|
+
withItem(item: Gs2Formation.PropertyForm | null): this;
|
|
9
|
+
getPropertyFormModel(): Gs2Formation.PropertyFormModel | null;
|
|
10
|
+
setPropertyFormModel(propertyFormModel: Gs2Formation.PropertyFormModel | null): this;
|
|
11
|
+
withPropertyFormModel(propertyFormModel: Gs2Formation.PropertyFormModel | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): SetPropertyFormResult;
|
|
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 Gs2Formation = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var SetPropertyFormResult = /** @class */ (function () {
|
|
21
|
+
function SetPropertyFormResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.propertyFormModel = null;
|
|
24
|
+
}
|
|
25
|
+
SetPropertyFormResult.prototype.getItem = function () {
|
|
26
|
+
return this.item;
|
|
27
|
+
};
|
|
28
|
+
SetPropertyFormResult.prototype.setItem = function (item) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
SetPropertyFormResult.prototype.withItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
SetPropertyFormResult.prototype.getPropertyFormModel = function () {
|
|
37
|
+
return this.propertyFormModel;
|
|
38
|
+
};
|
|
39
|
+
SetPropertyFormResult.prototype.setPropertyFormModel = function (propertyFormModel) {
|
|
40
|
+
this.propertyFormModel = propertyFormModel;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
SetPropertyFormResult.prototype.withPropertyFormModel = function (propertyFormModel) {
|
|
44
|
+
this.propertyFormModel = propertyFormModel;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
SetPropertyFormResult.fromDict = function (data) {
|
|
48
|
+
return new SetPropertyFormResult()
|
|
49
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
50
|
+
.withPropertyFormModel(Gs2Formation.PropertyFormModel.fromDict(data["propertyFormModel"]));
|
|
51
|
+
};
|
|
52
|
+
SetPropertyFormResult.prototype.toDict = function () {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
return {
|
|
55
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"propertyFormModel": (_b = this.getPropertyFormModel()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return SetPropertyFormResult;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = SetPropertyFormResult;
|
|
62
|
+
//# sourceMappingURL=SetPropertyFormResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetPropertyFormResult.js","sourceRoot":"","sources":["SetPropertyFormResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;QAC5C,sBAAiB,GAAwC,IAAI,CAAC;IA0C1E,CAAC;IAxCU,uCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,uCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAoB,GAA3B;QACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAEM,oDAAoB,GAA3B,UAA4B,iBAAsD;QAC9E,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAqB,GAA5B,UAA6B,iBAAsD;QAC/E,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,qBAAqB,EAAE;aAC7B,QAAQ,CAAC,YAAY,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAC1D,qBAAqB,CAAC,YAAY,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACnG,CAAC;IAEM,sCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,mBAAmB,EAAE,MAAA,IAAI,CAAC,oBAAoB,EAAE,0CAAE,MAAM,EAAE;SAC7D,CAAC;IACN,CAAC;IACL,4BAAC;AAAD,CAAC,AA5CD,IA4CC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Formation from '../model'
|
|
19
|
+
|
|
20
|
+
export default class SetPropertyFormResult implements IResult {
|
|
21
|
+
private item: Gs2Formation.PropertyForm|null = null;
|
|
22
|
+
private propertyFormModel: Gs2Formation.PropertyFormModel|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Formation.PropertyForm|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Formation.PropertyForm|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Formation.PropertyForm|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public getPropertyFormModel(): Gs2Formation.PropertyFormModel|null {
|
|
39
|
+
return this.propertyFormModel;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public setPropertyFormModel(propertyFormModel: Gs2Formation.PropertyFormModel|null) {
|
|
43
|
+
this.propertyFormModel = propertyFormModel;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public withPropertyFormModel(propertyFormModel: Gs2Formation.PropertyFormModel|null): this {
|
|
48
|
+
this.propertyFormModel = propertyFormModel;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static fromDict(data: {[key: string]: any}): SetPropertyFormResult {
|
|
53
|
+
return new SetPropertyFormResult()
|
|
54
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
55
|
+
.withPropertyFormModel(Gs2Formation.PropertyFormModel.fromDict(data["propertyFormModel"]));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public toDict(): {[key: string]: any} {
|
|
59
|
+
return {
|
|
60
|
+
"item": this.getItem()?.toDict(),
|
|
61
|
+
"propertyFormModel": this.getPropertyFormModel()?.toDict(),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -54,6 +54,7 @@ import GetFormResult from "./GetFormResult";
|
|
|
54
54
|
import GetFormByUserIdResult from "./GetFormByUserIdResult";
|
|
55
55
|
import GetFormWithSignatureResult from "./GetFormWithSignatureResult";
|
|
56
56
|
import GetFormWithSignatureByUserIdResult from "./GetFormWithSignatureByUserIdResult";
|
|
57
|
+
import SetFormResult from "./SetFormResult";
|
|
57
58
|
import SetFormByUserIdResult from "./SetFormByUserIdResult";
|
|
58
59
|
import SetFormWithSignatureResult from "./SetFormWithSignatureResult";
|
|
59
60
|
import AcquireActionsToFormPropertiesResult from "./AcquireActionsToFormPropertiesResult";
|
|
@@ -67,10 +68,11 @@ import GetPropertyFormResult from "./GetPropertyFormResult";
|
|
|
67
68
|
import GetPropertyFormByUserIdResult from "./GetPropertyFormByUserIdResult";
|
|
68
69
|
import GetPropertyFormWithSignatureResult from "./GetPropertyFormWithSignatureResult";
|
|
69
70
|
import GetPropertyFormWithSignatureByUserIdResult from "./GetPropertyFormWithSignatureByUserIdResult";
|
|
71
|
+
import SetPropertyFormResult from "./SetPropertyFormResult";
|
|
70
72
|
import SetPropertyFormByUserIdResult from "./SetPropertyFormByUserIdResult";
|
|
71
73
|
import SetPropertyFormWithSignatureResult from "./SetPropertyFormWithSignatureResult";
|
|
72
74
|
import AcquireActionsToPropertyFormPropertiesResult from "./AcquireActionsToPropertyFormPropertiesResult";
|
|
73
75
|
import DeletePropertyFormResult from "./DeletePropertyFormResult";
|
|
74
76
|
import DeletePropertyFormByUserIdResult from "./DeletePropertyFormByUserIdResult";
|
|
75
77
|
import AcquireActionToPropertyFormPropertiesByStampSheetResult from "./AcquireActionToPropertyFormPropertiesByStampSheetResult";
|
|
76
|
-
export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DumpUserDataByUserIdResult, CheckDumpUserDataByUserIdResult, CleanUserDataByUserIdResult, CheckCleanUserDataByUserIdResult, PrepareImportUserDataByUserIdResult, ImportUserDataByUserIdResult, CheckImportUserDataByUserIdResult, GetFormModelResult, DescribeFormModelMastersResult, CreateFormModelMasterResult, GetFormModelMasterResult, UpdateFormModelMasterResult, DeleteFormModelMasterResult, DescribeMoldModelsResult, GetMoldModelResult, DescribeMoldModelMastersResult, CreateMoldModelMasterResult, GetMoldModelMasterResult, UpdateMoldModelMasterResult, DeleteMoldModelMasterResult, DescribePropertyFormModelsResult, GetPropertyFormModelResult, DescribePropertyFormModelMastersResult, CreatePropertyFormModelMasterResult, GetPropertyFormModelMasterResult, UpdatePropertyFormModelMasterResult, DeletePropertyFormModelMasterResult, ExportMasterResult, GetCurrentFormMasterResult, UpdateCurrentFormMasterResult, UpdateCurrentFormMasterFromGitHubResult, DescribeMoldsResult, DescribeMoldsByUserIdResult, GetMoldResult, GetMoldByUserIdResult, SetMoldCapacityByUserIdResult, AddMoldCapacityByUserIdResult, SubMoldCapacityResult, SubMoldCapacityByUserIdResult, DeleteMoldResult, DeleteMoldByUserIdResult, AddCapacityByStampSheetResult, SubCapacityByStampTaskResult, SetCapacityByStampSheetResult, DescribeFormsResult, DescribeFormsByUserIdResult, GetFormResult, GetFormByUserIdResult, GetFormWithSignatureResult, GetFormWithSignatureByUserIdResult, SetFormByUserIdResult, SetFormWithSignatureResult, AcquireActionsToFormPropertiesResult, DeleteFormResult, DeleteFormByUserIdResult, AcquireActionToFormPropertiesByStampSheetResult, SetFormByStampSheetResult, DescribePropertyFormsResult, DescribePropertyFormsByUserIdResult, GetPropertyFormResult, GetPropertyFormByUserIdResult, GetPropertyFormWithSignatureResult, GetPropertyFormWithSignatureByUserIdResult, SetPropertyFormByUserIdResult, SetPropertyFormWithSignatureResult, AcquireActionsToPropertyFormPropertiesResult, DeletePropertyFormResult, DeletePropertyFormByUserIdResult, AcquireActionToPropertyFormPropertiesByStampSheetResult, };
|
|
78
|
+
export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DumpUserDataByUserIdResult, CheckDumpUserDataByUserIdResult, CleanUserDataByUserIdResult, CheckCleanUserDataByUserIdResult, PrepareImportUserDataByUserIdResult, ImportUserDataByUserIdResult, CheckImportUserDataByUserIdResult, GetFormModelResult, DescribeFormModelMastersResult, CreateFormModelMasterResult, GetFormModelMasterResult, UpdateFormModelMasterResult, DeleteFormModelMasterResult, DescribeMoldModelsResult, GetMoldModelResult, DescribeMoldModelMastersResult, CreateMoldModelMasterResult, GetMoldModelMasterResult, UpdateMoldModelMasterResult, DeleteMoldModelMasterResult, DescribePropertyFormModelsResult, GetPropertyFormModelResult, DescribePropertyFormModelMastersResult, CreatePropertyFormModelMasterResult, GetPropertyFormModelMasterResult, UpdatePropertyFormModelMasterResult, DeletePropertyFormModelMasterResult, ExportMasterResult, GetCurrentFormMasterResult, UpdateCurrentFormMasterResult, UpdateCurrentFormMasterFromGitHubResult, DescribeMoldsResult, DescribeMoldsByUserIdResult, GetMoldResult, GetMoldByUserIdResult, SetMoldCapacityByUserIdResult, AddMoldCapacityByUserIdResult, SubMoldCapacityResult, SubMoldCapacityByUserIdResult, DeleteMoldResult, DeleteMoldByUserIdResult, AddCapacityByStampSheetResult, SubCapacityByStampTaskResult, SetCapacityByStampSheetResult, DescribeFormsResult, DescribeFormsByUserIdResult, GetFormResult, GetFormByUserIdResult, GetFormWithSignatureResult, GetFormWithSignatureByUserIdResult, SetFormResult, SetFormByUserIdResult, SetFormWithSignatureResult, AcquireActionsToFormPropertiesResult, DeleteFormResult, DeleteFormByUserIdResult, AcquireActionToFormPropertiesByStampSheetResult, SetFormByStampSheetResult, DescribePropertyFormsResult, DescribePropertyFormsByUserIdResult, GetPropertyFormResult, GetPropertyFormByUserIdResult, GetPropertyFormWithSignatureResult, GetPropertyFormWithSignatureByUserIdResult, SetPropertyFormResult, SetPropertyFormByUserIdResult, SetPropertyFormWithSignatureResult, AcquireActionsToPropertyFormPropertiesResult, DeletePropertyFormResult, DeletePropertyFormByUserIdResult, AcquireActionToPropertyFormPropertiesByStampSheetResult, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetCapacityByStampSheetResult = exports.SubCapacityByStampTaskResult = exports.AddCapacityByStampSheetResult = exports.DeleteMoldByUserIdResult = exports.DeleteMoldResult = exports.SubMoldCapacityByUserIdResult = exports.SubMoldCapacityResult = exports.AddMoldCapacityByUserIdResult = exports.SetMoldCapacityByUserIdResult = exports.GetMoldByUserIdResult = exports.GetMoldResult = exports.DescribeMoldsByUserIdResult = exports.DescribeMoldsResult = exports.UpdateCurrentFormMasterFromGitHubResult = exports.UpdateCurrentFormMasterResult = exports.GetCurrentFormMasterResult = exports.ExportMasterResult = exports.DeletePropertyFormModelMasterResult = exports.UpdatePropertyFormModelMasterResult = exports.GetPropertyFormModelMasterResult = exports.CreatePropertyFormModelMasterResult = exports.DescribePropertyFormModelMastersResult = exports.GetPropertyFormModelResult = exports.DescribePropertyFormModelsResult = exports.DeleteMoldModelMasterResult = exports.UpdateMoldModelMasterResult = exports.GetMoldModelMasterResult = exports.CreateMoldModelMasterResult = exports.DescribeMoldModelMastersResult = exports.GetMoldModelResult = exports.DescribeMoldModelsResult = exports.DeleteFormModelMasterResult = exports.UpdateFormModelMasterResult = exports.GetFormModelMasterResult = exports.CreateFormModelMasterResult = exports.DescribeFormModelMastersResult = exports.GetFormModelResult = exports.CheckImportUserDataByUserIdResult = exports.ImportUserDataByUserIdResult = exports.PrepareImportUserDataByUserIdResult = exports.CheckCleanUserDataByUserIdResult = exports.CleanUserDataByUserIdResult = exports.CheckDumpUserDataByUserIdResult = exports.DumpUserDataByUserIdResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
|
|
4
|
-
exports.AcquireActionToPropertyFormPropertiesByStampSheetResult = exports.DeletePropertyFormByUserIdResult = exports.DeletePropertyFormResult = exports.AcquireActionsToPropertyFormPropertiesResult = exports.SetPropertyFormWithSignatureResult = exports.SetPropertyFormByUserIdResult = exports.GetPropertyFormWithSignatureByUserIdResult = exports.GetPropertyFormWithSignatureResult = exports.GetPropertyFormByUserIdResult = exports.GetPropertyFormResult = exports.DescribePropertyFormsByUserIdResult = exports.DescribePropertyFormsResult = exports.SetFormByStampSheetResult = exports.AcquireActionToFormPropertiesByStampSheetResult = exports.DeleteFormByUserIdResult = exports.DeleteFormResult = exports.AcquireActionsToFormPropertiesResult = exports.SetFormWithSignatureResult = exports.SetFormByUserIdResult = exports.GetFormWithSignatureByUserIdResult = exports.GetFormWithSignatureResult = exports.GetFormByUserIdResult = exports.GetFormResult = exports.DescribeFormsByUserIdResult = exports.DescribeFormsResult = void 0;
|
|
4
|
+
exports.AcquireActionToPropertyFormPropertiesByStampSheetResult = exports.DeletePropertyFormByUserIdResult = exports.DeletePropertyFormResult = exports.AcquireActionsToPropertyFormPropertiesResult = exports.SetPropertyFormWithSignatureResult = exports.SetPropertyFormByUserIdResult = exports.SetPropertyFormResult = exports.GetPropertyFormWithSignatureByUserIdResult = exports.GetPropertyFormWithSignatureResult = exports.GetPropertyFormByUserIdResult = exports.GetPropertyFormResult = exports.DescribePropertyFormsByUserIdResult = exports.DescribePropertyFormsResult = exports.SetFormByStampSheetResult = exports.AcquireActionToFormPropertiesByStampSheetResult = exports.DeleteFormByUserIdResult = exports.DeleteFormResult = exports.AcquireActionsToFormPropertiesResult = exports.SetFormWithSignatureResult = exports.SetFormByUserIdResult = exports.SetFormResult = exports.GetFormWithSignatureByUserIdResult = exports.GetFormWithSignatureResult = exports.GetFormByUserIdResult = exports.GetFormResult = exports.DescribeFormsByUserIdResult = exports.DescribeFormsResult = void 0;
|
|
5
5
|
var tslib_1 = require("tslib");
|
|
6
6
|
/*
|
|
7
7
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -130,6 +130,8 @@ var GetFormWithSignatureResult_1 = tslib_1.__importDefault(require("./GetFormWit
|
|
|
130
130
|
exports.GetFormWithSignatureResult = GetFormWithSignatureResult_1.default;
|
|
131
131
|
var GetFormWithSignatureByUserIdResult_1 = tslib_1.__importDefault(require("./GetFormWithSignatureByUserIdResult"));
|
|
132
132
|
exports.GetFormWithSignatureByUserIdResult = GetFormWithSignatureByUserIdResult_1.default;
|
|
133
|
+
var SetFormResult_1 = tslib_1.__importDefault(require("./SetFormResult"));
|
|
134
|
+
exports.SetFormResult = SetFormResult_1.default;
|
|
133
135
|
var SetFormByUserIdResult_1 = tslib_1.__importDefault(require("./SetFormByUserIdResult"));
|
|
134
136
|
exports.SetFormByUserIdResult = SetFormByUserIdResult_1.default;
|
|
135
137
|
var SetFormWithSignatureResult_1 = tslib_1.__importDefault(require("./SetFormWithSignatureResult"));
|
|
@@ -156,6 +158,8 @@ var GetPropertyFormWithSignatureResult_1 = tslib_1.__importDefault(require("./Ge
|
|
|
156
158
|
exports.GetPropertyFormWithSignatureResult = GetPropertyFormWithSignatureResult_1.default;
|
|
157
159
|
var GetPropertyFormWithSignatureByUserIdResult_1 = tslib_1.__importDefault(require("./GetPropertyFormWithSignatureByUserIdResult"));
|
|
158
160
|
exports.GetPropertyFormWithSignatureByUserIdResult = GetPropertyFormWithSignatureByUserIdResult_1.default;
|
|
161
|
+
var SetPropertyFormResult_1 = tslib_1.__importDefault(require("./SetPropertyFormResult"));
|
|
162
|
+
exports.SetPropertyFormResult = SetPropertyFormResult_1.default;
|
|
159
163
|
var SetPropertyFormByUserIdResult_1 = tslib_1.__importDefault(require("./SetPropertyFormByUserIdResult"));
|
|
160
164
|
exports.SetPropertyFormByUserIdResult = SetPropertyFormByUserIdResult_1.default;
|
|
161
165
|
var SetPropertyFormWithSignatureResult_1 = tslib_1.__importDefault(require("./SetPropertyFormWithSignatureResult"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;AAA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;AA+EjF,6CA/EG,4CAAkC,CA+EH;AA9EtC,wIAAyG;AA+ErG,uDA/EG,sDAA4C,CA+EH;AA9EhD,gGAAiE;AA+E7D,mCA/EG,kCAAwB,CA+EH;AA9E5B,gHAAiF;AA+E7E,2CA/EG,0CAAgC,CA+EH;AA9EpC,8JAA+H;AA+E3H,kEA/EG,iEAAuD,CA+EH"}
|
|
@@ -69,6 +69,7 @@ import GetFormResult from "./GetFormResult"
|
|
|
69
69
|
import GetFormByUserIdResult from "./GetFormByUserIdResult"
|
|
70
70
|
import GetFormWithSignatureResult from "./GetFormWithSignatureResult"
|
|
71
71
|
import GetFormWithSignatureByUserIdResult from "./GetFormWithSignatureByUserIdResult"
|
|
72
|
+
import SetFormResult from "./SetFormResult"
|
|
72
73
|
import SetFormByUserIdResult from "./SetFormByUserIdResult"
|
|
73
74
|
import SetFormWithSignatureResult from "./SetFormWithSignatureResult"
|
|
74
75
|
import AcquireActionsToFormPropertiesResult from "./AcquireActionsToFormPropertiesResult"
|
|
@@ -82,6 +83,7 @@ import GetPropertyFormResult from "./GetPropertyFormResult"
|
|
|
82
83
|
import GetPropertyFormByUserIdResult from "./GetPropertyFormByUserIdResult"
|
|
83
84
|
import GetPropertyFormWithSignatureResult from "./GetPropertyFormWithSignatureResult"
|
|
84
85
|
import GetPropertyFormWithSignatureByUserIdResult from "./GetPropertyFormWithSignatureByUserIdResult"
|
|
86
|
+
import SetPropertyFormResult from "./SetPropertyFormResult"
|
|
85
87
|
import SetPropertyFormByUserIdResult from "./SetPropertyFormByUserIdResult"
|
|
86
88
|
import SetPropertyFormWithSignatureResult from "./SetPropertyFormWithSignatureResult"
|
|
87
89
|
import AcquireActionsToPropertyFormPropertiesResult from "./AcquireActionsToPropertyFormPropertiesResult"
|
|
@@ -146,6 +148,7 @@ export {
|
|
|
146
148
|
GetFormByUserIdResult,
|
|
147
149
|
GetFormWithSignatureResult,
|
|
148
150
|
GetFormWithSignatureByUserIdResult,
|
|
151
|
+
SetFormResult,
|
|
149
152
|
SetFormByUserIdResult,
|
|
150
153
|
SetFormWithSignatureResult,
|
|
151
154
|
AcquireActionsToFormPropertiesResult,
|
|
@@ -159,6 +162,7 @@ export {
|
|
|
159
162
|
GetPropertyFormByUserIdResult,
|
|
160
163
|
GetPropertyFormWithSignatureResult,
|
|
161
164
|
GetPropertyFormWithSignatureByUserIdResult,
|
|
165
|
+
SetPropertyFormResult,
|
|
162
166
|
SetPropertyFormByUserIdResult,
|
|
163
167
|
SetPropertyFormWithSignatureResult,
|
|
164
168
|
AcquireActionsToPropertyFormPropertiesResult,
|
package/package.json
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class ApplyStaminaByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private staminaName;
|
|
7
|
+
private userId;
|
|
8
|
+
private timeOffsetToken;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getStaminaName(): string | null;
|
|
20
|
+
setStaminaName(staminaName: string | null): this;
|
|
21
|
+
withStaminaName(staminaName: string | null): this;
|
|
22
|
+
getUserId(): string | null;
|
|
23
|
+
setUserId(userId: string | null): this;
|
|
24
|
+
withUserId(userId: string | null): this;
|
|
25
|
+
getTimeOffsetToken(): string | null;
|
|
26
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
27
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
28
|
+
getDuplicationAvoider(): string | null;
|
|
29
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
30
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): ApplyStaminaByUserIdRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 ApplyStaminaByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function ApplyStaminaByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.staminaName = null;
|
|
24
|
+
this.userId = null;
|
|
25
|
+
this.timeOffsetToken = null;
|
|
26
|
+
this.duplicationAvoider = null;
|
|
27
|
+
}
|
|
28
|
+
ApplyStaminaByUserIdRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
ApplyStaminaByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ApplyStaminaByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
ApplyStaminaByUserIdRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
ApplyStaminaByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
ApplyStaminaByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
ApplyStaminaByUserIdRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
ApplyStaminaByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
ApplyStaminaByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
ApplyStaminaByUserIdRequest.prototype.getStaminaName = function () {
|
|
62
|
+
return this.staminaName;
|
|
63
|
+
};
|
|
64
|
+
ApplyStaminaByUserIdRequest.prototype.setStaminaName = function (staminaName) {
|
|
65
|
+
this.staminaName = staminaName;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
ApplyStaminaByUserIdRequest.prototype.withStaminaName = function (staminaName) {
|
|
69
|
+
this.staminaName = staminaName;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
ApplyStaminaByUserIdRequest.prototype.getUserId = function () {
|
|
73
|
+
return this.userId;
|
|
74
|
+
};
|
|
75
|
+
ApplyStaminaByUserIdRequest.prototype.setUserId = function (userId) {
|
|
76
|
+
this.userId = userId;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
ApplyStaminaByUserIdRequest.prototype.withUserId = function (userId) {
|
|
80
|
+
this.userId = userId;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
ApplyStaminaByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
84
|
+
return this.timeOffsetToken;
|
|
85
|
+
};
|
|
86
|
+
ApplyStaminaByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
87
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
ApplyStaminaByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
91
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
ApplyStaminaByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
95
|
+
return this.duplicationAvoider;
|
|
96
|
+
};
|
|
97
|
+
ApplyStaminaByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
98
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
ApplyStaminaByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
102
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
ApplyStaminaByUserIdRequest.fromDict = function (data) {
|
|
106
|
+
return new ApplyStaminaByUserIdRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withStaminaName(data["staminaName"])
|
|
109
|
+
.withUserId(data["userId"])
|
|
110
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
111
|
+
};
|
|
112
|
+
ApplyStaminaByUserIdRequest.prototype.toDict = function () {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"staminaName": this.getStaminaName(),
|
|
116
|
+
"userId": this.getUserId(),
|
|
117
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return ApplyStaminaByUserIdRequest;
|
|
121
|
+
}());
|
|
122
|
+
exports.default = ApplyStaminaByUserIdRequest;
|
|
123
|
+
//# sourceMappingURL=ApplyStaminaByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplyStaminaByUserIdRequest.js","sourceRoot":"","sources":["ApplyStaminaByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,WAAM,GAAgB,IAAI,CAAC;QAC3B,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAwGnD,CAAC;IAtGU,kDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,qDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YA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