gs2 1.3.182 → 1.3.184
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/rest.js +12 -11
- package/account/rest.js.map +1 -1
- package/account/rest.ts +9 -8
- package/adReward/rest.js +12 -11
- package/adReward/rest.js.map +1 -1
- package/adReward/rest.ts +9 -8
- package/chat/rest.js +12 -11
- package/chat/rest.js.map +1 -1
- package/chat/rest.ts +9 -8
- package/datastore/rest.js +12 -11
- package/datastore/rest.js.map +1 -1
- package/datastore/rest.ts +9 -8
- package/dictionary/rest.js +12 -11
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +9 -8
- package/enchant/rest.js +12 -11
- package/enchant/rest.js.map +1 -1
- package/enchant/rest.ts +9 -8
- package/enhance/rest.js +12 -11
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +9 -8
- package/exchange/rest.js +12 -11
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +9 -8
- package/experience/rest.js +12 -11
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +9 -8
- package/formation/rest.js +12 -11
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +9 -8
- package/friend/rest.js +12 -11
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +9 -8
- package/gateway/rest.js +12 -11
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +9 -8
- package/idle/rest.js +12 -11
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +9 -8
- package/inbox/rest.js +12 -11
- package/inbox/rest.js.map +1 -1
- package/inbox/rest.ts +9 -8
- package/inventory/rest.js +12 -11
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +9 -8
- package/jobQueue/rest.js +12 -11
- package/jobQueue/rest.js.map +1 -1
- package/jobQueue/rest.ts +9 -8
- package/limit/rest.js +12 -11
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +9 -8
- package/loginReward/rest.js +12 -11
- package/loginReward/rest.js.map +1 -1
- package/loginReward/rest.ts +9 -8
- package/lottery/rest.js +12 -11
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +9 -8
- package/matchmaking/rest.js +12 -11
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +9 -8
- package/mission/rest.js +12 -11
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +9 -8
- package/money/rest.js +12 -11
- package/money/rest.js.map +1 -1
- package/money/rest.ts +9 -8
- package/package.json +1 -1
- package/project/model/ImportErrorLog.d.ts +39 -0
- package/project/model/ImportErrorLog.js +185 -0
- package/project/model/ImportErrorLog.js.map +1 -0
- package/project/model/ImportErrorLog.ts +198 -0
- package/project/model/ImportProgress.d.ts +46 -0
- package/project/model/ImportProgress.js +195 -0
- package/project/model/ImportProgress.js.map +1 -0
- package/project/model/ImportProgress.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/DescribeImportErrorLogsRequest.d.ts +29 -0
- package/project/request/DescribeImportErrorLogsRequest.js +97 -0
- package/project/request/DescribeImportErrorLogsRequest.js.map +1 -0
- package/project/request/DescribeImportErrorLogsRequest.ts +104 -0
- package/project/request/DescribeImportProgressesRequest.d.ts +25 -0
- package/project/request/DescribeImportProgressesRequest.js +83 -0
- package/project/request/DescribeImportProgressesRequest.js.map +1 -0
- package/project/request/DescribeImportProgressesRequest.ts +90 -0
- package/project/request/GetImportErrorLogRequest.d.ts +25 -0
- package/project/request/GetImportErrorLogRequest.js +83 -0
- package/project/request/GetImportErrorLogRequest.js.map +1 -0
- package/project/request/GetImportErrorLogRequest.ts +90 -0
- package/project/request/GetImportProgressRequest.d.ts +21 -0
- package/project/request/GetImportProgressRequest.js +69 -0
- package/project/request/GetImportProgressRequest.js.map +1 -0
- package/project/request/GetImportProgressRequest.ts +76 -0
- package/project/request/ImportUserDataRequest.d.ts +29 -0
- package/project/request/ImportUserDataRequest.js +95 -0
- package/project/request/ImportUserDataRequest.js.map +1 -0
- package/project/request/ImportUserDataRequest.ts +105 -0
- package/project/request/PrepareImportUserDataRequest.d.ts +25 -0
- package/project/request/PrepareImportUserDataRequest.js +81 -0
- package/project/request/PrepareImportUserDataRequest.js.map +1 -0
- package/project/request/PrepareImportUserDataRequest.ts +91 -0
- package/project/request/WaitImportUserDataRequest.d.ts +33 -0
- package/project/request/WaitImportUserDataRequest.js +109 -0
- package/project/request/WaitImportUserDataRequest.js.map +1 -0
- package/project/request/WaitImportUserDataRequest.ts +119 -0
- package/project/request/index.d.ts +8 -1
- package/project/request/index.js +15 -1
- package/project/request/index.js.map +1 -1
- package/project/request/index.ts +14 -0
- package/project/rest.d.ts +7 -0
- package/project/rest.js +182 -0
- package/project/rest.js.map +1 -1
- package/project/rest.ts +210 -0
- package/project/result/DescribeImportErrorLogsResult.d.ts +18 -0
- package/project/result/DescribeImportErrorLogsResult.js +67 -0
- package/project/result/DescribeImportErrorLogsResult.js.map +1 -0
- package/project/result/DescribeImportErrorLogsResult.ts +73 -0
- package/project/result/DescribeImportProgressesResult.d.ts +18 -0
- package/project/result/DescribeImportProgressesResult.js +67 -0
- package/project/result/DescribeImportProgressesResult.js.map +1 -0
- package/project/result/DescribeImportProgressesResult.ts +73 -0
- package/project/result/GetImportErrorLogResult.d.ts +14 -0
- package/project/result/GetImportErrorLogResult.js +48 -0
- package/project/result/GetImportErrorLogResult.js.map +1 -0
- package/project/result/GetImportErrorLogResult.ts +48 -0
- package/project/result/GetImportProgressResult.d.ts +14 -0
- package/project/result/GetImportProgressResult.js +48 -0
- package/project/result/GetImportProgressResult.js.map +1 -0
- package/project/result/GetImportProgressResult.ts +48 -0
- package/project/result/ImportUserDataResult.d.ts +14 -0
- package/project/result/ImportUserDataResult.js +48 -0
- package/project/result/ImportUserDataResult.js.map +1 -0
- package/project/result/ImportUserDataResult.ts +48 -0
- package/project/result/PrepareImportUserDataResult.d.ts +17 -0
- package/project/result/PrepareImportUserDataResult.js +59 -0
- package/project/result/PrepareImportUserDataResult.js.map +1 -0
- package/project/result/PrepareImportUserDataResult.ts +65 -0
- package/project/result/WaitImportUserDataResult.d.ts +14 -0
- package/project/result/WaitImportUserDataResult.js +48 -0
- package/project/result/WaitImportUserDataResult.js.map +1 -0
- package/project/result/WaitImportUserDataResult.ts +48 -0
- package/project/result/index.d.ts +8 -1
- package/project/result/index.js +15 -1
- package/project/result/index.js.map +1 -1
- package/project/result/index.ts +14 -0
- package/quest/rest.js +12 -11
- package/quest/rest.js.map +1 -1
- package/quest/rest.ts +9 -8
- package/ranking/rest.js +12 -11
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +9 -8
- package/schedule/rest.js +12 -11
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +9 -8
- package/serialKey/rest.js +12 -11
- package/serialKey/rest.js.map +1 -1
- package/serialKey/rest.ts +9 -8
- package/showcase/rest.js +12 -11
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +9 -8
- package/skillTree/rest.js +12 -11
- package/skillTree/rest.js.map +1 -1
- package/skillTree/rest.ts +9 -8
- package/stamina/rest.js +12 -11
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +9 -8
- package/stateMachine/rest.js +12 -11
- package/stateMachine/rest.js.map +1 -1
- package/stateMachine/rest.ts +9 -8
- package/version/rest.js +12 -11
- package/version/rest.js.map +1 -1
- package/version/rest.ts +9 -8
|
@@ -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 GetImportProgressRequest = /** @class */ (function () {
|
|
19
|
+
function GetImportProgressRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.transactionId = null;
|
|
23
|
+
}
|
|
24
|
+
GetImportProgressRequest.prototype.getRequestId = function () {
|
|
25
|
+
return this.requestId;
|
|
26
|
+
};
|
|
27
|
+
GetImportProgressRequest.prototype.setRequestId = function (requestId) {
|
|
28
|
+
this.requestId = requestId;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
GetImportProgressRequest.prototype.withRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GetImportProgressRequest.prototype.getContextStack = function () {
|
|
36
|
+
return this.contextStack;
|
|
37
|
+
};
|
|
38
|
+
GetImportProgressRequest.prototype.setContextStack = function (contextStack) {
|
|
39
|
+
this.contextStack = contextStack;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
GetImportProgressRequest.prototype.withContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
GetImportProgressRequest.prototype.getTransactionId = function () {
|
|
47
|
+
return this.transactionId;
|
|
48
|
+
};
|
|
49
|
+
GetImportProgressRequest.prototype.setTransactionId = function (transactionId) {
|
|
50
|
+
this.transactionId = transactionId;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
GetImportProgressRequest.prototype.withTransactionId = function (transactionId) {
|
|
54
|
+
this.transactionId = transactionId;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
GetImportProgressRequest.fromDict = function (data) {
|
|
58
|
+
return new GetImportProgressRequest()
|
|
59
|
+
.withTransactionId(data["transactionId"]);
|
|
60
|
+
};
|
|
61
|
+
GetImportProgressRequest.prototype.toDict = function () {
|
|
62
|
+
return {
|
|
63
|
+
"transactionId": this.getTransactionId(),
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
return GetImportProgressRequest;
|
|
67
|
+
}());
|
|
68
|
+
exports.default = GetImportProgressRequest;
|
|
69
|
+
//# sourceMappingURL=GetImportProgressRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetImportProgressRequest.js","sourceRoot":"","sources":["GetImportProgressRequest.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,+CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,+CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,kDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,mDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,+BAAC;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 GetImportProgressRequest 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}): GetImportProgressRequest {
|
|
67
|
+
return new GetImportProgressRequest()
|
|
68
|
+
.withTransactionId(data["transactionId"]);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public toDict(): {[key: string]: any} {
|
|
72
|
+
return {
|
|
73
|
+
"transactionId": this.getTransactionId(),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class ImportUserDataRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private userId;
|
|
6
|
+
private uploadToken;
|
|
7
|
+
private duplicationAvoider;
|
|
8
|
+
getRequestId(): string | null;
|
|
9
|
+
setRequestId(requestId: string | null): this;
|
|
10
|
+
withRequestId(requestId: string | null): this;
|
|
11
|
+
getContextStack(): string | null;
|
|
12
|
+
setContextStack(contextStack: string | null): this;
|
|
13
|
+
withContextStack(contextStack: string | null): this;
|
|
14
|
+
getUserId(): string | null;
|
|
15
|
+
setUserId(userId: string | null): this;
|
|
16
|
+
withUserId(userId: string | null): this;
|
|
17
|
+
getUploadToken(): string | null;
|
|
18
|
+
setUploadToken(uploadToken: string | null): this;
|
|
19
|
+
withUploadToken(uploadToken: string | null): this;
|
|
20
|
+
getDuplicationAvoider(): string | null;
|
|
21
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
22
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): ImportUserDataRequest;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 ImportUserDataRequest = /** @class */ (function () {
|
|
19
|
+
function ImportUserDataRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.userId = null;
|
|
23
|
+
this.uploadToken = null;
|
|
24
|
+
this.duplicationAvoider = null;
|
|
25
|
+
}
|
|
26
|
+
ImportUserDataRequest.prototype.getRequestId = function () {
|
|
27
|
+
return this.requestId;
|
|
28
|
+
};
|
|
29
|
+
ImportUserDataRequest.prototype.setRequestId = function (requestId) {
|
|
30
|
+
this.requestId = requestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
ImportUserDataRequest.prototype.withRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
ImportUserDataRequest.prototype.getContextStack = function () {
|
|
38
|
+
return this.contextStack;
|
|
39
|
+
};
|
|
40
|
+
ImportUserDataRequest.prototype.setContextStack = function (contextStack) {
|
|
41
|
+
this.contextStack = contextStack;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
ImportUserDataRequest.prototype.withContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
ImportUserDataRequest.prototype.getUserId = function () {
|
|
49
|
+
return this.userId;
|
|
50
|
+
};
|
|
51
|
+
ImportUserDataRequest.prototype.setUserId = function (userId) {
|
|
52
|
+
this.userId = userId;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
ImportUserDataRequest.prototype.withUserId = function (userId) {
|
|
56
|
+
this.userId = userId;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
ImportUserDataRequest.prototype.getUploadToken = function () {
|
|
60
|
+
return this.uploadToken;
|
|
61
|
+
};
|
|
62
|
+
ImportUserDataRequest.prototype.setUploadToken = function (uploadToken) {
|
|
63
|
+
this.uploadToken = uploadToken;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
ImportUserDataRequest.prototype.withUploadToken = function (uploadToken) {
|
|
67
|
+
this.uploadToken = uploadToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
ImportUserDataRequest.prototype.getDuplicationAvoider = function () {
|
|
71
|
+
return this.duplicationAvoider;
|
|
72
|
+
};
|
|
73
|
+
ImportUserDataRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
74
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
ImportUserDataRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
78
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
ImportUserDataRequest.fromDict = function (data) {
|
|
82
|
+
return new ImportUserDataRequest()
|
|
83
|
+
.withUserId(data["userId"])
|
|
84
|
+
.withUploadToken(data["uploadToken"]);
|
|
85
|
+
};
|
|
86
|
+
ImportUserDataRequest.prototype.toDict = function () {
|
|
87
|
+
return {
|
|
88
|
+
"userId": this.getUserId(),
|
|
89
|
+
"uploadToken": this.getUploadToken(),
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
return ImportUserDataRequest;
|
|
93
|
+
}());
|
|
94
|
+
exports.default = ImportUserDataRequest;
|
|
95
|
+
//# sourceMappingURL=ImportUserDataRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportUserDataRequest.js","sourceRoot":"","sources":["ImportUserDataRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAAgB,IAAI,CAAC;IA8EnD,CAAC;IA5EU,4CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,4CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,+CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,yCAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IACM,8CAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,qDAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,qBAAqB,EAAE;aAC7B,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,sCAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,4BAAC;AAAD,CAAC,AApFD,IAoFC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 ImportUserDataRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private userId: string|null = null;
|
|
26
|
+
private uploadToken: string|null = null;
|
|
27
|
+
private duplicationAvoider: string|null = null;
|
|
28
|
+
|
|
29
|
+
public getRequestId(): string|null {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setRequestId(requestId: string|null) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public withRequestId(requestId: string|null): this {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public getContextStack(): string|null {
|
|
44
|
+
return this.contextStack;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public setContextStack(contextStack: string|null) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public withContextStack(contextStack: string|null): this {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public getUserId(): string|null {
|
|
57
|
+
return this.userId;
|
|
58
|
+
}
|
|
59
|
+
public setUserId(userId: string|null) {
|
|
60
|
+
this.userId = userId;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
public withUserId(userId: string|null): this {
|
|
64
|
+
this.userId = userId;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public getUploadToken(): string|null {
|
|
68
|
+
return this.uploadToken;
|
|
69
|
+
}
|
|
70
|
+
public setUploadToken(uploadToken: string|null) {
|
|
71
|
+
this.uploadToken = uploadToken;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withUploadToken(uploadToken: string|null): this {
|
|
75
|
+
this.uploadToken = uploadToken;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public getDuplicationAvoider(): string|null {
|
|
80
|
+
return this.duplicationAvoider;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
84
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
89
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public static fromDict(data: {[key: string]: any}): ImportUserDataRequest {
|
|
94
|
+
return new ImportUserDataRequest()
|
|
95
|
+
.withUserId(data["userId"])
|
|
96
|
+
.withUploadToken(data["uploadToken"]);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
public toDict(): {[key: string]: any} {
|
|
100
|
+
return {
|
|
101
|
+
"userId": this.getUserId(),
|
|
102
|
+
"uploadToken": this.getUploadToken(),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class PrepareImportUserDataRequest 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
|
+
}): PrepareImportUserDataRequest;
|
|
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 PrepareImportUserDataRequest = /** @class */ (function () {
|
|
19
|
+
function PrepareImportUserDataRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.userId = null;
|
|
23
|
+
this.duplicationAvoider = null;
|
|
24
|
+
}
|
|
25
|
+
PrepareImportUserDataRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
PrepareImportUserDataRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
PrepareImportUserDataRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
PrepareImportUserDataRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
PrepareImportUserDataRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
PrepareImportUserDataRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
PrepareImportUserDataRequest.prototype.getUserId = function () {
|
|
48
|
+
return this.userId;
|
|
49
|
+
};
|
|
50
|
+
PrepareImportUserDataRequest.prototype.setUserId = function (userId) {
|
|
51
|
+
this.userId = userId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
PrepareImportUserDataRequest.prototype.withUserId = function (userId) {
|
|
55
|
+
this.userId = userId;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
PrepareImportUserDataRequest.prototype.getDuplicationAvoider = function () {
|
|
59
|
+
return this.duplicationAvoider;
|
|
60
|
+
};
|
|
61
|
+
PrepareImportUserDataRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
62
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
PrepareImportUserDataRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
66
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
PrepareImportUserDataRequest.fromDict = function (data) {
|
|
70
|
+
return new PrepareImportUserDataRequest()
|
|
71
|
+
.withUserId(data["userId"]);
|
|
72
|
+
};
|
|
73
|
+
PrepareImportUserDataRequest.prototype.toDict = function () {
|
|
74
|
+
return {
|
|
75
|
+
"userId": this.getUserId(),
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
return PrepareImportUserDataRequest;
|
|
79
|
+
}());
|
|
80
|
+
exports.default = PrepareImportUserDataRequest;
|
|
81
|
+
//# sourceMappingURL=PrepareImportUserDataRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrepareImportUserDataRequest.js","sourceRoot":"","sources":["PrepareImportUserDataRequest.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,mDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,mDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,sDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,gDAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,4DAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4BAA4B,EAAE;aACpC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,6CAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,mCAAC;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 PrepareImportUserDataRequest 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}): PrepareImportUserDataRequest {
|
|
82
|
+
return new PrepareImportUserDataRequest()
|
|
83
|
+
.withUserId(data["userId"]);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
public toDict(): {[key: string]: any} {
|
|
87
|
+
return {
|
|
88
|
+
"userId": this.getUserId(),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class WaitImportUserDataRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private userId;
|
|
7
|
+
private microserviceName;
|
|
8
|
+
private duplicationAvoider;
|
|
9
|
+
getRequestId(): string | null;
|
|
10
|
+
setRequestId(requestId: string | null): this;
|
|
11
|
+
withRequestId(requestId: string | null): this;
|
|
12
|
+
getContextStack(): string | null;
|
|
13
|
+
setContextStack(contextStack: string | null): this;
|
|
14
|
+
withContextStack(contextStack: string | null): this;
|
|
15
|
+
getTransactionId(): string | null;
|
|
16
|
+
setTransactionId(transactionId: string | null): this;
|
|
17
|
+
withTransactionId(transactionId: string | null): this;
|
|
18
|
+
getUserId(): string | null;
|
|
19
|
+
setUserId(userId: string | null): this;
|
|
20
|
+
withUserId(userId: string | null): this;
|
|
21
|
+
getMicroserviceName(): string | null;
|
|
22
|
+
setMicroserviceName(microserviceName: string | null): this;
|
|
23
|
+
withMicroserviceName(microserviceName: string | null): this;
|
|
24
|
+
getDuplicationAvoider(): string | null;
|
|
25
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
26
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): WaitImportUserDataRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|