gs2 1.4.115 → 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 (168) hide show
  1. package/core/AbstractGs2RestClient.js +3 -3
  2. package/core/AbstractGs2RestClient.js.map +1 -1
  3. package/log/model/AggregationConfig.d.ts +17 -0
  4. package/log/model/AggregationConfig.js +62 -0
  5. package/log/model/AggregationConfig.js.map +1 -0
  6. package/log/model/Dashboard.d.ts +43 -0
  7. package/log/model/Dashboard.js +199 -0
  8. package/log/model/Dashboard.js.map +1 -0
  9. package/log/model/Facet.d.ts +26 -0
  10. package/log/model/Facet.js +99 -0
  11. package/log/model/Facet.js.map +1 -0
  12. package/log/model/FacetModel.d.ts +35 -0
  13. package/log/model/FacetModel.js +171 -0
  14. package/log/model/FacetModel.js.map +1 -0
  15. package/log/model/FacetValueCount.d.ts +17 -0
  16. package/log/model/FacetValueCount.js +62 -0
  17. package/log/model/FacetValueCount.js.map +1 -0
  18. package/log/model/Label.d.ts +17 -0
  19. package/log/model/Label.js +62 -0
  20. package/log/model/Label.js.map +1 -0
  21. package/log/model/LogEntry.d.ts +30 -0
  22. package/log/model/LogEntry.js +112 -0
  23. package/log/model/LogEntry.js.map +1 -0
  24. package/log/model/MetricModel.d.ts +23 -0
  25. package/log/model/MetricModel.js +89 -0
  26. package/log/model/MetricModel.js.map +1 -0
  27. package/log/model/NumericRange.d.ts +17 -0
  28. package/log/model/NumericRange.js +62 -0
  29. package/log/model/NumericRange.js.map +1 -0
  30. package/log/model/TimeseriesMetadata.d.ts +17 -0
  31. package/log/model/TimeseriesMetadata.js +74 -0
  32. package/log/model/TimeseriesMetadata.js.map +1 -0
  33. package/log/model/TimeseriesPoint.d.ts +18 -0
  34. package/log/model/TimeseriesPoint.js +70 -0
  35. package/log/model/TimeseriesPoint.js.map +1 -0
  36. package/log/model/TimeseriesValue.d.ts +17 -0
  37. package/log/model/TimeseriesValue.js +62 -0
  38. package/log/model/TimeseriesValue.js.map +1 -0
  39. package/log/model/Trace.d.ts +22 -0
  40. package/log/model/Trace.js +84 -0
  41. package/log/model/Trace.js.map +1 -0
  42. package/log/model/index.d.ts +14 -1
  43. package/log/model/index.js +27 -1
  44. package/log/model/index.js.map +1 -1
  45. package/log/request/CreateDashboardRequest.d.ts +29 -0
  46. package/log/request/CreateDashboardRequest.js +97 -0
  47. package/log/request/CreateDashboardRequest.js.map +1 -0
  48. package/log/request/CreateFacetModelRequest.d.ts +37 -0
  49. package/log/request/CreateFacetModelRequest.js +125 -0
  50. package/log/request/CreateFacetModelRequest.js.map +1 -0
  51. package/log/request/DeleteDashboardRequest.d.ts +25 -0
  52. package/log/request/DeleteDashboardRequest.js +83 -0
  53. package/log/request/DeleteDashboardRequest.js.map +1 -0
  54. package/log/request/DeleteFacetModelRequest.d.ts +25 -0
  55. package/log/request/DeleteFacetModelRequest.js +83 -0
  56. package/log/request/DeleteFacetModelRequest.js.map +1 -0
  57. package/log/request/DescribeDashboardsRequest.d.ts +33 -0
  58. package/log/request/DescribeDashboardsRequest.js +111 -0
  59. package/log/request/DescribeDashboardsRequest.js.map +1 -0
  60. package/log/request/DescribeFacetModelsRequest.d.ts +33 -0
  61. package/log/request/DescribeFacetModelsRequest.js +111 -0
  62. package/log/request/DescribeFacetModelsRequest.js.map +1 -0
  63. package/log/request/DescribeLabelValuesRequest.d.ts +37 -0
  64. package/log/request/DescribeLabelValuesRequest.js +125 -0
  65. package/log/request/DescribeLabelValuesRequest.js.map +1 -0
  66. package/log/request/DescribeMetricsRequest.d.ts +33 -0
  67. package/log/request/DescribeMetricsRequest.js +111 -0
  68. package/log/request/DescribeMetricsRequest.js.map +1 -0
  69. package/log/request/DuplicateDashboardRequest.d.ts +25 -0
  70. package/log/request/DuplicateDashboardRequest.js +83 -0
  71. package/log/request/DuplicateDashboardRequest.js.map +1 -0
  72. package/log/request/GetDashboardRequest.d.ts +25 -0
  73. package/log/request/GetDashboardRequest.js +83 -0
  74. package/log/request/GetDashboardRequest.js.map +1 -0
  75. package/log/request/GetFacetModelRequest.d.ts +25 -0
  76. package/log/request/GetFacetModelRequest.js +83 -0
  77. package/log/request/GetFacetModelRequest.js.map +1 -0
  78. package/log/request/GetLogRequest.d.ts +33 -0
  79. package/log/request/GetLogRequest.js +111 -0
  80. package/log/request/GetLogRequest.js.map +1 -0
  81. package/log/request/GetTraceRequest.d.ts +33 -0
  82. package/log/request/GetTraceRequest.js +111 -0
  83. package/log/request/GetTraceRequest.js.map +1 -0
  84. package/log/request/QueryFacetsRequest.d.ts +33 -0
  85. package/log/request/QueryFacetsRequest.js +111 -0
  86. package/log/request/QueryFacetsRequest.js.map +1 -0
  87. package/log/request/QueryLogRequest.d.ts +41 -0
  88. package/log/request/QueryLogRequest.js +139 -0
  89. package/log/request/QueryLogRequest.js.map +1 -0
  90. package/log/request/QueryMetricsTimeseriesRequest.d.ts +58 -0
  91. package/log/request/QueryMetricsTimeseriesRequest.js +209 -0
  92. package/log/request/QueryMetricsTimeseriesRequest.js.map +1 -0
  93. package/log/request/QueryTimeseriesRequest.d.ts +58 -0
  94. package/log/request/QueryTimeseriesRequest.js +204 -0
  95. package/log/request/QueryTimeseriesRequest.js.map +1 -0
  96. package/log/request/UpdateDashboardRequest.d.ts +37 -0
  97. package/log/request/UpdateDashboardRequest.js +125 -0
  98. package/log/request/UpdateDashboardRequest.js.map +1 -0
  99. package/log/request/UpdateFacetModelRequest.d.ts +37 -0
  100. package/log/request/UpdateFacetModelRequest.js +125 -0
  101. package/log/request/UpdateFacetModelRequest.js.map +1 -0
  102. package/log/request/index.d.ts +20 -1
  103. package/log/request/index.js +39 -1
  104. package/log/request/index.js.map +1 -1
  105. package/log/rest.d.ts +19 -0
  106. package/log/rest.js +387 -0
  107. package/log/rest.js.map +1 -1
  108. package/log/result/CreateDashboardResult.d.ts +14 -0
  109. package/log/result/CreateDashboardResult.js +48 -0
  110. package/log/result/CreateDashboardResult.js.map +1 -0
  111. package/log/result/CreateFacetModelResult.d.ts +14 -0
  112. package/log/result/CreateFacetModelResult.js +48 -0
  113. package/log/result/CreateFacetModelResult.js.map +1 -0
  114. package/log/result/DeleteDashboardResult.d.ts +14 -0
  115. package/log/result/DeleteDashboardResult.js +48 -0
  116. package/log/result/DeleteDashboardResult.js.map +1 -0
  117. package/log/result/DeleteFacetModelResult.d.ts +14 -0
  118. package/log/result/DeleteFacetModelResult.js +48 -0
  119. package/log/result/DeleteFacetModelResult.js.map +1 -0
  120. package/log/result/DescribeDashboardsResult.d.ts +18 -0
  121. package/log/result/DescribeDashboardsResult.js +67 -0
  122. package/log/result/DescribeDashboardsResult.js.map +1 -0
  123. package/log/result/DescribeFacetModelsResult.d.ts +18 -0
  124. package/log/result/DescribeFacetModelsResult.js +67 -0
  125. package/log/result/DescribeFacetModelsResult.js.map +1 -0
  126. package/log/result/DescribeLabelValuesResult.d.ts +18 -0
  127. package/log/result/DescribeLabelValuesResult.js +67 -0
  128. package/log/result/DescribeLabelValuesResult.js.map +1 -0
  129. package/log/result/DescribeMetricsResult.d.ts +18 -0
  130. package/log/result/DescribeMetricsResult.js +67 -0
  131. package/log/result/DescribeMetricsResult.js.map +1 -0
  132. package/log/result/DuplicateDashboardResult.d.ts +14 -0
  133. package/log/result/DuplicateDashboardResult.js +48 -0
  134. package/log/result/DuplicateDashboardResult.js.map +1 -0
  135. package/log/result/GetDashboardResult.d.ts +14 -0
  136. package/log/result/GetDashboardResult.js +48 -0
  137. package/log/result/GetDashboardResult.js.map +1 -0
  138. package/log/result/GetFacetModelResult.d.ts +14 -0
  139. package/log/result/GetFacetModelResult.js +48 -0
  140. package/log/result/GetFacetModelResult.js.map +1 -0
  141. package/log/result/GetLogResult.d.ts +14 -0
  142. package/log/result/GetLogResult.js +48 -0
  143. package/log/result/GetLogResult.js.map +1 -0
  144. package/log/result/GetTraceResult.d.ts +22 -0
  145. package/log/result/GetTraceResult.js +82 -0
  146. package/log/result/GetTraceResult.js.map +1 -0
  147. package/log/result/QueryFacetsResult.d.ts +14 -0
  148. package/log/result/QueryFacetsResult.js +53 -0
  149. package/log/result/QueryFacetsResult.js.map +1 -0
  150. package/log/result/QueryLogResult.d.ts +22 -0
  151. package/log/result/QueryLogResult.js +81 -0
  152. package/log/result/QueryLogResult.js.map +1 -0
  153. package/log/result/QueryMetricsTimeseriesResult.d.ts +18 -0
  154. package/log/result/QueryMetricsTimeseriesResult.js +68 -0
  155. package/log/result/QueryMetricsTimeseriesResult.js.map +1 -0
  156. package/log/result/QueryTimeseriesResult.d.ts +22 -0
  157. package/log/result/QueryTimeseriesResult.js +82 -0
  158. package/log/result/QueryTimeseriesResult.js.map +1 -0
  159. package/log/result/UpdateDashboardResult.d.ts +14 -0
  160. package/log/result/UpdateDashboardResult.js +48 -0
  161. package/log/result/UpdateDashboardResult.js.map +1 -0
  162. package/log/result/UpdateFacetModelResult.d.ts +14 -0
  163. package/log/result/UpdateFacetModelResult.js +48 -0
  164. package/log/result/UpdateFacetModelResult.js.map +1 -0
  165. package/log/result/index.d.ts +20 -1
  166. package/log/result/index.js +39 -1
  167. package/log/result/index.js.map +1 -1
  168. package/package.json +3 -1
