gs2 1.3.139 → 1.3.141
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/idle/index.d.ts +5 -0
- package/idle/index.js +28 -0
- package/idle/index.js.map +1 -0
- package/idle/index.ts +27 -0
- package/idle/model/AcquireAction.d.ts +17 -0
- package/idle/model/AcquireAction.js +62 -0
- package/idle/model/AcquireAction.js.map +1 -0
- package/idle/model/AcquireAction.ts +60 -0
- package/idle/model/AcquireActionList.d.ts +14 -0
- package/idle/model/AcquireActionList.js +56 -0
- package/idle/model/AcquireActionList.js.map +1 -0
- package/idle/model/AcquireActionList.ts +55 -0
- package/idle/model/CategoryModel.d.ts +48 -0
- package/idle/model/CategoryModel.js +221 -0
- package/idle/model/CategoryModel.js.map +1 -0
- package/idle/model/CategoryModel.ts +236 -0
- package/idle/model/CategoryModelMaster.d.ts +60 -0
- package/idle/model/CategoryModelMaster.js +263 -0
- package/idle/model/CategoryModelMaster.js.map +1 -0
- package/idle/model/CategoryModelMaster.ts +278 -0
- package/idle/model/Config.d.ts +17 -0
- package/idle/model/Config.js +62 -0
- package/idle/model/Config.js.map +1 -0
- package/idle/model/Config.ts +60 -0
- package/idle/model/CurrentCategoryMaster.d.ts +22 -0
- package/idle/model/CurrentCategoryMaster.js +111 -0
- package/idle/model/CurrentCategoryMaster.js.map +1 -0
- package/idle/model/CurrentCategoryMaster.ts +121 -0
- package/idle/model/GitHubCheckoutSetting.d.ts +37 -0
- package/idle/model/GitHubCheckoutSetting.js +132 -0
- package/idle/model/GitHubCheckoutSetting.js.map +1 -0
- package/idle/model/GitHubCheckoutSetting.ts +130 -0
- package/idle/model/LogSetting.d.ts +13 -0
- package/idle/model/LogSetting.js +48 -0
- package/idle/model/LogSetting.js.map +1 -0
- package/idle/model/LogSetting.ts +46 -0
- package/idle/model/Namespace.d.ts +49 -0
- package/idle/model/Namespace.js +200 -0
- package/idle/model/Namespace.js.map +1 -0
- package/idle/model/Namespace.ts +208 -0
- package/idle/model/ScriptSetting.d.ts +25 -0
- package/idle/model/ScriptSetting.js +90 -0
- package/idle/model/ScriptSetting.js.map +1 -0
- package/idle/model/ScriptSetting.ts +88 -0
- package/idle/model/Status.d.ts +48 -0
- package/idle/model/Status.js +233 -0
- package/idle/model/Status.js.map +1 -0
- package/idle/model/Status.ts +249 -0
- package/idle/model/TransactionSetting.d.ts +25 -0
- package/idle/model/TransactionSetting.js +90 -0
- package/idle/model/TransactionSetting.js.map +1 -0
- package/idle/model/TransactionSetting.ts +88 -0
- package/idle/model/index.d.ts +13 -0
- package/idle/model/index.js +44 -0
- package/idle/model/index.js.map +1 -0
- package/idle/model/index.ts +42 -0
- package/idle/request/CreateCategoryModelMasterRequest.d.ts +54 -0
- package/idle/request/CreateCategoryModelMasterRequest.js +189 -0
- package/idle/request/CreateCategoryModelMasterRequest.js.map +1 -0
- package/idle/request/CreateCategoryModelMasterRequest.ts +196 -0
- package/idle/request/CreateNamespaceRequest.d.ts +38 -0
- package/idle/request/CreateNamespaceRequest.js +128 -0
- package/idle/request/CreateNamespaceRequest.js.map +1 -0
- package/idle/request/CreateNamespaceRequest.ts +132 -0
- package/idle/request/DeleteCategoryModelMasterRequest.d.ts +25 -0
- package/idle/request/DeleteCategoryModelMasterRequest.js +83 -0
- package/idle/request/DeleteCategoryModelMasterRequest.js.map +1 -0
- package/idle/request/DeleteCategoryModelMasterRequest.ts +90 -0
- package/idle/request/DeleteNamespaceRequest.d.ts +21 -0
- package/idle/request/DeleteNamespaceRequest.js +69 -0
- package/idle/request/DeleteNamespaceRequest.js.map +1 -0
- package/idle/request/DeleteNamespaceRequest.ts +76 -0
- package/idle/request/DescribeCategoryModelMastersRequest.d.ts +29 -0
- package/idle/request/DescribeCategoryModelMastersRequest.js +97 -0
- package/idle/request/DescribeCategoryModelMastersRequest.js.map +1 -0
- package/idle/request/DescribeCategoryModelMastersRequest.ts +104 -0
- package/idle/request/DescribeCategoryModelsRequest.d.ts +21 -0
- package/idle/request/DescribeCategoryModelsRequest.js +69 -0
- package/idle/request/DescribeCategoryModelsRequest.js.map +1 -0
- package/idle/request/DescribeCategoryModelsRequest.ts +76 -0
- package/idle/request/DescribeNamespacesRequest.d.ts +25 -0
- package/idle/request/DescribeNamespacesRequest.js +83 -0
- package/idle/request/DescribeNamespacesRequest.js.map +1 -0
- package/idle/request/DescribeNamespacesRequest.ts +90 -0
- package/idle/request/DescribeStatusesByUserIdRequest.d.ts +33 -0
- package/idle/request/DescribeStatusesByUserIdRequest.js +111 -0
- package/idle/request/DescribeStatusesByUserIdRequest.js.map +1 -0
- package/idle/request/DescribeStatusesByUserIdRequest.ts +118 -0
- package/idle/request/DescribeStatusesRequest.d.ts +33 -0
- package/idle/request/DescribeStatusesRequest.js +111 -0
- package/idle/request/DescribeStatusesRequest.js.map +1 -0
- package/idle/request/DescribeStatusesRequest.ts +118 -0
- package/idle/request/ExportMasterRequest.d.ts +21 -0
- package/idle/request/ExportMasterRequest.js +69 -0
- package/idle/request/ExportMasterRequest.js.map +1 -0
- package/idle/request/ExportMasterRequest.ts +76 -0
- package/idle/request/GetCategoryModelMasterRequest.d.ts +25 -0
- package/idle/request/GetCategoryModelMasterRequest.js +83 -0
- package/idle/request/GetCategoryModelMasterRequest.js.map +1 -0
- package/idle/request/GetCategoryModelMasterRequest.ts +90 -0
- package/idle/request/GetCategoryModelRequest.d.ts +25 -0
- package/idle/request/GetCategoryModelRequest.js +83 -0
- package/idle/request/GetCategoryModelRequest.js.map +1 -0
- package/idle/request/GetCategoryModelRequest.ts +90 -0
- package/idle/request/GetCurrentCategoryMasterRequest.d.ts +21 -0
- package/idle/request/GetCurrentCategoryMasterRequest.js +69 -0
- package/idle/request/GetCurrentCategoryMasterRequest.js.map +1 -0
- package/idle/request/GetCurrentCategoryMasterRequest.ts +76 -0
- package/idle/request/GetCurrentIdleMasterRequest.d.ts +21 -0
- package/idle/request/GetCurrentIdleMasterRequest.js +69 -0
- package/idle/request/GetCurrentIdleMasterRequest.js.map +1 -0
- package/idle/request/GetCurrentIdleMasterRequest.ts +76 -0
- package/idle/request/GetNamespaceRequest.d.ts +21 -0
- package/idle/request/GetNamespaceRequest.js +69 -0
- package/idle/request/GetNamespaceRequest.js.map +1 -0
- package/idle/request/GetNamespaceRequest.ts +76 -0
- package/idle/request/GetNamespaceStatusRequest.d.ts +21 -0
- package/idle/request/GetNamespaceStatusRequest.js +69 -0
- package/idle/request/GetNamespaceStatusRequest.js.map +1 -0
- package/idle/request/GetNamespaceStatusRequest.ts +76 -0
- package/idle/request/GetStatusByUserIdRequest.d.ts +29 -0
- package/idle/request/GetStatusByUserIdRequest.js +97 -0
- package/idle/request/GetStatusByUserIdRequest.js.map +1 -0
- package/idle/request/GetStatusByUserIdRequest.ts +104 -0
- package/idle/request/GetStatusRequest.d.ts +29 -0
- package/idle/request/GetStatusRequest.js +97 -0
- package/idle/request/GetStatusRequest.js.map +1 -0
- package/idle/request/GetStatusRequest.ts +104 -0
- package/idle/request/IncreaseMaximumIdleMinutesByStampSheetRequest.d.ts +25 -0
- package/idle/request/IncreaseMaximumIdleMinutesByStampSheetRequest.js +83 -0
- package/idle/request/IncreaseMaximumIdleMinutesByStampSheetRequest.js.map +1 -0
- package/idle/request/IncreaseMaximumIdleMinutesByStampSheetRequest.ts +90 -0
- package/idle/request/IncreaseMaximumIdleMinutesByUserIdRequest.d.ts +37 -0
- package/idle/request/IncreaseMaximumIdleMinutesByUserIdRequest.js +123 -0
- package/idle/request/IncreaseMaximumIdleMinutesByUserIdRequest.js.map +1 -0
- package/idle/request/IncreaseMaximumIdleMinutesByUserIdRequest.ts +133 -0
- package/idle/request/PredictionByUserIdRequest.d.ts +33 -0
- package/idle/request/PredictionByUserIdRequest.js +109 -0
- package/idle/request/PredictionByUserIdRequest.js.map +1 -0
- package/idle/request/PredictionByUserIdRequest.ts +119 -0
- package/idle/request/PredictionRequest.d.ts +33 -0
- package/idle/request/PredictionRequest.js +109 -0
- package/idle/request/PredictionRequest.js.map +1 -0
- package/idle/request/PredictionRequest.ts +119 -0
- package/idle/request/ReceiveByUserIdRequest.d.ts +38 -0
- package/idle/request/ReceiveByUserIdRequest.js +131 -0
- package/idle/request/ReceiveByUserIdRequest.js.map +1 -0
- package/idle/request/ReceiveByUserIdRequest.ts +141 -0
- package/idle/request/ReceiveRequest.d.ts +38 -0
- package/idle/request/ReceiveRequest.js +131 -0
- package/idle/request/ReceiveRequest.js.map +1 -0
- package/idle/request/ReceiveRequest.ts +141 -0
- package/idle/request/UpdateCategoryModelMasterRequest.d.ts +54 -0
- package/idle/request/UpdateCategoryModelMasterRequest.js +189 -0
- package/idle/request/UpdateCategoryModelMasterRequest.js.map +1 -0
- package/idle/request/UpdateCategoryModelMasterRequest.ts +196 -0
- package/idle/request/UpdateCurrentCategoryMasterFromGitHubRequest.d.ts +26 -0
- package/idle/request/UpdateCurrentCategoryMasterFromGitHubRequest.js +86 -0
- package/idle/request/UpdateCurrentCategoryMasterFromGitHubRequest.js.map +1 -0
- package/idle/request/UpdateCurrentCategoryMasterFromGitHubRequest.ts +90 -0
- package/idle/request/UpdateCurrentCategoryMasterRequest.d.ts +25 -0
- package/idle/request/UpdateCurrentCategoryMasterRequest.js +83 -0
- package/idle/request/UpdateCurrentCategoryMasterRequest.js.map +1 -0
- package/idle/request/UpdateCurrentCategoryMasterRequest.ts +90 -0
- package/idle/request/UpdateCurrentIdleMasterFromGitHubRequest.d.ts +26 -0
- package/idle/request/UpdateCurrentIdleMasterFromGitHubRequest.js +86 -0
- package/idle/request/UpdateCurrentIdleMasterFromGitHubRequest.js.map +1 -0
- package/idle/request/UpdateCurrentIdleMasterFromGitHubRequest.ts +90 -0
- package/idle/request/UpdateCurrentIdleMasterRequest.d.ts +25 -0
- package/idle/request/UpdateCurrentIdleMasterRequest.js +83 -0
- package/idle/request/UpdateCurrentIdleMasterRequest.js.map +1 -0
- package/idle/request/UpdateCurrentIdleMasterRequest.ts +90 -0
- package/idle/request/UpdateNamespaceRequest.d.ts +38 -0
- package/idle/request/UpdateNamespaceRequest.js +128 -0
- package/idle/request/UpdateNamespaceRequest.js.map +1 -0
- package/idle/request/UpdateNamespaceRequest.ts +132 -0
- package/idle/request/index.d.ts +28 -0
- package/idle/request/index.js +74 -0
- package/idle/request/index.js.map +1 -0
- package/idle/request/index.ts +72 -0
- package/idle/rest.d.ts +34 -0
- package/idle/rest.js +752 -0
- package/idle/rest.js.map +1 -0
- package/idle/rest.ts +858 -0
- package/idle/result/CreateCategoryModelMasterResult.d.ts +14 -0
- package/idle/result/CreateCategoryModelMasterResult.js +48 -0
- package/idle/result/CreateCategoryModelMasterResult.js.map +1 -0
- package/idle/result/CreateCategoryModelMasterResult.ts +48 -0
- package/idle/result/CreateNamespaceResult.d.ts +14 -0
- package/idle/result/CreateNamespaceResult.js +48 -0
- package/idle/result/CreateNamespaceResult.js.map +1 -0
- package/idle/result/CreateNamespaceResult.ts +48 -0
- package/idle/result/DeleteCategoryModelMasterResult.d.ts +14 -0
- package/idle/result/DeleteCategoryModelMasterResult.js +48 -0
- package/idle/result/DeleteCategoryModelMasterResult.js.map +1 -0
- package/idle/result/DeleteCategoryModelMasterResult.ts +48 -0
- package/idle/result/DeleteNamespaceResult.d.ts +14 -0
- package/idle/result/DeleteNamespaceResult.js +48 -0
- package/idle/result/DeleteNamespaceResult.js.map +1 -0
- package/idle/result/DeleteNamespaceResult.ts +48 -0
- package/idle/result/DescribeCategoryModelMastersResult.d.ts +18 -0
- package/idle/result/DescribeCategoryModelMastersResult.js +67 -0
- package/idle/result/DescribeCategoryModelMastersResult.js.map +1 -0
- package/idle/result/DescribeCategoryModelMastersResult.ts +73 -0
- package/idle/result/DescribeCategoryModelsResult.d.ts +14 -0
- package/idle/result/DescribeCategoryModelsResult.js +53 -0
- package/idle/result/DescribeCategoryModelsResult.js.map +1 -0
- package/idle/result/DescribeCategoryModelsResult.ts +56 -0
- package/idle/result/DescribeNamespacesResult.d.ts +18 -0
- package/idle/result/DescribeNamespacesResult.js +67 -0
- package/idle/result/DescribeNamespacesResult.js.map +1 -0
- package/idle/result/DescribeNamespacesResult.ts +73 -0
- package/idle/result/DescribeStatusesByUserIdResult.d.ts +18 -0
- package/idle/result/DescribeStatusesByUserIdResult.js +67 -0
- package/idle/result/DescribeStatusesByUserIdResult.js.map +1 -0
- package/idle/result/DescribeStatusesByUserIdResult.ts +73 -0
- package/idle/result/DescribeStatusesResult.d.ts +18 -0
- package/idle/result/DescribeStatusesResult.js +67 -0
- package/idle/result/DescribeStatusesResult.js.map +1 -0
- package/idle/result/DescribeStatusesResult.ts +73 -0
- package/idle/result/ExportMasterResult.d.ts +14 -0
- package/idle/result/ExportMasterResult.js +48 -0
- package/idle/result/ExportMasterResult.js.map +1 -0
- package/idle/result/ExportMasterResult.ts +48 -0
- package/idle/result/GetCategoryModelMasterResult.d.ts +14 -0
- package/idle/result/GetCategoryModelMasterResult.js +48 -0
- package/idle/result/GetCategoryModelMasterResult.js.map +1 -0
- package/idle/result/GetCategoryModelMasterResult.ts +48 -0
- package/idle/result/GetCategoryModelResult.d.ts +14 -0
- package/idle/result/GetCategoryModelResult.js +48 -0
- package/idle/result/GetCategoryModelResult.js.map +1 -0
- package/idle/result/GetCategoryModelResult.ts +48 -0
- package/idle/result/GetCurrentCategoryMasterResult.d.ts +14 -0
- package/idle/result/GetCurrentCategoryMasterResult.js +48 -0
- package/idle/result/GetCurrentCategoryMasterResult.js.map +1 -0
- package/idle/result/GetCurrentCategoryMasterResult.ts +48 -0
- package/idle/result/GetCurrentIdleMasterResult.d.ts +14 -0
- package/idle/result/GetCurrentIdleMasterResult.js +48 -0
- package/idle/result/GetCurrentIdleMasterResult.js.map +1 -0
- package/idle/result/GetCurrentIdleMasterResult.ts +48 -0
- package/idle/result/GetNamespaceResult.d.ts +14 -0
- package/idle/result/GetNamespaceResult.js +48 -0
- package/idle/result/GetNamespaceResult.js.map +1 -0
- package/idle/result/GetNamespaceResult.ts +48 -0
- package/idle/result/GetNamespaceStatusResult.d.ts +13 -0
- package/idle/result/GetNamespaceStatusResult.js +45 -0
- package/idle/result/GetNamespaceStatusResult.js.map +1 -0
- package/idle/result/GetNamespaceStatusResult.ts +48 -0
- package/idle/result/GetStatusByUserIdResult.d.ts +14 -0
- package/idle/result/GetStatusByUserIdResult.js +48 -0
- package/idle/result/GetStatusByUserIdResult.js.map +1 -0
- package/idle/result/GetStatusByUserIdResult.ts +48 -0
- package/idle/result/GetStatusResult.d.ts +14 -0
- package/idle/result/GetStatusResult.js +48 -0
- package/idle/result/GetStatusResult.js.map +1 -0
- package/idle/result/GetStatusResult.ts +48 -0
- package/idle/result/IncreaseMaximumIdleMinutesByStampSheetResult.d.ts +14 -0
- package/idle/result/IncreaseMaximumIdleMinutesByStampSheetResult.js +48 -0
- package/idle/result/IncreaseMaximumIdleMinutesByStampSheetResult.js.map +1 -0
- package/idle/result/IncreaseMaximumIdleMinutesByStampSheetResult.ts +48 -0
- package/idle/result/IncreaseMaximumIdleMinutesByUserIdResult.d.ts +14 -0
- package/idle/result/IncreaseMaximumIdleMinutesByUserIdResult.js +48 -0
- package/idle/result/IncreaseMaximumIdleMinutesByUserIdResult.js.map +1 -0
- package/idle/result/IncreaseMaximumIdleMinutesByUserIdResult.ts +48 -0
- package/idle/result/PredictionByUserIdResult.d.ts +18 -0
- package/idle/result/PredictionByUserIdResult.js +68 -0
- package/idle/result/PredictionByUserIdResult.js.map +1 -0
- package/idle/result/PredictionByUserIdResult.ts +73 -0
- package/idle/result/PredictionResult.d.ts +18 -0
- package/idle/result/PredictionResult.js +68 -0
- package/idle/result/PredictionResult.js.map +1 -0
- package/idle/result/PredictionResult.ts +73 -0
- package/idle/result/ReceiveByUserIdResult.d.ts +30 -0
- package/idle/result/ReceiveByUserIdResult.js +109 -0
- package/idle/result/ReceiveByUserIdResult.js.map +1 -0
- package/idle/result/ReceiveByUserIdResult.ts +124 -0
- package/idle/result/ReceiveResult.d.ts +30 -0
- package/idle/result/ReceiveResult.js +109 -0
- package/idle/result/ReceiveResult.js.map +1 -0
- package/idle/result/ReceiveResult.ts +124 -0
- package/idle/result/UpdateCategoryModelMasterResult.d.ts +14 -0
- package/idle/result/UpdateCategoryModelMasterResult.js +48 -0
- package/idle/result/UpdateCategoryModelMasterResult.js.map +1 -0
- package/idle/result/UpdateCategoryModelMasterResult.ts +48 -0
- package/idle/result/UpdateCurrentCategoryMasterFromGitHubResult.d.ts +14 -0
- package/idle/result/UpdateCurrentCategoryMasterFromGitHubResult.js +48 -0
- package/idle/result/UpdateCurrentCategoryMasterFromGitHubResult.js.map +1 -0
- package/idle/result/UpdateCurrentCategoryMasterFromGitHubResult.ts +48 -0
- package/idle/result/UpdateCurrentCategoryMasterResult.d.ts +14 -0
- package/idle/result/UpdateCurrentCategoryMasterResult.js +48 -0
- package/idle/result/UpdateCurrentCategoryMasterResult.js.map +1 -0
- package/idle/result/UpdateCurrentCategoryMasterResult.ts +48 -0
- package/idle/result/UpdateCurrentIdleMasterFromGitHubResult.d.ts +14 -0
- package/idle/result/UpdateCurrentIdleMasterFromGitHubResult.js +48 -0
- package/idle/result/UpdateCurrentIdleMasterFromGitHubResult.js.map +1 -0
- package/idle/result/UpdateCurrentIdleMasterFromGitHubResult.ts +48 -0
- package/idle/result/UpdateCurrentIdleMasterResult.d.ts +14 -0
- package/idle/result/UpdateCurrentIdleMasterResult.js +48 -0
- package/idle/result/UpdateCurrentIdleMasterResult.js.map +1 -0
- package/idle/result/UpdateCurrentIdleMasterResult.ts +48 -0
- package/idle/result/UpdateNamespaceResult.d.ts +14 -0
- package/idle/result/UpdateNamespaceResult.js +48 -0
- package/idle/result/UpdateNamespaceResult.js.map +1 -0
- package/idle/result/UpdateNamespaceResult.ts +48 -0
- package/idle/result/index.d.ts +28 -0
- package/idle/result/index.js +74 -0
- package/idle/result/index.js.map +1 -0
- package/idle/result/index.ts +72 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
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 Gs2Idle from '../model'
|
|
20
|
+
|
|
21
|
+
export default class PredictionByUserIdResult implements IResult {
|
|
22
|
+
private items: Gs2Idle.AcquireAction[]|null = null;
|
|
23
|
+
private status: Gs2Idle.Status|null = null;
|
|
24
|
+
|
|
25
|
+
public getItems(): Gs2Idle.AcquireAction[]|null {
|
|
26
|
+
return this.items;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItems(items: Gs2Idle.AcquireAction[]|null) {
|
|
30
|
+
this.items = items;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItems(items: Gs2Idle.AcquireAction[]|null): this {
|
|
35
|
+
this.items = items;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getStatus(): Gs2Idle.Status|null {
|
|
40
|
+
return this.status;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setStatus(status: Gs2Idle.Status|null) {
|
|
44
|
+
this.status = status;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withStatus(status: Gs2Idle.Status|null): this {
|
|
49
|
+
this.status = status;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): PredictionByUserIdResult {
|
|
54
|
+
return new PredictionByUserIdResult()
|
|
55
|
+
.withItems(data.items ?
|
|
56
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Idle.AcquireAction.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : [])
|
|
60
|
+
.withStatus(Gs2Idle.Status.fromDict(data["status"]));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public toDict(): {[key: string]: any} {
|
|
64
|
+
return {
|
|
65
|
+
"items": this.getItems() ?
|
|
66
|
+
this.getItems()!.map((item: Gs2Idle.AcquireAction) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
70
|
+
"status": this.getStatus()?.toDict(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Idle from '../model';
|
|
3
|
+
export default class PredictionResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private status;
|
|
6
|
+
getItems(): Gs2Idle.AcquireAction[] | null;
|
|
7
|
+
setItems(items: Gs2Idle.AcquireAction[] | null): this;
|
|
8
|
+
withItems(items: Gs2Idle.AcquireAction[] | null): this;
|
|
9
|
+
getStatus(): Gs2Idle.Status | null;
|
|
10
|
+
setStatus(status: Gs2Idle.Status | null): this;
|
|
11
|
+
withStatus(status: Gs2Idle.Status | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): PredictionResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 Gs2Idle = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var PredictionResult = /** @class */ (function () {
|
|
21
|
+
function PredictionResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.status = null;
|
|
24
|
+
}
|
|
25
|
+
PredictionResult.prototype.getItems = function () {
|
|
26
|
+
return this.items;
|
|
27
|
+
};
|
|
28
|
+
PredictionResult.prototype.setItems = function (items) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
PredictionResult.prototype.withItems = function (items) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
PredictionResult.prototype.getStatus = function () {
|
|
37
|
+
return this.status;
|
|
38
|
+
};
|
|
39
|
+
PredictionResult.prototype.setStatus = function (status) {
|
|
40
|
+
this.status = status;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
PredictionResult.prototype.withStatus = function (status) {
|
|
44
|
+
this.status = status;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
PredictionResult.fromDict = function (data) {
|
|
48
|
+
return new PredictionResult()
|
|
49
|
+
.withItems(data.items ?
|
|
50
|
+
data.items.map(function (item) {
|
|
51
|
+
return Gs2Idle.AcquireAction.fromDict(item);
|
|
52
|
+
}) : [])
|
|
53
|
+
.withStatus(Gs2Idle.Status.fromDict(data["status"]));
|
|
54
|
+
};
|
|
55
|
+
PredictionResult.prototype.toDict = function () {
|
|
56
|
+
var _a;
|
|
57
|
+
return {
|
|
58
|
+
"items": this.getItems() ?
|
|
59
|
+
this.getItems().map(function (item) {
|
|
60
|
+
return item.toDict();
|
|
61
|
+
}) : [],
|
|
62
|
+
"status": (_a = this.getStatus()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
return PredictionResult;
|
|
66
|
+
}());
|
|
67
|
+
exports.default = PredictionResult;
|
|
68
|
+
//# sourceMappingURL=PredictionResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PredictionResult.js","sourceRoot":"","sources":["PredictionResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,wDAAmC;AAEnC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,WAAM,GAAwB,IAAI,CAAC;IAkD/C,CAAC;IAhDU,mCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,mCAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oCAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oCAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,oCAAS,GAAhB,UAAiB,MAA2B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAU,GAAjB,UAAkB,MAA2B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,gBAAgB,EAAE;aACxB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAEM,iCAAM,GAAb;;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA2B;oBAC7C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,QAAQ,EAAE,MAAA,IAAI,CAAC,SAAS,EAAE,0CAAE,MAAM,EAAE;SACvC,CAAC;IACN,CAAC;IACL,uBAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 Gs2Idle from '../model'
|
|
20
|
+
|
|
21
|
+
export default class PredictionResult implements IResult {
|
|
22
|
+
private items: Gs2Idle.AcquireAction[]|null = null;
|
|
23
|
+
private status: Gs2Idle.Status|null = null;
|
|
24
|
+
|
|
25
|
+
public getItems(): Gs2Idle.AcquireAction[]|null {
|
|
26
|
+
return this.items;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItems(items: Gs2Idle.AcquireAction[]|null) {
|
|
30
|
+
this.items = items;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItems(items: Gs2Idle.AcquireAction[]|null): this {
|
|
35
|
+
this.items = items;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getStatus(): Gs2Idle.Status|null {
|
|
40
|
+
return this.status;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setStatus(status: Gs2Idle.Status|null) {
|
|
44
|
+
this.status = status;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withStatus(status: Gs2Idle.Status|null): this {
|
|
49
|
+
this.status = status;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): PredictionResult {
|
|
54
|
+
return new PredictionResult()
|
|
55
|
+
.withItems(data.items ?
|
|
56
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Idle.AcquireAction.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : [])
|
|
60
|
+
.withStatus(Gs2Idle.Status.fromDict(data["status"]));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public toDict(): {[key: string]: any} {
|
|
64
|
+
return {
|
|
65
|
+
"items": this.getItems() ?
|
|
66
|
+
this.getItems()!.map((item: Gs2Idle.AcquireAction) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
70
|
+
"status": this.getStatus()?.toDict(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Idle from '../model';
|
|
3
|
+
export default class ReceiveByUserIdResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private stampSheet;
|
|
7
|
+
private stampSheetEncryptionKeyId;
|
|
8
|
+
private autoRunStampSheet;
|
|
9
|
+
getItems(): Gs2Idle.AcquireAction[] | null;
|
|
10
|
+
setItems(items: Gs2Idle.AcquireAction[] | null): this;
|
|
11
|
+
withItems(items: Gs2Idle.AcquireAction[] | 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
|
+
}): ReceiveByUserIdResult;
|
|
27
|
+
toDict(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 Gs2Idle = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ReceiveByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function ReceiveByUserIdResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.transactionId = null;
|
|
24
|
+
this.stampSheet = null;
|
|
25
|
+
this.stampSheetEncryptionKeyId = null;
|
|
26
|
+
this.autoRunStampSheet = null;
|
|
27
|
+
}
|
|
28
|
+
ReceiveByUserIdResult.prototype.getItems = function () {
|
|
29
|
+
return this.items;
|
|
30
|
+
};
|
|
31
|
+
ReceiveByUserIdResult.prototype.setItems = function (items) {
|
|
32
|
+
this.items = items;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ReceiveByUserIdResult.prototype.withItems = function (items) {
|
|
36
|
+
this.items = items;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
ReceiveByUserIdResult.prototype.getTransactionId = function () {
|
|
40
|
+
return this.transactionId;
|
|
41
|
+
};
|
|
42
|
+
ReceiveByUserIdResult.prototype.setTransactionId = function (transactionId) {
|
|
43
|
+
this.transactionId = transactionId;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
ReceiveByUserIdResult.prototype.withTransactionId = function (transactionId) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
ReceiveByUserIdResult.prototype.getStampSheet = function () {
|
|
51
|
+
return this.stampSheet;
|
|
52
|
+
};
|
|
53
|
+
ReceiveByUserIdResult.prototype.setStampSheet = function (stampSheet) {
|
|
54
|
+
this.stampSheet = stampSheet;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
ReceiveByUserIdResult.prototype.withStampSheet = function (stampSheet) {
|
|
58
|
+
this.stampSheet = stampSheet;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
ReceiveByUserIdResult.prototype.getStampSheetEncryptionKeyId = function () {
|
|
62
|
+
return this.stampSheetEncryptionKeyId;
|
|
63
|
+
};
|
|
64
|
+
ReceiveByUserIdResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
65
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
ReceiveByUserIdResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
69
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
ReceiveByUserIdResult.prototype.getAutoRunStampSheet = function () {
|
|
73
|
+
return this.autoRunStampSheet;
|
|
74
|
+
};
|
|
75
|
+
ReceiveByUserIdResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
|
|
76
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
ReceiveByUserIdResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
|
|
80
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
ReceiveByUserIdResult.fromDict = function (data) {
|
|
84
|
+
return new ReceiveByUserIdResult()
|
|
85
|
+
.withItems(data.items ?
|
|
86
|
+
data.items.map(function (item) {
|
|
87
|
+
return Gs2Idle.AcquireAction.fromDict(item);
|
|
88
|
+
}) : [])
|
|
89
|
+
.withTransactionId(data["transactionId"])
|
|
90
|
+
.withStampSheet(data["stampSheet"])
|
|
91
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
92
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
93
|
+
};
|
|
94
|
+
ReceiveByUserIdResult.prototype.toDict = function () {
|
|
95
|
+
return {
|
|
96
|
+
"items": this.getItems() ?
|
|
97
|
+
this.getItems().map(function (item) {
|
|
98
|
+
return item.toDict();
|
|
99
|
+
}) : [],
|
|
100
|
+
"transactionId": this.getTransactionId(),
|
|
101
|
+
"stampSheet": this.getStampSheet(),
|
|
102
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
103
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
return ReceiveByUserIdResult;
|
|
107
|
+
}());
|
|
108
|
+
exports.default = ReceiveByUserIdResult;
|
|
109
|
+
//# sourceMappingURL=ReceiveByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReceiveByUserIdResult.js","sourceRoot":"","sources":["ReceiveByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,wDAAmC;AAEnC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;IAkGnD,CAAC;IAhGU,wCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CA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124 @@
|
|
|
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 Gs2Idle from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ReceiveByUserIdResult implements IResult {
|
|
22
|
+
private items: Gs2Idle.AcquireAction[]|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 getItems(): Gs2Idle.AcquireAction[]|null {
|
|
29
|
+
return this.items;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItems(items: Gs2Idle.AcquireAction[]|null) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItems(items: Gs2Idle.AcquireAction[]|null): this {
|
|
38
|
+
this.items = items;
|
|
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}): ReceiveByUserIdResult {
|
|
99
|
+
return new ReceiveByUserIdResult()
|
|
100
|
+
.withItems(data.items ?
|
|
101
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
102
|
+
return Gs2Idle.AcquireAction.fromDict(item);
|
|
103
|
+
}
|
|
104
|
+
) : [])
|
|
105
|
+
.withTransactionId(data["transactionId"])
|
|
106
|
+
.withStampSheet(data["stampSheet"])
|
|
107
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
108
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public toDict(): {[key: string]: any} {
|
|
112
|
+
return {
|
|
113
|
+
"items": this.getItems() ?
|
|
114
|
+
this.getItems()!.map((item: Gs2Idle.AcquireAction) => {
|
|
115
|
+
return item.toDict();
|
|
116
|
+
}
|
|
117
|
+
) : [],
|
|
118
|
+
"transactionId": this.getTransactionId(),
|
|
119
|
+
"stampSheet": this.getStampSheet(),
|
|
120
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
121
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Idle from '../model';
|
|
3
|
+
export default class ReceiveResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private stampSheet;
|
|
7
|
+
private stampSheetEncryptionKeyId;
|
|
8
|
+
private autoRunStampSheet;
|
|
9
|
+
getItems(): Gs2Idle.AcquireAction[] | null;
|
|
10
|
+
setItems(items: Gs2Idle.AcquireAction[] | null): this;
|
|
11
|
+
withItems(items: Gs2Idle.AcquireAction[] | 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
|
+
}): ReceiveResult;
|
|
27
|
+
toDict(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 Gs2Idle = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ReceiveResult = /** @class */ (function () {
|
|
21
|
+
function ReceiveResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.transactionId = null;
|
|
24
|
+
this.stampSheet = null;
|
|
25
|
+
this.stampSheetEncryptionKeyId = null;
|
|
26
|
+
this.autoRunStampSheet = null;
|
|
27
|
+
}
|
|
28
|
+
ReceiveResult.prototype.getItems = function () {
|
|
29
|
+
return this.items;
|
|
30
|
+
};
|
|
31
|
+
ReceiveResult.prototype.setItems = function (items) {
|
|
32
|
+
this.items = items;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ReceiveResult.prototype.withItems = function (items) {
|
|
36
|
+
this.items = items;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
ReceiveResult.prototype.getTransactionId = function () {
|
|
40
|
+
return this.transactionId;
|
|
41
|
+
};
|
|
42
|
+
ReceiveResult.prototype.setTransactionId = function (transactionId) {
|
|
43
|
+
this.transactionId = transactionId;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
ReceiveResult.prototype.withTransactionId = function (transactionId) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
ReceiveResult.prototype.getStampSheet = function () {
|
|
51
|
+
return this.stampSheet;
|
|
52
|
+
};
|
|
53
|
+
ReceiveResult.prototype.setStampSheet = function (stampSheet) {
|
|
54
|
+
this.stampSheet = stampSheet;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
ReceiveResult.prototype.withStampSheet = function (stampSheet) {
|
|
58
|
+
this.stampSheet = stampSheet;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
ReceiveResult.prototype.getStampSheetEncryptionKeyId = function () {
|
|
62
|
+
return this.stampSheetEncryptionKeyId;
|
|
63
|
+
};
|
|
64
|
+
ReceiveResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
65
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
ReceiveResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
69
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
ReceiveResult.prototype.getAutoRunStampSheet = function () {
|
|
73
|
+
return this.autoRunStampSheet;
|
|
74
|
+
};
|
|
75
|
+
ReceiveResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
|
|
76
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
ReceiveResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
|
|
80
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
ReceiveResult.fromDict = function (data) {
|
|
84
|
+
return new ReceiveResult()
|
|
85
|
+
.withItems(data.items ?
|
|
86
|
+
data.items.map(function (item) {
|
|
87
|
+
return Gs2Idle.AcquireAction.fromDict(item);
|
|
88
|
+
}) : [])
|
|
89
|
+
.withTransactionId(data["transactionId"])
|
|
90
|
+
.withStampSheet(data["stampSheet"])
|
|
91
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
92
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
93
|
+
};
|
|
94
|
+
ReceiveResult.prototype.toDict = function () {
|
|
95
|
+
return {
|
|
96
|
+
"items": this.getItems() ?
|
|
97
|
+
this.getItems().map(function (item) {
|
|
98
|
+
return item.toDict();
|
|
99
|
+
}) : [],
|
|
100
|
+
"transactionId": this.getTransactionId(),
|
|
101
|
+
"stampSheet": this.getStampSheet(),
|
|
102
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
103
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
return ReceiveResult;
|
|
107
|
+
}());
|
|
108
|
+
exports.default = ReceiveResult;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