gs2 1.3.180 → 1.3.181
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/inventory/request/VerifyInventoryCurrentMaxCapacityByStampTaskRequest.d.ts +25 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByStampTaskRequest.js +83 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByStampTaskRequest.js.map +1 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByStampTaskRequest.ts +90 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByUserIdRequest.d.ts +41 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByUserIdRequest.js +137 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByUserIdRequest.js.map +1 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityByUserIdRequest.ts +147 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityRequest.d.ts +41 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityRequest.js +137 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityRequest.js.map +1 -0
- package/inventory/request/VerifyInventoryCurrentMaxCapacityRequest.ts +147 -0
- package/inventory/request/index.d.ts +4 -1
- package/inventory/request/index.js +8 -2
- package/inventory/request/index.js.map +1 -1
- package/inventory/request/index.ts +6 -0
- package/inventory/rest.d.ts +3 -0
- package/inventory/rest.js +95 -0
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +107 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByStampTaskResult.d.ts +13 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByStampTaskResult.js +45 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByStampTaskResult.js.map +1 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByStampTaskResult.ts +48 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByUserIdResult.d.ts +9 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByUserIdResult.js +30 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByUserIdResult.js.map +1 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityByUserIdResult.ts +31 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityResult.d.ts +9 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityResult.js +30 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityResult.js.map +1 -0
- package/inventory/result/VerifyInventoryCurrentMaxCapacityResult.ts +31 -0
- package/inventory/result/index.d.ts +4 -1
- package/inventory/result/index.js +8 -2
- package/inventory/result/index.js.map +1 -1
- package/inventory/result/index.ts +6 -0
- package/package.json +1 -1
- package/project/model/CleanProgress.d.ts +46 -0
- package/project/model/CleanProgress.js +195 -0
- package/project/model/CleanProgress.js.map +1 -0
- package/project/model/CleanProgress.ts +205 -0
- package/project/model/DumpProgress.d.ts +46 -0
- package/project/model/DumpProgress.js +195 -0
- package/project/model/DumpProgress.js.map +1 -0
- package/project/model/DumpProgress.ts +205 -0
- package/project/model/index.d.ts +3 -1
- package/project/model/index.js +5 -1
- package/project/model/index.js.map +1 -1
- package/project/model/index.ts +4 -0
- package/project/request/ArchiveDumpUserDataRequest.d.ts +21 -0
- package/project/request/ArchiveDumpUserDataRequest.js +69 -0
- package/project/request/ArchiveDumpUserDataRequest.js.map +1 -0
- package/project/request/ArchiveDumpUserDataRequest.ts +76 -0
- package/project/request/CleanUserDataRequest.d.ts +25 -0
- package/project/request/CleanUserDataRequest.js +81 -0
- package/project/request/CleanUserDataRequest.js.map +1 -0
- package/project/request/CleanUserDataRequest.ts +91 -0
- package/project/request/DescribeCleanProgressesRequest.d.ts +25 -0
- package/project/request/DescribeCleanProgressesRequest.js +83 -0
- package/project/request/DescribeCleanProgressesRequest.js.map +1 -0
- package/project/request/DescribeCleanProgressesRequest.ts +90 -0
- package/project/request/DescribeDumpProgressesRequest.d.ts +25 -0
- package/project/request/DescribeDumpProgressesRequest.js +83 -0
- package/project/request/DescribeDumpProgressesRequest.js.map +1 -0
- package/project/request/DescribeDumpProgressesRequest.ts +90 -0
- package/project/request/DumpUserDataRequest.d.ts +25 -0
- package/project/request/DumpUserDataRequest.js +81 -0
- package/project/request/DumpUserDataRequest.js.map +1 -0
- package/project/request/DumpUserDataRequest.ts +91 -0
- package/project/request/GetCleanProgressRequest.d.ts +21 -0
- package/project/request/GetCleanProgressRequest.js +69 -0
- package/project/request/GetCleanProgressRequest.js.map +1 -0
- package/project/request/GetCleanProgressRequest.ts +76 -0
- package/project/request/GetDumpProgressRequest.d.ts +21 -0
- package/project/request/GetDumpProgressRequest.js +69 -0
- package/project/request/GetDumpProgressRequest.js.map +1 -0
- package/project/request/GetDumpProgressRequest.ts +76 -0
- package/project/request/GetDumpUserDataRequest.d.ts +21 -0
- package/project/request/GetDumpUserDataRequest.js +69 -0
- package/project/request/GetDumpUserDataRequest.js.map +1 -0
- package/project/request/GetDumpUserDataRequest.ts +76 -0
- package/project/request/WaitCleanUserDataRequest.d.ts +33 -0
- package/project/request/WaitCleanUserDataRequest.js +109 -0
- package/project/request/WaitCleanUserDataRequest.js.map +1 -0
- package/project/request/WaitCleanUserDataRequest.ts +119 -0
- package/project/request/WaitDumpUserDataRequest.d.ts +33 -0
- package/project/request/WaitDumpUserDataRequest.js +109 -0
- package/project/request/WaitDumpUserDataRequest.js.map +1 -0
- package/project/request/WaitDumpUserDataRequest.ts +119 -0
- package/project/request/index.d.ts +11 -1
- package/project/request/index.js +21 -1
- package/project/request/index.js.map +1 -1
- package/project/request/index.ts +20 -0
- package/project/rest.d.ts +10 -0
- package/project/rest.js +258 -0
- package/project/rest.js.map +1 -1
- package/project/rest.ts +298 -0
- package/project/result/ArchiveDumpUserDataResult.d.ts +14 -0
- package/project/result/ArchiveDumpUserDataResult.js +48 -0
- package/project/result/ArchiveDumpUserDataResult.js.map +1 -0
- package/project/result/ArchiveDumpUserDataResult.ts +48 -0
- package/project/result/CleanUserDataResult.d.ts +14 -0
- package/project/result/CleanUserDataResult.js +48 -0
- package/project/result/CleanUserDataResult.js.map +1 -0
- package/project/result/CleanUserDataResult.ts +48 -0
- package/project/result/DescribeCleanProgressesResult.d.ts +18 -0
- package/project/result/DescribeCleanProgressesResult.js +67 -0
- package/project/result/DescribeCleanProgressesResult.js.map +1 -0
- package/project/result/DescribeCleanProgressesResult.ts +73 -0
- package/project/result/DescribeDumpProgressesResult.d.ts +18 -0
- package/project/result/DescribeDumpProgressesResult.js +67 -0
- package/project/result/DescribeDumpProgressesResult.js.map +1 -0
- package/project/result/DescribeDumpProgressesResult.ts +73 -0
- package/project/result/DumpUserDataResult.d.ts +14 -0
- package/project/result/DumpUserDataResult.js +48 -0
- package/project/result/DumpUserDataResult.js.map +1 -0
- package/project/result/DumpUserDataResult.ts +48 -0
- package/project/result/GetCleanProgressResult.d.ts +14 -0
- package/project/result/GetCleanProgressResult.js +48 -0
- package/project/result/GetCleanProgressResult.js.map +1 -0
- package/project/result/GetCleanProgressResult.ts +48 -0
- package/project/result/GetDumpProgressResult.d.ts +14 -0
- package/project/result/GetDumpProgressResult.js +48 -0
- package/project/result/GetDumpProgressResult.js.map +1 -0
- package/project/result/GetDumpProgressResult.ts +48 -0
- package/project/result/GetDumpUserDataResult.d.ts +13 -0
- package/project/result/GetDumpUserDataResult.js +45 -0
- package/project/result/GetDumpUserDataResult.js.map +1 -0
- package/project/result/GetDumpUserDataResult.ts +48 -0
- package/project/result/WaitCleanUserDataResult.d.ts +14 -0
- package/project/result/WaitCleanUserDataResult.js +48 -0
- package/project/result/WaitCleanUserDataResult.js.map +1 -0
- package/project/result/WaitCleanUserDataResult.ts +48 -0
- package/project/result/WaitDumpUserDataResult.d.ts +14 -0
- package/project/result/WaitDumpUserDataResult.js +48 -0
- package/project/result/WaitDumpUserDataResult.js.map +1 -0
- package/project/result/WaitDumpUserDataResult.ts +48 -0
- package/project/result/index.d.ts +11 -1
- package/project/result/index.js +21 -1
- package/project/result/index.js.map +1 -1
- package/project/result/index.ts +20 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyInventoryCurrentMaxCapacityByStampTaskRequest 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
|
+
}): VerifyInventoryCurrentMaxCapacityByStampTaskRequest;
|
|
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 VerifyInventoryCurrentMaxCapacityByStampTaskRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyInventoryCurrentMaxCapacityByStampTaskRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.stampTask = null;
|
|
23
|
+
this.keyId = null;
|
|
24
|
+
}
|
|
25
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.getStampTask = function () {
|
|
48
|
+
return this.stampTask;
|
|
49
|
+
};
|
|
50
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.setStampTask = function (stampTask) {
|
|
51
|
+
this.stampTask = stampTask;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.withStampTask = function (stampTask) {
|
|
55
|
+
this.stampTask = stampTask;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.getKeyId = function () {
|
|
59
|
+
return this.keyId;
|
|
60
|
+
};
|
|
61
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.setKeyId = function (keyId) {
|
|
62
|
+
this.keyId = keyId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.withKeyId = function (keyId) {
|
|
66
|
+
this.keyId = keyId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.fromDict = function (data) {
|
|
70
|
+
return new VerifyInventoryCurrentMaxCapacityByStampTaskRequest()
|
|
71
|
+
.withStampTask(data["stampTask"])
|
|
72
|
+
.withKeyId(data["keyId"]);
|
|
73
|
+
};
|
|
74
|
+
VerifyInventoryCurrentMaxCapacityByStampTaskRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"stampTask": this.getStampTask(),
|
|
77
|
+
"keyId": this.getKeyId(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return VerifyInventoryCurrentMaxCapacityByStampTaskRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = VerifyInventoryCurrentMaxCapacityByStampTaskRequest;
|
|
83
|
+
//# sourceMappingURL=VerifyInventoryCurrentMaxCapacityByStampTaskRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyInventoryCurrentMaxCapacityByStampTaskRequest.js","sourceRoot":"","sources":["VerifyInventoryCurrentMaxCapacityByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC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AO,IAAI,CAAC;IAChB,CAAC;IAEa,4DAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mDAAmD,EAAE;aAC3D,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,oEAAM,GAAb;QACI,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,0DAAC;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 Gs2Inventory from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyInventoryCurrentMaxCapacityByStampTaskRequest 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}): VerifyInventoryCurrentMaxCapacityByStampTaskRequest {
|
|
79
|
+
return new VerifyInventoryCurrentMaxCapacityByStampTaskRequest()
|
|
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,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyInventoryCurrentMaxCapacityByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private inventoryName;
|
|
8
|
+
private verifyType;
|
|
9
|
+
private currentInventoryMaxCapacity;
|
|
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
|
+
getInventoryName(): string | null;
|
|
24
|
+
setInventoryName(inventoryName: string | null): this;
|
|
25
|
+
withInventoryName(inventoryName: string | null): this;
|
|
26
|
+
getVerifyType(): string | null;
|
|
27
|
+
setVerifyType(verifyType: string | null): this;
|
|
28
|
+
withVerifyType(verifyType: string | null): this;
|
|
29
|
+
getCurrentInventoryMaxCapacity(): number | null;
|
|
30
|
+
setCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number | null): this;
|
|
31
|
+
withCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number | null): this;
|
|
32
|
+
getDuplicationAvoider(): string | null;
|
|
33
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
34
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): VerifyInventoryCurrentMaxCapacityByUserIdRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
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 VerifyInventoryCurrentMaxCapacityByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyInventoryCurrentMaxCapacityByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.inventoryName = null;
|
|
25
|
+
this.verifyType = null;
|
|
26
|
+
this.currentInventoryMaxCapacity = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getUserId = function () {
|
|
63
|
+
return this.userId;
|
|
64
|
+
};
|
|
65
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setUserId = function (userId) {
|
|
66
|
+
this.userId = userId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withUserId = function (userId) {
|
|
70
|
+
this.userId = userId;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getInventoryName = function () {
|
|
74
|
+
return this.inventoryName;
|
|
75
|
+
};
|
|
76
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setInventoryName = function (inventoryName) {
|
|
77
|
+
this.inventoryName = inventoryName;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withInventoryName = function (inventoryName) {
|
|
81
|
+
this.inventoryName = inventoryName;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getVerifyType = function () {
|
|
85
|
+
return this.verifyType;
|
|
86
|
+
};
|
|
87
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setVerifyType = function (verifyType) {
|
|
88
|
+
this.verifyType = verifyType;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withVerifyType = function (verifyType) {
|
|
92
|
+
this.verifyType = verifyType;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getCurrentInventoryMaxCapacity = function () {
|
|
96
|
+
return this.currentInventoryMaxCapacity;
|
|
97
|
+
};
|
|
98
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setCurrentInventoryMaxCapacity = function (currentInventoryMaxCapacity) {
|
|
99
|
+
this.currentInventoryMaxCapacity = currentInventoryMaxCapacity;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withCurrentInventoryMaxCapacity = function (currentInventoryMaxCapacity) {
|
|
103
|
+
this.currentInventoryMaxCapacity = currentInventoryMaxCapacity;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
107
|
+
return this.duplicationAvoider;
|
|
108
|
+
};
|
|
109
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
114
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.fromDict = function (data) {
|
|
118
|
+
return new VerifyInventoryCurrentMaxCapacityByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withInventoryName(data["inventoryName"])
|
|
122
|
+
.withVerifyType(data["verifyType"])
|
|
123
|
+
.withCurrentInventoryMaxCapacity(data["currentInventoryMaxCapacity"]);
|
|
124
|
+
};
|
|
125
|
+
VerifyInventoryCurrentMaxCapacityByUserIdRequest.prototype.toDict = function () {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"userId": this.getUserId(),
|
|
129
|
+
"inventoryName": this.getInventoryName(),
|
|
130
|
+
"verifyType": this.getVerifyType(),
|
|
131
|
+
"currentInventoryMaxCapacity": this.getCurrentInventoryMaxCapacity(),
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
return VerifyInventoryCurrentMaxCapacityByUserIdRequest;
|
|
135
|
+
}());
|
|
136
|
+
exports.default = VerifyInventoryCurrentMaxCapacityByUserIdRequest;
|
|
137
|
+
//# sourceMappingURL=VerifyInventoryCurrentMaxCapacityByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyInventoryCurrentMaxCapacityByUserIdRequest.js","sourceRoot":"","sources":["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,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,gFAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iFAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,gDAAgD,EAAE;aACxD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,+BAA+B,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC9E,CAAC;IAEM,iEAAM,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,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,6BAA6B,EAAE,IAAI,CAAC,8BAA8B,EAAE;SACvE,CAAC;IACN,CAAC;IACL,uDAAC;AAAD,CAAC,AA9HD,IA8HC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
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 VerifyInventoryCurrentMaxCapacityByUserIdRequest 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 verifyType: string|null = null;
|
|
29
|
+
private currentInventoryMaxCapacity: number|null = null;
|
|
30
|
+
private duplicationAvoider: string|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getNamespaceName(): string|null {
|
|
60
|
+
return this.namespaceName;
|
|
61
|
+
}
|
|
62
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getUserId(): string|null {
|
|
71
|
+
return this.userId;
|
|
72
|
+
}
|
|
73
|
+
public setUserId(userId: string|null) {
|
|
74
|
+
this.userId = userId;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withUserId(userId: string|null): this {
|
|
78
|
+
this.userId = userId;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getInventoryName(): string|null {
|
|
82
|
+
return this.inventoryName;
|
|
83
|
+
}
|
|
84
|
+
public setInventoryName(inventoryName: string|null) {
|
|
85
|
+
this.inventoryName = inventoryName;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withInventoryName(inventoryName: string|null): this {
|
|
89
|
+
this.inventoryName = inventoryName;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getVerifyType(): string|null {
|
|
93
|
+
return this.verifyType;
|
|
94
|
+
}
|
|
95
|
+
public setVerifyType(verifyType: string|null) {
|
|
96
|
+
this.verifyType = verifyType;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withVerifyType(verifyType: string|null): this {
|
|
100
|
+
this.verifyType = verifyType;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
public getCurrentInventoryMaxCapacity(): number|null {
|
|
104
|
+
return this.currentInventoryMaxCapacity;
|
|
105
|
+
}
|
|
106
|
+
public setCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number|null) {
|
|
107
|
+
this.currentInventoryMaxCapacity = currentInventoryMaxCapacity;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number|null): this {
|
|
111
|
+
this.currentInventoryMaxCapacity = currentInventoryMaxCapacity;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public static fromDict(data: {[key: string]: any}): VerifyInventoryCurrentMaxCapacityByUserIdRequest {
|
|
130
|
+
return new VerifyInventoryCurrentMaxCapacityByUserIdRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withUserId(data["userId"])
|
|
133
|
+
.withInventoryName(data["inventoryName"])
|
|
134
|
+
.withVerifyType(data["verifyType"])
|
|
135
|
+
.withCurrentInventoryMaxCapacity(data["currentInventoryMaxCapacity"]);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public toDict(): {[key: string]: any} {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"userId": this.getUserId(),
|
|
142
|
+
"inventoryName": this.getInventoryName(),
|
|
143
|
+
"verifyType": this.getVerifyType(),
|
|
144
|
+
"currentInventoryMaxCapacity": this.getCurrentInventoryMaxCapacity(),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyInventoryCurrentMaxCapacityRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private inventoryName;
|
|
8
|
+
private verifyType;
|
|
9
|
+
private currentInventoryMaxCapacity;
|
|
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
|
+
getAccessToken(): string | null;
|
|
21
|
+
setAccessToken(accessToken: string | null): this;
|
|
22
|
+
withAccessToken(accessToken: string | null): this;
|
|
23
|
+
getInventoryName(): string | null;
|
|
24
|
+
setInventoryName(inventoryName: string | null): this;
|
|
25
|
+
withInventoryName(inventoryName: string | null): this;
|
|
26
|
+
getVerifyType(): string | null;
|
|
27
|
+
setVerifyType(verifyType: string | null): this;
|
|
28
|
+
withVerifyType(verifyType: string | null): this;
|
|
29
|
+
getCurrentInventoryMaxCapacity(): number | null;
|
|
30
|
+
setCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number | null): this;
|
|
31
|
+
withCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number | null): this;
|
|
32
|
+
getDuplicationAvoider(): string | null;
|
|
33
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
34
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): VerifyInventoryCurrentMaxCapacityRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|