gs2 1.3.177 → 1.3.179
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/account/request/DeleteTakeOverByUserIdRequest.d.ts +33 -0
- package/account/request/DeleteTakeOverByUserIdRequest.js +109 -0
- package/account/request/DeleteTakeOverByUserIdRequest.js.map +1 -0
- package/account/request/DeleteTakeOverByUserIdRequest.ts +119 -0
- package/account/request/index.d.ts +2 -1
- package/account/request/index.js +3 -1
- package/account/request/index.js.map +1 -1
- package/account/request/index.ts +2 -0
- package/account/rest.d.ts +1 -0
- package/account/rest.js +28 -1
- package/account/rest.js.map +1 -1
- package/account/rest.ts +32 -1
- package/account/result/DeleteTakeOverByUserIdResult.d.ts +14 -0
- package/account/result/DeleteTakeOverByUserIdResult.js +48 -0
- package/account/result/DeleteTakeOverByUserIdResult.js.map +1 -0
- package/account/result/DeleteTakeOverByUserIdResult.ts +48 -0
- package/account/result/index.d.ts +2 -1
- package/account/result/index.js +3 -1
- package/account/result/index.js.map +1 -1
- package/account/result/index.ts +2 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.d.ts +25 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.js +83 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.js.map +1 -0
- package/dictionary/request/VerifyEntryByStampTaskRequest.ts +90 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.d.ts +37 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.js +123 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.js.map +1 -0
- package/dictionary/request/VerifyEntryByUserIdRequest.ts +133 -0
- package/dictionary/request/VerifyEntryRequest.d.ts +37 -0
- package/dictionary/request/VerifyEntryRequest.js +123 -0
- package/dictionary/request/VerifyEntryRequest.js.map +1 -0
- package/dictionary/request/VerifyEntryRequest.ts +133 -0
- package/dictionary/request/index.d.ts +4 -1
- package/dictionary/request/index.js +7 -1
- package/dictionary/request/index.js.map +1 -1
- package/dictionary/request/index.ts +6 -0
- package/dictionary/rest.d.ts +3 -0
- package/dictionary/rest.js +93 -0
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +105 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.d.ts +13 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.js +45 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.js.map +1 -0
- package/dictionary/result/VerifyEntryByStampTaskResult.ts +48 -0
- package/dictionary/result/VerifyEntryByUserIdResult.d.ts +9 -0
- package/dictionary/result/VerifyEntryByUserIdResult.js +30 -0
- package/dictionary/result/VerifyEntryByUserIdResult.js.map +1 -0
- package/dictionary/result/VerifyEntryByUserIdResult.ts +31 -0
- package/dictionary/result/VerifyEntryResult.d.ts +9 -0
- package/dictionary/result/VerifyEntryResult.js +30 -0
- package/dictionary/result/VerifyEntryResult.js.map +1 -0
- package/dictionary/result/VerifyEntryResult.ts +31 -0
- package/dictionary/result/index.d.ts +4 -1
- package/dictionary/result/index.js +7 -1
- package/dictionary/result/index.js.map +1 -1
- package/dictionary/result/index.ts +6 -0
- package/experience/request/VerifyRankByStampTaskRequest.d.ts +25 -0
- package/experience/request/VerifyRankByStampTaskRequest.js +83 -0
- package/experience/request/VerifyRankByStampTaskRequest.js.map +1 -0
- package/experience/request/VerifyRankByStampTaskRequest.ts +90 -0
- package/experience/request/VerifyRankByUserIdRequest.d.ts +45 -0
- package/experience/request/VerifyRankByUserIdRequest.js +151 -0
- package/experience/request/VerifyRankByUserIdRequest.js.map +1 -0
- package/experience/request/VerifyRankByUserIdRequest.ts +161 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.d.ts +25 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.js +83 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.js.map +1 -0
- package/experience/request/VerifyRankCapByStampTaskRequest.ts +90 -0
- package/experience/request/VerifyRankCapByUserIdRequest.d.ts +45 -0
- package/experience/request/VerifyRankCapByUserIdRequest.js +151 -0
- package/experience/request/VerifyRankCapByUserIdRequest.js.map +1 -0
- package/experience/request/VerifyRankCapByUserIdRequest.ts +161 -0
- package/experience/request/VerifyRankCapRequest.d.ts +45 -0
- package/experience/request/VerifyRankCapRequest.js +151 -0
- package/experience/request/VerifyRankCapRequest.js.map +1 -0
- package/experience/request/VerifyRankCapRequest.ts +161 -0
- package/experience/request/VerifyRankRequest.d.ts +45 -0
- package/experience/request/VerifyRankRequest.js +151 -0
- package/experience/request/VerifyRankRequest.js.map +1 -0
- package/experience/request/VerifyRankRequest.ts +161 -0
- package/experience/request/index.d.ts +7 -1
- package/experience/request/index.js +13 -1
- package/experience/request/index.js.map +1 -1
- package/experience/request/index.ts +12 -0
- package/experience/rest.d.ts +6 -0
- package/experience/rest.js +194 -0
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +218 -0
- package/experience/result/VerifyRankByStampTaskResult.d.ts +13 -0
- package/experience/result/VerifyRankByStampTaskResult.js +45 -0
- package/experience/result/VerifyRankByStampTaskResult.js.map +1 -0
- package/experience/result/VerifyRankByStampTaskResult.ts +48 -0
- package/experience/result/VerifyRankByUserIdResult.d.ts +9 -0
- package/experience/result/VerifyRankByUserIdResult.js +30 -0
- package/experience/result/VerifyRankByUserIdResult.js.map +1 -0
- package/experience/result/VerifyRankByUserIdResult.ts +31 -0
- package/experience/result/VerifyRankCapByStampTaskResult.d.ts +13 -0
- package/experience/result/VerifyRankCapByStampTaskResult.js +45 -0
- package/experience/result/VerifyRankCapByStampTaskResult.js.map +1 -0
- package/experience/result/VerifyRankCapByStampTaskResult.ts +48 -0
- package/experience/result/VerifyRankCapByUserIdResult.d.ts +9 -0
- package/experience/result/VerifyRankCapByUserIdResult.js +30 -0
- package/experience/result/VerifyRankCapByUserIdResult.js.map +1 -0
- package/experience/result/VerifyRankCapByUserIdResult.ts +31 -0
- package/experience/result/VerifyRankCapResult.d.ts +9 -0
- package/experience/result/VerifyRankCapResult.js +30 -0
- package/experience/result/VerifyRankCapResult.js.map +1 -0
- package/experience/result/VerifyRankCapResult.ts +31 -0
- package/experience/result/VerifyRankResult.d.ts +9 -0
- package/experience/result/VerifyRankResult.js +30 -0
- package/experience/result/VerifyRankResult.js.map +1 -0
- package/experience/result/VerifyRankResult.ts +31 -0
- package/experience/result/index.d.ts +7 -1
- package/experience/result/index.js +13 -1
- package/experience/result/index.js.map +1 -1
- package/experience/result/index.ts +12 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.js +83 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifyBigItemByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.d.ts +45 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.js +151 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifyBigItemByUserIdRequest.ts +161 -0
- package/inventory/request/VerifyBigItemRequest.d.ts +45 -0
- package/inventory/request/VerifyBigItemRequest.js +151 -0
- package/inventory/request/VerifyBigItemRequest.js.map +1 -0
- package/inventory/request/VerifyBigItemRequest.ts +161 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.js +83 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifyItemSetByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.d.ts +49 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.js +165 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifyItemSetByUserIdRequest.ts +175 -0
- package/inventory/request/VerifyItemSetRequest.d.ts +49 -0
- package/inventory/request/VerifyItemSetRequest.js +165 -0
- package/inventory/request/VerifyItemSetRequest.js.map +1 -0
- package/inventory/request/VerifyItemSetRequest.ts +175 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.js +83 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifySimpleItemByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.d.ts +45 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.js +151 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifySimpleItemByUserIdRequest.ts +161 -0
- package/inventory/request/VerifySimpleItemRequest.d.ts +45 -0
- package/inventory/request/VerifySimpleItemRequest.js +151 -0
- package/inventory/request/VerifySimpleItemRequest.js.map +1 -0
- package/inventory/request/VerifySimpleItemRequest.ts +161 -0
- package/inventory/request/index.d.ts +10 -1
- package/inventory/request/index.js +20 -2
- package/inventory/request/index.js.map +1 -1
- package/inventory/request/index.ts +18 -0
- package/inventory/rest.d.ts +9 -0
- package/inventory/rest.js +293 -0
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +329 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.js +45 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifyBigItemByStampTaskResult.ts +48 -0
- package/inventory/result/VerifyBigItemByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifyBigItemByUserIdResult.js +30 -0
- package/inventory/result/VerifyBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/VerifyBigItemByUserIdResult.ts +31 -0
- package/inventory/result/VerifyBigItemResult.d.ts +9 -0
- package/inventory/result/VerifyBigItemResult.js +30 -0
- package/inventory/result/VerifyBigItemResult.js.map +1 -0
- package/inventory/result/VerifyBigItemResult.ts +31 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.js +45 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifyItemSetByStampTaskResult.ts +48 -0
- package/inventory/result/VerifyItemSetByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifyItemSetByUserIdResult.js +30 -0
- package/inventory/result/VerifyItemSetByUserIdResult.js.map +1 -0
- package/inventory/result/VerifyItemSetByUserIdResult.ts +31 -0
- package/inventory/result/VerifyItemSetResult.d.ts +9 -0
- package/inventory/result/VerifyItemSetResult.js +30 -0
- package/inventory/result/VerifyItemSetResult.js.map +1 -0
- package/inventory/result/VerifyItemSetResult.ts +31 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.js +45 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifySimpleItemByStampTaskResult.ts +48 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.js +30 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.js.map +1 -0
- package/inventory/result/VerifySimpleItemByUserIdResult.ts +31 -0
- package/inventory/result/VerifySimpleItemResult.d.ts +9 -0
- package/inventory/result/VerifySimpleItemResult.js +30 -0
- package/inventory/result/VerifySimpleItemResult.js.map +1 -0
- package/inventory/result/VerifySimpleItemResult.ts +31 -0
- package/inventory/result/index.d.ts +10 -1
- package/inventory/result/index.js +20 -2
- package/inventory/result/index.js.map +1 -1
- package/inventory/result/index.ts +18 -0
- package/limit/request/VerifyCounterByStampTaskRequest.d.ts +25 -0
- package/limit/request/VerifyCounterByStampTaskRequest.js +83 -0
- package/limit/request/VerifyCounterByStampTaskRequest.js.map +1 -0
- package/limit/request/VerifyCounterByStampTaskRequest.ts +90 -0
- package/limit/request/VerifyCounterByUserIdRequest.d.ts +45 -0
- package/limit/request/VerifyCounterByUserIdRequest.js +151 -0
- package/limit/request/VerifyCounterByUserIdRequest.js.map +1 -0
- package/limit/request/VerifyCounterByUserIdRequest.ts +161 -0
- package/limit/request/VerifyCounterRequest.d.ts +45 -0
- package/limit/request/VerifyCounterRequest.js +151 -0
- package/limit/request/VerifyCounterRequest.js.map +1 -0
- package/limit/request/VerifyCounterRequest.ts +161 -0
- package/limit/request/index.d.ts +4 -1
- package/limit/request/index.js +7 -1
- package/limit/request/index.js.map +1 -1
- package/limit/request/index.ts +6 -0
- package/limit/rest.d.ts +3 -0
- package/limit/rest.js +97 -0
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +109 -0
- package/limit/result/VerifyCounterByStampTaskResult.d.ts +13 -0
- package/limit/result/VerifyCounterByStampTaskResult.js +45 -0
- package/limit/result/VerifyCounterByStampTaskResult.js.map +1 -0
- package/limit/result/VerifyCounterByStampTaskResult.ts +48 -0
- package/limit/result/VerifyCounterByUserIdResult.d.ts +9 -0
- package/limit/result/VerifyCounterByUserIdResult.js +30 -0
- package/limit/result/VerifyCounterByUserIdResult.js.map +1 -0
- package/limit/result/VerifyCounterByUserIdResult.ts +31 -0
- package/limit/result/VerifyCounterResult.d.ts +9 -0
- package/limit/result/VerifyCounterResult.js +30 -0
- package/limit/result/VerifyCounterResult.js.map +1 -0
- package/limit/result/VerifyCounterResult.ts +31 -0
- package/limit/result/index.d.ts +4 -1
- package/limit/result/index.js +7 -1
- package/limit/result/index.js.map +1 -1
- package/limit/result/index.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,151 @@
|
|
|
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 VerifySimpleItemByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function VerifySimpleItemByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.inventoryName = null;
|
|
25
|
+
this.itemName = null;
|
|
26
|
+
this.verifyType = null;
|
|
27
|
+
this.count = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
VerifySimpleItemByUserIdRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
VerifySimpleItemByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
VerifySimpleItemByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
VerifySimpleItemByUserIdRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
VerifySimpleItemByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
VerifySimpleItemByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
VerifySimpleItemByUserIdRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
VerifySimpleItemByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
VerifySimpleItemByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
VerifySimpleItemByUserIdRequest.prototype.getUserId = function () {
|
|
64
|
+
return this.userId;
|
|
65
|
+
};
|
|
66
|
+
VerifySimpleItemByUserIdRequest.prototype.setUserId = function (userId) {
|
|
67
|
+
this.userId = userId;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
VerifySimpleItemByUserIdRequest.prototype.withUserId = function (userId) {
|
|
71
|
+
this.userId = userId;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
VerifySimpleItemByUserIdRequest.prototype.getInventoryName = function () {
|
|
75
|
+
return this.inventoryName;
|
|
76
|
+
};
|
|
77
|
+
VerifySimpleItemByUserIdRequest.prototype.setInventoryName = function (inventoryName) {
|
|
78
|
+
this.inventoryName = inventoryName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
VerifySimpleItemByUserIdRequest.prototype.withInventoryName = function (inventoryName) {
|
|
82
|
+
this.inventoryName = inventoryName;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
VerifySimpleItemByUserIdRequest.prototype.getItemName = function () {
|
|
86
|
+
return this.itemName;
|
|
87
|
+
};
|
|
88
|
+
VerifySimpleItemByUserIdRequest.prototype.setItemName = function (itemName) {
|
|
89
|
+
this.itemName = itemName;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
VerifySimpleItemByUserIdRequest.prototype.withItemName = function (itemName) {
|
|
93
|
+
this.itemName = itemName;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
VerifySimpleItemByUserIdRequest.prototype.getVerifyType = function () {
|
|
97
|
+
return this.verifyType;
|
|
98
|
+
};
|
|
99
|
+
VerifySimpleItemByUserIdRequest.prototype.setVerifyType = function (verifyType) {
|
|
100
|
+
this.verifyType = verifyType;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
VerifySimpleItemByUserIdRequest.prototype.withVerifyType = function (verifyType) {
|
|
104
|
+
this.verifyType = verifyType;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
VerifySimpleItemByUserIdRequest.prototype.getCount = function () {
|
|
108
|
+
return this.count;
|
|
109
|
+
};
|
|
110
|
+
VerifySimpleItemByUserIdRequest.prototype.setCount = function (count) {
|
|
111
|
+
this.count = count;
|
|
112
|
+
return this;
|
|
113
|
+
};
|
|
114
|
+
VerifySimpleItemByUserIdRequest.prototype.withCount = function (count) {
|
|
115
|
+
this.count = count;
|
|
116
|
+
return this;
|
|
117
|
+
};
|
|
118
|
+
VerifySimpleItemByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
119
|
+
return this.duplicationAvoider;
|
|
120
|
+
};
|
|
121
|
+
VerifySimpleItemByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
122
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
125
|
+
VerifySimpleItemByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
126
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
VerifySimpleItemByUserIdRequest.fromDict = function (data) {
|
|
130
|
+
return new VerifySimpleItemByUserIdRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withUserId(data["userId"])
|
|
133
|
+
.withInventoryName(data["inventoryName"])
|
|
134
|
+
.withItemName(data["itemName"])
|
|
135
|
+
.withVerifyType(data["verifyType"])
|
|
136
|
+
.withCount(data["count"]);
|
|
137
|
+
};
|
|
138
|
+
VerifySimpleItemByUserIdRequest.prototype.toDict = function () {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"userId": this.getUserId(),
|
|
142
|
+
"inventoryName": this.getInventoryName(),
|
|
143
|
+
"itemName": this.getItemName(),
|
|
144
|
+
"verifyType": this.getVerifyType(),
|
|
145
|
+
"count": this.getCount(),
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
return VerifySimpleItemByUserIdRequest;
|
|
149
|
+
}());
|
|
150
|
+
exports.default = VerifySimpleItemByUserIdRequest;
|
|
151
|
+
//# sourceMappingURL=VerifySimpleItemByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifySimpleItemByUserIdRequest.js","sourceRoot":"","sources":["VerifySimpleItemByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,kBAAa,GAAgB,IAAI,CAAC;QAClC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,eAAU,GAAgB,IAAI,CAAC;QAC/B,UAAK,GAAgB,IAAI,CAAC;QAC1B,uBAAkB,GAAgB,IAAI,CAAC;IAkInD,CAAC;IAhIU,sDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,sDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,yDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY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AAC;aACxC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,gDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,sCAAC;AAAD,CAAC,AA5ID,IA4IC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
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 Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifySimpleItemByUserIdRequest 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 inventoryName: string|null = null;
|
|
28
|
+
private itemName: string|null = null;
|
|
29
|
+
private verifyType: string|null = null;
|
|
30
|
+
private count: number|null = null;
|
|
31
|
+
private duplicationAvoider: string|null = null;
|
|
32
|
+
|
|
33
|
+
public getRequestId(): string|null {
|
|
34
|
+
return this.requestId;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public setRequestId(requestId: string|null) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public withRequestId(requestId: string|null): this {
|
|
43
|
+
this.requestId = requestId;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public getContextStack(): string|null {
|
|
48
|
+
return this.contextStack;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public setContextStack(contextStack: string|null) {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public withContextStack(contextStack: string|null): this {
|
|
57
|
+
this.contextStack = contextStack;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
public getNamespaceName(): string|null {
|
|
61
|
+
return this.namespaceName;
|
|
62
|
+
}
|
|
63
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
64
|
+
this.namespaceName = namespaceName;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
68
|
+
this.namespaceName = namespaceName;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
public getUserId(): string|null {
|
|
72
|
+
return this.userId;
|
|
73
|
+
}
|
|
74
|
+
public setUserId(userId: string|null) {
|
|
75
|
+
this.userId = userId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withUserId(userId: string|null): this {
|
|
79
|
+
this.userId = userId;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public getInventoryName(): string|null {
|
|
83
|
+
return this.inventoryName;
|
|
84
|
+
}
|
|
85
|
+
public setInventoryName(inventoryName: string|null) {
|
|
86
|
+
this.inventoryName = inventoryName;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
public withInventoryName(inventoryName: string|null): this {
|
|
90
|
+
this.inventoryName = inventoryName;
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
public getItemName(): string|null {
|
|
94
|
+
return this.itemName;
|
|
95
|
+
}
|
|
96
|
+
public setItemName(itemName: string|null) {
|
|
97
|
+
this.itemName = itemName;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public withItemName(itemName: string|null): this {
|
|
101
|
+
this.itemName = itemName;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
public getVerifyType(): string|null {
|
|
105
|
+
return this.verifyType;
|
|
106
|
+
}
|
|
107
|
+
public setVerifyType(verifyType: string|null) {
|
|
108
|
+
this.verifyType = verifyType;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
public withVerifyType(verifyType: string|null): this {
|
|
112
|
+
this.verifyType = verifyType;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
public getCount(): number|null {
|
|
116
|
+
return this.count;
|
|
117
|
+
}
|
|
118
|
+
public setCount(count: number|null) {
|
|
119
|
+
this.count = count;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public withCount(count: number|null): this {
|
|
123
|
+
this.count = count;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
public getDuplicationAvoider(): string|null {
|
|
128
|
+
return this.duplicationAvoider;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
132
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
137
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
public static fromDict(data: {[key: string]: any}): VerifySimpleItemByUserIdRequest {
|
|
142
|
+
return new VerifySimpleItemByUserIdRequest()
|
|
143
|
+
.withNamespaceName(data["namespaceName"])
|
|
144
|
+
.withUserId(data["userId"])
|
|
145
|
+
.withInventoryName(data["inventoryName"])
|
|
146
|
+
.withItemName(data["itemName"])
|
|
147
|
+
.withVerifyType(data["verifyType"])
|
|
148
|
+
.withCount(data["count"]);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
public toDict(): {[key: string]: any} {
|
|
152
|
+
return {
|
|
153
|
+
"namespaceName": this.getNamespaceName(),
|
|
154
|
+
"userId": this.getUserId(),
|
|
155
|
+
"inventoryName": this.getInventoryName(),
|
|
156
|
+
"itemName": this.getItemName(),
|
|
157
|
+
"verifyType": this.getVerifyType(),
|
|
158
|
+
"count": this.getCount(),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifySimpleItemRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private inventoryName;
|
|
8
|
+
private itemName;
|
|
9
|
+
private verifyType;
|
|
10
|
+
private count;
|
|
11
|
+
private duplicationAvoider;
|
|
12
|
+
getRequestId(): string | null;
|
|
13
|
+
setRequestId(requestId: string | null): this;
|
|
14
|
+
withRequestId(requestId: string | null): this;
|
|
15
|
+
getContextStack(): string | null;
|
|
16
|
+
setContextStack(contextStack: string | null): this;
|
|
17
|
+
withContextStack(contextStack: string | null): this;
|
|
18
|
+
getNamespaceName(): string | null;
|
|
19
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
21
|
+
getAccessToken(): string | null;
|
|
22
|
+
setAccessToken(accessToken: string | null): this;
|
|
23
|
+
withAccessToken(accessToken: string | null): this;
|
|
24
|
+
getInventoryName(): string | null;
|
|
25
|
+
setInventoryName(inventoryName: string | null): this;
|
|
26
|
+
withInventoryName(inventoryName: string | null): this;
|
|
27
|
+
getItemName(): string | null;
|
|
28
|
+
setItemName(itemName: string | null): this;
|
|
29
|
+
withItemName(itemName: string | null): this;
|
|
30
|
+
getVerifyType(): string | null;
|
|
31
|
+
setVerifyType(verifyType: string | null): this;
|
|
32
|
+
withVerifyType(verifyType: string | null): this;
|
|
33
|
+
getCount(): number | null;
|
|
34
|
+
setCount(count: number | null): this;
|
|
35
|
+
withCount(count: number | null): this;
|
|
36
|
+
getDuplicationAvoider(): string | null;
|
|
37
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
38
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
39
|
+
static fromDict(data: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}): VerifySimpleItemRequest;
|
|
42
|
+
toDict(): {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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 VerifySimpleItemRequest = /** @class */ (function () {
|
|
19
|
+
function VerifySimpleItemRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.inventoryName = null;
|
|
25
|
+
this.itemName = null;
|
|
26
|
+
this.verifyType = null;
|
|
27
|
+
this.count = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
VerifySimpleItemRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
VerifySimpleItemRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
VerifySimpleItemRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
VerifySimpleItemRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
VerifySimpleItemRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
VerifySimpleItemRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
VerifySimpleItemRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
VerifySimpleItemRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
VerifySimpleItemRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
VerifySimpleItemRequest.prototype.getAccessToken = function () {
|
|
64
|
+
return this.accessToken;
|
|
65
|
+
};
|
|
66
|
+
VerifySimpleItemRequest.prototype.setAccessToken = function (accessToken) {
|
|
67
|
+
this.accessToken = accessToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
VerifySimpleItemRequest.prototype.withAccessToken = function (accessToken) {
|
|
71
|
+
this.accessToken = accessToken;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
VerifySimpleItemRequest.prototype.getInventoryName = function () {
|
|
75
|
+
return this.inventoryName;
|
|
76
|
+
};
|
|
77
|
+
VerifySimpleItemRequest.prototype.setInventoryName = function (inventoryName) {
|
|
78
|
+
this.inventoryName = inventoryName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
VerifySimpleItemRequest.prototype.withInventoryName = function (inventoryName) {
|
|
82
|
+
this.inventoryName = inventoryName;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
VerifySimpleItemRequest.prototype.getItemName = function () {
|
|
86
|
+
return this.itemName;
|
|
87
|
+
};
|
|
88
|
+
VerifySimpleItemRequest.prototype.setItemName = function (itemName) {
|
|
89
|
+
this.itemName = itemName;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
VerifySimpleItemRequest.prototype.withItemName = function (itemName) {
|
|
93
|
+
this.itemName = itemName;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
VerifySimpleItemRequest.prototype.getVerifyType = function () {
|
|
97
|
+
return this.verifyType;
|
|
98
|
+
};
|
|
99
|
+
VerifySimpleItemRequest.prototype.setVerifyType = function (verifyType) {
|
|
100
|
+
this.verifyType = verifyType;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
VerifySimpleItemRequest.prototype.withVerifyType = function (verifyType) {
|
|
104
|
+
this.verifyType = verifyType;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
VerifySimpleItemRequest.prototype.getCount = function () {
|
|
108
|
+
return this.count;
|
|
109
|
+
};
|
|
110
|
+
VerifySimpleItemRequest.prototype.setCount = function (count) {
|
|
111
|
+
this.count = count;
|
|
112
|
+
return this;
|
|
113
|
+
};
|
|
114
|
+
VerifySimpleItemRequest.prototype.withCount = function (count) {
|
|
115
|
+
this.count = count;
|
|
116
|
+
return this;
|
|
117
|
+
};
|
|
118
|
+
VerifySimpleItemRequest.prototype.getDuplicationAvoider = function () {
|
|
119
|
+
return this.duplicationAvoider;
|
|
120
|
+
};
|
|
121
|
+
VerifySimpleItemRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
122
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
125
|
+
VerifySimpleItemRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
126
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
VerifySimpleItemRequest.fromDict = function (data) {
|
|
130
|
+
return new VerifySimpleItemRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withAccessToken(data["accessToken"])
|
|
133
|
+
.withInventoryName(data["inventoryName"])
|
|
134
|
+
.withItemName(data["itemName"])
|
|
135
|
+
.withVerifyType(data["verifyType"])
|
|
136
|
+
.withCount(data["count"]);
|
|
137
|
+
};
|
|
138
|
+
VerifySimpleItemRequest.prototype.toDict = function () {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"accessToken": this.getAccessToken(),
|
|
142
|
+
"inventoryName": this.getInventoryName(),
|
|
143
|
+
"itemName": this.getItemName(),
|
|
144
|
+
"verifyType": this.getVerifyType(),
|
|
145
|
+
"count": this.getCount(),
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
return VerifySimpleItemRequest;
|
|
149
|
+
}());
|
|
150
|
+
exports.default = VerifySimpleItemRequest;
|
|
151
|
+
//# sourceMappingURL=VerifySimpleItemRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifySimpleItemRequest.js","sourceRoot":"","sources":["VerifySimpleItemRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAgB,IAAI,CAAC;QAClC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,eAAU,GAAgB,IAAI,CAAC;QAC/B,UAAK,GAAgB,IAAI,CAAC;QAC1B,uBAAkB,GAAgB,IAAI,CAAC;IAkInD,CAAC;IAhIU,8CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,8CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,iDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,kDAAgB,GAAvB,UAAwB,aAA0B;QA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Ac,EAAE;YACpC,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA5ID,IA4IC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
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 Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifySimpleItemRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private accessToken: string|null = null;
|
|
27
|
+
private inventoryName: string|null = null;
|
|
28
|
+
private itemName: string|null = null;
|
|
29
|
+
private verifyType: string|null = null;
|
|
30
|
+
private count: number|null = null;
|
|
31
|
+
private duplicationAvoider: string|null = null;
|
|
32
|
+
|
|
33
|
+
public getRequestId(): string|null {
|
|
34
|
+
return this.requestId;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public setRequestId(requestId: string|null) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public withRequestId(requestId: string|null): this {
|
|
43
|
+
this.requestId = requestId;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public getContextStack(): string|null {
|
|
48
|
+
return this.contextStack;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public setContextStack(contextStack: string|null) {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public withContextStack(contextStack: string|null): this {
|
|
57
|
+
this.contextStack = contextStack;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
public getNamespaceName(): string|null {
|
|
61
|
+
return this.namespaceName;
|
|
62
|
+
}
|
|
63
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
64
|
+
this.namespaceName = namespaceName;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
68
|
+
this.namespaceName = namespaceName;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
public getAccessToken(): string|null {
|
|
72
|
+
return this.accessToken;
|
|
73
|
+
}
|
|
74
|
+
public setAccessToken(accessToken: string|null) {
|
|
75
|
+
this.accessToken = accessToken;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withAccessToken(accessToken: string|null): this {
|
|
79
|
+
this.accessToken = accessToken;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public getInventoryName(): string|null {
|
|
83
|
+
return this.inventoryName;
|
|
84
|
+
}
|
|
85
|
+
public setInventoryName(inventoryName: string|null) {
|
|
86
|
+
this.inventoryName = inventoryName;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
public withInventoryName(inventoryName: string|null): this {
|
|
90
|
+
this.inventoryName = inventoryName;
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
public getItemName(): string|null {
|
|
94
|
+
return this.itemName;
|
|
95
|
+
}
|
|
96
|
+
public setItemName(itemName: string|null) {
|
|
97
|
+
this.itemName = itemName;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public withItemName(itemName: string|null): this {
|
|
101
|
+
this.itemName = itemName;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
public getVerifyType(): string|null {
|
|
105
|
+
return this.verifyType;
|
|
106
|
+
}
|
|
107
|
+
public setVerifyType(verifyType: string|null) {
|
|
108
|
+
this.verifyType = verifyType;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
public withVerifyType(verifyType: string|null): this {
|
|
112
|
+
this.verifyType = verifyType;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
public getCount(): number|null {
|
|
116
|
+
return this.count;
|
|
117
|
+
}
|
|
118
|
+
public setCount(count: number|null) {
|
|
119
|
+
this.count = count;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public withCount(count: number|null): this {
|
|
123
|
+
this.count = count;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
public getDuplicationAvoider(): string|null {
|
|
128
|
+
return this.duplicationAvoider;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
132
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
137
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
public static fromDict(data: {[key: string]: any}): VerifySimpleItemRequest {
|
|
142
|
+
return new VerifySimpleItemRequest()
|
|
143
|
+
.withNamespaceName(data["namespaceName"])
|
|
144
|
+
.withAccessToken(data["accessToken"])
|
|
145
|
+
.withInventoryName(data["inventoryName"])
|
|
146
|
+
.withItemName(data["itemName"])
|
|
147
|
+
.withVerifyType(data["verifyType"])
|
|
148
|
+
.withCount(data["count"]);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
public toDict(): {[key: string]: any} {
|
|
152
|
+
return {
|
|
153
|
+
"namespaceName": this.getNamespaceName(),
|
|
154
|
+
"accessToken": this.getAccessToken(),
|
|
155
|
+
"inventoryName": this.getInventoryName(),
|
|
156
|
+
"itemName": this.getItemName(),
|
|
157
|
+
"verifyType": this.getVerifyType(),
|
|
158
|
+
"count": this.getCount(),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}
|