gs2 1.3.147 → 1.3.149
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/package.json +1 -1
- package/showcase/model/PurchaseCount.d.ts +17 -0
- package/showcase/model/PurchaseCount.js +62 -0
- package/showcase/model/PurchaseCount.js.map +1 -0
- package/showcase/model/PurchaseCount.ts +60 -0
- package/showcase/model/RandomDisplayItem.d.ts +39 -0
- package/showcase/model/RandomDisplayItem.js +147 -0
- package/showcase/model/RandomDisplayItem.js.map +1 -0
- package/showcase/model/RandomDisplayItem.ts +148 -0
- package/showcase/model/RandomDisplayItemModel.d.ts +35 -0
- package/showcase/model/RandomDisplayItemModel.js +133 -0
- package/showcase/model/RandomDisplayItemModel.js.map +1 -0
- package/showcase/model/RandomDisplayItemModel.ts +134 -0
- package/showcase/model/RandomShowcase.d.ts +48 -0
- package/showcase/model/RandomShowcase.js +221 -0
- package/showcase/model/RandomShowcase.js.map +1 -0
- package/showcase/model/RandomShowcase.ts +237 -0
- package/showcase/model/RandomShowcaseMaster.d.ts +60 -0
- package/showcase/model/RandomShowcaseMaster.js +263 -0
- package/showcase/model/RandomShowcaseMaster.js.map +1 -0
- package/showcase/model/RandomShowcaseMaster.ts +279 -0
- package/showcase/model/index.d.ts +6 -1
- package/showcase/model/index.js +11 -1
- package/showcase/model/index.js.map +1 -1
- package/showcase/model/index.ts +10 -0
- package/showcase/request/CreateRandomShowcaseMasterRequest.d.ts +54 -0
- package/showcase/request/CreateRandomShowcaseMasterRequest.js +189 -0
- package/showcase/request/CreateRandomShowcaseMasterRequest.js.map +1 -0
- package/showcase/request/CreateRandomShowcaseMasterRequest.ts +196 -0
- package/showcase/request/DeleteRandomShowcaseMasterRequest.d.ts +25 -0
- package/showcase/request/DeleteRandomShowcaseMasterRequest.js +83 -0
- package/showcase/request/DeleteRandomShowcaseMasterRequest.js.map +1 -0
- package/showcase/request/DeleteRandomShowcaseMasterRequest.ts +90 -0
- package/showcase/request/DescribeRandomShowcaseMastersRequest.d.ts +29 -0
- package/showcase/request/DescribeRandomShowcaseMastersRequest.js +97 -0
- package/showcase/request/DescribeRandomShowcaseMastersRequest.js.map +1 -0
- package/showcase/request/DescribeRandomShowcaseMastersRequest.ts +104 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.d.ts +29 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.js +97 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.js.map +1 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.ts +104 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.d.ts +29 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.js +97 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.js.map +1 -0
- package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.ts +104 -0
- package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.d.ts +25 -0
- package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.js +83 -0
- package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.js.map +1 -0
- package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.ts +90 -0
- package/showcase/request/ForceReDrawByUserIdRequest.d.ts +33 -0
- package/showcase/request/ForceReDrawByUserIdRequest.js +109 -0
- package/showcase/request/ForceReDrawByUserIdRequest.js.map +1 -0
- package/showcase/request/ForceReDrawByUserIdRequest.ts +119 -0
- package/showcase/request/GetRandomShowcaseMasterRequest.d.ts +25 -0
- package/showcase/request/GetRandomShowcaseMasterRequest.js +83 -0
- package/showcase/request/GetRandomShowcaseMasterRequest.js.map +1 -0
- package/showcase/request/GetRandomShowcaseMasterRequest.ts +90 -0
- package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.d.ts +33 -0
- package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.js +111 -0
- package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.js.map +1 -0
- package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.ts +118 -0
- package/showcase/request/GetRandomShowcaseSalesItemRequest.d.ts +33 -0
- package/showcase/request/GetRandomShowcaseSalesItemRequest.js +111 -0
- package/showcase/request/GetRandomShowcaseSalesItemRequest.js.map +1 -0
- package/showcase/request/GetRandomShowcaseSalesItemRequest.ts +118 -0
- package/showcase/request/IncrementPurchaseCountByStampTaskRequest.d.ts +25 -0
- package/showcase/request/IncrementPurchaseCountByStampTaskRequest.js +83 -0
- package/showcase/request/IncrementPurchaseCountByStampTaskRequest.js.map +1 -0
- package/showcase/request/IncrementPurchaseCountByStampTaskRequest.ts +90 -0
- package/showcase/request/IncrementPurchaseCountByUserIdRequest.d.ts +41 -0
- package/showcase/request/IncrementPurchaseCountByUserIdRequest.js +137 -0
- package/showcase/request/IncrementPurchaseCountByUserIdRequest.js.map +1 -0
- package/showcase/request/IncrementPurchaseCountByUserIdRequest.ts +147 -0
- package/showcase/request/RandomShowcaseBuyByUserIdRequest.d.ts +46 -0
- package/showcase/request/RandomShowcaseBuyByUserIdRequest.js +159 -0
- package/showcase/request/RandomShowcaseBuyByUserIdRequest.js.map +1 -0
- package/showcase/request/RandomShowcaseBuyByUserIdRequest.ts +169 -0
- package/showcase/request/RandomShowcaseBuyRequest.d.ts +46 -0
- package/showcase/request/RandomShowcaseBuyRequest.js +159 -0
- package/showcase/request/RandomShowcaseBuyRequest.js.map +1 -0
- package/showcase/request/RandomShowcaseBuyRequest.ts +169 -0
- package/showcase/request/UpdateRandomShowcaseMasterRequest.d.ts +54 -0
- package/showcase/request/UpdateRandomShowcaseMasterRequest.js +189 -0
- package/showcase/request/UpdateRandomShowcaseMasterRequest.js.map +1 -0
- package/showcase/request/UpdateRandomShowcaseMasterRequest.ts +196 -0
- package/showcase/request/index.d.ts +16 -1
- package/showcase/request/index.js +31 -1
- package/showcase/request/index.js.map +1 -1
- package/showcase/request/index.ts +30 -0
- package/showcase/rest.d.ts +15 -0
- package/showcase/rest.js +424 -0
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +484 -0
- package/showcase/result/CreateRandomShowcaseMasterResult.d.ts +14 -0
- package/showcase/result/CreateRandomShowcaseMasterResult.js +48 -0
- package/showcase/result/CreateRandomShowcaseMasterResult.js.map +1 -0
- package/showcase/result/CreateRandomShowcaseMasterResult.ts +48 -0
- package/showcase/result/DeleteRandomShowcaseMasterResult.d.ts +14 -0
- package/showcase/result/DeleteRandomShowcaseMasterResult.js +48 -0
- package/showcase/result/DeleteRandomShowcaseMasterResult.js.map +1 -0
- package/showcase/result/DeleteRandomShowcaseMasterResult.ts +48 -0
- package/showcase/result/DescribeRandomShowcaseMastersResult.d.ts +18 -0
- package/showcase/result/DescribeRandomShowcaseMastersResult.js +67 -0
- package/showcase/result/DescribeRandomShowcaseMastersResult.js.map +1 -0
- package/showcase/result/DescribeRandomShowcaseMastersResult.ts +73 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.d.ts +14 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.js +53 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.js.map +1 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.ts +56 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsResult.d.ts +14 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsResult.js +53 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsResult.js.map +1 -0
- package/showcase/result/DescribeRandomShowcaseSalesItemsResult.ts +56 -0
- package/showcase/result/ForceReDrawByUserIdByStampSheetResult.d.ts +14 -0
- package/showcase/result/ForceReDrawByUserIdByStampSheetResult.js +53 -0
- package/showcase/result/ForceReDrawByUserIdByStampSheetResult.js.map +1 -0
- package/showcase/result/ForceReDrawByUserIdByStampSheetResult.ts +56 -0
- package/showcase/result/ForceReDrawByUserIdResult.d.ts +14 -0
- package/showcase/result/ForceReDrawByUserIdResult.js +53 -0
- package/showcase/result/ForceReDrawByUserIdResult.js.map +1 -0
- package/showcase/result/ForceReDrawByUserIdResult.ts +56 -0
- package/showcase/result/GetRandomShowcaseMasterResult.d.ts +14 -0
- package/showcase/result/GetRandomShowcaseMasterResult.js +48 -0
- package/showcase/result/GetRandomShowcaseMasterResult.js.map +1 -0
- package/showcase/result/GetRandomShowcaseMasterResult.ts +48 -0
- package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.d.ts +14 -0
- package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.js +48 -0
- package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.js.map +1 -0
- package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.ts +48 -0
- package/showcase/result/GetRandomShowcaseSalesItemResult.d.ts +14 -0
- package/showcase/result/GetRandomShowcaseSalesItemResult.js +48 -0
- package/showcase/result/GetRandomShowcaseSalesItemResult.js.map +1 -0
- package/showcase/result/GetRandomShowcaseSalesItemResult.ts +48 -0
- package/showcase/result/IncrementPurchaseCountByStampTaskResult.d.ts +18 -0
- package/showcase/result/IncrementPurchaseCountByStampTaskResult.js +62 -0
- package/showcase/result/IncrementPurchaseCountByStampTaskResult.js.map +1 -0
- package/showcase/result/IncrementPurchaseCountByStampTaskResult.ts +65 -0
- package/showcase/result/IncrementPurchaseCountByUserIdResult.d.ts +14 -0
- package/showcase/result/IncrementPurchaseCountByUserIdResult.js +48 -0
- package/showcase/result/IncrementPurchaseCountByUserIdResult.js.map +1 -0
- package/showcase/result/IncrementPurchaseCountByUserIdResult.ts +48 -0
- package/showcase/result/RandomShowcaseBuyByUserIdResult.d.ts +30 -0
- package/showcase/result/RandomShowcaseBuyByUserIdResult.js +104 -0
- package/showcase/result/RandomShowcaseBuyByUserIdResult.js.map +1 -0
- package/showcase/result/RandomShowcaseBuyByUserIdResult.ts +116 -0
- package/showcase/result/RandomShowcaseBuyResult.d.ts +30 -0
- package/showcase/result/RandomShowcaseBuyResult.js +104 -0
- package/showcase/result/RandomShowcaseBuyResult.js.map +1 -0
- package/showcase/result/RandomShowcaseBuyResult.ts +116 -0
- package/showcase/result/UpdateRandomShowcaseMasterResult.d.ts +14 -0
- package/showcase/result/UpdateRandomShowcaseMasterResult.js +48 -0
- package/showcase/result/UpdateRandomShowcaseMasterResult.js.map +1 -0
- package/showcase/result/UpdateRandomShowcaseMasterResult.ts +48 -0
- package/showcase/result/index.d.ts +16 -1
- package/showcase/result/index.js +31 -1
- package/showcase/result/index.js.map +1 -1
- package/showcase/result/index.ts +30 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetRandomShowcaseMasterRequest.js","sourceRoot":"","sources":["GetRandomShowcaseMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,iBAAY,GAAgB,IAAI,CAAC;IAgE7C,CAAC;IA9DU,qDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,qDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,wDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,yDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0DAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IACM,wDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;IAChD,CAAC;IAEM,+CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;SACzC,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Showcase from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetRandomShowcaseMasterRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private showcaseName: 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 getNamespaceName(): string|null {
|
|
56
|
+
return this.namespaceName;
|
|
57
|
+
}
|
|
58
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public getShowcaseName(): string|null {
|
|
67
|
+
return this.showcaseName;
|
|
68
|
+
}
|
|
69
|
+
public setShowcaseName(showcaseName: string|null) {
|
|
70
|
+
this.showcaseName = showcaseName;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
public withShowcaseName(showcaseName: string|null): this {
|
|
74
|
+
this.showcaseName = showcaseName;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static fromDict(data: {[key: string]: any}): GetRandomShowcaseMasterRequest {
|
|
79
|
+
return new GetRandomShowcaseMasterRequest()
|
|
80
|
+
.withNamespaceName(data["namespaceName"])
|
|
81
|
+
.withShowcaseName(data["showcaseName"]);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public toDict(): {[key: string]: any} {
|
|
85
|
+
return {
|
|
86
|
+
"namespaceName": this.getNamespaceName(),
|
|
87
|
+
"showcaseName": this.getShowcaseName(),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetRandomShowcaseSalesItemByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private showcaseName;
|
|
7
|
+
private displayItemName;
|
|
8
|
+
private userId;
|
|
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
|
+
getNamespaceName(): string | null;
|
|
16
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
getShowcaseName(): string | null;
|
|
19
|
+
setShowcaseName(showcaseName: string | null): this;
|
|
20
|
+
withShowcaseName(showcaseName: string | null): this;
|
|
21
|
+
getDisplayItemName(): string | null;
|
|
22
|
+
setDisplayItemName(displayItemName: string | null): this;
|
|
23
|
+
withDisplayItemName(displayItemName: string | null): this;
|
|
24
|
+
getUserId(): string | null;
|
|
25
|
+
setUserId(userId: string | null): this;
|
|
26
|
+
withUserId(userId: string | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): GetRandomShowcaseSalesItemByUserIdRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 GetRandomShowcaseSalesItemByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function GetRandomShowcaseSalesItemByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.showcaseName = null;
|
|
24
|
+
this.displayItemName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
}
|
|
27
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.getShowcaseName = function () {
|
|
61
|
+
return this.showcaseName;
|
|
62
|
+
};
|
|
63
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.setShowcaseName = function (showcaseName) {
|
|
64
|
+
this.showcaseName = showcaseName;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.withShowcaseName = function (showcaseName) {
|
|
68
|
+
this.showcaseName = showcaseName;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.getDisplayItemName = function () {
|
|
72
|
+
return this.displayItemName;
|
|
73
|
+
};
|
|
74
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.setDisplayItemName = function (displayItemName) {
|
|
75
|
+
this.displayItemName = displayItemName;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.withDisplayItemName = function (displayItemName) {
|
|
79
|
+
this.displayItemName = displayItemName;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.getUserId = function () {
|
|
83
|
+
return this.userId;
|
|
84
|
+
};
|
|
85
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.setUserId = function (userId) {
|
|
86
|
+
this.userId = userId;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.withUserId = function (userId) {
|
|
90
|
+
this.userId = userId;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
GetRandomShowcaseSalesItemByUserIdRequest.fromDict = function (data) {
|
|
94
|
+
return new GetRandomShowcaseSalesItemByUserIdRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withShowcaseName(data["showcaseName"])
|
|
97
|
+
.withDisplayItemName(data["displayItemName"])
|
|
98
|
+
.withUserId(data["userId"]);
|
|
99
|
+
};
|
|
100
|
+
GetRandomShowcaseSalesItemByUserIdRequest.prototype.toDict = function () {
|
|
101
|
+
return {
|
|
102
|
+
"namespaceName": this.getNamespaceName(),
|
|
103
|
+
"showcaseName": this.getShowcaseName(),
|
|
104
|
+
"displayItemName": this.getDisplayItemName(),
|
|
105
|
+
"userId": this.getUserId(),
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
return GetRandomShowcaseSalesItemByUserIdRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.default = GetRandomShowcaseSalesItemByUserIdRequest;
|
|
111
|
+
//# sourceMappingURL=GetRandomShowcaseSalesItemByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetRandomShowcaseSalesItemByUserIdRequest.js","sourceRoot":"","sources":["GetRandomShowcaseSalesItemByUserIdRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 Gs2Showcase from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetRandomShowcaseSalesItemByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private showcaseName: string|null = null;
|
|
27
|
+
private displayItemName: string|null = null;
|
|
28
|
+
private userId: string|null = null;
|
|
29
|
+
|
|
30
|
+
public getRequestId(): string|null {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public setRequestId(requestId: string|null) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public withRequestId(requestId: string|null): this {
|
|
40
|
+
this.requestId = requestId;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public getContextStack(): string|null {
|
|
45
|
+
return this.contextStack;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public setContextStack(contextStack: string|null) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public withContextStack(contextStack: string|null): this {
|
|
54
|
+
this.contextStack = contextStack;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getNamespaceName(): string|null {
|
|
58
|
+
return this.namespaceName;
|
|
59
|
+
}
|
|
60
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
61
|
+
this.namespaceName = namespaceName;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public getShowcaseName(): string|null {
|
|
69
|
+
return this.showcaseName;
|
|
70
|
+
}
|
|
71
|
+
public setShowcaseName(showcaseName: string|null) {
|
|
72
|
+
this.showcaseName = showcaseName;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
public withShowcaseName(showcaseName: string|null): this {
|
|
76
|
+
this.showcaseName = showcaseName;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public getDisplayItemName(): string|null {
|
|
80
|
+
return this.displayItemName;
|
|
81
|
+
}
|
|
82
|
+
public setDisplayItemName(displayItemName: string|null) {
|
|
83
|
+
this.displayItemName = displayItemName;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withDisplayItemName(displayItemName: string|null): this {
|
|
87
|
+
this.displayItemName = displayItemName;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public getUserId(): string|null {
|
|
91
|
+
return this.userId;
|
|
92
|
+
}
|
|
93
|
+
public setUserId(userId: string|null) {
|
|
94
|
+
this.userId = userId;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
public withUserId(userId: string|null): this {
|
|
98
|
+
this.userId = userId;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public static fromDict(data: {[key: string]: any}): GetRandomShowcaseSalesItemByUserIdRequest {
|
|
103
|
+
return new GetRandomShowcaseSalesItemByUserIdRequest()
|
|
104
|
+
.withNamespaceName(data["namespaceName"])
|
|
105
|
+
.withShowcaseName(data["showcaseName"])
|
|
106
|
+
.withDisplayItemName(data["displayItemName"])
|
|
107
|
+
.withUserId(data["userId"]);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public toDict(): {[key: string]: any} {
|
|
111
|
+
return {
|
|
112
|
+
"namespaceName": this.getNamespaceName(),
|
|
113
|
+
"showcaseName": this.getShowcaseName(),
|
|
114
|
+
"displayItemName": this.getDisplayItemName(),
|
|
115
|
+
"userId": this.getUserId(),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetRandomShowcaseSalesItemRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private showcaseName;
|
|
7
|
+
private displayItemName;
|
|
8
|
+
private accessToken;
|
|
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
|
+
getNamespaceName(): string | null;
|
|
16
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
getShowcaseName(): string | null;
|
|
19
|
+
setShowcaseName(showcaseName: string | null): this;
|
|
20
|
+
withShowcaseName(showcaseName: string | null): this;
|
|
21
|
+
getDisplayItemName(): string | null;
|
|
22
|
+
setDisplayItemName(displayItemName: string | null): this;
|
|
23
|
+
withDisplayItemName(displayItemName: string | null): this;
|
|
24
|
+
getAccessToken(): string | null;
|
|
25
|
+
setAccessToken(accessToken: string | null): this;
|
|
26
|
+
withAccessToken(accessToken: string | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): GetRandomShowcaseSalesItemRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 GetRandomShowcaseSalesItemRequest = /** @class */ (function () {
|
|
19
|
+
function GetRandomShowcaseSalesItemRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.showcaseName = null;
|
|
24
|
+
this.displayItemName = null;
|
|
25
|
+
this.accessToken = null;
|
|
26
|
+
}
|
|
27
|
+
GetRandomShowcaseSalesItemRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
GetRandomShowcaseSalesItemRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetRandomShowcaseSalesItemRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetRandomShowcaseSalesItemRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
GetRandomShowcaseSalesItemRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetRandomShowcaseSalesItemRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetRandomShowcaseSalesItemRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
GetRandomShowcaseSalesItemRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetRandomShowcaseSalesItemRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetRandomShowcaseSalesItemRequest.prototype.getShowcaseName = function () {
|
|
61
|
+
return this.showcaseName;
|
|
62
|
+
};
|
|
63
|
+
GetRandomShowcaseSalesItemRequest.prototype.setShowcaseName = function (showcaseName) {
|
|
64
|
+
this.showcaseName = showcaseName;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetRandomShowcaseSalesItemRequest.prototype.withShowcaseName = function (showcaseName) {
|
|
68
|
+
this.showcaseName = showcaseName;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetRandomShowcaseSalesItemRequest.prototype.getDisplayItemName = function () {
|
|
72
|
+
return this.displayItemName;
|
|
73
|
+
};
|
|
74
|
+
GetRandomShowcaseSalesItemRequest.prototype.setDisplayItemName = function (displayItemName) {
|
|
75
|
+
this.displayItemName = displayItemName;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
GetRandomShowcaseSalesItemRequest.prototype.withDisplayItemName = function (displayItemName) {
|
|
79
|
+
this.displayItemName = displayItemName;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
GetRandomShowcaseSalesItemRequest.prototype.getAccessToken = function () {
|
|
83
|
+
return this.accessToken;
|
|
84
|
+
};
|
|
85
|
+
GetRandomShowcaseSalesItemRequest.prototype.setAccessToken = function (accessToken) {
|
|
86
|
+
this.accessToken = accessToken;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GetRandomShowcaseSalesItemRequest.prototype.withAccessToken = function (accessToken) {
|
|
90
|
+
this.accessToken = accessToken;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
GetRandomShowcaseSalesItemRequest.fromDict = function (data) {
|
|
94
|
+
return new GetRandomShowcaseSalesItemRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withShowcaseName(data["showcaseName"])
|
|
97
|
+
.withDisplayItemName(data["displayItemName"])
|
|
98
|
+
.withAccessToken(data["accessToken"]);
|
|
99
|
+
};
|
|
100
|
+
GetRandomShowcaseSalesItemRequest.prototype.toDict = function () {
|
|
101
|
+
return {
|
|
102
|
+
"namespaceName": this.getNamespaceName(),
|
|
103
|
+
"showcaseName": this.getShowcaseName(),
|
|
104
|
+
"displayItemName": this.getDisplayItemName(),
|
|
105
|
+
"accessToken": this.getAccessToken(),
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
return GetRandomShowcaseSalesItemRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.default = GetRandomShowcaseSalesItemRequest;
|
|
111
|
+
//# sourceMappingURL=GetRandomShowcaseSalesItemRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetRandomShowcaseSalesItemRequest.js","sourceRoot":"","sources":["GetRandomShowcaseSalesItemRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 Gs2Showcase from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetRandomShowcaseSalesItemRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private showcaseName: string|null = null;
|
|
27
|
+
private displayItemName: string|null = null;
|
|
28
|
+
private accessToken: string|null = null;
|
|
29
|
+
|
|
30
|
+
public getRequestId(): string|null {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public setRequestId(requestId: string|null) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public withRequestId(requestId: string|null): this {
|
|
40
|
+
this.requestId = requestId;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public getContextStack(): string|null {
|
|
45
|
+
return this.contextStack;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public setContextStack(contextStack: string|null) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public withContextStack(contextStack: string|null): this {
|
|
54
|
+
this.contextStack = contextStack;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getNamespaceName(): string|null {
|
|
58
|
+
return this.namespaceName;
|
|
59
|
+
}
|
|
60
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
61
|
+
this.namespaceName = namespaceName;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public getShowcaseName(): string|null {
|
|
69
|
+
return this.showcaseName;
|
|
70
|
+
}
|
|
71
|
+
public setShowcaseName(showcaseName: string|null) {
|
|
72
|
+
this.showcaseName = showcaseName;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
public withShowcaseName(showcaseName: string|null): this {
|
|
76
|
+
this.showcaseName = showcaseName;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public getDisplayItemName(): string|null {
|
|
80
|
+
return this.displayItemName;
|
|
81
|
+
}
|
|
82
|
+
public setDisplayItemName(displayItemName: string|null) {
|
|
83
|
+
this.displayItemName = displayItemName;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withDisplayItemName(displayItemName: string|null): this {
|
|
87
|
+
this.displayItemName = displayItemName;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public getAccessToken(): string|null {
|
|
91
|
+
return this.accessToken;
|
|
92
|
+
}
|
|
93
|
+
public setAccessToken(accessToken: string|null) {
|
|
94
|
+
this.accessToken = accessToken;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
public withAccessToken(accessToken: string|null): this {
|
|
98
|
+
this.accessToken = accessToken;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public static fromDict(data: {[key: string]: any}): GetRandomShowcaseSalesItemRequest {
|
|
103
|
+
return new GetRandomShowcaseSalesItemRequest()
|
|
104
|
+
.withNamespaceName(data["namespaceName"])
|
|
105
|
+
.withShowcaseName(data["showcaseName"])
|
|
106
|
+
.withDisplayItemName(data["displayItemName"])
|
|
107
|
+
.withAccessToken(data["accessToken"]);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public toDict(): {[key: string]: any} {
|
|
111
|
+
return {
|
|
112
|
+
"namespaceName": this.getNamespaceName(),
|
|
113
|
+
"showcaseName": this.getShowcaseName(),
|
|
114
|
+
"displayItemName": this.getDisplayItemName(),
|
|
115
|
+
"accessToken": this.getAccessToken(),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class IncrementPurchaseCountByStampTaskRequest 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
|
+
}): IncrementPurchaseCountByStampTaskRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|