gs2 1.4.63 → 1.4.65
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/request/GetAccountRequest.d.ts +4 -0
- package/account/request/GetAccountRequest.js +14 -0
- package/account/request/GetAccountRequest.js.map +1 -1
- package/account/request/GetAccountRequest.ts +14 -0
- package/account/rest.js +2 -1
- package/account/rest.js.map +1 -1
- package/account/rest.ts +1 -0
- package/exchange/model/Await.d.ts +4 -0
- package/exchange/model/Await.js +14 -0
- package/exchange/model/Await.js.map +1 -1
- package/exchange/model/Await.ts +14 -0
- package/package.json +1 -1
- package/stamina/request/VerifyStaminaMaxValueByStampTaskRequest.d.ts +25 -0
- package/stamina/request/VerifyStaminaMaxValueByStampTaskRequest.js +83 -0
- package/stamina/request/VerifyStaminaMaxValueByStampTaskRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaMaxValueByStampTaskRequest.ts +90 -0
- package/stamina/request/VerifyStaminaMaxValueByUserIdRequest.d.ts +49 -0
- package/stamina/request/VerifyStaminaMaxValueByUserIdRequest.js +165 -0
- package/stamina/request/VerifyStaminaMaxValueByUserIdRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaMaxValueByUserIdRequest.ts +175 -0
- package/stamina/request/VerifyStaminaMaxValueRequest.d.ts +45 -0
- package/stamina/request/VerifyStaminaMaxValueRequest.js +151 -0
- package/stamina/request/VerifyStaminaMaxValueRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaMaxValueRequest.ts +161 -0
- package/stamina/request/VerifyStaminaOverflowValueByStampTaskRequest.d.ts +25 -0
- package/stamina/request/VerifyStaminaOverflowValueByStampTaskRequest.js +83 -0
- package/stamina/request/VerifyStaminaOverflowValueByStampTaskRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaOverflowValueByStampTaskRequest.ts +90 -0
- package/stamina/request/VerifyStaminaOverflowValueByUserIdRequest.d.ts +49 -0
- package/stamina/request/VerifyStaminaOverflowValueByUserIdRequest.js +165 -0
- package/stamina/request/VerifyStaminaOverflowValueByUserIdRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaOverflowValueByUserIdRequest.ts +175 -0
- package/stamina/request/VerifyStaminaOverflowValueRequest.d.ts +45 -0
- package/stamina/request/VerifyStaminaOverflowValueRequest.js +151 -0
- package/stamina/request/VerifyStaminaOverflowValueRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaOverflowValueRequest.ts +161 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByStampTaskRequest.d.ts +25 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByStampTaskRequest.js +83 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByStampTaskRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByStampTaskRequest.ts +90 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByUserIdRequest.d.ts +49 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByUserIdRequest.js +165 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByUserIdRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesByUserIdRequest.ts +175 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesRequest.d.ts +45 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesRequest.js +151 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaRecoverIntervalMinutesRequest.ts +161 -0
- package/stamina/request/VerifyStaminaRecoverValueByStampTaskRequest.d.ts +25 -0
- package/stamina/request/VerifyStaminaRecoverValueByStampTaskRequest.js +83 -0
- package/stamina/request/VerifyStaminaRecoverValueByStampTaskRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaRecoverValueByStampTaskRequest.ts +90 -0
- package/stamina/request/VerifyStaminaRecoverValueByUserIdRequest.d.ts +49 -0
- package/stamina/request/VerifyStaminaRecoverValueByUserIdRequest.js +165 -0
- package/stamina/request/VerifyStaminaRecoverValueByUserIdRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaRecoverValueByUserIdRequest.ts +175 -0
- package/stamina/request/VerifyStaminaRecoverValueRequest.d.ts +45 -0
- package/stamina/request/VerifyStaminaRecoverValueRequest.js +151 -0
- package/stamina/request/VerifyStaminaRecoverValueRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaRecoverValueRequest.ts +161 -0
- package/stamina/request/VerifyStaminaValueByStampTaskRequest.d.ts +25 -0
- package/stamina/request/VerifyStaminaValueByStampTaskRequest.js +83 -0
- package/stamina/request/VerifyStaminaValueByStampTaskRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaValueByStampTaskRequest.ts +90 -0
- package/stamina/request/VerifyStaminaValueByUserIdRequest.d.ts +49 -0
- package/stamina/request/VerifyStaminaValueByUserIdRequest.js +165 -0
- package/stamina/request/VerifyStaminaValueByUserIdRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaValueByUserIdRequest.ts +175 -0
- package/stamina/request/VerifyStaminaValueRequest.d.ts +45 -0
- package/stamina/request/VerifyStaminaValueRequest.js +151 -0
- package/stamina/request/VerifyStaminaValueRequest.js.map +1 -0
- package/stamina/request/VerifyStaminaValueRequest.ts +161 -0
- package/stamina/request/index.d.ts +16 -1
- package/stamina/request/index.js +31 -1
- package/stamina/request/index.js.map +1 -1
- package/stamina/request/index.ts +30 -0
- package/stamina/rest.d.ts +15 -0
- package/stamina/rest.js +500 -0
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +560 -0
- package/stamina/result/VerifyStaminaMaxValueByStampTaskResult.d.ts +13 -0
- package/stamina/result/VerifyStaminaMaxValueByStampTaskResult.js +45 -0
- package/stamina/result/VerifyStaminaMaxValueByStampTaskResult.js.map +1 -0
- package/stamina/result/VerifyStaminaMaxValueByStampTaskResult.ts +46 -0
- package/stamina/result/VerifyStaminaMaxValueByUserIdResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaMaxValueByUserIdResult.js +30 -0
- package/stamina/result/VerifyStaminaMaxValueByUserIdResult.js.map +1 -0
- package/stamina/result/VerifyStaminaMaxValueByUserIdResult.ts +29 -0
- package/stamina/result/VerifyStaminaMaxValueResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaMaxValueResult.js +30 -0
- package/stamina/result/VerifyStaminaMaxValueResult.js.map +1 -0
- package/stamina/result/VerifyStaminaMaxValueResult.ts +29 -0
- package/stamina/result/VerifyStaminaOverflowValueByStampTaskResult.d.ts +13 -0
- package/stamina/result/VerifyStaminaOverflowValueByStampTaskResult.js +45 -0
- package/stamina/result/VerifyStaminaOverflowValueByStampTaskResult.js.map +1 -0
- package/stamina/result/VerifyStaminaOverflowValueByStampTaskResult.ts +46 -0
- package/stamina/result/VerifyStaminaOverflowValueByUserIdResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaOverflowValueByUserIdResult.js +30 -0
- package/stamina/result/VerifyStaminaOverflowValueByUserIdResult.js.map +1 -0
- package/stamina/result/VerifyStaminaOverflowValueByUserIdResult.ts +29 -0
- package/stamina/result/VerifyStaminaOverflowValueResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaOverflowValueResult.js +30 -0
- package/stamina/result/VerifyStaminaOverflowValueResult.js.map +1 -0
- package/stamina/result/VerifyStaminaOverflowValueResult.ts +29 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByStampTaskResult.d.ts +13 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByStampTaskResult.js +45 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByStampTaskResult.js.map +1 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByStampTaskResult.ts +46 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByUserIdResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByUserIdResult.js +30 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByUserIdResult.js.map +1 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesByUserIdResult.ts +29 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesResult.js +30 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesResult.js.map +1 -0
- package/stamina/result/VerifyStaminaRecoverIntervalMinutesResult.ts +29 -0
- package/stamina/result/VerifyStaminaRecoverValueByStampTaskResult.d.ts +13 -0
- package/stamina/result/VerifyStaminaRecoverValueByStampTaskResult.js +45 -0
- package/stamina/result/VerifyStaminaRecoverValueByStampTaskResult.js.map +1 -0
- package/stamina/result/VerifyStaminaRecoverValueByStampTaskResult.ts +46 -0
- package/stamina/result/VerifyStaminaRecoverValueByUserIdResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaRecoverValueByUserIdResult.js +30 -0
- package/stamina/result/VerifyStaminaRecoverValueByUserIdResult.js.map +1 -0
- package/stamina/result/VerifyStaminaRecoverValueByUserIdResult.ts +29 -0
- package/stamina/result/VerifyStaminaRecoverValueResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaRecoverValueResult.js +30 -0
- package/stamina/result/VerifyStaminaRecoverValueResult.js.map +1 -0
- package/stamina/result/VerifyStaminaRecoverValueResult.ts +29 -0
- package/stamina/result/VerifyStaminaValueByStampTaskResult.d.ts +13 -0
- package/stamina/result/VerifyStaminaValueByStampTaskResult.js +45 -0
- package/stamina/result/VerifyStaminaValueByStampTaskResult.js.map +1 -0
- package/stamina/result/VerifyStaminaValueByStampTaskResult.ts +46 -0
- package/stamina/result/VerifyStaminaValueByUserIdResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaValueByUserIdResult.js +30 -0
- package/stamina/result/VerifyStaminaValueByUserIdResult.js.map +1 -0
- package/stamina/result/VerifyStaminaValueByUserIdResult.ts +29 -0
- package/stamina/result/VerifyStaminaValueResult.d.ts +9 -0
- package/stamina/result/VerifyStaminaValueResult.js +30 -0
- package/stamina/result/VerifyStaminaValueResult.js.map +1 -0
- package/stamina/result/VerifyStaminaValueResult.ts +29 -0
- package/stamina/result/index.d.ts +16 -1
- package/stamina/result/index.js +31 -1
- package/stamina/result/index.js.map +1 -1
- package/stamina/result/index.ts +30 -0
|
@@ -0,0 +1,175 @@
|
|
|
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 Gs2Stamina from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyStaminaRecoverIntervalMinutesByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private userId: string|null = null;
|
|
27
|
+
private staminaName: string|null = null;
|
|
28
|
+
private verifyType: string|null = null;
|
|
29
|
+
private value: number|null = null;
|
|
30
|
+
private multiplyValueSpecifyingQuantity: boolean|null = null;
|
|
31
|
+
private timeOffsetToken: string|null = null;
|
|
32
|
+
private duplicationAvoider: string|null = null;
|
|
33
|
+
|
|
34
|
+
public getRequestId(): string|null {
|
|
35
|
+
return this.requestId;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public setRequestId(requestId: string|null) {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public withRequestId(requestId: string|null): this {
|
|
44
|
+
this.requestId = requestId;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public getContextStack(): string|null {
|
|
49
|
+
return this.contextStack;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public setContextStack(contextStack: string|null) {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public withContextStack(contextStack: string|null): this {
|
|
58
|
+
this.contextStack = contextStack;
|
|
59
|
+
return this;
|
|
60
|
+
}
|
|
61
|
+
public getNamespaceName(): string|null {
|
|
62
|
+
return this.namespaceName;
|
|
63
|
+
}
|
|
64
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
69
|
+
this.namespaceName = namespaceName;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
public getUserId(): string|null {
|
|
73
|
+
return this.userId;
|
|
74
|
+
}
|
|
75
|
+
public setUserId(userId: string|null) {
|
|
76
|
+
this.userId = userId;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public withUserId(userId: string|null): this {
|
|
80
|
+
this.userId = userId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
public getStaminaName(): string|null {
|
|
84
|
+
return this.staminaName;
|
|
85
|
+
}
|
|
86
|
+
public setStaminaName(staminaName: string|null) {
|
|
87
|
+
this.staminaName = staminaName;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public withStaminaName(staminaName: string|null): this {
|
|
91
|
+
this.staminaName = staminaName;
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
public getVerifyType(): string|null {
|
|
95
|
+
return this.verifyType;
|
|
96
|
+
}
|
|
97
|
+
public setVerifyType(verifyType: string|null) {
|
|
98
|
+
this.verifyType = verifyType;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
public withVerifyType(verifyType: string|null): this {
|
|
102
|
+
this.verifyType = verifyType;
|
|
103
|
+
return this;
|
|
104
|
+
}
|
|
105
|
+
public getValue(): number|null {
|
|
106
|
+
return this.value;
|
|
107
|
+
}
|
|
108
|
+
public setValue(value: number|null) {
|
|
109
|
+
this.value = value;
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
public withValue(value: number|null): this {
|
|
113
|
+
this.value = value;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
public getMultiplyValueSpecifyingQuantity(): boolean|null {
|
|
117
|
+
return this.multiplyValueSpecifyingQuantity;
|
|
118
|
+
}
|
|
119
|
+
public setMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean|null) {
|
|
120
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
public withMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean|null): this {
|
|
124
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
125
|
+
return this;
|
|
126
|
+
}
|
|
127
|
+
public getTimeOffsetToken(): string|null {
|
|
128
|
+
return this.timeOffsetToken;
|
|
129
|
+
}
|
|
130
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
131
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
135
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
public getDuplicationAvoider(): string|null {
|
|
140
|
+
return this.duplicationAvoider;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
144
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
149
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
150
|
+
return this;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
public static fromDict(data: {[key: string]: any}): VerifyStaminaRecoverIntervalMinutesByUserIdRequest {
|
|
154
|
+
return new VerifyStaminaRecoverIntervalMinutesByUserIdRequest()
|
|
155
|
+
.withNamespaceName(data["namespaceName"])
|
|
156
|
+
.withUserId(data["userId"])
|
|
157
|
+
.withStaminaName(data["staminaName"])
|
|
158
|
+
.withVerifyType(data["verifyType"])
|
|
159
|
+
.withValue(data["value"])
|
|
160
|
+
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"])
|
|
161
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
public toDict(): {[key: string]: any} {
|
|
165
|
+
return {
|
|
166
|
+
"namespaceName": this.getNamespaceName(),
|
|
167
|
+
"userId": this.getUserId(),
|
|
168
|
+
"staminaName": this.getStaminaName(),
|
|
169
|
+
"verifyType": this.getVerifyType(),
|
|
170
|
+
"value": this.getValue(),
|
|
171
|
+
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
172
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyStaminaRecoverIntervalMinutesRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private staminaName;
|
|
8
|
+
private verifyType;
|
|
9
|
+
private value;
|
|
10
|
+
private multiplyValueSpecifyingQuantity;
|
|
11
|
+
private duplicationAvoider;
|
|
12
|
+
getRequestId(): string | null;
|
|
13
|
+
setRequestId(requestId: string | null): this;
|
|
14
|
+
withRequestId(requestId: string | null): this;
|
|
15
|
+
getContextStack(): string | null;
|
|
16
|
+
setContextStack(contextStack: string | null): this;
|
|
17
|
+
withContextStack(contextStack: string | null): this;
|
|
18
|
+
getNamespaceName(): string | null;
|
|
19
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
21
|
+
getAccessToken(): string | null;
|
|
22
|
+
setAccessToken(accessToken: string | null): this;
|
|
23
|
+
withAccessToken(accessToken: string | null): this;
|
|
24
|
+
getStaminaName(): string | null;
|
|
25
|
+
setStaminaName(staminaName: string | null): this;
|
|
26
|
+
withStaminaName(staminaName: string | null): this;
|
|
27
|
+
getVerifyType(): string | null;
|
|
28
|
+
setVerifyType(verifyType: string | null): this;
|
|
29
|
+
withVerifyType(verifyType: string | null): this;
|
|
30
|
+
getValue(): number | null;
|
|
31
|
+
setValue(value: number | null): this;
|
|
32
|
+
withValue(value: number | null): this;
|
|
33
|
+
getMultiplyValueSpecifyingQuantity(): boolean | null;
|
|
34
|
+
setMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean | null): this;
|
|
35
|
+
withMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean | null): this;
|
|
36
|
+
getDuplicationAvoider(): string | null;
|
|
37
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
38
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
39
|
+
static fromDict(data: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}): VerifyStaminaRecoverIntervalMinutesRequest;
|
|
42
|
+
toDict(): {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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 VerifyStaminaRecoverIntervalMinutesRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyStaminaRecoverIntervalMinutesRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.staminaName = null;
|
|
25
|
+
this.verifyType = null;
|
|
26
|
+
this.value = null;
|
|
27
|
+
this.multiplyValueSpecifyingQuantity = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getAccessToken = function () {
|
|
64
|
+
return this.accessToken;
|
|
65
|
+
};
|
|
66
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setAccessToken = function (accessToken) {
|
|
67
|
+
this.accessToken = accessToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withAccessToken = function (accessToken) {
|
|
71
|
+
this.accessToken = accessToken;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getStaminaName = function () {
|
|
75
|
+
return this.staminaName;
|
|
76
|
+
};
|
|
77
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setStaminaName = function (staminaName) {
|
|
78
|
+
this.staminaName = staminaName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withStaminaName = function (staminaName) {
|
|
82
|
+
this.staminaName = staminaName;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getVerifyType = function () {
|
|
86
|
+
return this.verifyType;
|
|
87
|
+
};
|
|
88
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setVerifyType = function (verifyType) {
|
|
89
|
+
this.verifyType = verifyType;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withVerifyType = function (verifyType) {
|
|
93
|
+
this.verifyType = verifyType;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getValue = function () {
|
|
97
|
+
return this.value;
|
|
98
|
+
};
|
|
99
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setValue = function (value) {
|
|
100
|
+
this.value = value;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withValue = function (value) {
|
|
104
|
+
this.value = value;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getMultiplyValueSpecifyingQuantity = function () {
|
|
108
|
+
return this.multiplyValueSpecifyingQuantity;
|
|
109
|
+
};
|
|
110
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setMultiplyValueSpecifyingQuantity = function (multiplyValueSpecifyingQuantity) {
|
|
111
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
112
|
+
return this;
|
|
113
|
+
};
|
|
114
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withMultiplyValueSpecifyingQuantity = function (multiplyValueSpecifyingQuantity) {
|
|
115
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
116
|
+
return this;
|
|
117
|
+
};
|
|
118
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.getDuplicationAvoider = function () {
|
|
119
|
+
return this.duplicationAvoider;
|
|
120
|
+
};
|
|
121
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
122
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
125
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
126
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
VerifyStaminaRecoverIntervalMinutesRequest.fromDict = function (data) {
|
|
130
|
+
return new VerifyStaminaRecoverIntervalMinutesRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withAccessToken(data["accessToken"])
|
|
133
|
+
.withStaminaName(data["staminaName"])
|
|
134
|
+
.withVerifyType(data["verifyType"])
|
|
135
|
+
.withValue(data["value"])
|
|
136
|
+
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"]);
|
|
137
|
+
};
|
|
138
|
+
VerifyStaminaRecoverIntervalMinutesRequest.prototype.toDict = function () {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"accessToken": this.getAccessToken(),
|
|
142
|
+
"staminaName": this.getStaminaName(),
|
|
143
|
+
"verifyType": this.getVerifyType(),
|
|
144
|
+
"value": this.getValue(),
|
|
145
|
+
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
return VerifyStaminaRecoverIntervalMinutesRequest;
|
|
149
|
+
}());
|
|
150
|
+
exports.default = VerifyStaminaRecoverIntervalMinutesRequest;
|
|
151
|
+
//# sourceMappingURL=VerifyStaminaRecoverIntervalMinutesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifySt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a,EAAE;YAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,iCAAiC,EAAE,IAAI,CAAC,kCAAkC,EAAE;SAC/E,CAAC;IACN,CAAC;IACL,iDAAC;AAAD,CAAC,AA5ID,IA4IC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
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 Gs2Stamina from '../model'
|
|
20
|
+
|
|
21
|
+
export default class VerifyStaminaRecoverIntervalMinutesRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private accessToken: string|null = null;
|
|
27
|
+
private staminaName: string|null = null;
|
|
28
|
+
private verifyType: string|null = null;
|
|
29
|
+
private value: number|null = null;
|
|
30
|
+
private multiplyValueSpecifyingQuantity: boolean|null = null;
|
|
31
|
+
private duplicationAvoider: string|null = null;
|
|
32
|
+
|
|
33
|
+
public getRequestId(): string|null {
|
|
34
|
+
return this.requestId;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public setRequestId(requestId: string|null) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public withRequestId(requestId: string|null): this {
|
|
43
|
+
this.requestId = requestId;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public getContextStack(): string|null {
|
|
48
|
+
return this.contextStack;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public setContextStack(contextStack: string|null) {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public withContextStack(contextStack: string|null): this {
|
|
57
|
+
this.contextStack = contextStack;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
public getNamespaceName(): string|null {
|
|
61
|
+
return this.namespaceName;
|
|
62
|
+
}
|
|
63
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
64
|
+
this.namespaceName = namespaceName;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
68
|
+
this.namespaceName = namespaceName;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
public getAccessToken(): string|null {
|
|
72
|
+
return this.accessToken;
|
|
73
|
+
}
|
|
74
|
+
public setAccessToken(accessToken: string|null) {
|
|
75
|
+
this.accessToken = accessToken;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withAccessToken(accessToken: string|null): this {
|
|
79
|
+
this.accessToken = accessToken;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public getStaminaName(): string|null {
|
|
83
|
+
return this.staminaName;
|
|
84
|
+
}
|
|
85
|
+
public setStaminaName(staminaName: string|null) {
|
|
86
|
+
this.staminaName = staminaName;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
public withStaminaName(staminaName: string|null): this {
|
|
90
|
+
this.staminaName = staminaName;
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
public getVerifyType(): string|null {
|
|
94
|
+
return this.verifyType;
|
|
95
|
+
}
|
|
96
|
+
public setVerifyType(verifyType: string|null) {
|
|
97
|
+
this.verifyType = verifyType;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public withVerifyType(verifyType: string|null): this {
|
|
101
|
+
this.verifyType = verifyType;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
public getValue(): number|null {
|
|
105
|
+
return this.value;
|
|
106
|
+
}
|
|
107
|
+
public setValue(value: number|null) {
|
|
108
|
+
this.value = value;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
public withValue(value: number|null): this {
|
|
112
|
+
this.value = value;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
public getMultiplyValueSpecifyingQuantity(): boolean|null {
|
|
116
|
+
return this.multiplyValueSpecifyingQuantity;
|
|
117
|
+
}
|
|
118
|
+
public setMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean|null) {
|
|
119
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public withMultiplyValueSpecifyingQuantity(multiplyValueSpecifyingQuantity: boolean|null): this {
|
|
123
|
+
this.multiplyValueSpecifyingQuantity = multiplyValueSpecifyingQuantity;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
public getDuplicationAvoider(): string|null {
|
|
128
|
+
return this.duplicationAvoider;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
132
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
137
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
public static fromDict(data: {[key: string]: any}): VerifyStaminaRecoverIntervalMinutesRequest {
|
|
142
|
+
return new VerifyStaminaRecoverIntervalMinutesRequest()
|
|
143
|
+
.withNamespaceName(data["namespaceName"])
|
|
144
|
+
.withAccessToken(data["accessToken"])
|
|
145
|
+
.withStaminaName(data["staminaName"])
|
|
146
|
+
.withVerifyType(data["verifyType"])
|
|
147
|
+
.withValue(data["value"])
|
|
148
|
+
.withMultiplyValueSpecifyingQuantity(data["multiplyValueSpecifyingQuantity"]);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
public toDict(): {[key: string]: any} {
|
|
152
|
+
return {
|
|
153
|
+
"namespaceName": this.getNamespaceName(),
|
|
154
|
+
"accessToken": this.getAccessToken(),
|
|
155
|
+
"staminaName": this.getStaminaName(),
|
|
156
|
+
"verifyType": this.getVerifyType(),
|
|
157
|
+
"value": this.getValue(),
|
|
158
|
+
"multiplyValueSpecifyingQuantity": this.getMultiplyValueSpecifyingQuantity(),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyStaminaRecoverValueByStampTaskRequest 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
|
+
}): VerifyStaminaRecoverValueByStampTaskRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var VerifyStaminaRecoverValueByStampTaskRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyStaminaRecoverValueByStampTaskRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.stampTask = null;
|
|
23
|
+
this.keyId = null;
|
|
24
|
+
}
|
|
25
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.getStampTask = function () {
|
|
48
|
+
return this.stampTask;
|
|
49
|
+
};
|
|
50
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.setStampTask = function (stampTask) {
|
|
51
|
+
this.stampTask = stampTask;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.withStampTask = function (stampTask) {
|
|
55
|
+
this.stampTask = stampTask;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.getKeyId = function () {
|
|
59
|
+
return this.keyId;
|
|
60
|
+
};
|
|
61
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.setKeyId = function (keyId) {
|
|
62
|
+
this.keyId = keyId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.withKeyId = function (keyId) {
|
|
66
|
+
this.keyId = keyId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyStaminaRecoverValueByStampTaskRequest.fromDict = function (data) {
|
|
70
|
+
return new VerifyStaminaRecoverValueByStampTaskRequest()
|
|
71
|
+
.withStampTask(data["stampTask"])
|
|
72
|
+
.withKeyId(data["keyId"]);
|
|
73
|
+
};
|
|
74
|
+
VerifyStaminaRecoverValueByStampTaskRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"stampTask": this.getStampTask(),
|
|
77
|
+
"keyId": this.getKeyId(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return VerifyStaminaRecoverValueByStampTaskRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = VerifyStaminaRecoverValueByStampTaskRequest;
|
|
83
|
+
//# sourceMappingURL=VerifyStaminaRecoverValueByStampTaskRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyStaminaRecoverValueByStampTaskRequest.js","sourceRoot":"","sources":["VerifyStaminaRecoverValueByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAgEtC,CAAC;IA9DU,kEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qEAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,qEAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sEAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,kEAAY,GAAnB,UAAoB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