@@ -0,0 +1,48 @@
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 DuplicateDashboardResult = /** @class */ (function () {
21
+ function DuplicateDashboardResult() {
22
+ this.item = null;
23
+ }
24
+ DuplicateDashboardResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ DuplicateDashboardResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ DuplicateDashboardResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ DuplicateDashboardResult.fromDict = function (data) {
36
+ return new DuplicateDashboardResult()
37
+ .withItem(Gs2Log.Dashboard.fromDict(data["item"]));
38
+ };
39
+ DuplicateDashboardResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return DuplicateDashboardResult;
46
+ }());
47
+ exports.default = DuplicateDashboardResult;
48
+ //# sourceMappingURL=DuplicateDashboardResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DuplicateDashboardResult.js","sourceRoot":"","sources":["../../../src/log/result/DuplicateDashboardResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,SAAI,GAA0B,IAAI,CAAC;IA0B/C,CAAC;IAxBU,0CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,0CAAO,GAAd,UAAe,IAA2B;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAQ,GAAf,UAAgB,IAA2B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC;IAEM,yCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class GetDashboardResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Log.Dashboard | null;
6
+ setItem(item: Gs2Log.Dashboard | null): this;
7
+ withItem(item: Gs2Log.Dashboard | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetDashboardResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 GetDashboardResult = /** @class */ (function () {
21
+ function GetDashboardResult() {
22
+ this.item = null;
23
+ }
24
+ GetDashboardResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetDashboardResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetDashboardResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetDashboardResult.fromDict = function (data) {
36
+ return new GetDashboardResult()
37
+ .withItem(Gs2Log.Dashboard.fromDict(data["item"]));
38
+ };
39
+ GetDashboardResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetDashboardResult;
46
+ }());
47
+ exports.default = GetDashboardResult;
48
+ //# sourceMappingURL=GetDashboardResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetDashboardResult.js","sourceRoot":"","sources":["../../../src/log/result/GetDashboardResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,SAAI,GAA0B,IAAI,CAAC;IA0B/C,CAAC;IAxBU,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oCAAO,GAAd,UAAe,IAA2B;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,IAA2B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kBAAkB,EAAE;aAC1B,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC;IAEM,mCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class GetFacetModelResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Log.FacetModel | null;
6
+ setItem(item: Gs2Log.FacetModel | null): this;
7
+ withItem(item: Gs2Log.FacetModel | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetFacetModelResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 GetFacetModelResult = /** @class */ (function () {
21
+ function GetFacetModelResult() {
22
+ this.item = null;
23
+ }
24
+ GetFacetModelResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetFacetModelResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetFacetModelResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetFacetModelResult.fromDict = function (data) {
36
+ return new GetFacetModelResult()
37
+ .withItem(Gs2Log.FacetModel.fromDict(data["item"]));
38
+ };
39
+ GetFacetModelResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetFacetModelResult;
46
+ }());
47
+ exports.default = GetFacetModelResult;
48
+ //# sourceMappingURL=GetFacetModelResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetFacetModelResult.js","sourceRoot":"","sources":["../../../src/log/result/GetFacetModelResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,qCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,qCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mBAAmB,EAAE;aAC3B,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,oCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class GetLogResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Log.LogEntry | null;
6
+ setItem(item: Gs2Log.LogEntry | null): this;
7
+ withItem(item: Gs2Log.LogEntry | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetLogResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 GetLogResult = /** @class */ (function () {
21
+ function GetLogResult() {
22
+ this.item = null;
23
+ }
24
+ GetLogResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetLogResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetLogResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetLogResult.fromDict = function (data) {
36
+ return new GetLogResult()
37
+ .withItem(Gs2Log.LogEntry.fromDict(data["item"]));
38
+ };
39
+ GetLogResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetLogResult;
46
+ }());
47
+ exports.default = GetLogResult;
48
+ //# sourceMappingURL=GetLogResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLogResult.js","sourceRoot":"","sources":["../../../src/log/result/GetLogResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,SAAI,GAAyB,IAAI,CAAC;IA0B9C,CAAC;IAxBU,8BAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,8BAAO,GAAd,UAAe,IAA0B;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+BAAQ,GAAf,UAAgB,IAA0B;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,YAAY,EAAE;aACpB,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,6BAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,mBAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,22 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class GetTraceResult implements IResult {
4
+ private trace;
5
+ private parallels;
6
+ private parallelTruncated;
7
+ getTrace(): Gs2Log.Trace | null;
8
+ setTrace(trace: Gs2Log.Trace | null): this;
9
+ withTrace(trace: Gs2Log.Trace | null): this;
10
+ getParallels(): Gs2Log.Trace[] | null;
11
+ setParallels(parallels: Gs2Log.Trace[] | null): this;
12
+ withParallels(parallels: Gs2Log.Trace[] | null): this;
13
+ getParallelTruncated(): boolean | null;
14
+ setParallelTruncated(parallelTruncated: boolean | null): this;
15
+ withParallelTruncated(parallelTruncated: boolean | null): this;
16
+ static fromDict(data: {
17
+ [key: string]: any;
18
+ }): GetTraceResult;
19
+ toDict(): {
20
+ [key: string]: any;
21
+ };
22
+ }
@@ -0,0 +1,82 @@
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 GetTraceResult = /** @class */ (function () {
21
+ function GetTraceResult() {
22
+ this.trace = null;
23
+ this.parallels = null;
24
+ this.parallelTruncated = null;
25
+ }
26
+ GetTraceResult.prototype.getTrace = function () {
27
+ return this.trace;
28
+ };
29
+ GetTraceResult.prototype.setTrace = function (trace) {
30
+ this.trace = trace;
31
+ return this;
32
+ };
33
+ GetTraceResult.prototype.withTrace = function (trace) {
34
+ this.trace = trace;
35
+ return this;
36
+ };
37
+ GetTraceResult.prototype.getParallels = function () {
38
+ return this.parallels;
39
+ };
40
+ GetTraceResult.prototype.setParallels = function (parallels) {
41
+ this.parallels = parallels;
42
+ return this;
43
+ };
44
+ GetTraceResult.prototype.withParallels = function (parallels) {
45
+ this.parallels = parallels;
46
+ return this;
47
+ };
48
+ GetTraceResult.prototype.getParallelTruncated = function () {
49
+ return this.parallelTruncated;
50
+ };
51
+ GetTraceResult.prototype.setParallelTruncated = function (parallelTruncated) {
52
+ this.parallelTruncated = parallelTruncated;
53
+ return this;
54
+ };
55
+ GetTraceResult.prototype.withParallelTruncated = function (parallelTruncated) {
56
+ this.parallelTruncated = parallelTruncated;
57
+ return this;
58
+ };
59
+ GetTraceResult.fromDict = function (data) {
60
+ return new GetTraceResult()
61
+ .withTrace(Gs2Log.Trace.fromDict(data["trace"]))
62
+ .withParallels(data.parallels ?
63
+ data.parallels.map(function (item) {
64
+ return Gs2Log.Trace.fromDict(item);
65
+ }) : null)
66
+ .withParallelTruncated(data["parallelTruncated"]);
67
+ };
68
+ GetTraceResult.prototype.toDict = function () {
69
+ var _a;
70
+ return {
71
+ "trace": (_a = this.getTrace()) === null || _a === void 0 ? void 0 : _a.toDict(),
72
+ "parallels": this.getParallels() ?
73
+ this.getParallels().map(function (item) {
74
+ return item.toDict();
75
+ }) : null,
76
+ "parallelTruncated": this.getParallelTruncated(),
77
+ };
78
+ };
79
+ return GetTraceResult;
80
+ }());
81
+ exports.default = GetTraceResult;
82
+ //# sourceMappingURL=GetTraceResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetTraceResult.js","sourceRoot":"","sources":["../../../src/log/result/GetTraceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,UAAK,GAAsB,IAAI,CAAC;QAChC,cAAS,GAAwB,IAAI,CAAC;QACtC,sBAAiB,GAAiB,IAAI,CAAC;IAkEnD,CAAC;IAhEU,iCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,KAAwB;QACpC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kCAAS,GAAhB,UAAiB,KAAwB;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,qCAAY,GAAnB,UAAoB,SAA8B;QAC9C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAa,GAApB,UAAqB,SAA8B;QAC/C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAoB,GAA3B;QACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAEM,6CAAoB,GAA3B,UAA4B,iBAA+B;QACvD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAqB,GAA5B,UAA6B,iBAA+B;QACxD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,cAAc,EAAE;aACtB,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;aAC/C,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC3B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAC,IAA0B;gBAC1C,OAAO,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvC,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC;aACR,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,+BAAM,GAAb;;QACI,OAAO;YACH,OAAO,EAAE,MAAA,IAAI,CAAC,QAAQ,EAAE,0CAAE,MAAM,EAAE;YAClC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;gBAC9B,IAAI,CAAC,YAAY,EAAG,CAAC,GAAG,CAAC,UAAC,IAAkB;oBACxC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;SACnD,CAAC;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AArED,IAqEC"}
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class QueryFacetsResult implements IResult {
4
+ private items;
5
+ getItems(): Gs2Log.Facet[] | null;
6
+ setItems(items: Gs2Log.Facet[] | null): this;
7
+ withItems(items: Gs2Log.Facet[] | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): QueryFacetsResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,53 @@
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 QueryFacetsResult = /** @class */ (function () {
21
+ function QueryFacetsResult() {
22
+ this.items = null;
23
+ }
24
+ QueryFacetsResult.prototype.getItems = function () {
25
+ return this.items;
26
+ };
27
+ QueryFacetsResult.prototype.setItems = function (items) {
28
+ this.items = items;
29
+ return this;
30
+ };
31
+ QueryFacetsResult.prototype.withItems = function (items) {
32
+ this.items = items;
33
+ return this;
34
+ };
35
+ QueryFacetsResult.fromDict = function (data) {
36
+ return new QueryFacetsResult()
37
+ .withItems(data.items ?
38
+ data.items.map(function (item) {
39
+ return Gs2Log.Facet.fromDict(item);
40
+ }) : null);
41
+ };
42
+ QueryFacetsResult.prototype.toDict = function () {
43
+ return {
44
+ "items": this.getItems() ?
45
+ this.getItems().map(function (item) {
46
+ return item.toDict();
47
+ }) : null,
48
+ };
49
+ };
50
+ return QueryFacetsResult;
51
+ }());
52
+ exports.default = QueryFacetsResult;
53
+ //# sourceMappingURL=QueryFacetsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryFacetsResult.js","sourceRoot":"","sources":["../../../src/log/result/QueryFacetsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,UAAK,GAAwB,IAAI,CAAC;IAkC9C,CAAC;IAhCU,oCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,oCAAQ,GAAf,UAAgB,KAA0B;QACtC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAS,GAAhB,UAAiB,KAA0B;QACvC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,0BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,iBAAiB,EAAE;aACzB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvC,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,kCAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAkB;oBACpC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,wBAAC;AAAD,CAAC,AAnCD,IAmCC"}
@@ -0,0 +1,22 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class QueryLogResult implements IResult {
4
+ private items;
5
+ private totalEntryCount;
6
+ private nextPageToken;
7
+ getItems(): Gs2Log.LogEntry[] | null;
8
+ setItems(items: Gs2Log.LogEntry[] | null): this;
9
+ withItems(items: Gs2Log.LogEntry[] | null): this;
10
+ getTotalEntryCount(): number | null;
11
+ setTotalEntryCount(totalEntryCount: number | null): this;
12
+ withTotalEntryCount(totalEntryCount: number | null): this;
13
+ getNextPageToken(): string | null;
14
+ setNextPageToken(nextPageToken: string | null): this;
15
+ withNextPageToken(nextPageToken: string | null): this;
16
+ static fromDict(data: {
17
+ [key: string]: any;
18
+ }): QueryLogResult;
19
+ toDict(): {
20
+ [key: string]: any;
21
+ };
22
+ }
@@ -0,0 +1,81 @@
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 QueryLogResult = /** @class */ (function () {
21
+ function QueryLogResult() {
22
+ this.items = null;
23
+ this.totalEntryCount = null;
24
+ this.nextPageToken = null;
25
+ }
26
+ QueryLogResult.prototype.getItems = function () {
27
+ return this.items;
28
+ };
29
+ QueryLogResult.prototype.setItems = function (items) {
30
+ this.items = items;
31
+ return this;
32
+ };
33
+ QueryLogResult.prototype.withItems = function (items) {
34
+ this.items = items;
35
+ return this;
36
+ };
37
+ QueryLogResult.prototype.getTotalEntryCount = function () {
38
+ return this.totalEntryCount;
39
+ };
40
+ QueryLogResult.prototype.setTotalEntryCount = function (totalEntryCount) {
41
+ this.totalEntryCount = totalEntryCount;
42
+ return this;
43
+ };
44
+ QueryLogResult.prototype.withTotalEntryCount = function (totalEntryCount) {
45
+ this.totalEntryCount = totalEntryCount;
46
+ return this;
47
+ };
48
+ QueryLogResult.prototype.getNextPageToken = function () {
49
+ return this.nextPageToken;
50
+ };
51
+ QueryLogResult.prototype.setNextPageToken = function (nextPageToken) {
52
+ this.nextPageToken = nextPageToken;
53
+ return this;
54
+ };
55
+ QueryLogResult.prototype.withNextPageToken = function (nextPageToken) {
56
+ this.nextPageToken = nextPageToken;
57
+ return this;
58
+ };
59
+ QueryLogResult.fromDict = function (data) {
60
+ return new QueryLogResult()
61
+ .withItems(data.items ?
62
+ data.items.map(function (item) {
63
+ return Gs2Log.LogEntry.fromDict(item);
64
+ }) : null)
65
+ .withTotalEntryCount(data["totalEntryCount"])
66
+ .withNextPageToken(data["nextPageToken"]);
67
+ };
68
+ QueryLogResult.prototype.toDict = function () {
69
+ return {
70
+ "items": this.getItems() ?
71
+ this.getItems().map(function (item) {
72
+ return item.toDict();
73
+ }) : null,
74
+ "totalEntryCount": this.getTotalEntryCount(),
75
+ "nextPageToken": this.getNextPageToken(),
76
+ };
77
+ };
78
+ return QueryLogResult;
79
+ }());
80
+ exports.default = QueryLogResult;
81
+ //# sourceMappingURL=QueryLogResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLogResult.js","sourceRoot":"","sources":["../../../src/log/result/QueryLogResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,UAAK,GAA2B,IAAI,CAAC;QACrC,oBAAe,GAAgB,IAAI,CAAC;QACpC,kBAAa,GAAgB,IAAI,CAAC;IAkE9C,CAAC;IAhEU,iCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,KAA6B;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kCAAS,GAAhB,UAAiB,KAA6B;QAC1C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAEM,2CAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,yCAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,cAAc,EAAE;aACtB,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC1C,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC;aACR,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC5C,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,+BAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAqB;oBACvC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AArED,IAqEC"}
@@ -0,0 +1,18 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Log from '../model';
3
+ export default class QueryMetricsTimeseriesResult implements IResult {
4
+ private items;
5
+ private timeseriesMetadata;
6
+ getItems(): Gs2Log.TimeseriesPoint[] | null;
7
+ setItems(items: Gs2Log.TimeseriesPoint[] | null): this;
8
+ withItems(items: Gs2Log.TimeseriesPoint[] | null): this;
9
+ getTimeseriesMetadata(): Gs2Log.TimeseriesMetadata | null;
10
+ setTimeseriesMetadata(timeseriesMetadata: Gs2Log.TimeseriesMetadata | null): this;
11
+ withTimeseriesMetadata(timeseriesMetadata: Gs2Log.TimeseriesMetadata | null): this;
12
+ static fromDict(data: {
13
+ [key: string]: any;
14
+ }): QueryMetricsTimeseriesResult;
15
+ toDict(): {
16
+ [key: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,68 @@
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 QueryMetricsTimeseriesResult = /** @class */ (function () {
21
+ function QueryMetricsTimeseriesResult() {
22
+ this.items = null;
23
+ this.timeseriesMetadata = null;
24
+ }
25
+ QueryMetricsTimeseriesResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ QueryMetricsTimeseriesResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ QueryMetricsTimeseriesResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ QueryMetricsTimeseriesResult.prototype.getTimeseriesMetadata = function () {
37
+ return this.timeseriesMetadata;
38
+ };
39
+ QueryMetricsTimeseriesResult.prototype.setTimeseriesMetadata = function (timeseriesMetadata) {
40
+ this.timeseriesMetadata = timeseriesMetadata;
41
+ return this;
42
+ };
43
+ QueryMetricsTimeseriesResult.prototype.withTimeseriesMetadata = function (timeseriesMetadata) {
44
+ this.timeseriesMetadata = timeseriesMetadata;
45
+ return this;
46
+ };
47
+ QueryMetricsTimeseriesResult.fromDict = function (data) {
48
+ return new QueryMetricsTimeseriesResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2Log.TimeseriesPoint.fromDict(item);
52
+ }) : null)
53
+ .withTimeseriesMetadata(Gs2Log.TimeseriesMetadata.fromDict(data["timeseriesMetadata"]));
54
+ };
55
+ QueryMetricsTimeseriesResult.prototype.toDict = function () {
56
+ var _a;
57
+ return {
58
+ "items": this.getItems() ?
59
+ this.getItems().map(function (item) {
60
+ return item.toDict();
61
+ }) : null,
62
+ "timeseriesMetadata": (_a = this.getTimeseriesMetadata()) === null || _a === void 0 ? void 0 : _a.toDict(),
63
+ };
64
+ };
65
+ return QueryMetricsTimeseriesResult;
66
+ }());
67
+ exports.default = QueryMetricsTimeseriesResult;
68
+ //# sourceMappingURL=QueryMetricsTimeseriesResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryMetricsTimeseriesResult.js","sourceRoot":"","sources":["../../../src/log/result/QueryMetricsTimeseriesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAkC;AAElC;IAAA;QACY,UAAK,GAAkC,IAAI,CAAC;QAC5C,uBAAkB,GAAmC,IAAI,CAAC;IAkDtE,CAAC;IAhDU,+CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,+CAAQ,GAAf,UAAgB,KAAoC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAS,GAAhB,UAAiB,KAAoC;QACjD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,4DAAqB,GAA5B,UAA6B,kBAAkD;QAC3E,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAsB,GAA7B,UAA8B,kBAAkD;QAC5E,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4BAA4B,EAAE;aACpC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,MAAM,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACjD,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC;aACR,sBAAsB,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAChG,CAAC;IAEM,6CAAM,GAAb;;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA4B;oBAC9C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,oBAAoB,EAAE,MAAA,IAAI,CAAC,qBAAqB,EAAE,0CAAE,MAAM,EAAE;SAC/D,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AApDD,IAoDC"}