gs2 1.3.68 → 1.3.69
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/model/PropertyForm.d.ts +46 -0
- package/formation/model/PropertyForm.js +249 -0
- package/formation/model/PropertyForm.js.map +1 -0
- package/formation/model/PropertyForm.ts +269 -0
- package/formation/model/index.d.ts +2 -1
- package/formation/model/index.js +3 -1
- package/formation/model/index.js.map +1 -1
- package/formation/model/index.ts +2 -0
- package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.d.ts +25 -0
- package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.js +83 -0
- package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.js.map +1 -0
- package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.ts +90 -0
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.d.ts +46 -0
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.js +160 -0
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.js.map +1 -0
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.ts +169 -0
- package/formation/request/DeletePropertyFormByUserIdRequest.d.ts +37 -0
- package/formation/request/DeletePropertyFormByUserIdRequest.js +123 -0
- package/formation/request/DeletePropertyFormByUserIdRequest.js.map +1 -0
- package/formation/request/DeletePropertyFormByUserIdRequest.ts +133 -0
- package/formation/request/DeletePropertyFormRequest.d.ts +33 -0
- package/formation/request/DeletePropertyFormRequest.js +111 -0
- package/formation/request/DeletePropertyFormRequest.js.map +1 -0
- package/formation/request/DeletePropertyFormRequest.ts +118 -0
- package/formation/request/DescribeFormModelsRequest.d.ts +21 -0
- package/formation/request/DescribeFormModelsRequest.js +69 -0
- package/formation/request/DescribeFormModelsRequest.js.map +1 -0
- package/formation/request/DescribeFormModelsRequest.ts +76 -0
- package/formation/request/DescribePropertyFormsByUserIdRequest.d.ts +37 -0
- package/formation/request/DescribePropertyFormsByUserIdRequest.js +125 -0
- package/formation/request/DescribePropertyFormsByUserIdRequest.js.map +1 -0
- package/formation/request/DescribePropertyFormsByUserIdRequest.ts +132 -0
- package/formation/request/DescribePropertyFormsRequest.d.ts +37 -0
- package/formation/request/DescribePropertyFormsRequest.js +125 -0
- package/formation/request/DescribePropertyFormsRequest.js.map +1 -0
- package/formation/request/DescribePropertyFormsRequest.ts +132 -0
- package/formation/request/GetFormModelRequest.d.ts +25 -0
- package/formation/request/GetFormModelRequest.js +83 -0
- package/formation/request/GetFormModelRequest.js.map +1 -0
- package/formation/request/GetFormModelRequest.ts +90 -0
- package/formation/request/GetPropertyFormByUserIdRequest.d.ts +33 -0
- package/formation/request/GetPropertyFormByUserIdRequest.js +111 -0
- package/formation/request/GetPropertyFormByUserIdRequest.js.map +1 -0
- package/formation/request/GetPropertyFormByUserIdRequest.ts +118 -0
- package/formation/request/GetPropertyFormRequest.d.ts +33 -0
- package/formation/request/GetPropertyFormRequest.js +111 -0
- package/formation/request/GetPropertyFormRequest.js.map +1 -0
- package/formation/request/GetPropertyFormRequest.ts +118 -0
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.d.ts +37 -0
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.js +125 -0
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.js.map +1 -0
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.ts +132 -0
- package/formation/request/GetPropertyFormWithSignatureRequest.d.ts +37 -0
- package/formation/request/GetPropertyFormWithSignatureRequest.js +125 -0
- package/formation/request/GetPropertyFormWithSignatureRequest.js.map +1 -0
- package/formation/request/GetPropertyFormWithSignatureRequest.ts +132 -0
- package/formation/request/SetPropertyFormByUserIdRequest.d.ts +42 -0
- package/formation/request/SetPropertyFormByUserIdRequest.js +145 -0
- package/formation/request/SetPropertyFormByUserIdRequest.js.map +1 -0
- package/formation/request/SetPropertyFormByUserIdRequest.ts +155 -0
- package/formation/request/SetPropertyFormWithSignatureRequest.d.ts +42 -0
- package/formation/request/SetPropertyFormWithSignatureRequest.js +147 -0
- package/formation/request/SetPropertyFormWithSignatureRequest.js.map +1 -0
- package/formation/request/SetPropertyFormWithSignatureRequest.ts +154 -0
- package/formation/request/index.d.ts +15 -1
- package/formation/request/index.js +30 -1
- package/formation/request/index.js.map +1 -1
- package/formation/request/index.ts +28 -0
- package/formation/rest.d.ts +14 -0
- package/formation/rest.js +387 -0
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +443 -0
- package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.d.ts +30 -0
- package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.js +104 -0
- package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.js.map +1 -0
- package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.ts +116 -0
- package/formation/result/AcquireActionsToPropertyFormPropertiesResult.d.ts +30 -0
- package/formation/result/AcquireActionsToPropertyFormPropertiesResult.js +104 -0
- package/formation/result/AcquireActionsToPropertyFormPropertiesResult.js.map +1 -0
- package/formation/result/AcquireActionsToPropertyFormPropertiesResult.ts +116 -0
- package/formation/result/DeletePropertyFormByUserIdResult.d.ts +18 -0
- package/formation/result/DeletePropertyFormByUserIdResult.js +62 -0
- package/formation/result/DeletePropertyFormByUserIdResult.js.map +1 -0
- package/formation/result/DeletePropertyFormByUserIdResult.ts +65 -0
- package/formation/result/DeletePropertyFormResult.d.ts +18 -0
- package/formation/result/DeletePropertyFormResult.js +62 -0
- package/formation/result/DeletePropertyFormResult.js.map +1 -0
- package/formation/result/DeletePropertyFormResult.ts +65 -0
- package/formation/result/DescribeFormModelsResult.d.ts +14 -0
- package/formation/result/DescribeFormModelsResult.js +53 -0
- package/formation/result/DescribeFormModelsResult.js.map +1 -0
- package/formation/result/DescribeFormModelsResult.ts +56 -0
- package/formation/result/DescribePropertyFormsByUserIdResult.d.ts +18 -0
- package/formation/result/DescribePropertyFormsByUserIdResult.js +67 -0
- package/formation/result/DescribePropertyFormsByUserIdResult.js.map +1 -0
- package/formation/result/DescribePropertyFormsByUserIdResult.ts +73 -0
- package/formation/result/DescribePropertyFormsResult.d.ts +18 -0
- package/formation/result/DescribePropertyFormsResult.js +67 -0
- package/formation/result/DescribePropertyFormsResult.js.map +1 -0
- package/formation/result/DescribePropertyFormsResult.ts +73 -0
- package/formation/result/GetFormModelResult.d.ts +14 -0
- package/formation/result/GetFormModelResult.js +48 -0
- package/formation/result/GetFormModelResult.js.map +1 -0
- package/formation/result/GetFormModelResult.ts +48 -0
- package/formation/result/GetPropertyFormByUserIdResult.d.ts +18 -0
- package/formation/result/GetPropertyFormByUserIdResult.js +62 -0
- package/formation/result/GetPropertyFormByUserIdResult.js.map +1 -0
- package/formation/result/GetPropertyFormByUserIdResult.ts +65 -0
- package/formation/result/GetPropertyFormResult.d.ts +18 -0
- package/formation/result/GetPropertyFormResult.js +62 -0
- package/formation/result/GetPropertyFormResult.js.map +1 -0
- package/formation/result/GetPropertyFormResult.ts +65 -0
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.d.ts +26 -0
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.js +90 -0
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.js.map +1 -0
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.ts +99 -0
- package/formation/result/GetPropertyFormWithSignatureResult.d.ts +26 -0
- package/formation/result/GetPropertyFormWithSignatureResult.js +90 -0
- package/formation/result/GetPropertyFormWithSignatureResult.js.map +1 -0
- package/formation/result/GetPropertyFormWithSignatureResult.ts +99 -0
- package/formation/result/SetPropertyFormByUserIdResult.d.ts +18 -0
- package/formation/result/SetPropertyFormByUserIdResult.js +62 -0
- package/formation/result/SetPropertyFormByUserIdResult.js.map +1 -0
- package/formation/result/SetPropertyFormByUserIdResult.ts +65 -0
- package/formation/result/SetPropertyFormWithSignatureResult.d.ts +18 -0
- package/formation/result/SetPropertyFormWithSignatureResult.js +62 -0
- package/formation/result/SetPropertyFormWithSignatureResult.js.map +1 -0
- package/formation/result/SetPropertyFormWithSignatureResult.ts +65 -0
- package/formation/result/index.d.ts +15 -1
- package/formation/result/index.js +30 -1
- package/formation/result/index.js.map +1 -1
- package/formation/result/index.ts +28 -0
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Formation from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetPropertyFormByUserIdResult implements IResult {
|
|
22
|
+
private item: Gs2Formation.PropertyForm|null = null;
|
|
23
|
+
private formModel: Gs2Formation.FormModel|null = null;
|
|
24
|
+
|
|
25
|
+
public getItem(): Gs2Formation.PropertyForm|null {
|
|
26
|
+
return this.item;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItem(item: Gs2Formation.PropertyForm|null) {
|
|
30
|
+
this.item = item;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItem(item: Gs2Formation.PropertyForm|null): this {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getFormModel(): Gs2Formation.FormModel|null {
|
|
40
|
+
return this.formModel;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setFormModel(formModel: Gs2Formation.FormModel|null) {
|
|
44
|
+
this.formModel = formModel;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withFormModel(formModel: Gs2Formation.FormModel|null): this {
|
|
49
|
+
this.formModel = formModel;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): GetPropertyFormByUserIdResult {
|
|
54
|
+
return new GetPropertyFormByUserIdResult()
|
|
55
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
56
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public toDict(): {[key: string]: any} {
|
|
60
|
+
return {
|
|
61
|
+
"item": this.getItem()?.toDict(),
|
|
62
|
+
"formModel": this.getFormModel()?.toDict(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Formation from '../model';
|
|
3
|
+
export default class GetPropertyFormResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private formModel;
|
|
6
|
+
getItem(): Gs2Formation.PropertyForm | null;
|
|
7
|
+
setItem(item: Gs2Formation.PropertyForm | null): this;
|
|
8
|
+
withItem(item: Gs2Formation.PropertyForm | null): this;
|
|
9
|
+
getFormModel(): Gs2Formation.FormModel | null;
|
|
10
|
+
setFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
11
|
+
withFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): GetPropertyFormResult;
|
|
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 GetPropertyFormResult = /** @class */ (function () {
|
|
21
|
+
function GetPropertyFormResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.formModel = null;
|
|
24
|
+
}
|
|
25
|
+
GetPropertyFormResult.prototype.getItem = function () {
|
|
26
|
+
return this.item;
|
|
27
|
+
};
|
|
28
|
+
GetPropertyFormResult.prototype.setItem = function (item) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
GetPropertyFormResult.prototype.withItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
GetPropertyFormResult.prototype.getFormModel = function () {
|
|
37
|
+
return this.formModel;
|
|
38
|
+
};
|
|
39
|
+
GetPropertyFormResult.prototype.setFormModel = function (formModel) {
|
|
40
|
+
this.formModel = formModel;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
GetPropertyFormResult.prototype.withFormModel = function (formModel) {
|
|
44
|
+
this.formModel = formModel;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
GetPropertyFormResult.fromDict = function (data) {
|
|
48
|
+
return new GetPropertyFormResult()
|
|
49
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
50
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
51
|
+
};
|
|
52
|
+
GetPropertyFormResult.prototype.toDict = function () {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
return {
|
|
55
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
56
|
+
"formModel": (_b = this.getFormModel()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return GetPropertyFormResult;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = GetPropertyFormResult;
|
|
62
|
+
//# sourceMappingURL=GetPropertyFormResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPropertyFormResult.js","sourceRoot":"","sources":["GetPropertyFormResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;QAC5C,cAAS,GAAgC,IAAI,CAAC;IA0C1D,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,4CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,4CAAY,GAAnB,UAAoB,SAAsC;QACtD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAa,GAApB,UAAqB,SAAsC;QACvD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,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,aAAa,CAAC,YAAY,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;IAEM,sCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,WAAW,EAAE,MAAA,IAAI,CAAC,YAAY,EAAE,0CAAE,MAAM,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,4BAAC;AAAD,CAAC,AA5CD,IA4CC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Formation from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetPropertyFormResult implements IResult {
|
|
22
|
+
private item: Gs2Formation.PropertyForm|null = null;
|
|
23
|
+
private formModel: Gs2Formation.FormModel|null = null;
|
|
24
|
+
|
|
25
|
+
public getItem(): Gs2Formation.PropertyForm|null {
|
|
26
|
+
return this.item;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItem(item: Gs2Formation.PropertyForm|null) {
|
|
30
|
+
this.item = item;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItem(item: Gs2Formation.PropertyForm|null): this {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getFormModel(): Gs2Formation.FormModel|null {
|
|
40
|
+
return this.formModel;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setFormModel(formModel: Gs2Formation.FormModel|null) {
|
|
44
|
+
this.formModel = formModel;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withFormModel(formModel: Gs2Formation.FormModel|null): this {
|
|
49
|
+
this.formModel = formModel;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): GetPropertyFormResult {
|
|
54
|
+
return new GetPropertyFormResult()
|
|
55
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
56
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public toDict(): {[key: string]: any} {
|
|
60
|
+
return {
|
|
61
|
+
"item": this.getItem()?.toDict(),
|
|
62
|
+
"formModel": this.getFormModel()?.toDict(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Formation from '../model';
|
|
3
|
+
export default class GetPropertyFormWithSignatureByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private body;
|
|
6
|
+
private signature;
|
|
7
|
+
private formModel;
|
|
8
|
+
getItem(): Gs2Formation.PropertyForm | null;
|
|
9
|
+
setItem(item: Gs2Formation.PropertyForm | null): this;
|
|
10
|
+
withItem(item: Gs2Formation.PropertyForm | null): this;
|
|
11
|
+
getBody(): string | null;
|
|
12
|
+
setBody(body: string | null): this;
|
|
13
|
+
withBody(body: string | null): this;
|
|
14
|
+
getSignature(): string | null;
|
|
15
|
+
setSignature(signature: string | null): this;
|
|
16
|
+
withSignature(signature: string | null): this;
|
|
17
|
+
getFormModel(): Gs2Formation.FormModel | null;
|
|
18
|
+
setFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
19
|
+
withFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
20
|
+
static fromDict(data: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}): GetPropertyFormWithSignatureByUserIdResult;
|
|
23
|
+
toDict(): {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -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 GetPropertyFormWithSignatureByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function GetPropertyFormWithSignatureByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.body = null;
|
|
24
|
+
this.signature = null;
|
|
25
|
+
this.formModel = null;
|
|
26
|
+
}
|
|
27
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.getItem = function () {
|
|
28
|
+
return this.item;
|
|
29
|
+
};
|
|
30
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.setItem = function (item) {
|
|
31
|
+
this.item = item;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.withItem = function (item) {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.getBody = function () {
|
|
39
|
+
return this.body;
|
|
40
|
+
};
|
|
41
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.setBody = function (body) {
|
|
42
|
+
this.body = body;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.withBody = function (body) {
|
|
46
|
+
this.body = body;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.getSignature = function () {
|
|
50
|
+
return this.signature;
|
|
51
|
+
};
|
|
52
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.setSignature = function (signature) {
|
|
53
|
+
this.signature = signature;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.withSignature = function (signature) {
|
|
57
|
+
this.signature = signature;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.getFormModel = function () {
|
|
61
|
+
return this.formModel;
|
|
62
|
+
};
|
|
63
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.setFormModel = function (formModel) {
|
|
64
|
+
this.formModel = formModel;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.withFormModel = function (formModel) {
|
|
68
|
+
this.formModel = formModel;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetPropertyFormWithSignatureByUserIdResult.fromDict = function (data) {
|
|
72
|
+
return new GetPropertyFormWithSignatureByUserIdResult()
|
|
73
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
74
|
+
.withBody(data["body"])
|
|
75
|
+
.withSignature(data["signature"])
|
|
76
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
77
|
+
};
|
|
78
|
+
GetPropertyFormWithSignatureByUserIdResult.prototype.toDict = function () {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
return {
|
|
81
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
82
|
+
"body": this.getBody(),
|
|
83
|
+
"signature": this.getSignature(),
|
|
84
|
+
"formModel": (_b = this.getFormModel()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
return GetPropertyFormWithSignatureByUserIdResult;
|
|
88
|
+
}());
|
|
89
|
+
exports.default = GetPropertyFormWithSignatureByUserIdResult;
|
|
90
|
+
//# sourceMappingURL=GetPropertyFormWithSignatureByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPropertyFormWithSignatureByUserIdResult.js","sourceRoot":"","sources":["GetPropertyFormWithSignatureByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;QAC5C,SAAI,GAAgB,IAAI,CAAC;QACzB,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgC,IAAI,CAAC;IA0E1D,CAAC;IAxEU,4DAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4DAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4DAAO,GAAd,UAAe,IAAiB;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAQ,GAAf,UAAgB,IAAiB;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,iEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,iEAAY,GAAnB,UAAoB,SAAsC;QACtD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kEAAa,GAApB,UAAqB,SAAsC;QACvD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0CAA0C,EAAE;aAClD,QAAQ,CAAC,YAAY,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAC1D,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,aAAa,CAAC,YAAY,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;IAEM,2DAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,MAAA,IAAI,CAAC,YAAY,EAAE,0CAAE,MAAM,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,iDAAC;AAAD,CAAC,AA9ED,IA8EC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 Gs2Formation from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetPropertyFormWithSignatureByUserIdResult implements IResult {
|
|
22
|
+
private item: Gs2Formation.PropertyForm|null = null;
|
|
23
|
+
private body: string|null = null;
|
|
24
|
+
private signature: string|null = null;
|
|
25
|
+
private formModel: Gs2Formation.FormModel|null = null;
|
|
26
|
+
|
|
27
|
+
public getItem(): Gs2Formation.PropertyForm|null {
|
|
28
|
+
return this.item;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public setItem(item: Gs2Formation.PropertyForm|null) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public withItem(item: Gs2Formation.PropertyForm|null): this {
|
|
37
|
+
this.item = item;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public getBody(): string|null {
|
|
42
|
+
return this.body;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public setBody(body: string|null) {
|
|
46
|
+
this.body = body;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public withBody(body: string|null): this {
|
|
51
|
+
this.body = body;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public getSignature(): string|null {
|
|
56
|
+
return this.signature;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public setSignature(signature: string|null) {
|
|
60
|
+
this.signature = signature;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public withSignature(signature: string|null): this {
|
|
65
|
+
this.signature = signature;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public getFormModel(): Gs2Formation.FormModel|null {
|
|
70
|
+
return this.formModel;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public setFormModel(formModel: Gs2Formation.FormModel|null) {
|
|
74
|
+
this.formModel = formModel;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public withFormModel(formModel: Gs2Formation.FormModel|null): this {
|
|
79
|
+
this.formModel = formModel;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public static fromDict(data: {[key: string]: any}): GetPropertyFormWithSignatureByUserIdResult {
|
|
84
|
+
return new GetPropertyFormWithSignatureByUserIdResult()
|
|
85
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
86
|
+
.withBody(data["body"])
|
|
87
|
+
.withSignature(data["signature"])
|
|
88
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public toDict(): {[key: string]: any} {
|
|
92
|
+
return {
|
|
93
|
+
"item": this.getItem()?.toDict(),
|
|
94
|
+
"body": this.getBody(),
|
|
95
|
+
"signature": this.getSignature(),
|
|
96
|
+
"formModel": this.getFormModel()?.toDict(),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Formation from '../model';
|
|
3
|
+
export default class GetPropertyFormWithSignatureResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private body;
|
|
6
|
+
private signature;
|
|
7
|
+
private formModel;
|
|
8
|
+
getItem(): Gs2Formation.PropertyForm | null;
|
|
9
|
+
setItem(item: Gs2Formation.PropertyForm | null): this;
|
|
10
|
+
withItem(item: Gs2Formation.PropertyForm | null): this;
|
|
11
|
+
getBody(): string | null;
|
|
12
|
+
setBody(body: string | null): this;
|
|
13
|
+
withBody(body: string | null): this;
|
|
14
|
+
getSignature(): string | null;
|
|
15
|
+
setSignature(signature: string | null): this;
|
|
16
|
+
withSignature(signature: string | null): this;
|
|
17
|
+
getFormModel(): Gs2Formation.FormModel | null;
|
|
18
|
+
setFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
19
|
+
withFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
20
|
+
static fromDict(data: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}): GetPropertyFormWithSignatureResult;
|
|
23
|
+
toDict(): {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -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 GetPropertyFormWithSignatureResult = /** @class */ (function () {
|
|
21
|
+
function GetPropertyFormWithSignatureResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.body = null;
|
|
24
|
+
this.signature = null;
|
|
25
|
+
this.formModel = null;
|
|
26
|
+
}
|
|
27
|
+
GetPropertyFormWithSignatureResult.prototype.getItem = function () {
|
|
28
|
+
return this.item;
|
|
29
|
+
};
|
|
30
|
+
GetPropertyFormWithSignatureResult.prototype.setItem = function (item) {
|
|
31
|
+
this.item = item;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetPropertyFormWithSignatureResult.prototype.withItem = function (item) {
|
|
35
|
+
this.item = item;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetPropertyFormWithSignatureResult.prototype.getBody = function () {
|
|
39
|
+
return this.body;
|
|
40
|
+
};
|
|
41
|
+
GetPropertyFormWithSignatureResult.prototype.setBody = function (body) {
|
|
42
|
+
this.body = body;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetPropertyFormWithSignatureResult.prototype.withBody = function (body) {
|
|
46
|
+
this.body = body;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetPropertyFormWithSignatureResult.prototype.getSignature = function () {
|
|
50
|
+
return this.signature;
|
|
51
|
+
};
|
|
52
|
+
GetPropertyFormWithSignatureResult.prototype.setSignature = function (signature) {
|
|
53
|
+
this.signature = signature;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetPropertyFormWithSignatureResult.prototype.withSignature = function (signature) {
|
|
57
|
+
this.signature = signature;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetPropertyFormWithSignatureResult.prototype.getFormModel = function () {
|
|
61
|
+
return this.formModel;
|
|
62
|
+
};
|
|
63
|
+
GetPropertyFormWithSignatureResult.prototype.setFormModel = function (formModel) {
|
|
64
|
+
this.formModel = formModel;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetPropertyFormWithSignatureResult.prototype.withFormModel = function (formModel) {
|
|
68
|
+
this.formModel = formModel;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetPropertyFormWithSignatureResult.fromDict = function (data) {
|
|
72
|
+
return new GetPropertyFormWithSignatureResult()
|
|
73
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
74
|
+
.withBody(data["body"])
|
|
75
|
+
.withSignature(data["signature"])
|
|
76
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
77
|
+
};
|
|
78
|
+
GetPropertyFormWithSignatureResult.prototype.toDict = function () {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
return {
|
|
81
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
82
|
+
"body": this.getBody(),
|
|
83
|
+
"signature": this.getSignature(),
|
|
84
|
+
"formModel": (_b = this.getFormModel()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
return GetPropertyFormWithSignatureResult;
|
|
88
|
+
}());
|
|
89
|
+
exports.default = GetPropertyFormWithSignatureResult;
|
|
90
|
+
//# sourceMappingURL=GetPropertyFormWithSignatureResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetPropertyFormWithSignatureResult.js","sourceRoot":"","sources":["GetPropertyFormWithSignatureResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;QAC5C,SAAI,GAAgB,IAAI,CAAC;QACzB,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgC,IAAI,CAAC;IA0E1D,CAAC;IAxEU,oDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oDAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oDAAO,GAAd,UAAe,IAAiB;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAQ,GAAf,UAAgB,IAAiB;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,yDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,yDAAY,GAAnB,UAAoB,SAAsC;QACtD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAa,GAApB,UAAqB,SAAsC;QACvD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kCAAkC,EAAE;aAC1C,QAAQ,CAAC,YAAY,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAC1D,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,aAAa,CAAC,YAAY,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;IAEM,mDAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,MAAA,IAAI,CAAC,YAAY,EAAE,0CAAE,MAAM,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,yCAAC;AAAD,CAAC,AA9ED,IA8EC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 Gs2Formation from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetPropertyFormWithSignatureResult implements IResult {
|
|
22
|
+
private item: Gs2Formation.PropertyForm|null = null;
|
|
23
|
+
private body: string|null = null;
|
|
24
|
+
private signature: string|null = null;
|
|
25
|
+
private formModel: Gs2Formation.FormModel|null = null;
|
|
26
|
+
|
|
27
|
+
public getItem(): Gs2Formation.PropertyForm|null {
|
|
28
|
+
return this.item;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public setItem(item: Gs2Formation.PropertyForm|null) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public withItem(item: Gs2Formation.PropertyForm|null): this {
|
|
37
|
+
this.item = item;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public getBody(): string|null {
|
|
42
|
+
return this.body;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public setBody(body: string|null) {
|
|
46
|
+
this.body = body;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public withBody(body: string|null): this {
|
|
51
|
+
this.body = body;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public getSignature(): string|null {
|
|
56
|
+
return this.signature;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public setSignature(signature: string|null) {
|
|
60
|
+
this.signature = signature;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public withSignature(signature: string|null): this {
|
|
65
|
+
this.signature = signature;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public getFormModel(): Gs2Formation.FormModel|null {
|
|
70
|
+
return this.formModel;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public setFormModel(formModel: Gs2Formation.FormModel|null) {
|
|
74
|
+
this.formModel = formModel;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public withFormModel(formModel: Gs2Formation.FormModel|null): this {
|
|
79
|
+
this.formModel = formModel;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public static fromDict(data: {[key: string]: any}): GetPropertyFormWithSignatureResult {
|
|
84
|
+
return new GetPropertyFormWithSignatureResult()
|
|
85
|
+
.withItem(Gs2Formation.PropertyForm.fromDict(data["item"]))
|
|
86
|
+
.withBody(data["body"])
|
|
87
|
+
.withSignature(data["signature"])
|
|
88
|
+
.withFormModel(Gs2Formation.FormModel.fromDict(data["formModel"]));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public toDict(): {[key: string]: any} {
|
|
92
|
+
return {
|
|
93
|
+
"item": this.getItem()?.toDict(),
|
|
94
|
+
"body": this.getBody(),
|
|
95
|
+
"signature": this.getSignature(),
|
|
96
|
+
"formModel": this.getFormModel()?.toDict(),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Formation from '../model';
|
|
3
|
+
export default class SetPropertyFormByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private formModel;
|
|
6
|
+
getItem(): Gs2Formation.PropertyForm | null;
|
|
7
|
+
setItem(item: Gs2Formation.PropertyForm | null): this;
|
|
8
|
+
withItem(item: Gs2Formation.PropertyForm | null): this;
|
|
9
|
+
getFormModel(): Gs2Formation.FormModel | null;
|
|
10
|
+
setFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
11
|
+
withFormModel(formModel: Gs2Formation.FormModel | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): SetPropertyFormByUserIdResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|