gs2 1.3.257 → 1.3.258
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/money2/model/DailyTransactionHistory.d.ts +54 -0
- package/money2/model/DailyTransactionHistory.js +293 -0
- package/money2/model/DailyTransactionHistory.js.map +1 -0
- package/money2/model/DailyTransactionHistory.ts +315 -0
- package/money2/model/UnusedBalance.d.ts +35 -0
- package/money2/model/UnusedBalance.js +171 -0
- package/money2/model/UnusedBalance.js.map +1 -0
- package/money2/model/UnusedBalance.ts +184 -0
- package/money2/model/index.d.ts +3 -1
- package/money2/model/index.js +5 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +4 -0
- package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.d.ts +41 -0
- package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.js +139 -0
- package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.js.map +1 -0
- package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.ts +146 -0
- package/money2/request/DescribeDailyTransactionHistoriesRequest.d.ts +41 -0
- package/money2/request/DescribeDailyTransactionHistoriesRequest.js +139 -0
- package/money2/request/DescribeDailyTransactionHistoriesRequest.js.map +1 -0
- package/money2/request/DescribeDailyTransactionHistoriesRequest.ts +146 -0
- package/money2/request/DescribeUnusedBalancesRequest.d.ts +29 -0
- package/money2/request/DescribeUnusedBalancesRequest.js +97 -0
- package/money2/request/DescribeUnusedBalancesRequest.js.map +1 -0
- package/money2/request/DescribeUnusedBalancesRequest.ts +104 -0
- package/money2/request/GetDailyTransactionHistoryRequest.d.ts +37 -0
- package/money2/request/GetDailyTransactionHistoryRequest.js +125 -0
- package/money2/request/GetDailyTransactionHistoryRequest.js.map +1 -0
- package/money2/request/GetDailyTransactionHistoryRequest.ts +132 -0
- package/money2/request/GetUnusedBalanceRequest.d.ts +25 -0
- package/money2/request/GetUnusedBalanceRequest.js +83 -0
- package/money2/request/GetUnusedBalanceRequest.js.map +1 -0
- package/money2/request/GetUnusedBalanceRequest.ts +90 -0
- package/money2/request/index.d.ts +6 -1
- package/money2/request/index.js +11 -1
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +10 -0
- package/money2/rest.d.ts +5 -0
- package/money2/rest.js +127 -0
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +147 -0
- package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.d.ts +18 -0
- package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.js +67 -0
- package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.js.map +1 -0
- package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.ts +72 -0
- package/money2/result/DescribeDailyTransactionHistoriesResult.d.ts +18 -0
- package/money2/result/DescribeDailyTransactionHistoriesResult.js +67 -0
- package/money2/result/DescribeDailyTransactionHistoriesResult.js.map +1 -0
- package/money2/result/DescribeDailyTransactionHistoriesResult.ts +72 -0
- package/money2/result/DescribeUnusedBalancesResult.d.ts +18 -0
- package/money2/result/DescribeUnusedBalancesResult.js +67 -0
- package/money2/result/DescribeUnusedBalancesResult.js.map +1 -0
- package/money2/result/DescribeUnusedBalancesResult.ts +72 -0
- package/money2/result/GetDailyTransactionHistoryResult.d.ts +14 -0
- package/money2/result/GetDailyTransactionHistoryResult.js +48 -0
- package/money2/result/GetDailyTransactionHistoryResult.js.map +1 -0
- package/money2/result/GetDailyTransactionHistoryResult.ts +47 -0
- package/money2/result/GetUnusedBalanceResult.d.ts +14 -0
- package/money2/result/GetUnusedBalanceResult.js +48 -0
- package/money2/result/GetUnusedBalanceResult.js.map +1 -0
- package/money2/result/GetUnusedBalanceResult.ts +47 -0
- package/money2/result/index.d.ts +6 -1
- package/money2/result/index.js +11 -1
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
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 Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeDailyTransactionHistoriesByCurrencyRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private currency: string|null = null;
|
|
27
|
+
private year: number|null = null;
|
|
28
|
+
private month: number|null = null;
|
|
29
|
+
private pageToken: string|null = null;
|
|
30
|
+
private limit: number|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getNamespaceName(): string|null {
|
|
60
|
+
return this.namespaceName;
|
|
61
|
+
}
|
|
62
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getCurrency(): string|null {
|
|
71
|
+
return this.currency;
|
|
72
|
+
}
|
|
73
|
+
public setCurrency(currency: string|null) {
|
|
74
|
+
this.currency = currency;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withCurrency(currency: string|null): this {
|
|
78
|
+
this.currency = currency;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getYear(): number|null {
|
|
82
|
+
return this.year;
|
|
83
|
+
}
|
|
84
|
+
public setYear(year: number|null) {
|
|
85
|
+
this.year = year;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withYear(year: number|null): this {
|
|
89
|
+
this.year = year;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getMonth(): number|null {
|
|
93
|
+
return this.month;
|
|
94
|
+
}
|
|
95
|
+
public setMonth(month: number|null) {
|
|
96
|
+
this.month = month;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withMonth(month: number|null): this {
|
|
100
|
+
this.month = month;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
public getPageToken(): string|null {
|
|
104
|
+
return this.pageToken;
|
|
105
|
+
}
|
|
106
|
+
public setPageToken(pageToken: string|null) {
|
|
107
|
+
this.pageToken = pageToken;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withPageToken(pageToken: string|null): this {
|
|
111
|
+
this.pageToken = pageToken;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
public getLimit(): number|null {
|
|
115
|
+
return this.limit;
|
|
116
|
+
}
|
|
117
|
+
public setLimit(limit: number|null) {
|
|
118
|
+
this.limit = limit;
|
|
119
|
+
return this;
|
|
120
|
+
}
|
|
121
|
+
public withLimit(limit: number|null): this {
|
|
122
|
+
this.limit = limit;
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
public static fromDict(data: {[key: string]: any}): DescribeDailyTransactionHistoriesByCurrencyRequest {
|
|
127
|
+
return new DescribeDailyTransactionHistoriesByCurrencyRequest()
|
|
128
|
+
.withNamespaceName(data["namespaceName"])
|
|
129
|
+
.withCurrency(data["currency"])
|
|
130
|
+
.withYear(data["year"])
|
|
131
|
+
.withMonth(data["month"])
|
|
132
|
+
.withPageToken(data["pageToken"])
|
|
133
|
+
.withLimit(data["limit"]);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public toDict(): {[key: string]: any} {
|
|
137
|
+
return {
|
|
138
|
+
"namespaceName": this.getNamespaceName(),
|
|
139
|
+
"currency": this.getCurrency(),
|
|
140
|
+
"year": this.getYear(),
|
|
141
|
+
"month": this.getMonth(),
|
|
142
|
+
"pageToken": this.getPageToken(),
|
|
143
|
+
"limit": this.getLimit(),
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DescribeDailyTransactionHistoriesRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private year;
|
|
7
|
+
private month;
|
|
8
|
+
private day;
|
|
9
|
+
private pageToken;
|
|
10
|
+
private limit;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getYear(): number | null;
|
|
21
|
+
setYear(year: number | null): this;
|
|
22
|
+
withYear(year: number | null): this;
|
|
23
|
+
getMonth(): number | null;
|
|
24
|
+
setMonth(month: number | null): this;
|
|
25
|
+
withMonth(month: number | null): this;
|
|
26
|
+
getDay(): number | null;
|
|
27
|
+
setDay(day: number | null): this;
|
|
28
|
+
withDay(day: number | null): this;
|
|
29
|
+
getPageToken(): string | null;
|
|
30
|
+
setPageToken(pageToken: string | null): this;
|
|
31
|
+
withPageToken(pageToken: string | null): this;
|
|
32
|
+
getLimit(): number | null;
|
|
33
|
+
setLimit(limit: number | null): this;
|
|
34
|
+
withLimit(limit: number | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): DescribeDailyTransactionHistoriesRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
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 DescribeDailyTransactionHistoriesRequest = /** @class */ (function () {
|
|
19
|
+
function DescribeDailyTransactionHistoriesRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.year = null;
|
|
24
|
+
this.month = null;
|
|
25
|
+
this.day = null;
|
|
26
|
+
this.pageToken = null;
|
|
27
|
+
this.limit = null;
|
|
28
|
+
}
|
|
29
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getYear = function () {
|
|
63
|
+
return this.year;
|
|
64
|
+
};
|
|
65
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setYear = function (year) {
|
|
66
|
+
this.year = year;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withYear = function (year) {
|
|
70
|
+
this.year = year;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getMonth = function () {
|
|
74
|
+
return this.month;
|
|
75
|
+
};
|
|
76
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setMonth = function (month) {
|
|
77
|
+
this.month = month;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withMonth = function (month) {
|
|
81
|
+
this.month = month;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getDay = function () {
|
|
85
|
+
return this.day;
|
|
86
|
+
};
|
|
87
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setDay = function (day) {
|
|
88
|
+
this.day = day;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withDay = function (day) {
|
|
92
|
+
this.day = day;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getPageToken = function () {
|
|
96
|
+
return this.pageToken;
|
|
97
|
+
};
|
|
98
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setPageToken = function (pageToken) {
|
|
99
|
+
this.pageToken = pageToken;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withPageToken = function (pageToken) {
|
|
103
|
+
this.pageToken = pageToken;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
DescribeDailyTransactionHistoriesRequest.prototype.getLimit = function () {
|
|
107
|
+
return this.limit;
|
|
108
|
+
};
|
|
109
|
+
DescribeDailyTransactionHistoriesRequest.prototype.setLimit = function (limit) {
|
|
110
|
+
this.limit = limit;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
DescribeDailyTransactionHistoriesRequest.prototype.withLimit = function (limit) {
|
|
114
|
+
this.limit = limit;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
DescribeDailyTransactionHistoriesRequest.fromDict = function (data) {
|
|
118
|
+
return new DescribeDailyTransactionHistoriesRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withYear(data["year"])
|
|
121
|
+
.withMonth(data["month"])
|
|
122
|
+
.withDay(data["day"])
|
|
123
|
+
.withPageToken(data["pageToken"])
|
|
124
|
+
.withLimit(data["limit"]);
|
|
125
|
+
};
|
|
126
|
+
DescribeDailyTransactionHistoriesRequest.prototype.toDict = function () {
|
|
127
|
+
return {
|
|
128
|
+
"namespaceName": this.getNamespaceName(),
|
|
129
|
+
"year": this.getYear(),
|
|
130
|
+
"month": this.getMonth(),
|
|
131
|
+
"day": this.getDay(),
|
|
132
|
+
"pageToken": this.getPageToken(),
|
|
133
|
+
"limit": this.getLimit(),
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
return DescribeDailyTransactionHistoriesRequest;
|
|
137
|
+
}());
|
|
138
|
+
exports.default = DescribeDailyTransactionHistoriesRequest;
|
|
139
|
+
//# sourceMappingURL=DescribeDailyTransactionHistoriesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeDailyTransactionHistoriesRequest.js","sourceRoot":"","sources":["DescribeDailyTransactionHistoriesRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;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C,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4DAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wCAAwC,EAAE;aAChD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACxB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,yDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,+CAAC;AAAD,CAAC,AA7HD,IA6HC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
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 Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeDailyTransactionHistoriesRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private year: number|null = null;
|
|
27
|
+
private month: number|null = null;
|
|
28
|
+
private day: number|null = null;
|
|
29
|
+
private pageToken: string|null = null;
|
|
30
|
+
private limit: number|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getNamespaceName(): string|null {
|
|
60
|
+
return this.namespaceName;
|
|
61
|
+
}
|
|
62
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getYear(): number|null {
|
|
71
|
+
return this.year;
|
|
72
|
+
}
|
|
73
|
+
public setYear(year: number|null) {
|
|
74
|
+
this.year = year;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withYear(year: number|null): this {
|
|
78
|
+
this.year = year;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getMonth(): number|null {
|
|
82
|
+
return this.month;
|
|
83
|
+
}
|
|
84
|
+
public setMonth(month: number|null) {
|
|
85
|
+
this.month = month;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withMonth(month: number|null): this {
|
|
89
|
+
this.month = month;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getDay(): number|null {
|
|
93
|
+
return this.day;
|
|
94
|
+
}
|
|
95
|
+
public setDay(day: number|null) {
|
|
96
|
+
this.day = day;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withDay(day: number|null): this {
|
|
100
|
+
this.day = day;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
public getPageToken(): string|null {
|
|
104
|
+
return this.pageToken;
|
|
105
|
+
}
|
|
106
|
+
public setPageToken(pageToken: string|null) {
|
|
107
|
+
this.pageToken = pageToken;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withPageToken(pageToken: string|null): this {
|
|
111
|
+
this.pageToken = pageToken;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
public getLimit(): number|null {
|
|
115
|
+
return this.limit;
|
|
116
|
+
}
|
|
117
|
+
public setLimit(limit: number|null) {
|
|
118
|
+
this.limit = limit;
|
|
119
|
+
return this;
|
|
120
|
+
}
|
|
121
|
+
public withLimit(limit: number|null): this {
|
|
122
|
+
this.limit = limit;
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
public static fromDict(data: {[key: string]: any}): DescribeDailyTransactionHistoriesRequest {
|
|
127
|
+
return new DescribeDailyTransactionHistoriesRequest()
|
|
128
|
+
.withNamespaceName(data["namespaceName"])
|
|
129
|
+
.withYear(data["year"])
|
|
130
|
+
.withMonth(data["month"])
|
|
131
|
+
.withDay(data["day"])
|
|
132
|
+
.withPageToken(data["pageToken"])
|
|
133
|
+
.withLimit(data["limit"]);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public toDict(): {[key: string]: any} {
|
|
137
|
+
return {
|
|
138
|
+
"namespaceName": this.getNamespaceName(),
|
|
139
|
+
"year": this.getYear(),
|
|
140
|
+
"month": this.getMonth(),
|
|
141
|
+
"day": this.getDay(),
|
|
142
|
+
"pageToken": this.getPageToken(),
|
|
143
|
+
"limit": this.getLimit(),
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DescribeUnusedBalancesRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private pageToken;
|
|
7
|
+
private limit;
|
|
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
|
+
getNamespaceName(): string | null;
|
|
15
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
16
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
getPageToken(): string | null;
|
|
18
|
+
setPageToken(pageToken: string | null): this;
|
|
19
|
+
withPageToken(pageToken: string | null): this;
|
|
20
|
+
getLimit(): number | null;
|
|
21
|
+
setLimit(limit: number | null): this;
|
|
22
|
+
withLimit(limit: number | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): DescribeUnusedBalancesRequest;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 DescribeUnusedBalancesRequest = /** @class */ (function () {
|
|
19
|
+
function DescribeUnusedBalancesRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.pageToken = null;
|
|
24
|
+
this.limit = null;
|
|
25
|
+
}
|
|
26
|
+
DescribeUnusedBalancesRequest.prototype.getRequestId = function () {
|
|
27
|
+
return this.requestId;
|
|
28
|
+
};
|
|
29
|
+
DescribeUnusedBalancesRequest.prototype.setRequestId = function (requestId) {
|
|
30
|
+
this.requestId = requestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
DescribeUnusedBalancesRequest.prototype.withRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
DescribeUnusedBalancesRequest.prototype.getContextStack = function () {
|
|
38
|
+
return this.contextStack;
|
|
39
|
+
};
|
|
40
|
+
DescribeUnusedBalancesRequest.prototype.setContextStack = function (contextStack) {
|
|
41
|
+
this.contextStack = contextStack;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
DescribeUnusedBalancesRequest.prototype.withContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
DescribeUnusedBalancesRequest.prototype.getNamespaceName = function () {
|
|
49
|
+
return this.namespaceName;
|
|
50
|
+
};
|
|
51
|
+
DescribeUnusedBalancesRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
52
|
+
this.namespaceName = namespaceName;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
DescribeUnusedBalancesRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
DescribeUnusedBalancesRequest.prototype.getPageToken = function () {
|
|
60
|
+
return this.pageToken;
|
|
61
|
+
};
|
|
62
|
+
DescribeUnusedBalancesRequest.prototype.setPageToken = function (pageToken) {
|
|
63
|
+
this.pageToken = pageToken;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
DescribeUnusedBalancesRequest.prototype.withPageToken = function (pageToken) {
|
|
67
|
+
this.pageToken = pageToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
DescribeUnusedBalancesRequest.prototype.getLimit = function () {
|
|
71
|
+
return this.limit;
|
|
72
|
+
};
|
|
73
|
+
DescribeUnusedBalancesRequest.prototype.setLimit = function (limit) {
|
|
74
|
+
this.limit = limit;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
DescribeUnusedBalancesRequest.prototype.withLimit = function (limit) {
|
|
78
|
+
this.limit = limit;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
DescribeUnusedBalancesRequest.fromDict = function (data) {
|
|
82
|
+
return new DescribeUnusedBalancesRequest()
|
|
83
|
+
.withNamespaceName(data["namespaceName"])
|
|
84
|
+
.withPageToken(data["pageToken"])
|
|
85
|
+
.withLimit(data["limit"]);
|
|
86
|
+
};
|
|
87
|
+
DescribeUnusedBalancesRequest.prototype.toDict = function () {
|
|
88
|
+
return {
|
|
89
|
+
"namespaceName": this.getNamespaceName(),
|
|
90
|
+
"pageToken": this.getPageToken(),
|
|
91
|
+
"limit": this.getLimit(),
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
return DescribeUnusedBalancesRequest;
|
|
95
|
+
}());
|
|
96
|
+
exports.default = DescribeUnusedBalancesRequest;
|
|
97
|
+
//# sourceMappingURL=DescribeUnusedBalancesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeUnusedBalancesRequest.js","sourceRoot":"","sources":["DescribeUnusedBalancesRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IA6EtC,CAAC;IA3EU,oDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,oDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,uDAAe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