gs2 1.3.39 → 1.3.43
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
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,113 +0,0 @@
|
|
|
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 Gs2Lottery from '../model'
|
|
20
|
-
|
|
21
|
-
export default class GetRawBoxByUserIdRequest implements IRequest {
|
|
22
|
-
|
|
23
|
-
private requestId: string|null = null;
|
|
24
|
-
private contextStack: string|null = null;
|
|
25
|
-
private namespaceName: string|null = null;
|
|
26
|
-
private prizeTableName: string|null = null;
|
|
27
|
-
private userId: 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
|
-
|
|
57
|
-
public getNamespaceName(): string|null {
|
|
58
|
-
return this.namespaceName;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
public setNamespaceName(namespaceName: string|null) {
|
|
62
|
-
this.namespaceName = namespaceName;
|
|
63
|
-
return this;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
-
this.namespaceName = namespaceName;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
public getPrizeTableName(): string|null {
|
|
72
|
-
return this.prizeTableName;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
public setPrizeTableName(prizeTableName: string|null) {
|
|
76
|
-
this.prizeTableName = prizeTableName;
|
|
77
|
-
return this;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
public withPrizeTableName(prizeTableName: string|null): this {
|
|
81
|
-
this.prizeTableName = prizeTableName;
|
|
82
|
-
return this;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
public getUserId(): string|null {
|
|
86
|
-
return this.userId;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
public setUserId(userId: string|null) {
|
|
90
|
-
this.userId = userId;
|
|
91
|
-
return this;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
public withUserId(userId: string|null): this {
|
|
95
|
-
this.userId = userId;
|
|
96
|
-
return this;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
public static fromDict(data: {[key: string]: any}): GetRawBoxByUserIdRequest {
|
|
100
|
-
return new GetRawBoxByUserIdRequest()
|
|
101
|
-
.withNamespaceName(data["namespaceName"])
|
|
102
|
-
.withPrizeTableName(data["prizeTableName"])
|
|
103
|
-
.withUserId(data["userId"]);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
public toDict(): {[key: string]: any} {
|
|
107
|
-
return {
|
|
108
|
-
"namespaceName": this.getNamespaceName(),
|
|
109
|
-
"prizeTableName": this.getPrizeTableName(),
|
|
110
|
-
"userId": this.getUserId(),
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
}
|