gs2 1.4.116 → 1.4.118

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.
Files changed (166) hide show
  1. package/log/model/AggregationConfig.d.ts +17 -0
  2. package/log/model/AggregationConfig.js +62 -0
  3. package/log/model/AggregationConfig.js.map +1 -0
  4. package/log/model/Dashboard.d.ts +43 -0
  5. package/log/model/Dashboard.js +199 -0
  6. package/log/model/Dashboard.js.map +1 -0
  7. package/log/model/Facet.d.ts +26 -0
  8. package/log/model/Facet.js +99 -0
  9. package/log/model/Facet.js.map +1 -0
  10. package/log/model/FacetModel.d.ts +35 -0
  11. package/log/model/FacetModel.js +171 -0
  12. package/log/model/FacetModel.js.map +1 -0
  13. package/log/model/FacetValueCount.d.ts +17 -0
  14. package/log/model/FacetValueCount.js +62 -0
  15. package/log/model/FacetValueCount.js.map +1 -0
  16. package/log/model/Label.d.ts +17 -0
  17. package/log/model/Label.js +62 -0
  18. package/log/model/Label.js.map +1 -0
  19. package/log/model/LogEntry.d.ts +30 -0
  20. package/log/model/LogEntry.js +112 -0
  21. package/log/model/LogEntry.js.map +1 -0
  22. package/log/model/MetricModel.d.ts +23 -0
  23. package/log/model/MetricModel.js +89 -0
  24. package/log/model/MetricModel.js.map +1 -0
  25. package/log/model/NumericRange.d.ts +17 -0
  26. package/log/model/NumericRange.js +62 -0
  27. package/log/model/NumericRange.js.map +1 -0
  28. package/log/model/TimeseriesMetadata.d.ts +17 -0
  29. package/log/model/TimeseriesMetadata.js +74 -0
  30. package/log/model/TimeseriesMetadata.js.map +1 -0
  31. package/log/model/TimeseriesPoint.d.ts +18 -0
  32. package/log/model/TimeseriesPoint.js +70 -0
  33. package/log/model/TimeseriesPoint.js.map +1 -0
  34. package/log/model/TimeseriesValue.d.ts +17 -0
  35. package/log/model/TimeseriesValue.js +62 -0
  36. package/log/model/TimeseriesValue.js.map +1 -0
  37. package/log/model/Trace.d.ts +22 -0
  38. package/log/model/Trace.js +84 -0
  39. package/log/model/Trace.js.map +1 -0
  40. package/log/model/index.d.ts +14 -1
  41. package/log/model/index.js +27 -1
  42. package/log/model/index.js.map +1 -1
  43. package/log/request/CreateDashboardRequest.d.ts +29 -0
  44. package/log/request/CreateDashboardRequest.js +97 -0
  45. package/log/request/CreateDashboardRequest.js.map +1 -0
  46. package/log/request/CreateFacetModelRequest.d.ts +37 -0
  47. package/log/request/CreateFacetModelRequest.js +125 -0
  48. package/log/request/CreateFacetModelRequest.js.map +1 -0
  49. package/log/request/DeleteDashboardRequest.d.ts +25 -0
  50. package/log/request/DeleteDashboardRequest.js +83 -0
  51. package/log/request/DeleteDashboardRequest.js.map +1 -0
  52. package/log/request/DeleteFacetModelRequest.d.ts +25 -0
  53. package/log/request/DeleteFacetModelRequest.js +83 -0
  54. package/log/request/DeleteFacetModelRequest.js.map +1 -0
  55. package/log/request/DescribeDashboardsRequest.d.ts +33 -0
  56. package/log/request/DescribeDashboardsRequest.js +111 -0
  57. package/log/request/DescribeDashboardsRequest.js.map +1 -0
  58. package/log/request/DescribeFacetModelsRequest.d.ts +33 -0
  59. package/log/request/DescribeFacetModelsRequest.js +111 -0
  60. package/log/request/DescribeFacetModelsRequest.js.map +1 -0
  61. package/log/request/DescribeLabelValuesRequest.d.ts +37 -0
  62. package/log/request/DescribeLabelValuesRequest.js +125 -0
  63. package/log/request/DescribeLabelValuesRequest.js.map +1 -0
  64. package/log/request/DescribeMetricsRequest.d.ts +33 -0
  65. package/log/request/DescribeMetricsRequest.js +111 -0
  66. package/log/request/DescribeMetricsRequest.js.map +1 -0
  67. package/log/request/DuplicateDashboardRequest.d.ts +25 -0
  68. package/log/request/DuplicateDashboardRequest.js +83 -0
  69. package/log/request/DuplicateDashboardRequest.js.map +1 -0
  70. package/log/request/GetDashboardRequest.d.ts +25 -0
  71. package/log/request/GetDashboardRequest.js +83 -0
  72. package/log/request/GetDashboardRequest.js.map +1 -0
  73. package/log/request/GetFacetModelRequest.d.ts +25 -0
  74. package/log/request/GetFacetModelRequest.js +83 -0
  75. package/log/request/GetFacetModelRequest.js.map +1 -0
  76. package/log/request/GetLogRequest.d.ts +33 -0
  77. package/log/request/GetLogRequest.js +111 -0
  78. package/log/request/GetLogRequest.js.map +1 -0
  79. package/log/request/GetTraceRequest.d.ts +33 -0
  80. package/log/request/GetTraceRequest.js +111 -0
  81. package/log/request/GetTraceRequest.js.map +1 -0
  82. package/log/request/QueryFacetsRequest.d.ts +33 -0
  83. package/log/request/QueryFacetsRequest.js +111 -0
  84. package/log/request/QueryFacetsRequest.js.map +1 -0
  85. package/log/request/QueryLogRequest.d.ts +41 -0
  86. package/log/request/QueryLogRequest.js +139 -0
  87. package/log/request/QueryLogRequest.js.map +1 -0
  88. package/log/request/QueryMetricsTimeseriesRequest.d.ts +58 -0
  89. package/log/request/QueryMetricsTimeseriesRequest.js +209 -0
  90. package/log/request/QueryMetricsTimeseriesRequest.js.map +1 -0
  91. package/log/request/QueryTimeseriesRequest.d.ts +58 -0
  92. package/log/request/QueryTimeseriesRequest.js +204 -0
  93. package/log/request/QueryTimeseriesRequest.js.map +1 -0
  94. package/log/request/UpdateDashboardRequest.d.ts +37 -0
  95. package/log/request/UpdateDashboardRequest.js +125 -0
  96. package/log/request/UpdateDashboardRequest.js.map +1 -0
  97. package/log/request/UpdateFacetModelRequest.d.ts +37 -0
  98. package/log/request/UpdateFacetModelRequest.js +125 -0
  99. package/log/request/UpdateFacetModelRequest.js.map +1 -0
  100. package/log/request/index.d.ts +20 -1
  101. package/log/request/index.js +39 -1
  102. package/log/request/index.js.map +1 -1
  103. package/log/rest.d.ts +19 -0
  104. package/log/rest.js +387 -0
  105. package/log/rest.js.map +1 -1
  106. package/log/result/CreateDashboardResult.d.ts +14 -0
  107. package/log/result/CreateDashboardResult.js +48 -0
  108. package/log/result/CreateDashboardResult.js.map +1 -0
  109. package/log/result/CreateFacetModelResult.d.ts +14 -0
  110. package/log/result/CreateFacetModelResult.js +48 -0
  111. package/log/result/CreateFacetModelResult.js.map +1 -0
  112. package/log/result/DeleteDashboardResult.d.ts +14 -0
  113. package/log/result/DeleteDashboardResult.js +48 -0
  114. package/log/result/DeleteDashboardResult.js.map +1 -0
  115. package/log/result/DeleteFacetModelResult.d.ts +14 -0
  116. package/log/result/DeleteFacetModelResult.js +48 -0
  117. package/log/result/DeleteFacetModelResult.js.map +1 -0
  118. package/log/result/DescribeDashboardsResult.d.ts +18 -0
  119. package/log/result/DescribeDashboardsResult.js +67 -0
  120. package/log/result/DescribeDashboardsResult.js.map +1 -0
  121. package/log/result/DescribeFacetModelsResult.d.ts +18 -0
  122. package/log/result/DescribeFacetModelsResult.js +67 -0
  123. package/log/result/DescribeFacetModelsResult.js.map +1 -0
  124. package/log/result/DescribeLabelValuesResult.d.ts +18 -0
  125. package/log/result/DescribeLabelValuesResult.js +67 -0
  126. package/log/result/DescribeLabelValuesResult.js.map +1 -0
  127. package/log/result/DescribeMetricsResult.d.ts +18 -0
  128. package/log/result/DescribeMetricsResult.js +67 -0
  129. package/log/result/DescribeMetricsResult.js.map +1 -0
  130. package/log/result/DuplicateDashboardResult.d.ts +14 -0
  131. package/log/result/DuplicateDashboardResult.js +48 -0
  132. package/log/result/DuplicateDashboardResult.js.map +1 -0
  133. package/log/result/GetDashboardResult.d.ts +14 -0
  134. package/log/result/GetDashboardResult.js +48 -0
  135. package/log/result/GetDashboardResult.js.map +1 -0
  136. package/log/result/GetFacetModelResult.d.ts +14 -0
  137. package/log/result/GetFacetModelResult.js +48 -0
  138. package/log/result/GetFacetModelResult.js.map +1 -0
  139. package/log/result/GetLogResult.d.ts +14 -0
  140. package/log/result/GetLogResult.js +48 -0
  141. package/log/result/GetLogResult.js.map +1 -0
  142. package/log/result/GetTraceResult.d.ts +22 -0
  143. package/log/result/GetTraceResult.js +82 -0
  144. package/log/result/GetTraceResult.js.map +1 -0
  145. package/log/result/QueryFacetsResult.d.ts +14 -0
  146. package/log/result/QueryFacetsResult.js +53 -0
  147. package/log/result/QueryFacetsResult.js.map +1 -0
  148. package/log/result/QueryLogResult.d.ts +22 -0
  149. package/log/result/QueryLogResult.js +81 -0
  150. package/log/result/QueryLogResult.js.map +1 -0
  151. package/log/result/QueryMetricsTimeseriesResult.d.ts +18 -0
  152. package/log/result/QueryMetricsTimeseriesResult.js +68 -0
  153. package/log/result/QueryMetricsTimeseriesResult.js.map +1 -0
  154. package/log/result/QueryTimeseriesResult.d.ts +22 -0
  155. package/log/result/QueryTimeseriesResult.js +82 -0
  156. package/log/result/QueryTimeseriesResult.js.map +1 -0
  157. package/log/result/UpdateDashboardResult.d.ts +14 -0
  158. package/log/result/UpdateDashboardResult.js +48 -0
  159. package/log/result/UpdateDashboardResult.js.map +1 -0
  160. package/log/result/UpdateFacetModelResult.d.ts +14 -0
  161. package/log/result/UpdateFacetModelResult.js +48 -0
  162. package/log/result/UpdateFacetModelResult.js.map +1 -0
  163. package/log/result/index.d.ts +20 -1
  164. package/log/result/index.js +39 -1
  165. package/log/result/index.js.map +1 -1
  166. package/package.json +1 -1
