gs2 1.4.8 → 1.4.10
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/dictionary/request/DeleteEntriesRequest.d.ts +33 -0
- package/dictionary/request/DeleteEntriesRequest.js +115 -0
- package/dictionary/request/DeleteEntriesRequest.js.map +1 -0
- package/dictionary/request/DeleteEntriesRequest.ts +127 -0
- package/dictionary/request/index.d.ts +2 -1
- package/dictionary/request/index.js +3 -1
- package/dictionary/request/index.js.map +1 -1
- package/dictionary/request/index.ts +2 -0
- package/dictionary/rest.d.ts +1 -0
- package/dictionary/rest.js +33 -0
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +37 -0
- package/dictionary/result/DeleteEntriesResult.d.ts +14 -0
- package/dictionary/result/DeleteEntriesResult.js +53 -0
- package/dictionary/result/DeleteEntriesResult.js.map +1 -0
- package/dictionary/result/DeleteEntriesResult.ts +55 -0
- package/dictionary/result/index.d.ts +2 -1
- package/dictionary/result/index.js +3 -1
- package/dictionary/result/index.js.map +1 -1
- package/dictionary/result/index.ts +2 -0
- package/distributor/request/AndExpressionByStampTaskRequest.d.ts +25 -0
- package/distributor/request/AndExpressionByStampTaskRequest.js +83 -0
- package/distributor/request/AndExpressionByStampTaskRequest.js.map +1 -0
- package/distributor/request/AndExpressionByStampTaskRequest.ts +90 -0
- package/distributor/request/AndExpressionByUserIdRequest.d.ts +38 -0
- package/distributor/request/AndExpressionByUserIdRequest.js +131 -0
- package/distributor/request/AndExpressionByUserIdRequest.js.map +1 -0
- package/distributor/request/AndExpressionByUserIdRequest.ts +141 -0
- package/distributor/request/DistributeRequest.d.ts +4 -0
- package/distributor/request/DistributeRequest.js +12 -0
- package/distributor/request/DistributeRequest.js.map +1 -1
- package/distributor/request/DistributeRequest.ts +15 -0
- package/distributor/request/DistributeWithoutOverflowProcessRequest.d.ts +4 -0
- package/distributor/request/DistributeWithoutOverflowProcessRequest.js +12 -0
- package/distributor/request/DistributeWithoutOverflowProcessRequest.js.map +1 -1
- package/distributor/request/DistributeWithoutOverflowProcessRequest.ts +15 -0
- package/distributor/request/IfExpressionByStampTaskRequest.d.ts +25 -0
- package/distributor/request/IfExpressionByStampTaskRequest.js +83 -0
- package/distributor/request/IfExpressionByStampTaskRequest.js.map +1 -0
- package/distributor/request/IfExpressionByStampTaskRequest.ts +90 -0
- package/distributor/request/IfExpressionByUserIdRequest.d.ts +50 -0
- package/distributor/request/IfExpressionByUserIdRequest.js +180 -0
- package/distributor/request/IfExpressionByUserIdRequest.js.map +1 -0
- package/distributor/request/IfExpressionByUserIdRequest.ts +191 -0
- package/distributor/request/OrExpressionByStampTaskRequest.d.ts +25 -0
- package/distributor/request/OrExpressionByStampTaskRequest.js +83 -0
- package/distributor/request/OrExpressionByStampTaskRequest.js.map +1 -0
- package/distributor/request/OrExpressionByStampTaskRequest.ts +90 -0
- package/distributor/request/OrExpressionByUserIdRequest.d.ts +38 -0
- package/distributor/request/OrExpressionByUserIdRequest.js +131 -0
- package/distributor/request/OrExpressionByUserIdRequest.js.map +1 -0
- package/distributor/request/OrExpressionByUserIdRequest.ts +141 -0
- package/distributor/request/SetTransactionDefaultConfigByUserIdRequest.d.ts +4 -0
- package/distributor/request/SetTransactionDefaultConfigByUserIdRequest.js +12 -0
- package/distributor/request/SetTransactionDefaultConfigByUserIdRequest.js.map +1 -1
- package/distributor/request/SetTransactionDefaultConfigByUserIdRequest.ts +15 -0
- package/distributor/request/SetTransactionDefaultConfigRequest.d.ts +4 -0
- package/distributor/request/SetTransactionDefaultConfigRequest.js +12 -0
- package/distributor/request/SetTransactionDefaultConfigRequest.js.map +1 -1
- package/distributor/request/SetTransactionDefaultConfigRequest.ts +15 -0
- package/distributor/request/index.d.ts +7 -1
- package/distributor/request/index.js +13 -1
- package/distributor/request/index.js.map +1 -1
- package/distributor/request/index.ts +12 -0
- package/distributor/rest.d.ts +6 -0
- package/distributor/rest.js +215 -17
- package/distributor/rest.js.map +1 -1
- package/distributor/rest.ts +222 -0
- package/distributor/result/AndExpressionByStampTaskResult.d.ts +13 -0
- package/distributor/result/AndExpressionByStampTaskResult.js +45 -0
- package/distributor/result/AndExpressionByStampTaskResult.js.map +1 -0
- package/distributor/result/AndExpressionByStampTaskResult.ts +46 -0
- package/distributor/result/AndExpressionByUserIdResult.d.ts +9 -0
- package/distributor/result/AndExpressionByUserIdResult.js +30 -0
- package/distributor/result/AndExpressionByUserIdResult.js.map +1 -0
- package/distributor/result/AndExpressionByUserIdResult.ts +29 -0
- package/distributor/result/IfExpressionByStampTaskResult.d.ts +13 -0
- package/distributor/result/IfExpressionByStampTaskResult.js +45 -0
- package/distributor/result/IfExpressionByStampTaskResult.js.map +1 -0
- package/distributor/result/IfExpressionByStampTaskResult.ts +46 -0
- package/distributor/result/IfExpressionByUserIdResult.d.ts +9 -0
- package/distributor/result/IfExpressionByUserIdResult.js +30 -0
- package/distributor/result/IfExpressionByUserIdResult.js.map +1 -0
- package/distributor/result/IfExpressionByUserIdResult.ts +29 -0
- package/distributor/result/OrExpressionByStampTaskResult.d.ts +13 -0
- package/distributor/result/OrExpressionByStampTaskResult.js +45 -0
- package/distributor/result/OrExpressionByStampTaskResult.js.map +1 -0
- package/distributor/result/OrExpressionByStampTaskResult.ts +46 -0
- package/distributor/result/OrExpressionByUserIdResult.d.ts +9 -0
- package/distributor/result/OrExpressionByUserIdResult.js +30 -0
- package/distributor/result/OrExpressionByUserIdResult.js.map +1 -0
- package/distributor/result/OrExpressionByUserIdResult.ts +29 -0
- package/distributor/result/index.d.ts +7 -1
- package/distributor/result/index.js +13 -1
- package/distributor/result/index.js.map +1 -1
- package/distributor/result/index.ts +12 -0
- package/enhance/model/Namespace.d.ts +7 -4
- package/enhance/model/Namespace.js +17 -14
- package/enhance/model/Namespace.js.map +1 -1
- package/enhance/model/Namespace.ts +17 -14
- package/enhance/request/CreateNamespaceRequest.d.ts +7 -4
- package/enhance/request/CreateNamespaceRequest.js +17 -14
- package/enhance/request/CreateNamespaceRequest.js.map +1 -1
- package/enhance/request/CreateNamespaceRequest.ts +17 -14
- package/enhance/request/UpdateNamespaceRequest.d.ts +7 -4
- package/enhance/request/UpdateNamespaceRequest.js +17 -14
- package/enhance/request/UpdateNamespaceRequest.js.map +1 -1
- package/enhance/request/UpdateNamespaceRequest.ts +17 -14
- package/enhance/rest.js +8 -8
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +2 -2
- package/exchange/request/index.d.ts +1 -3
- package/exchange/request/index.js +2 -6
- package/exchange/request/index.js.map +1 -1
- package/exchange/request/index.ts +0 -4
- package/exchange/rest.d.ts +0 -2
- package/exchange/rest.js +0 -62
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +0 -70
- package/exchange/result/index.d.ts +1 -3
- package/exchange/result/index.js +2 -6
- package/exchange/result/index.js.map +1 -1
- package/exchange/result/index.ts +0 -4
- package/experience/request/SubExperienceRequest.d.ts +41 -0
- package/experience/request/SubExperienceRequest.js +137 -0
- package/experience/request/SubExperienceRequest.js.map +1 -0
- package/experience/request/SubExperienceRequest.ts +147 -0
- package/experience/request/SubRankCapRequest.d.ts +41 -0
- package/experience/request/SubRankCapRequest.js +137 -0
- package/experience/request/SubRankCapRequest.js.map +1 -0
- package/experience/request/SubRankCapRequest.ts +147 -0
- package/experience/request/index.d.ts +3 -1
- package/experience/request/index.js +6 -2
- package/experience/request/index.js.map +1 -1
- package/experience/request/index.ts +4 -0
- package/experience/rest.d.ts +2 -0
- package/experience/rest.js +70 -0
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +78 -0
- package/experience/result/SubExperienceResult.d.ts +14 -0
- package/experience/result/SubExperienceResult.js +48 -0
- package/experience/result/SubExperienceResult.js.map +1 -0
- package/experience/result/SubExperienceResult.ts +47 -0
- package/experience/result/SubRankCapResult.d.ts +14 -0
- package/experience/result/SubRankCapResult.js +48 -0
- package/experience/result/SubRankCapResult.js.map +1 -0
- package/experience/result/SubRankCapResult.ts +47 -0
- package/experience/result/index.d.ts +3 -1
- package/experience/result/index.js +6 -2
- package/experience/result/index.js.map +1 -1
- package/experience/result/index.ts +4 -0
- package/formation/request/SubMoldCapacityRequest.d.ts +37 -0
- package/formation/request/SubMoldCapacityRequest.js +123 -0
- package/formation/request/SubMoldCapacityRequest.js.map +1 -0
- package/formation/request/SubMoldCapacityRequest.ts +133 -0
- package/formation/request/index.d.ts +2 -1
- package/formation/request/index.js +4 -2
- package/formation/request/index.js.map +1 -1
- package/formation/request/index.ts +2 -0
- package/formation/rest.d.ts +1 -0
- package/formation/rest.js +34 -0
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +38 -0
- package/formation/result/SubMoldCapacityResult.d.ts +18 -0
- package/formation/result/SubMoldCapacityResult.js +62 -0
- package/formation/result/SubMoldCapacityResult.js.map +1 -0
- package/formation/result/SubMoldCapacityResult.ts +64 -0
- package/formation/result/index.d.ts +2 -1
- package/formation/result/index.js +4 -2
- package/formation/result/index.js.map +1 -1
- package/formation/result/index.ts +2 -0
- package/grade/request/SubGradeRequest.d.ts +41 -0
- package/grade/request/SubGradeRequest.js +137 -0
- package/grade/request/SubGradeRequest.js.map +1 -0
- package/grade/request/SubGradeRequest.ts +147 -0
- package/grade/request/index.d.ts +2 -1
- package/grade/request/index.js +3 -1
- package/grade/request/index.js.map +1 -1
- package/grade/request/index.ts +2 -0
- package/grade/rest.d.ts +1 -0
- package/grade/rest.js +35 -0
- package/grade/rest.js.map +1 -1
- package/grade/rest.ts +39 -0
- package/grade/result/SubGradeResult.d.ts +23 -0
- package/grade/result/SubGradeResult.js +77 -0
- package/grade/result/SubGradeResult.js.map +1 -0
- package/grade/result/SubGradeResult.ts +82 -0
- package/grade/result/index.d.ts +2 -1
- package/grade/result/index.js +3 -1
- package/grade/result/index.js.map +1 -1
- package/grade/result/index.ts +2 -0
- package/guild/request/DecreaseMaximumCurrentMaximumMemberCountRequest.d.ts +37 -0
- package/guild/request/DecreaseMaximumCurrentMaximumMemberCountRequest.js +123 -0
- package/guild/request/DecreaseMaximumCurrentMaximumMemberCountRequest.js.map +1 -0
- package/guild/request/DecreaseMaximumCurrentMaximumMemberCountRequest.ts +133 -0
- package/guild/request/index.d.ts +2 -1
- package/guild/request/index.js +4 -2
- package/guild/request/index.js.map +1 -1
- package/guild/request/index.ts +2 -0
- package/guild/rest.d.ts +1 -0
- package/guild/rest.js +34 -0
- package/guild/rest.js.map +1 -1
- package/guild/rest.ts +38 -0
- package/guild/result/DecreaseMaximumCurrentMaximumMemberCountResult.d.ts +14 -0
- package/guild/result/DecreaseMaximumCurrentMaximumMemberCountResult.js +48 -0
- package/guild/result/DecreaseMaximumCurrentMaximumMemberCountResult.js.map +1 -0
- package/guild/result/DecreaseMaximumCurrentMaximumMemberCountResult.ts +47 -0
- package/guild/result/index.d.ts +2 -1
- package/guild/result/index.js +4 -2
- package/guild/result/index.js.map +1 -1
- package/guild/result/index.ts +2 -0
- package/idle/request/DecreaseMaximumIdleMinutesRequest.d.ts +37 -0
- package/idle/request/DecreaseMaximumIdleMinutesRequest.js +123 -0
- package/idle/request/DecreaseMaximumIdleMinutesRequest.js.map +1 -0
- package/idle/request/DecreaseMaximumIdleMinutesRequest.ts +133 -0
- package/idle/request/index.d.ts +2 -1
- package/idle/request/index.js +3 -1
- package/idle/request/index.js.map +1 -1
- package/idle/request/index.ts +2 -0
- package/idle/rest.d.ts +1 -0
- package/idle/rest.js +34 -0
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +38 -0
- package/idle/result/DecreaseMaximumIdleMinutesResult.d.ts +14 -0
- package/idle/result/DecreaseMaximumIdleMinutesResult.js +48 -0
- package/idle/result/DecreaseMaximumIdleMinutesResult.js.map +1 -0
- package/idle/result/DecreaseMaximumIdleMinutesResult.ts +47 -0
- package/idle/result/index.d.ts +2 -1
- package/idle/result/index.js +3 -1
- package/idle/result/index.js.map +1 -1
- package/idle/result/index.ts +2 -0
- package/jobQueue/request/DeleteJobRequest.d.ts +33 -0
- package/jobQueue/request/DeleteJobRequest.js +109 -0
- package/jobQueue/request/DeleteJobRequest.js.map +1 -0
- package/jobQueue/request/DeleteJobRequest.ts +119 -0
- package/jobQueue/request/index.d.ts +2 -1
- package/jobQueue/request/index.js +3 -1
- package/jobQueue/request/index.js.map +1 -1
- package/jobQueue/request/index.ts +2 -0
- package/jobQueue/rest.d.ts +1 -0
- package/jobQueue/rest.js +29 -0
- package/jobQueue/rest.js.map +1 -1
- package/jobQueue/rest.ts +33 -0
- package/jobQueue/result/DeleteJobResult.d.ts +14 -0
- package/jobQueue/result/DeleteJobResult.js +48 -0
- package/jobQueue/result/DeleteJobResult.js.map +1 -0
- package/jobQueue/result/DeleteJobResult.ts +47 -0
- package/jobQueue/result/index.d.ts +2 -1
- package/jobQueue/result/index.js +3 -1
- package/jobQueue/result/index.js.map +1 -1
- package/jobQueue/result/index.ts +2 -0
- package/mission/request/DecreaseCounterRequest.d.ts +37 -0
- package/mission/request/DecreaseCounterRequest.js +123 -0
- package/mission/request/DecreaseCounterRequest.js.map +1 -0
- package/mission/request/DecreaseCounterRequest.ts +133 -0
- package/mission/request/VerifyCompleteRequest.d.ts +45 -0
- package/mission/request/VerifyCompleteRequest.js +151 -0
- package/mission/request/VerifyCompleteRequest.js.map +1 -0
- package/mission/request/VerifyCompleteRequest.ts +161 -0
- package/mission/request/index.d.ts +3 -1
- package/mission/request/index.js +6 -2
- package/mission/request/index.js.map +1 -1
- package/mission/request/index.ts +4 -0
- package/mission/rest.d.ts +2 -0
- package/mission/rest.js +70 -0
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +78 -0
- package/mission/result/DecreaseCounterResult.d.ts +18 -0
- package/mission/result/DecreaseCounterResult.js +68 -0
- package/mission/result/DecreaseCounterResult.js.map +1 -0
- package/mission/result/DecreaseCounterResult.ts +72 -0
- package/mission/result/VerifyCompleteResult.d.ts +9 -0
- package/mission/result/VerifyCompleteResult.js +30 -0
- package/mission/result/VerifyCompleteResult.js.map +1 -0
- package/mission/result/VerifyCompleteResult.ts +29 -0
- package/mission/result/index.d.ts +3 -1
- package/mission/result/index.js +6 -2
- package/mission/result/index.js.map +1 -1
- package/mission/result/index.ts +4 -0
- package/package.json +1 -1
- package/showcase/request/IncrementPurchaseCountRequest.d.ts +41 -0
- package/showcase/request/IncrementPurchaseCountRequest.js +137 -0
- package/showcase/request/IncrementPurchaseCountRequest.js.map +1 -0
- package/showcase/request/IncrementPurchaseCountRequest.ts +147 -0
- package/showcase/request/index.d.ts +2 -1
- package/showcase/request/index.js +4 -2
- package/showcase/request/index.js.map +1 -1
- package/showcase/request/index.ts +2 -0
- package/showcase/rest.d.ts +1 -0
- package/showcase/rest.js +35 -0
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +39 -0
- package/showcase/result/IncrementPurchaseCountResult.d.ts +14 -0
- package/showcase/result/IncrementPurchaseCountResult.js +48 -0
- package/showcase/result/IncrementPurchaseCountResult.js.map +1 -0
- package/showcase/result/IncrementPurchaseCountResult.ts +47 -0
- package/showcase/result/index.d.ts +2 -1
- package/showcase/result/index.js +4 -2
- package/showcase/result/index.js.map +1 -1
- package/showcase/result/index.ts +2 -0
- package/skillTree/request/MarkRestrainRequest.d.ts +37 -0
- package/skillTree/request/MarkRestrainRequest.js +129 -0
- package/skillTree/request/MarkRestrainRequest.js.map +1 -0
- package/skillTree/request/MarkRestrainRequest.ts +141 -0
- package/skillTree/request/index.d.ts +2 -1
- package/skillTree/request/index.js +3 -1
- package/skillTree/request/index.js.map +1 -1
- package/skillTree/request/index.ts +2 -0
- package/skillTree/rest.d.ts +1 -0
- package/skillTree/rest.js +34 -0
- package/skillTree/rest.js.map +1 -1
- package/skillTree/rest.ts +38 -0
- package/skillTree/result/MarkRestrainResult.d.ts +14 -0
- package/skillTree/result/MarkRestrainResult.js +48 -0
- package/skillTree/result/MarkRestrainResult.js.map +1 -0
- package/skillTree/result/MarkRestrainResult.ts +47 -0
- package/skillTree/result/index.d.ts +2 -1
- package/skillTree/result/index.js +3 -1
- package/skillTree/result/index.js.map +1 -1
- package/skillTree/result/index.ts +2 -0
- package/stamina/request/DecreaseMaxValueRequest.d.ts +37 -0
- package/stamina/request/DecreaseMaxValueRequest.js +123 -0
- package/stamina/request/DecreaseMaxValueRequest.js.map +1 -0
- package/stamina/request/DecreaseMaxValueRequest.ts +133 -0
- package/stamina/request/index.d.ts +2 -1
- package/stamina/request/index.js +4 -2
- package/stamina/request/index.js.map +1 -1
- package/stamina/request/index.ts +2 -0
- package/stamina/rest.d.ts +1 -0
- package/stamina/rest.js +34 -0
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +38 -0
- package/stamina/result/DecreaseMaxValueResult.d.ts +18 -0
- package/stamina/result/DecreaseMaxValueResult.js +62 -0
- package/stamina/result/DecreaseMaxValueResult.js.map +1 -0
- package/stamina/result/DecreaseMaxValueResult.ts +64 -0
- package/stamina/result/index.d.ts +2 -1
- package/stamina/result/index.js +4 -2
- package/stamina/result/index.js.map +1 -1
- package/stamina/result/index.ts +2 -0
|
@@ -0,0 +1,180 @@
|
|
|
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 Gs2Distributor = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var IfExpressionByUserIdRequest = /** @class */ (function () {
|
|
21
|
+
function IfExpressionByUserIdRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.condition = null;
|
|
27
|
+
this.trueActions = null;
|
|
28
|
+
this.falseActions = null;
|
|
29
|
+
this.multiplyValueSpecifyingQuantity = null;
|
|
30
|
+
this.timeOffsetToken = null;
|
|
31
|
+
this.duplicationAvoider = null;
|
|
32
|
+
}
|
|
33
|
+
IfExpressionByUserIdRequest.prototype.getRequestId = function () {
|
|
34
|
+
return this.requestId;
|
|
35
|
+
};
|
|
36
|
+
IfExpressionByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
IfExpressionByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
41
|
+
this.requestId = requestId;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
IfExpressionByUserIdRequest.prototype.getContextStack = function () {
|
|
45
|
+
return this.contextStack;
|
|
46
|
+
};
|
|
47
|
+
IfExpressionByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
IfExpressionByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
IfExpressionByUserIdRequest.prototype.getNamespaceName = function () {
|
|
56
|
+
return this.namespaceName;
|
|
57
|
+
};
|
|
58
|
+
IfExpressionByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
IfExpressionByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
IfExpressionByUserIdRequest.prototype.getUserId = function () {
|
|
67
|
+
return this.userId;
|
|
68
|
+
};
|
|
69
|
+
IfExpressionByUserIdRequest.prototype.setUserId = function (userId) {
|
|
70
|
+
this.userId = userId;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
IfExpressionByUserIdRequest.prototype.withUserId = function (userId) {
|
|
74
|
+
this.userId = userId;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
IfExpressionByUserIdRequest.prototype.getCondition = function () {
|
|
78
|
+
return this.condition;
|
|
79
|
+
};
|
|
80
|
+
IfExpressionByUserIdRequest.prototype.setCondition = function (condition) {
|
|
81
|
+
this.condition = condition;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
IfExpressionByUserIdRequest.prototype.withCondition = function (condition) {
|
|
85
|
+
this.condition = condition;
|
|
86
|
+
return this;
|
|
87
|
+
};
|
|
88
|
+
IfExpressionByUserIdRequest.prototype.getTrueActions = function () {
|
|
89
|
+
return this.trueActions;
|
|
90
|
+
};
|
|
91
|
+
IfExpressionByUserIdRequest.prototype.setTrueActions = function (trueActions) {
|
|
92
|
+
this.trueActions = trueActions;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
IfExpressionByUserIdRequest.prototype.withTrueActions = function (trueActions) {
|
|
96
|
+
this.trueActions = trueActions;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
IfExpressionByUserIdRequest.prototype.getFalseActions = function () {
|
|
100
|
+
return this.falseActions;
|
|
101
|
+
};
|
|
102
|
+
IfExpressionByUserIdRequest.prototype.setFalseActions = function (falseActions) {
|
|
103
|
+
this.falseActions = falseActions;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
IfExpressionByUserIdRequest.prototype.withFalseActions = function (falseActions) {
|
|
107
|
+
this.falseActions = falseActions;
|
|
108
|
+
return this;
|
|
109
|
+
};
|
|
110
|
+
IfExpressionByUserIdRequest.prototype.getMultiplyValueSpecifyingQuantity = function () {
|
|
111
|
+
return this.multiplyValueSpecifyingQuantity;
|
|
112
|
+
};
|
|
113
|
+
IfExpressionByUserIdRequest.prototype.setMultiplyValueSpecifyingQuantity = function (multiplyValueSpecifyingQuantity) {
|
|
114
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
IfExpressionByUserIdRequest.prototype.withMultiplyValueSpecifyingQuantity = function (multiplyValueSpecifyingQuantity) {
|
|
118
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
119
|
+
return this;
|
|
120
|
+
};
|
|
121
|
+
IfExpressionByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
122
|
+
return this.timeOffsetToken;
|
|
123
|
+
};
|
|
124
|
+
IfExpressionByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
125
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
126
|
+
return this;
|
|
127
|
+
};
|
|
128
|
+
IfExpressionByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
129
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
130
|
+
return this;
|
|
131
|
+
};
|
|
132
|
+
IfExpressionByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
133
|
+
return this.duplicationAvoider;
|
|
134
|
+
};
|
|
135
|
+
IfExpressionByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
136
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
137
|
+
return this;
|
|
138
|
+
};
|
|
139
|
+
IfExpressionByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
140
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
141
|
+
return this;
|
|
142
|
+
};
|
|
143
|
+
IfExpressionByUserIdRequest.fromDict = function (data) {
|
|
144
|
+
return new IfExpressionByUserIdRequest()
|
|
145
|
+
.withNamespaceName(data["namespaceName"])
|
|
146
|
+
.withUserId(data["userId"])
|
|
147
|
+
.withCondition(Gs2Distributor.VerifyAction.fromDict(data["condition"]))
|
|
148
|
+
.withTrueActions(data.trueActions ?
|
|
149
|
+
data.trueActions.map(function (item) {
|
|
150
|
+
return Gs2Distributor.ConsumeAction.fromDict(item);
|
|
151
|
+
}) : [])
|
|
152
|
+
.withFalseActions(data.falseActions ?
|
|
153
|
+
data.falseActions.map(function (item) {
|
|
154
|
+
return Gs2Distributor.ConsumeAction.fromDict(item);
|
|
155
|
+
}) : [])
|
|
156
|
+
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"])
|
|
157
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
158
|
+
};
|
|
159
|
+
IfExpressionByUserIdRequest.prototype.toDict = function () {
|
|
160
|
+
var _a;
|
|
161
|
+
return {
|
|
162
|
+
"namespaceName": this.getNamespaceName(),
|
|
163
|
+
"userId": this.getUserId(),
|
|
164
|
+
"condition": (_a = this.getCondition()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
165
|
+
"trueActions": this.getTrueActions() ?
|
|
166
|
+
this.getTrueActions().map(function (item) {
|
|
167
|
+
return item.toDict();
|
|
168
|
+
}) : [],
|
|
169
|
+
"falseActions": this.getFalseActions() ?
|
|
170
|
+
this.getFalseActions().map(function (item) {
|
|
171
|
+
return item.toDict();
|
|
172
|
+
}) : [],
|
|
173
|
+
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
174
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
return IfExpressionByUserIdRequest;
|
|
178
|
+
}());
|
|
179
|
+
exports.default = IfExpressionByUserIdRequest;
|
|
180
|
+
//# sourceMappingURL=IfExpressionByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IfExpressionByUserIdRequest.js","sourceR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kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA1KD,IA0KC"}
|
|
@@ -0,0 +1,191 @@
|
|
|
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Distributor from '../model'
|
|
20
|
+
|
|
21
|
+
export default class IfExpressionByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private userId: string|null = null;
|
|
27
|
+
private condition: Gs2Distributor.VerifyAction|null = null;
|
|
28
|
+
private trueActions: Gs2Distributor.ConsumeAction[]|null = null;
|
|
29
|
+
private falseActions: Gs2Distributor.ConsumeAction[]|null = null;
|
|
30
|
+
private multiplyValueSpecifyingQuantity: boolean|null = null;
|
|
31
|
+
private timeOffsetToken: string|null = null;
|
|
32
|
+
private duplicationAvoider: string|null = null;
|
|
33
|
+
|
|
34
|
+
public getRequestId(): string|null {
|
|
35
|
+
return this.requestId;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public setRequestId(requestId: string|null) {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public withRequestId(requestId: string|null): this {
|
|
44
|
+
this.requestId = requestId;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public getContextStack(): string|null {
|
|
49
|
+
return this.contextStack;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public setContextStack(contextStack: string|null) {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public withContextStack(contextStack: string|null): this {
|
|
58
|
+
this.contextStack = contextStack;
|
|
59
|
+
return this;
|
|
60
|
+
}
|
|
61
|
+
public getNamespaceName(): string|null {
|
|
62
|
+
return this.namespaceName;
|
|
63
|
+
}
|
|
64
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
69
|
+
this.namespaceName = namespaceName;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
public getUserId(): string|null {
|
|
73
|
+
return this.userId;
|
|
74
|
+
}
|
|
75
|
+
public setUserId(userId: string|null) {
|
|
76
|
+
this.userId = userId;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public withUserId(userId: string|null): this {
|
|
80
|
+
this.userId = userId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
public getCondition(): Gs2Distributor.VerifyAction|null {
|
|
84
|
+
return this.condition;
|
|
85
|
+
}
|
|
86
|
+
public setCondition(condition: Gs2Distributor.VerifyAction|null) {
|
|
87
|
+
this.condition = condition;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public withCondition(condition: Gs2Distributor.VerifyAction|null): this {
|
|
91
|
+
this.condition = condition;
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
public getTrueActions(): Gs2Distributor.ConsumeAction[]|null {
|
|
95
|
+
return this.trueActions;
|
|
96
|
+
}
|
|
97
|
+
public setTrueActions(trueActions: Gs2Distributor.ConsumeAction[]|null) {
|
|
98
|
+
this.trueActions = trueActions;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
public withTrueActions(trueActions: Gs2Distributor.ConsumeAction[]|null): this {
|
|
102
|
+
this.trueActions = trueActions;
|
|
103
|
+
return this;
|
|
104
|
+
}
|
|
105
|
+
public getFalseActions(): Gs2Distributor.ConsumeAction[]|null {
|
|
106
|
+
return this.falseActions;
|
|
107
|
+
}
|
|
108
|
+
public setFalseActions(falseActions: Gs2Distributor.ConsumeAction[]|null) {
|
|
109
|
+
this.falseActions = falseActions;
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
public withFalseActions(falseActions: Gs2Distributor.ConsumeAction[]|null): this {
|
|
113
|
+
this.falseActions = falseActions;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
public getMultiplyValueSpecifyingQuantity(): boolean|null {
|
|
117
|
+
return this.multiplyValueSpecifyingQuantity;
|
|
118
|
+
}
|
|
119
|
+
public setMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean|null) {
|
|
120
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
public withMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean|null): this {
|
|
124
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
125
|
+
return this;
|
|
126
|
+
}
|
|
127
|
+
public getTimeOffsetToken(): string|null {
|
|
128
|
+
return this.timeOffsetToken;
|
|
129
|
+
}
|
|
130
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
131
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
135
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
public getDuplicationAvoider(): string|null {
|
|
140
|
+
return this.duplicationAvoider;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
144
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
149
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
150
|
+
return this;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
public static fromDict(data: {[key: string]: any}): IfExpressionByUserIdRequest {
|
|
154
|
+
return new IfExpressionByUserIdRequest()
|
|
155
|
+
.withNamespaceName(data["namespaceName"])
|
|
156
|
+
.withUserId(data["userId"])
|
|
157
|
+
.withCondition(Gs2Distributor.VerifyAction.fromDict(data["condition"]))
|
|
158
|
+
.withTrueActions(data.trueActions ?
|
|
159
|
+
data.trueActions.map((item: {[key: string]: any}) => {
|
|
160
|
+
return Gs2Distributor.ConsumeAction.fromDict(item);
|
|
161
|
+
}
|
|
162
|
+
) : [])
|
|
163
|
+
.withFalseActions(data.falseActions ?
|
|
164
|
+
data.falseActions.map((item: {[key: string]: any}) => {
|
|
165
|
+
return Gs2Distributor.ConsumeAction.fromDict(item);
|
|
166
|
+
}
|
|
167
|
+
) : [])
|
|
168
|
+
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"])
|
|
169
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
public toDict(): {[key: string]: any} {
|
|
173
|
+
return {
|
|
174
|
+
"namespaceName": this.getNamespaceName(),
|
|
175
|
+
"userId": this.getUserId(),
|
|
176
|
+
"condition": this.getCondition()?.toDict(),
|
|
177
|
+
"trueActions": this.getTrueActions() ?
|
|
178
|
+
this.getTrueActions()!.map((item: Gs2Distributor.ConsumeAction) => {
|
|
179
|
+
return item.toDict();
|
|
180
|
+
}
|
|
181
|
+
) : [],
|
|
182
|
+
"falseActions": this.getFalseActions() ?
|
|
183
|
+
this.getFalseActions()!.map((item: Gs2Distributor.ConsumeAction) => {
|
|
184
|
+
return item.toDict();
|
|
185
|
+
}
|
|
186
|
+
) : [],
|
|
187
|
+
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
188
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class OrExpressionByStampTaskRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private stampTask;
|
|
6
|
+
private keyId;
|
|
7
|
+
getRequestId(): string | null;
|
|
8
|
+
setRequestId(requestId: string | null): this;
|
|
9
|
+
withRequestId(requestId: string | null): this;
|
|
10
|
+
getContextStack(): string | null;
|
|
11
|
+
setContextStack(contextStack: string | null): this;
|
|
12
|
+
withContextStack(contextStack: string | null): this;
|
|
13
|
+
getStampTask(): string | null;
|
|
14
|
+
setStampTask(stampTask: string | null): this;
|
|
15
|
+
withStampTask(stampTask: string | null): this;
|
|
16
|
+
getKeyId(): string | null;
|
|
17
|
+
setKeyId(keyId: string | null): this;
|
|
18
|
+
withKeyId(keyId: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): OrExpressionByStampTaskRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 OrExpressionByStampTaskRequest = /** @class */ (function () {
|
|
19
|
+
function OrExpressionByStampTaskRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.stampTask = null;
|
|
23
|
+
this.keyId = null;
|
|
24
|
+
}
|
|
25
|
+
OrExpressionByStampTaskRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
OrExpressionByStampTaskRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
OrExpressionByStampTaskRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
OrExpressionByStampTaskRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
OrExpressionByStampTaskRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
OrExpressionByStampTaskRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
OrExpressionByStampTaskRequest.prototype.getStampTask = function () {
|
|
48
|
+
return this.stampTask;
|
|
49
|
+
};
|
|
50
|
+
OrExpressionByStampTaskRequest.prototype.setStampTask = function (stampTask) {
|
|
51
|
+
this.stampTask = stampTask;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
OrExpressionByStampTaskRequest.prototype.withStampTask = function (stampTask) {
|
|
55
|
+
this.stampTask = stampTask;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
OrExpressionByStampTaskRequest.prototype.getKeyId = function () {
|
|
59
|
+
return this.keyId;
|
|
60
|
+
};
|
|
61
|
+
OrExpressionByStampTaskRequest.prototype.setKeyId = function (keyId) {
|
|
62
|
+
this.keyId = keyId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
OrExpressionByStampTaskRequest.prototype.withKeyId = function (keyId) {
|
|
66
|
+
this.keyId = keyId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
OrExpressionByStampTaskRequest.fromDict = function (data) {
|
|
70
|
+
return new OrExpressionByStampTaskRequest()
|
|
71
|
+
.withStampTask(data["stampTask"])
|
|
72
|
+
.withKeyId(data["keyId"]);
|
|
73
|
+
};
|
|
74
|
+
OrExpressionByStampTaskRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"stampTask": this.getStampTask(),
|
|
77
|
+
"keyId": this.getKeyId(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return OrExpressionByStampTaskRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = OrExpressionByStampTaskRequest;
|
|
83
|
+
//# sourceMappingURL=OrExpressionByStampTaskRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrExpressionByStampTaskRequest.js","sourceRoot":"","sources":["OrExpressionByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,C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,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,+CAAM,GAAb;QACI,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Distributor from '../model'
|
|
20
|
+
|
|
21
|
+
export default class OrExpressionByStampTaskRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private stampTask: string|null = null;
|
|
26
|
+
private keyId: string|null = null;
|
|
27
|
+
|
|
28
|
+
public getRequestId(): string|null {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setRequestId(requestId: string|null) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withRequestId(requestId: string|null): this {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getContextStack(): string|null {
|
|
43
|
+
return this.contextStack;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setContextStack(contextStack: string|null) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withContextStack(contextStack: string|null): this {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public getStampTask(): string|null {
|
|
56
|
+
return this.stampTask;
|
|
57
|
+
}
|
|
58
|
+
public setStampTask(stampTask: string|null) {
|
|
59
|
+
this.stampTask = stampTask;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withStampTask(stampTask: string|null): this {
|
|
63
|
+
this.stampTask = stampTask;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public getKeyId(): string|null {
|
|
67
|
+
return this.keyId;
|
|
68
|
+
}
|
|
69
|
+
public setKeyId(keyId: string|null) {
|
|
70
|
+
this.keyId = keyId;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
public withKeyId(keyId: string|null): this {
|
|
74
|
+
this.keyId = keyId;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static fromDict(data: {[key: string]: any}): OrExpressionByStampTaskRequest {
|
|
79
|
+
return new OrExpressionByStampTaskRequest()
|
|
80
|
+
.withStampTask(data["stampTask"])
|
|
81
|
+
.withKeyId(data["keyId"]);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public toDict(): {[key: string]: any} {
|
|
85
|
+
return {
|
|
86
|
+
"stampTask": this.getStampTask(),
|
|
87
|
+
"keyId": this.getKeyId(),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Distributor from '../model';
|
|
3
|
+
export default class OrExpressionByUserIdRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private userId;
|
|
8
|
+
private actions;
|
|
9
|
+
private timeOffsetToken;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getUserId(): string | null;
|
|
21
|
+
setUserId(userId: string | null): this;
|
|
22
|
+
withUserId(userId: string | null): this;
|
|
23
|
+
getActions(): Gs2Distributor.VerifyAction[] | null;
|
|
24
|
+
setActions(actions: Gs2Distributor.VerifyAction[] | null): this;
|
|
25
|
+
withActions(actions: Gs2Distributor.VerifyAction[] | null): this;
|
|
26
|
+
getTimeOffsetToken(): string | null;
|
|
27
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
28
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
29
|
+
getDuplicationAvoider(): string | null;
|
|
30
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
32
|
+
static fromDict(data: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}): OrExpressionByUserIdRequest;
|
|
35
|
+
toDict(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|