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,205 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:::gs2:account:{accountName}:project:{projectName}:dump:{transactionId}";
|
|
19
|
+
|
|
20
|
+
export default class DumpProgress implements IModel {
|
|
21
|
+
private dumpProgressId: string|null = null;
|
|
22
|
+
private transactionId: string|null = null;
|
|
23
|
+
private userId: string|null = null;
|
|
24
|
+
private dumped: number|null = null;
|
|
25
|
+
private microserviceCount: number|null = null;
|
|
26
|
+
private createdAt: number|null = null;
|
|
27
|
+
private updatedAt: number|null = null;
|
|
28
|
+
private revision: number|null = null;
|
|
29
|
+
|
|
30
|
+
public static getAccountName(grn: string): string|null {
|
|
31
|
+
const match = grn.match(grnFormat
|
|
32
|
+
.replace('{accountName}', '(.*)')
|
|
33
|
+
.replace('{projectName}', '.*')
|
|
34
|
+
.replace('{transactionId}', '.*')
|
|
35
|
+
);
|
|
36
|
+
if (match) {
|
|
37
|
+
return match[1];
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public static getProjectName(grn: string): string|null {
|
|
43
|
+
const match = grn.match(grnFormat
|
|
44
|
+
.replace('{accountName}', '.*')
|
|
45
|
+
.replace('{projectName}', '(.*)')
|
|
46
|
+
.replace('{transactionId}', '.*')
|
|
47
|
+
);
|
|
48
|
+
if (match) {
|
|
49
|
+
return match[1];
|
|
50
|
+
}
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public static getTransactionId(grn: string): string|null {
|
|
55
|
+
const match = grn.match(grnFormat
|
|
56
|
+
.replace('{accountName}', '.*')
|
|
57
|
+
.replace('{projectName}', '.*')
|
|
58
|
+
.replace('{transactionId}', '(.*)')
|
|
59
|
+
);
|
|
60
|
+
if (match) {
|
|
61
|
+
return match[1];
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public static isValid(grn: string): boolean {
|
|
67
|
+
if (this.getAccountName(grn) == null || this.getAccountName(grn) === '') {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
if (this.getProjectName(grn) == null || this.getProjectName(grn) === '') {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
if (this.getTransactionId(grn) == null || this.getTransactionId(grn) === '') {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public static createGrn(
|
|
80
|
+
accountName: string|null,
|
|
81
|
+
projectName: string|null,
|
|
82
|
+
transactionId: string|null,
|
|
83
|
+
): string|null {
|
|
84
|
+
return grnFormat
|
|
85
|
+
.replace('{accountName}', accountName ?? '')
|
|
86
|
+
.replace('{projectName}', projectName ?? '')
|
|
87
|
+
.replace('{transactionId}', transactionId ?? '');
|
|
88
|
+
}
|
|
89
|
+
public getDumpProgressId(): string|null {
|
|
90
|
+
return this.dumpProgressId;
|
|
91
|
+
}
|
|
92
|
+
public setDumpProgressId(dumpProgressId: string|null) {
|
|
93
|
+
this.dumpProgressId = dumpProgressId;
|
|
94
|
+
return this;
|
|
95
|
+
}
|
|
96
|
+
public withDumpProgressId(dumpProgressId: string|null): this {
|
|
97
|
+
this.dumpProgressId = dumpProgressId;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public getTransactionId(): string|null {
|
|
101
|
+
return this.transactionId;
|
|
102
|
+
}
|
|
103
|
+
public setTransactionId(transactionId: string|null) {
|
|
104
|
+
this.transactionId = transactionId;
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
public withTransactionId(transactionId: string|null): this {
|
|
108
|
+
this.transactionId = transactionId;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
public getUserId(): string|null {
|
|
112
|
+
return this.userId;
|
|
113
|
+
}
|
|
114
|
+
public setUserId(userId: string|null) {
|
|
115
|
+
this.userId = userId;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
public withUserId(userId: string|null): this {
|
|
119
|
+
this.userId = userId;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public getDumped(): number|null {
|
|
123
|
+
return this.dumped;
|
|
124
|
+
}
|
|
125
|
+
public setDumped(dumped: number|null) {
|
|
126
|
+
this.dumped = dumped;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
public withDumped(dumped: number|null): this {
|
|
130
|
+
this.dumped = dumped;
|
|
131
|
+
return this;
|
|
132
|
+
}
|
|
133
|
+
public getMicroserviceCount(): number|null {
|
|
134
|
+
return this.microserviceCount;
|
|
135
|
+
}
|
|
136
|
+
public setMicroserviceCount(microserviceCount: number|null) {
|
|
137
|
+
this.microserviceCount = microserviceCount;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
public withMicroserviceCount(microserviceCount: number|null): this {
|
|
141
|
+
this.microserviceCount = microserviceCount;
|
|
142
|
+
return this;
|
|
143
|
+
}
|
|
144
|
+
public getCreatedAt(): number|null {
|
|
145
|
+
return this.createdAt;
|
|
146
|
+
}
|
|
147
|
+
public setCreatedAt(createdAt: number|null) {
|
|
148
|
+
this.createdAt = createdAt;
|
|
149
|
+
return this;
|
|
150
|
+
}
|
|
151
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
152
|
+
this.createdAt = createdAt;
|
|
153
|
+
return this;
|
|
154
|
+
}
|
|
155
|
+
public getUpdatedAt(): number|null {
|
|
156
|
+
return this.updatedAt;
|
|
157
|
+
}
|
|
158
|
+
public setUpdatedAt(updatedAt: number|null) {
|
|
159
|
+
this.updatedAt = updatedAt;
|
|
160
|
+
return this;
|
|
161
|
+
}
|
|
162
|
+
public withUpdatedAt(updatedAt: number|null): this {
|
|
163
|
+
this.updatedAt = updatedAt;
|
|
164
|
+
return this;
|
|
165
|
+
}
|
|
166
|
+
public getRevision(): number|null {
|
|
167
|
+
return this.revision;
|
|
168
|
+
}
|
|
169
|
+
public setRevision(revision: number|null) {
|
|
170
|
+
this.revision = revision;
|
|
171
|
+
return this;
|
|
172
|
+
}
|
|
173
|
+
public withRevision(revision: number|null): this {
|
|
174
|
+
this.revision = revision;
|
|
175
|
+
return this;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
public static fromDict(data: {[key: string]: any}): DumpProgress|null {
|
|
179
|
+
if (data == undefined || data == null) {
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
return new DumpProgress()
|
|
183
|
+
.withDumpProgressId(data["dumpProgressId"])
|
|
184
|
+
.withTransactionId(data["transactionId"])
|
|
185
|
+
.withUserId(data["userId"])
|
|
186
|
+
.withDumped(data["dumped"])
|
|
187
|
+
.withMicroserviceCount(data["microserviceCount"])
|
|
188
|
+
.withCreatedAt(data["createdAt"])
|
|
189
|
+
.withUpdatedAt(data["updatedAt"])
|
|
190
|
+
.withRevision(data["revision"]);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
public toDict(): {[key: string]: any} {
|
|
194
|
+
return {
|
|
195
|
+
"dumpProgressId": this.getDumpProgressId(),
|
|
196
|
+
"transactionId": this.getTransactionId(),
|
|
197
|
+
"userId": this.getUserId(),
|
|
198
|
+
"dumped": this.getDumped(),
|
|
199
|
+
"microserviceCount": this.getMicroserviceCount(),
|
|
200
|
+
"createdAt": this.getCreatedAt(),
|
|
201
|
+
"updatedAt": this.getUpdatedAt(),
|
|
202
|
+
"revision": this.getRevision(),
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
}
|
package/project/model/index.d.ts
CHANGED
|
@@ -4,4 +4,6 @@ import Gs2Region from "./Gs2Region";
|
|
|
4
4
|
import BillingMethod from "./BillingMethod";
|
|
5
5
|
import Receipt from "./Receipt";
|
|
6
6
|
import Billing from "./Billing";
|
|
7
|
-
|
|
7
|
+
import DumpProgress from "./DumpProgress";
|
|
8
|
+
import CleanProgress from "./CleanProgress";
|
|
9
|
+
export { Account, Project, Gs2Region, BillingMethod, Receipt, Billing, DumpProgress, CleanProgress, };
|
package/project/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Billing = exports.Receipt = exports.BillingMethod = exports.Gs2Region = exports.Project = exports.Account = void 0;
|
|
3
|
+
exports.CleanProgress = exports.DumpProgress = exports.Billing = exports.Receipt = exports.BillingMethod = exports.Gs2Region = exports.Project = exports.Account = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -29,4 +29,8 @@ var Receipt_1 = tslib_1.__importDefault(require("./Receipt"));
|
|
|
29
29
|
exports.Receipt = Receipt_1.default;
|
|
30
30
|
var Billing_1 = tslib_1.__importDefault(require("./Billing"));
|
|
31
31
|
exports.Billing = Billing_1.default;
|
|
32
|
+
var DumpProgress_1 = tslib_1.__importDefault(require("./DumpProgress"));
|
|
33
|
+
exports.DumpProgress = DumpProgress_1.default;
|
|
34
|
+
var CleanProgress_1 = tslib_1.__importDefault(require("./CleanProgress"));
|
|
35
|
+
exports.CleanProgress = CleanProgress_1.default;
|
|
32
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,8DAA+B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,8DAA+B;AAU3B,kBAVG,iBAAO,CAUH;AATX,8DAA+B;AAU3B,kBAVG,iBAAO,CAUH;AATX,kEAAmC;AAU/B,oBAVG,mBAAS,CAUH;AATb,0EAA2C;AAUvC,wBAVG,uBAAa,CAUH;AATjB,8DAA+B;AAU3B,kBAVG,iBAAO,CAUH;AATX,8DAA+B;AAU3B,kBAVG,iBAAO,CAUH;AATX,wEAAyC;AAUrC,uBAVG,sBAAY,CAUH;AAThB,0EAA2C;AAUvC,wBAVG,uBAAa,CAUH"}
|
package/project/model/index.ts
CHANGED
|
@@ -19,6 +19,8 @@ import Gs2Region from "./Gs2Region"
|
|
|
19
19
|
import BillingMethod from "./BillingMethod"
|
|
20
20
|
import Receipt from "./Receipt"
|
|
21
21
|
import Billing from "./Billing"
|
|
22
|
+
import DumpProgress from "./DumpProgress"
|
|
23
|
+
import CleanProgress from "./CleanProgress"
|
|
22
24
|
|
|
23
25
|
export {
|
|
24
26
|
Account,
|
|
@@ -27,4 +29,6 @@ export {
|
|
|
27
29
|
BillingMethod,
|
|
28
30
|
Receipt,
|
|
29
31
|
Billing,
|
|
32
|
+
DumpProgress,
|
|
33
|
+
CleanProgress,
|
|
30
34
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class ArchiveDumpUserDataRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private transactionId;
|
|
6
|
+
getRequestId(): string | null;
|
|
7
|
+
setRequestId(requestId: string | null): this;
|
|
8
|
+
withRequestId(requestId: string | null): this;
|
|
9
|
+
getContextStack(): string | null;
|
|
10
|
+
setContextStack(contextStack: string | null): this;
|
|
11
|
+
withContextStack(contextStack: string | null): this;
|
|
12
|
+
getTransactionId(): string | null;
|
|
13
|
+
setTransactionId(transactionId: string | null): this;
|
|
14
|
+
withTransactionId(transactionId: string | null): this;
|
|
15
|
+
static fromDict(data: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}): ArchiveDumpUserDataRequest;
|
|
18
|
+
toDict(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 ArchiveDumpUserDataRequest = /** @class */ (function () {
|
|
19
|
+
function ArchiveDumpUserDataRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.transactionId = null;
|
|
23
|
+
}
|
|
24
|
+
ArchiveDumpUserDataRequest.prototype.getRequestId = function () {
|
|
25
|
+
return this.requestId;
|
|
26
|
+
};
|
|
27
|
+
ArchiveDumpUserDataRequest.prototype.setRequestId = function (requestId) {
|
|
28
|
+
this.requestId = requestId;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
ArchiveDumpUserDataRequest.prototype.withRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
ArchiveDumpUserDataRequest.prototype.getContextStack = function () {
|
|
36
|
+
return this.contextStack;
|
|
37
|
+
};
|
|
38
|
+
ArchiveDumpUserDataRequest.prototype.setContextStack = function (contextStack) {
|
|
39
|
+
this.contextStack = contextStack;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
ArchiveDumpUserDataRequest.prototype.withContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
ArchiveDumpUserDataRequest.prototype.getTransactionId = function () {
|
|
47
|
+
return this.transactionId;
|
|
48
|
+
};
|
|
49
|
+
ArchiveDumpUserDataRequest.prototype.setTransactionId = function (transactionId) {
|
|
50
|
+
this.transactionId = transactionId;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
ArchiveDumpUserDataRequest.prototype.withTransactionId = function (transactionId) {
|
|
54
|
+
this.transactionId = transactionId;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
ArchiveDumpUserDataRequest.fromDict = function (data) {
|
|
58
|
+
return new ArchiveDumpUserDataRequest()
|
|
59
|
+
.withTransactionId(data["transactionId"]);
|
|
60
|
+
};
|
|
61
|
+
ArchiveDumpUserDataRequest.prototype.toDict = function () {
|
|
62
|
+
return {
|
|
63
|
+
"transactionId": this.getTransactionId(),
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
return ArchiveDumpUserDataRequest;
|
|
67
|
+
}());
|
|
68
|
+
exports.default = ArchiveDumpUserDataRequest;
|
|
69
|
+
//# sourceMappingURL=ArchiveDumpUserDataRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArchiveDumpUserDataRequest.js","sourceRoot":"","sources":["ArchiveDumpUserDataRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;IAmD9C,CAAC;IAjDU,iDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,iDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,oDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,qDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,sDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AAvDD,IAuDC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ArchiveDumpUserDataRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private transactionId: string|null = null;
|
|
26
|
+
|
|
27
|
+
public getRequestId(): string|null {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public setRequestId(requestId: string|null) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public withRequestId(requestId: string|null): this {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public getContextStack(): string|null {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public setContextStack(contextStack: string|null) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public withContextStack(contextStack: string|null): this {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public getTransactionId(): string|null {
|
|
55
|
+
return this.transactionId;
|
|
56
|
+
}
|
|
57
|
+
public setTransactionId(transactionId: string|null) {
|
|
58
|
+
this.transactionId = transactionId;
|
|
59
|
+
return this;
|
|
60
|
+
}
|
|
61
|
+
public withTransactionId(transactionId: string|null): this {
|
|
62
|
+
this.transactionId = transactionId;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public static fromDict(data: {[key: string]: any}): ArchiveDumpUserDataRequest {
|
|
67
|
+
return new ArchiveDumpUserDataRequest()
|
|
68
|
+
.withTransactionId(data["transactionId"]);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public toDict(): {[key: string]: any} {
|
|
72
|
+
return {
|
|
73
|
+
"transactionId": this.getTransactionId(),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class CleanUserDataRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private userId;
|
|
6
|
+
private duplicationAvoider;
|
|
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
|
+
getUserId(): string | null;
|
|
14
|
+
setUserId(userId: string | null): this;
|
|
15
|
+
withUserId(userId: string | null): this;
|
|
16
|
+
getDuplicationAvoider(): string | null;
|
|
17
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
18
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): CleanUserDataRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 CleanUserDataRequest = /** @class */ (function () {
|
|
19
|
+
function CleanUserDataRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.userId = null;
|
|
23
|
+
this.duplicationAvoider = null;
|
|
24
|
+
}
|
|
25
|
+
CleanUserDataRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
CleanUserDataRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
CleanUserDataRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
CleanUserDataRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
CleanUserDataRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
CleanUserDataRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
CleanUserDataRequest.prototype.getUserId = function () {
|
|
48
|
+
return this.userId;
|
|
49
|
+
};
|
|
50
|
+
CleanUserDataRequest.prototype.setUserId = function (userId) {
|
|
51
|
+
this.userId = userId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
CleanUserDataRequest.prototype.withUserId = function (userId) {
|
|
55
|
+
this.userId = userId;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
CleanUserDataRequest.prototype.getDuplicationAvoider = function () {
|
|
59
|
+
return this.duplicationAvoider;
|
|
60
|
+
};
|
|
61
|
+
CleanUserDataRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
62
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
CleanUserDataRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
66
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
CleanUserDataRequest.fromDict = function (data) {
|
|
70
|
+
return new CleanUserDataRequest()
|
|
71
|
+
.withUserId(data["userId"]);
|
|
72
|
+
};
|
|
73
|
+
CleanUserDataRequest.prototype.toDict = function () {
|
|
74
|
+
return {
|
|
75
|
+
"userId": this.getUserId(),
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
return CleanUserDataRequest;
|
|
79
|
+
}());
|
|
80
|
+
exports.default = CleanUserDataRequest;
|
|
81
|
+
//# sourceMappingURL=CleanUserDataRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CleanUserDataRequest.js","sourceRoot":"","sources":["CleanUserDataRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,WAAM,GAAgB,IAAI,CAAC;QAC3B,uBAAkB,GAAgB,IAAI,CAAC;IAiEnD,CAAC;IA/DU,2CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,2CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,8CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wCAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,wCAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,oDAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oBAAoB,EAAE;aAC5B,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,qCAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AAtED,IAsEC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class CleanUserDataRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private userId: string|null = null;
|
|
26
|
+
private duplicationAvoider: 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 getUserId(): string|null {
|
|
56
|
+
return this.userId;
|
|
57
|
+
}
|
|
58
|
+
public setUserId(userId: string|null) {
|
|
59
|
+
this.userId = userId;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withUserId(userId: string|null): this {
|
|
63
|
+
this.userId = userId;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public getDuplicationAvoider(): string|null {
|
|
68
|
+
return this.duplicationAvoider;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
72
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
77
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public static fromDict(data: {[key: string]: any}): CleanUserDataRequest {
|
|
82
|
+
return new CleanUserDataRequest()
|
|
83
|
+
.withUserId(data["userId"]);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
public toDict(): {[key: string]: any} {
|
|
87
|
+
return {
|
|
88
|
+
"userId": this.getUserId(),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DescribeCleanProgressesRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private pageToken;
|
|
6
|
+
private limit;
|
|
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
|
+
getPageToken(): string | null;
|
|
14
|
+
setPageToken(pageToken: string | null): this;
|
|
15
|
+
withPageToken(pageToken: string | null): this;
|
|
16
|
+
getLimit(): number | null;
|
|
17
|
+
setLimit(limit: number | null): this;
|
|
18
|
+
withLimit(limit: number | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): DescribeCleanProgressesRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|