@@ -0,0 +1,209 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Log = tslib_1.__importStar(require("../model"));
20
+ var QueryMetricsTimeseriesRequest = /** @class */ (function () {
21
+ function QueryMetricsTimeseriesRequest() {
22
+ this.requestId = null;
23
+ this.contextStack = null;
24
+ this.namespaceName = null;
25
+ this.begin = null;
26
+ this.end = null;
27
+ this.query = null;
28
+ this.groupBy = null;
29
+ this.aggregations = null;
30
+ this.interval = null;
31
+ this.seriesLimit = null;
32
+ this.orderKey = null;
33
+ this.orderBy = null;
34
+ }
35
+ QueryMetricsTimeseriesRequest.prototype.getRequestId = function () {
36
+ return this.requestId;
37
+ };
38
+ QueryMetricsTimeseriesRequest.prototype.setRequestId = function (requestId) {
39
+ this.requestId = requestId;
40
+ return this;
41
+ };
42
+ QueryMetricsTimeseriesRequest.prototype.withRequestId = function (requestId) {
43
+ this.requestId = requestId;
44
+ return this;
45
+ };
46
+ QueryMetricsTimeseriesRequest.prototype.getContextStack = function () {
47
+ return this.contextStack;
48
+ };
49
+ QueryMetricsTimeseriesRequest.prototype.setContextStack = function (contextStack) {
50
+ this.contextStack = contextStack;
51
+ return this;
52
+ };
53
+ QueryMetricsTimeseriesRequest.prototype.withContextStack = function (contextStack) {
54
+ this.contextStack = contextStack;
55
+ return this;
56
+ };
57
+ QueryMetricsTimeseriesRequest.prototype.getNamespaceName = function () {
58
+ return this.namespaceName;
59
+ };
60
+ QueryMetricsTimeseriesRequest.prototype.setNamespaceName = function (namespaceName) {
61
+ this.namespaceName = namespaceName;
62
+ return this;
63
+ };
64
+ QueryMetricsTimeseriesRequest.prototype.withNamespaceName = function (namespaceName) {
65
+ this.namespaceName = namespaceName;
66
+ return this;
67
+ };
68
+ QueryMetricsTimeseriesRequest.prototype.getBegin = function () {
69
+ return this.begin;
70
+ };
71
+ QueryMetricsTimeseriesRequest.prototype.setBegin = function (begin) {
72
+ this.begin = begin;
73
+ return this;
74
+ };
75
+ QueryMetricsTimeseriesRequest.prototype.withBegin = function (begin) {
76
+ this.begin = begin;
77
+ return this;
78
+ };
79
+ QueryMetricsTimeseriesRequest.prototype.getEnd = function () {
80
+ return this.end;
81
+ };
82
+ QueryMetricsTimeseriesRequest.prototype.setEnd = function (end) {
83
+ this.end = end;
84
+ return this;
85
+ };
86
+ QueryMetricsTimeseriesRequest.prototype.withEnd = function (end) {
87
+ this.end = end;
88
+ return this;
89
+ };
90
+ QueryMetricsTimeseriesRequest.prototype.getQuery = function () {
91
+ return this.query;
92
+ };
93
+ QueryMetricsTimeseriesRequest.prototype.setQuery = function (query) {
94
+ this.query = query;
95
+ return this;
96
+ };
97
+ QueryMetricsTimeseriesRequest.prototype.withQuery = function (query) {
98
+ this.query = query;
99
+ return this;
100
+ };
101
+ QueryMetricsTimeseriesRequest.prototype.getGroupBy = function () {
102
+ return this.groupBy;
103
+ };
104
+ QueryMetricsTimeseriesRequest.prototype.setGroupBy = function (groupBy) {
105
+ this.groupBy = groupBy;
106
+ return this;
107
+ };
108
+ QueryMetricsTimeseriesRequest.prototype.withGroupBy = function (groupBy) {
109
+ this.groupBy = groupBy;
110
+ return this;
111
+ };
112
+ QueryMetricsTimeseriesRequest.prototype.getAggregations = function () {
113
+ return this.aggregations;
114
+ };
115
+ QueryMetricsTimeseriesRequest.prototype.setAggregations = function (aggregations) {
116
+ this.aggregations = aggregations;
117
+ return this;
118
+ };
119
+ QueryMetricsTimeseriesRequest.prototype.withAggregations = function (aggregations) {
120
+ this.aggregations = aggregations;
121
+ return this;
122
+ };
123
+ QueryMetricsTimeseriesRequest.prototype.getInterval = function () {
124
+ return this.interval;
125
+ };
126
+ QueryMetricsTimeseriesRequest.prototype.setInterval = function (interval) {
127
+ this.interval = interval;
128
+ return this;
129
+ };
130
+ QueryMetricsTimeseriesRequest.prototype.withInterval = function (interval) {
131
+ this.interval = interval;
132
+ return this;
133
+ };
134
+ QueryMetricsTimeseriesRequest.prototype.getSeriesLimit = function () {
135
+ return this.seriesLimit;
136
+ };
137
+ QueryMetricsTimeseriesRequest.prototype.setSeriesLimit = function (seriesLimit) {
138
+ this.seriesLimit = seriesLimit;
139
+ return this;
140
+ };
141
+ QueryMetricsTimeseriesRequest.prototype.withSeriesLimit = function (seriesLimit) {
142
+ this.seriesLimit = seriesLimit;
143
+ return this;
144
+ };
145
+ QueryMetricsTimeseriesRequest.prototype.getOrderKey = function () {
146
+ return this.orderKey;
147
+ };
148
+ QueryMetricsTimeseriesRequest.prototype.setOrderKey = function (orderKey) {
149
+ this.orderKey = orderKey;
150
+ return this;
151
+ };
152
+ QueryMetricsTimeseriesRequest.prototype.withOrderKey = function (orderKey) {
153
+ this.orderKey = orderKey;
154
+ return this;
155
+ };
156
+ QueryMetricsTimeseriesRequest.prototype.getOrderBy = function () {
157
+ return this.orderBy;
158
+ };
159
+ QueryMetricsTimeseriesRequest.prototype.setOrderBy = function (orderBy) {
160
+ this.orderBy = orderBy;
161
+ return this;
162
+ };
163
+ QueryMetricsTimeseriesRequest.prototype.withOrderBy = function (orderBy) {
164
+ this.orderBy = orderBy;
165
+ return this;
166
+ };
167
+ QueryMetricsTimeseriesRequest.fromDict = function (data) {
168
+ return new QueryMetricsTimeseriesRequest()
169
+ .withNamespaceName(data["namespaceName"])
170
+ .withBegin(data["begin"])
171
+ .withEnd(data["end"])
172
+ .withQuery(data["query"])
173
+ .withGroupBy(data.groupBy ?
174
+ data.groupBy.map(function (item) {
175
+ return item;
176
+ }) : null)
177
+ .withAggregations(data.aggregations ?
178
+ data.aggregations.map(function (item) {
179
+ return Gs2Log.AggregationConfig.fromDict(item);
180
+ }) : null)
181
+ .withInterval(data["interval"])
182
+ .withSeriesLimit(data["seriesLimit"])
183
+ .withOrderKey(data["orderKey"])
184
+ .withOrderBy(data["orderBy"]);
185
+ };
186
+ QueryMetricsTimeseriesRequest.prototype.toDict = function () {
187
+ return {
188
+ "namespaceName": this.getNamespaceName(),
189
+ "begin": this.getBegin(),
190
+ "end": this.getEnd(),
191
+ "query": this.getQuery(),
192
+ "groupBy": this.getGroupBy() ?
193
+ this.getGroupBy().map(function (item) {
194
+ return item;
195
+ }) : null,
196
+ "aggregations": this.getAggregations() ?
197
+ this.getAggregations().map(function (item) {
198
+ return item.toDict();
199
+ }) : null,
200
+ "interval": this.getInterval(),
201
+ "seriesLimit": this.getSeriesLimit(),
202
+ "orderKey": this.getOrderKey(),
203
+ "orderBy": this.getOrderBy(),
204
+ };
205
+ };
206
+ return QueryMetricsTimeseriesRequest;
207
+ }());
208
+ exports.default = QueryMetricsTimeseriesRequest;
209
+ //# sourceMappingURL=QueryMetricsTimeseriesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryMetricsTimeseriesRequest.js","sourceRoot":"","sources":["../../../src/log/request/QueryMetricsTimeseriesRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,uDAAkC;AAElC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;QAC1B,QAAG,GAAgB,IAAI,CAAC;QACxB,UAAK,GAAgB,IAAI,CAAC;QAC1B,YAAO,GAAkB,IAAI,CAAC;QAC9B,iBAAY,GAAoC,IAAI,CAAC;QACrD,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,YAAO,GAAgB,IAAI,CAAC;IAwLxC,CAAC;IAtLU,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,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,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,CAAC,CAAC;aAC9B,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IACtC,CAAC;IAEM,8CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;gBAC1B,IAAI,CAAC,UAAU,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBAChC,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC;gBACpC,IAAI,CAAC,eAAe,EAAG,CAAC,GAAG,CAAC,UAAC,IAA8B;oBACvD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AArMD,IAqMC"}
@@ -0,0 +1,58 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ import * as Gs2Log from '../model';
3
+ export default class QueryTimeseriesRequest implements IRequest {
4
+ private requestId;
5
+ private contextStack;
6
+ private namespaceName;
7
+ private begin;
8
+ private end;
9
+ private query;
10
+ private groupBy;
11
+ private aggregation;
12
+ private interval;
13
+ private seriesLimit;
14
+ private pageToken;
15
+ private limit;
16
+ getRequestId(): string | null;
17
+ setRequestId(requestId: string | null): this;
18
+ withRequestId(requestId: string | null): this;
19
+ getContextStack(): string | null;
20
+ setContextStack(contextStack: string | null): this;
21
+ withContextStack(contextStack: string | null): this;
22
+ getNamespaceName(): string | null;
23
+ setNamespaceName(namespaceName: string | null): this;
24
+ withNamespaceName(namespaceName: string | null): this;
25
+ getBegin(): number | null;
26
+ setBegin(begin: number | null): this;
27
+ withBegin(begin: number | null): this;
28
+ getEnd(): number | null;
29
+ setEnd(end: number | null): this;
30
+ withEnd(end: number | null): this;
31
+ getQuery(): string | null;
32
+ setQuery(query: string | null): this;
33
+ withQuery(query: string | null): this;
34
+ getGroupBy(): string[] | null;
35
+ setGroupBy(groupBy: string[] | null): this;
36
+ withGroupBy(groupBy: string[] | null): this;
37
+ getAggregation(): Gs2Log.AggregationConfig | null;
38
+ setAggregation(aggregation: Gs2Log.AggregationConfig | null): this;
39
+ withAggregation(aggregation: Gs2Log.AggregationConfig | null): this;
40
+ getInterval(): number | null;
41
+ setInterval(interval: number | null): this;
42
+ withInterval(interval: number | null): this;
43
+ getSeriesLimit(): number | null;
44
+ setSeriesLimit(seriesLimit: number | null): this;
45
+ withSeriesLimit(seriesLimit: number | null): this;
46
+ getPageToken(): string | null;
47
+ setPageToken(pageToken: string | null): this;
48
+ withPageToken(pageToken: string | null): this;
49
+ getLimit(): number | null;
50
+ setLimit(limit: number | null): this;
51
+ withLimit(limit: number | null): this;
52
+ static fromDict(data: {
53
+ [key: string]: any;
54
+ }): QueryTimeseriesRequest;
55
+ toDict(): {
56
+ [key: string]: any;
57
+ };
58
+ }
@@ -0,0 +1,204 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Log = tslib_1.__importStar(require("../model"));
20
+ var QueryTimeseriesRequest = /** @class */ (function () {
21
+ function QueryTimeseriesRequest() {
22
+ this.requestId = null;
23
+ this.contextStack = null;
24
+ this.namespaceName = null;
25
+ this.begin = null;
26
+ this.end = null;
27
+ this.query = null;
28
+ this.groupBy = null;
29
+ this.aggregation = null;
30
+ this.interval = null;
31
+ this.seriesLimit = null;
32
+ this.pageToken = null;
33
+ this.limit = null;
34
+ }
35
+ QueryTimeseriesRequest.prototype.getRequestId = function () {
36
+ return this.requestId;
37
+ };
38
+ QueryTimeseriesRequest.prototype.setRequestId = function (requestId) {
39
+ this.requestId = requestId;
40
+ return this;
41
+ };
42
+ QueryTimeseriesRequest.prototype.withRequestId = function (requestId) {
43
+ this.requestId = requestId;
44
+ return this;
45
+ };
46
+ QueryTimeseriesRequest.prototype.getContextStack = function () {
47
+ return this.contextStack;
48
+ };
49
+ QueryTimeseriesRequest.prototype.setContextStack = function (contextStack) {
50
+ this.contextStack = contextStack;
51
+ return this;
52
+ };
53
+ QueryTimeseriesRequest.prototype.withContextStack = function (contextStack) {
54
+ this.contextStack = contextStack;
55
+ return this;
56
+ };
57
+ QueryTimeseriesRequest.prototype.getNamespaceName = function () {
58
+ return this.namespaceName;
59
+ };
60
+ QueryTimeseriesRequest.prototype.setNamespaceName = function (namespaceName) {
61
+ this.namespaceName = namespaceName;
62
+ return this;
63
+ };
64
+ QueryTimeseriesRequest.prototype.withNamespaceName = function (namespaceName) {
65
+ this.namespaceName = namespaceName;
66
+ return this;
67
+ };
68
+ QueryTimeseriesRequest.prototype.getBegin = function () {
69
+ return this.begin;
70
+ };
71
+ QueryTimeseriesRequest.prototype.setBegin = function (begin) {
72
+ this.begin = begin;
73
+ return this;
74
+ };
75
+ QueryTimeseriesRequest.prototype.withBegin = function (begin) {
76
+ this.begin = begin;
77
+ return this;
78
+ };
79
+ QueryTimeseriesRequest.prototype.getEnd = function () {
80
+ return this.end;
81
+ };
82
+ QueryTimeseriesRequest.prototype.setEnd = function (end) {
83
+ this.end = end;
84
+ return this;
85
+ };
86
+ QueryTimeseriesRequest.prototype.withEnd = function (end) {
87
+ this.end = end;
88
+ return this;
89
+ };
90
+ QueryTimeseriesRequest.prototype.getQuery = function () {
91
+ return this.query;
92
+ };
93
+ QueryTimeseriesRequest.prototype.setQuery = function (query) {
94
+ this.query = query;
95
+ return this;
96
+ };
97
+ QueryTimeseriesRequest.prototype.withQuery = function (query) {
98
+ this.query = query;
99
+ return this;
100
+ };
101
+ QueryTimeseriesRequest.prototype.getGroupBy = function () {
102
+ return this.groupBy;
103
+ };
104
+ QueryTimeseriesRequest.prototype.setGroupBy = function (groupBy) {
105
+ this.groupBy = groupBy;
106
+ return this;
107
+ };
108
+ QueryTimeseriesRequest.prototype.withGroupBy = function (groupBy) {
109
+ this.groupBy = groupBy;
110
+ return this;
111
+ };
112
+ QueryTimeseriesRequest.prototype.getAggregation = function () {
113
+ return this.aggregation;
114
+ };
115
+ QueryTimeseriesRequest.prototype.setAggregation = function (aggregation) {
116
+ this.aggregation = aggregation;
117
+ return this;
118
+ };
119
+ QueryTimeseriesRequest.prototype.withAggregation = function (aggregation) {
120
+ this.aggregation = aggregation;
121
+ return this;
122
+ };
123
+ QueryTimeseriesRequest.prototype.getInterval = function () {
124
+ return this.interval;
125
+ };
126
+ QueryTimeseriesRequest.prototype.setInterval = function (interval) {
127
+ this.interval = interval;
128
+ return this;
129
+ };
130
+ QueryTimeseriesRequest.prototype.withInterval = function (interval) {
131
+ this.interval = interval;
132
+ return this;
133
+ };
134
+ QueryTimeseriesRequest.prototype.getSeriesLimit = function () {
135
+ return this.seriesLimit;
136
+ };
137
+ QueryTimeseriesRequest.prototype.setSeriesLimit = function (seriesLimit) {
138
+ this.seriesLimit = seriesLimit;
139
+ return this;
140
+ };
141
+ QueryTimeseriesRequest.prototype.withSeriesLimit = function (seriesLimit) {
142
+ this.seriesLimit = seriesLimit;
143
+ return this;
144
+ };
145
+ QueryTimeseriesRequest.prototype.getPageToken = function () {
146
+ return this.pageToken;
147
+ };
148
+ QueryTimeseriesRequest.prototype.setPageToken = function (pageToken) {
149
+ this.pageToken = pageToken;
150
+ return this;
151
+ };
152
+ QueryTimeseriesRequest.prototype.withPageToken = function (pageToken) {
153
+ this.pageToken = pageToken;
154
+ return this;
155
+ };
156
+ QueryTimeseriesRequest.prototype.getLimit = function () {
157
+ return this.limit;
158
+ };
159
+ QueryTimeseriesRequest.prototype.setLimit = function (limit) {
160
+ this.limit = limit;
161
+ return this;
162
+ };
163
+ QueryTimeseriesRequest.prototype.withLimit = function (limit) {
164
+ this.limit = limit;
165
+ return this;
166
+ };
167
+ QueryTimeseriesRequest.fromDict = function (data) {
168
+ return new QueryTimeseriesRequest()
169
+ .withNamespaceName(data["namespaceName"])
170
+ .withBegin(data["begin"])
171
+ .withEnd(data["end"])
172
+ .withQuery(data["query"])
173
+ .withGroupBy(data.groupBy ?
174
+ data.groupBy.map(function (item) {
175
+ return item;
176
+ }) : null)
177
+ .withAggregation(Gs2Log.AggregationConfig.fromDict(data["aggregation"]))
178
+ .withInterval(data["interval"])
179
+ .withSeriesLimit(data["seriesLimit"])
180
+ .withPageToken(data["pageToken"])
181
+ .withLimit(data["limit"]);
182
+ };
183
+ QueryTimeseriesRequest.prototype.toDict = function () {
184
+ var _a;
185
+ return {
186
+ "namespaceName": this.getNamespaceName(),
187
+ "begin": this.getBegin(),
188
+ "end": this.getEnd(),
189
+ "query": this.getQuery(),
190
+ "groupBy": this.getGroupBy() ?
191
+ this.getGroupBy().map(function (item) {
192
+ return item;
193
+ }) : null,
194
+ "aggregation": (_a = this.getAggregation()) === null || _a === void 0 ? void 0 : _a.toDict(),
195
+ "interval": this.getInterval(),
196
+ "seriesLimit": this.getSeriesLimit(),
197
+ "pageToken": this.getPageToken(),
198
+ "limit": this.getLimit(),
199
+ };
200
+ };
201
+ return QueryTimeseriesRequest;
202
+ }());
203
+ exports.default = QueryTimeseriesRequest;
204
+ //# sourceMappingURL=QueryTimeseriesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryTimeseriesRequest.js","sourceRoot":"","sources":["../../../src/log/request/QueryTimeseriesRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,uDAAkC;AAElC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;QAC1B,QAAG,GAAgB,IAAI,CAAC;QACxB,UAAK,GAAgB,IAAI,CAAC;QAC1B,YAAO,GAAkB,IAAI,CAAC;QAC9B,gBAAW,GAAkC,IAAI,CAAC;QAClD,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAgLtC,CAAC;IA9KU,6CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,6CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,gDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAA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a,CAAC,CAAC;aACpC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;gBAC1B,IAAI,CAAC,UAAU,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBAChC,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,aAAa,EAAE,MAAA,IAAI,CAAC,cAAc,EAAE,0CAAE,MAAM,EAAE;YAC9C,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA7LD,IA6LC"}
@@ -0,0 +1,37 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class UpdateDashboardRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private dashboardName;
7
+ private displayName;
8
+ private description;
9
+ private payload;
10
+ getRequestId(): string | null;
11
+ setRequestId(requestId: string | null): this;
12
+ withRequestId(requestId: string | null): this;
13
+ getContextStack(): string | null;
14
+ setContextStack(contextStack: string | null): this;
15
+ withContextStack(contextStack: string | null): this;
16
+ getNamespaceName(): string | null;
17
+ setNamespaceName(namespaceName: string | null): this;
18
+ withNamespaceName(namespaceName: string | null): this;
19
+ getDashboardName(): string | null;
20
+ setDashboardName(dashboardName: string | null): this;
21
+ withDashboardName(dashboardName: string | null): this;
22
+ getDisplayName(): string | null;
23
+ setDisplayName(displayName: string | null): this;
24
+ withDisplayName(displayName: string | null): this;
25
+ getDescription(): string | null;
26
+ setDescription(description: string | null): this;
27
+ withDescription(description: string | null): this;
28
+ getPayload(): string | null;
29
+ setPayload(payload: string | null): this;
30
+ withPayload(payload: string | null): this;
31
+ static fromDict(data: {
32
+ [key: string]: any;
33
+ }): UpdateDashboardRequest;
34
+ toDict(): {
35
+ [key: string]: any;
36
+ };
37
+ }
@@ -0,0 +1,125 @@
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 UpdateDashboardRequest = /** @class */ (function () {
19
+ function UpdateDashboardRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.dashboardName = null;
24
+ this.displayName = null;
25
+ this.description = null;
26
+ this.payload = null;
27
+ }
28
+ UpdateDashboardRequest.prototype.getRequestId = function () {
29
+ return this.requestId;
30
+ };
31
+ UpdateDashboardRequest.prototype.setRequestId = function (requestId) {
32
+ this.requestId = requestId;
33
+ return this;
34
+ };
35
+ UpdateDashboardRequest.prototype.withRequestId = function (requestId) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ };
39
+ UpdateDashboardRequest.prototype.getContextStack = function () {
40
+ return this.contextStack;
41
+ };
42
+ UpdateDashboardRequest.prototype.setContextStack = function (contextStack) {
43
+ this.contextStack = contextStack;
44
+ return this;
45
+ };
46
+ UpdateDashboardRequest.prototype.withContextStack = function (contextStack) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ };
50
+ UpdateDashboardRequest.prototype.getNamespaceName = function () {
51
+ return this.namespaceName;
52
+ };
53
+ UpdateDashboardRequest.prototype.setNamespaceName = function (namespaceName) {
54
+ this.namespaceName = namespaceName;
55
+ return this;
56
+ };
57
+ UpdateDashboardRequest.prototype.withNamespaceName = function (namespaceName) {
58
+ this.namespaceName = namespaceName;
59
+ return this;
60
+ };
61
+ UpdateDashboardRequest.prototype.getDashboardName = function () {
62
+ return this.dashboardName;
63
+ };
64
+ UpdateDashboardRequest.prototype.setDashboardName = function (dashboardName) {
65
+ this.dashboardName = dashboardName;
66
+ return this;
67
+ };
68
+ UpdateDashboardRequest.prototype.withDashboardName = function (dashboardName) {
69
+ this.dashboardName = dashboardName;
70
+ return this;
71
+ };
72
+ UpdateDashboardRequest.prototype.getDisplayName = function () {
73
+ return this.displayName;
74
+ };
75
+ UpdateDashboardRequest.prototype.setDisplayName = function (displayName) {
76
+ this.displayName = displayName;
77
+ return this;
78
+ };
79
+ UpdateDashboardRequest.prototype.withDisplayName = function (displayName) {
80
+ this.displayName = displayName;
81
+ return this;
82
+ };
83
+ UpdateDashboardRequest.prototype.getDescription = function () {
84
+ return this.description;
85
+ };
86
+ UpdateDashboardRequest.prototype.setDescription = function (description) {
87
+ this.description = description;
88
+ return this;
89
+ };
90
+ UpdateDashboardRequest.prototype.withDescription = function (description) {
91
+ this.description = description;
92
+ return this;
93
+ };
94
+ UpdateDashboardRequest.prototype.getPayload = function () {
95
+ return this.payload;
96
+ };
97
+ UpdateDashboardRequest.prototype.setPayload = function (payload) {
98
+ this.payload = payload;
99
+ return this;
100
+ };
101
+ UpdateDashboardRequest.prototype.withPayload = function (payload) {
102
+ this.payload = payload;
103
+ return this;
104
+ };
105
+ UpdateDashboardRequest.fromDict = function (data) {
106
+ return new UpdateDashboardRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withDashboardName(data["dashboardName"])
109
+ .withDisplayName(data["displayName"])
110
+ .withDescription(data["description"])
111
+ .withPayload(data["payload"]);
112
+ };
113
+ UpdateDashboardRequest.prototype.toDict = function () {
114
+ return {
115
+ "namespaceName": this.getNamespaceName(),
116
+ "dashboardName": this.getDashboardName(),
117
+ "displayName": this.getDisplayName(),
118
+ "description": this.getDescription(),
119
+ "payload": this.getPayload(),
120
+ };
121
+ };
122
+ return UpdateDashboardRequest;
123
+ }());
124
+ exports.default = UpdateDashboardRequest;
125
+ //# sourceMappingURL=UpdateDashboardRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateDashboardRequest.js","sourceRoot":"","sources":["../../../src/log/request/UpdateDashboardRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,gBAAW,GAAgB,IAAI,CAAC;QAChC,YAAO,GAAgB,IAAI,CAAC;IAuGxC,CAAC;IArGU,6CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,6CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,gDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACj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