gs2 1.4.116 → 1.4.119
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/log/model/AggregationConfig.d.ts +17 -0
- package/log/model/AggregationConfig.js +62 -0
- package/log/model/AggregationConfig.js.map +1 -0
- package/log/model/Dashboard.d.ts +43 -0
- package/log/model/Dashboard.js +199 -0
- package/log/model/Dashboard.js.map +1 -0
- package/log/model/Facet.d.ts +26 -0
- package/log/model/Facet.js +99 -0
- package/log/model/Facet.js.map +1 -0
- package/log/model/FacetModel.d.ts +35 -0
- package/log/model/FacetModel.js +171 -0
- package/log/model/FacetModel.js.map +1 -0
- package/log/model/FacetValueCount.d.ts +17 -0
- package/log/model/FacetValueCount.js +62 -0
- package/log/model/FacetValueCount.js.map +1 -0
- package/log/model/Label.d.ts +17 -0
- package/log/model/Label.js +62 -0
- package/log/model/Label.js.map +1 -0
- package/log/model/LogEntry.d.ts +30 -0
- package/log/model/LogEntry.js +112 -0
- package/log/model/LogEntry.js.map +1 -0
- package/log/model/MetricModel.d.ts +23 -0
- package/log/model/MetricModel.js +89 -0
- package/log/model/MetricModel.js.map +1 -0
- package/log/model/NumericRange.d.ts +17 -0
- package/log/model/NumericRange.js +62 -0
- package/log/model/NumericRange.js.map +1 -0
- package/log/model/TimeseriesMetadata.d.ts +17 -0
- package/log/model/TimeseriesMetadata.js +74 -0
- package/log/model/TimeseriesMetadata.js.map +1 -0
- package/log/model/TimeseriesPoint.d.ts +18 -0
- package/log/model/TimeseriesPoint.js +70 -0
- package/log/model/TimeseriesPoint.js.map +1 -0
- package/log/model/TimeseriesValue.d.ts +17 -0
- package/log/model/TimeseriesValue.js +62 -0
- package/log/model/TimeseriesValue.js.map +1 -0
- package/log/model/Trace.d.ts +22 -0
- package/log/model/Trace.js +84 -0
- package/log/model/Trace.js.map +1 -0
- package/log/model/index.d.ts +14 -1
- package/log/model/index.js +27 -1
- package/log/model/index.js.map +1 -1
- package/log/request/CreateDashboardRequest.d.ts +29 -0
- package/log/request/CreateDashboardRequest.js +97 -0
- package/log/request/CreateDashboardRequest.js.map +1 -0
- package/log/request/CreateFacetModelRequest.d.ts +37 -0
- package/log/request/CreateFacetModelRequest.js +125 -0
- package/log/request/CreateFacetModelRequest.js.map +1 -0
- package/log/request/DeleteDashboardRequest.d.ts +25 -0
- package/log/request/DeleteDashboardRequest.js +83 -0
- package/log/request/DeleteDashboardRequest.js.map +1 -0
- package/log/request/DeleteFacetModelRequest.d.ts +25 -0
- package/log/request/DeleteFacetModelRequest.js +83 -0
- package/log/request/DeleteFacetModelRequest.js.map +1 -0
- package/log/request/DescribeDashboardsRequest.d.ts +33 -0
- package/log/request/DescribeDashboardsRequest.js +111 -0
- package/log/request/DescribeDashboardsRequest.js.map +1 -0
- package/log/request/DescribeFacetModelsRequest.d.ts +33 -0
- package/log/request/DescribeFacetModelsRequest.js +111 -0
- package/log/request/DescribeFacetModelsRequest.js.map +1 -0
- package/log/request/DescribeLabelValuesRequest.d.ts +37 -0
- package/log/request/DescribeLabelValuesRequest.js +125 -0
- package/log/request/DescribeLabelValuesRequest.js.map +1 -0
- package/log/request/DescribeMetricsRequest.d.ts +33 -0
- package/log/request/DescribeMetricsRequest.js +111 -0
- package/log/request/DescribeMetricsRequest.js.map +1 -0
- package/log/request/DuplicateDashboardRequest.d.ts +25 -0
- package/log/request/DuplicateDashboardRequest.js +83 -0
- package/log/request/DuplicateDashboardRequest.js.map +1 -0
- package/log/request/GetDashboardRequest.d.ts +25 -0
- package/log/request/GetDashboardRequest.js +83 -0
- package/log/request/GetDashboardRequest.js.map +1 -0
- package/log/request/GetFacetModelRequest.d.ts +25 -0
- package/log/request/GetFacetModelRequest.js +83 -0
- package/log/request/GetFacetModelRequest.js.map +1 -0
- package/log/request/GetLogRequest.d.ts +33 -0
- package/log/request/GetLogRequest.js +111 -0
- package/log/request/GetLogRequest.js.map +1 -0
- package/log/request/GetTraceRequest.d.ts +33 -0
- package/log/request/GetTraceRequest.js +111 -0
- package/log/request/GetTraceRequest.js.map +1 -0
- package/log/request/QueryFacetsRequest.d.ts +33 -0
- package/log/request/QueryFacetsRequest.js +111 -0
- package/log/request/QueryFacetsRequest.js.map +1 -0
- package/log/request/QueryLogRequest.d.ts +41 -0
- package/log/request/QueryLogRequest.js +139 -0
- package/log/request/QueryLogRequest.js.map +1 -0
- package/log/request/QueryMetricsTimeseriesRequest.d.ts +58 -0
- package/log/request/QueryMetricsTimeseriesRequest.js +209 -0
- package/log/request/QueryMetricsTimeseriesRequest.js.map +1 -0
- package/log/request/QueryTimeseriesRequest.d.ts +58 -0
- package/log/request/QueryTimeseriesRequest.js +204 -0
- package/log/request/QueryTimeseriesRequest.js.map +1 -0
- package/log/request/UpdateDashboardRequest.d.ts +37 -0
- package/log/request/UpdateDashboardRequest.js +125 -0
- package/log/request/UpdateDashboardRequest.js.map +1 -0
- package/log/request/UpdateFacetModelRequest.d.ts +37 -0
- package/log/request/UpdateFacetModelRequest.js +125 -0
- package/log/request/UpdateFacetModelRequest.js.map +1 -0
- package/log/request/index.d.ts +20 -1
- package/log/request/index.js +39 -1
- package/log/request/index.js.map +1 -1
- package/log/rest.d.ts +19 -0
- package/log/rest.js +387 -0
- package/log/rest.js.map +1 -1
- package/log/result/CreateDashboardResult.d.ts +14 -0
- package/log/result/CreateDashboardResult.js +48 -0
- package/log/result/CreateDashboardResult.js.map +1 -0
- package/log/result/CreateFacetModelResult.d.ts +14 -0
- package/log/result/CreateFacetModelResult.js +48 -0
- package/log/result/CreateFacetModelResult.js.map +1 -0
- package/log/result/DeleteDashboardResult.d.ts +14 -0
- package/log/result/DeleteDashboardResult.js +48 -0
- package/log/result/DeleteDashboardResult.js.map +1 -0
- package/log/result/DeleteFacetModelResult.d.ts +14 -0
- package/log/result/DeleteFacetModelResult.js +48 -0
- package/log/result/DeleteFacetModelResult.js.map +1 -0
- package/log/result/DescribeDashboardsResult.d.ts +18 -0
- package/log/result/DescribeDashboardsResult.js +67 -0
- package/log/result/DescribeDashboardsResult.js.map +1 -0
- package/log/result/DescribeFacetModelsResult.d.ts +18 -0
- package/log/result/DescribeFacetModelsResult.js +67 -0
- package/log/result/DescribeFacetModelsResult.js.map +1 -0
- package/log/result/DescribeLabelValuesResult.d.ts +18 -0
- package/log/result/DescribeLabelValuesResult.js +67 -0
- package/log/result/DescribeLabelValuesResult.js.map +1 -0
- package/log/result/DescribeMetricsResult.d.ts +18 -0
- package/log/result/DescribeMetricsResult.js +67 -0
- package/log/result/DescribeMetricsResult.js.map +1 -0
- package/log/result/DuplicateDashboardResult.d.ts +14 -0
- package/log/result/DuplicateDashboardResult.js +48 -0
- package/log/result/DuplicateDashboardResult.js.map +1 -0
- package/log/result/GetDashboardResult.d.ts +14 -0
- package/log/result/GetDashboardResult.js +48 -0
- package/log/result/GetDashboardResult.js.map +1 -0
- package/log/result/GetFacetModelResult.d.ts +14 -0
- package/log/result/GetFacetModelResult.js +48 -0
- package/log/result/GetFacetModelResult.js.map +1 -0
- package/log/result/GetLogResult.d.ts +14 -0
- package/log/result/GetLogResult.js +48 -0
- package/log/result/GetLogResult.js.map +1 -0
- package/log/result/GetTraceResult.d.ts +22 -0
- package/log/result/GetTraceResult.js +82 -0
- package/log/result/GetTraceResult.js.map +1 -0
- package/log/result/QueryFacetsResult.d.ts +14 -0
- package/log/result/QueryFacetsResult.js +53 -0
- package/log/result/QueryFacetsResult.js.map +1 -0
- package/log/result/QueryLogResult.d.ts +22 -0
- package/log/result/QueryLogResult.js +81 -0
- package/log/result/QueryLogResult.js.map +1 -0
- package/log/result/QueryMetricsTimeseriesResult.d.ts +18 -0
- package/log/result/QueryMetricsTimeseriesResult.js +68 -0
- package/log/result/QueryMetricsTimeseriesResult.js.map +1 -0
- package/log/result/QueryTimeseriesResult.d.ts +22 -0
- package/log/result/QueryTimeseriesResult.js +82 -0
- package/log/result/QueryTimeseriesResult.js.map +1 -0
- package/log/result/UpdateDashboardResult.d.ts +14 -0
- package/log/result/UpdateDashboardResult.js +48 -0
- package/log/result/UpdateDashboardResult.js.map +1 -0
- package/log/result/UpdateFacetModelResult.d.ts +14 -0
- package/log/result/UpdateFacetModelResult.js +48 -0
- package/log/result/UpdateFacetModelResult.js.map +1 -0
- package/log/result/index.d.ts +20 -1
- package/log/result/index.js +39 -1
- package/log/result/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,111 @@
|
|
|
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 GetLogRequest = /** @class */ (function () {
|
|
19
|
+
function GetLogRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.logRequestId = null;
|
|
24
|
+
this.begin = null;
|
|
25
|
+
this.end = null;
|
|
26
|
+
}
|
|
27
|
+
GetLogRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
GetLogRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetLogRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetLogRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
GetLogRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetLogRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetLogRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
GetLogRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetLogRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetLogRequest.prototype.getLogRequestId = function () {
|
|
61
|
+
return this.logRequestId;
|
|
62
|
+
};
|
|
63
|
+
GetLogRequest.prototype.setLogRequestId = function (logRequestId) {
|
|
64
|
+
this.logRequestId = logRequestId;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetLogRequest.prototype.withLogRequestId = function (logRequestId) {
|
|
68
|
+
this.logRequestId = logRequestId;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetLogRequest.prototype.getBegin = function () {
|
|
72
|
+
return this.begin;
|
|
73
|
+
};
|
|
74
|
+
GetLogRequest.prototype.setBegin = function (begin) {
|
|
75
|
+
this.begin = begin;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
GetLogRequest.prototype.withBegin = function (begin) {
|
|
79
|
+
this.begin = begin;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
GetLogRequest.prototype.getEnd = function () {
|
|
83
|
+
return this.end;
|
|
84
|
+
};
|
|
85
|
+
GetLogRequest.prototype.setEnd = function (end) {
|
|
86
|
+
this.end = end;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GetLogRequest.prototype.withEnd = function (end) {
|
|
90
|
+
this.end = end;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
GetLogRequest.fromDict = function (data) {
|
|
94
|
+
return new GetLogRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withLogRequestId(data["logRequestId"])
|
|
97
|
+
.withBegin(data["begin"])
|
|
98
|
+
.withEnd(data["end"]);
|
|
99
|
+
};
|
|
100
|
+
GetLogRequest.prototype.toDict = function () {
|
|
101
|
+
return {
|
|
102
|
+
"namespaceName": this.getNamespaceName(),
|
|
103
|
+
"logRequestId": this.getLogRequestId(),
|
|
104
|
+
"begin": this.getBegin(),
|
|
105
|
+
"end": this.getEnd(),
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
return GetLogRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.default = GetLogRequest;
|
|
111
|
+
//# sourceMappingURL=GetLogRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetLogRequest.js","sourceRoot":"","sources":["../../../src/log/request/GetLogRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,iBAAY,GAAgB,IAAI,CAAC;QACjC,UAAK,GAAgB,IAAI,CAAC;QAC1B,QAAG,GAAgB,IAAI,CAAC;IA0FpC,CAAC;IAxFU,oCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,oCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAa,GAApB,UA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CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8BAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,8BAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+BAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,aAAa,EAAE;aACrB,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACxB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9B,CAAC;IAEM,8BAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;SACvB,CAAC;IACN,CAAC;IACL,oBAAC;AAAD,CAAC,AAjGD,IAiGC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetTraceRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private traceId;
|
|
7
|
+
private begin;
|
|
8
|
+
private end;
|
|
9
|
+
getRequestId(): string | null;
|
|
10
|
+
setRequestId(requestId: string | null): this;
|
|
11
|
+
withRequestId(requestId: string | null): this;
|
|
12
|
+
getContextStack(): string | null;
|
|
13
|
+
setContextStack(contextStack: string | null): this;
|
|
14
|
+
withContextStack(contextStack: string | null): this;
|
|
15
|
+
getNamespaceName(): string | null;
|
|
16
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
getTraceId(): string | null;
|
|
19
|
+
setTraceId(traceId: string | null): this;
|
|
20
|
+
withTraceId(traceId: string | null): this;
|
|
21
|
+
getBegin(): number | null;
|
|
22
|
+
setBegin(begin: number | null): this;
|
|
23
|
+
withBegin(begin: number | null): this;
|
|
24
|
+
getEnd(): number | null;
|
|
25
|
+
setEnd(end: number | null): this;
|
|
26
|
+
withEnd(end: number | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): GetTraceRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 GetTraceRequest = /** @class */ (function () {
|
|
19
|
+
function GetTraceRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.traceId = null;
|
|
24
|
+
this.begin = null;
|
|
25
|
+
this.end = null;
|
|
26
|
+
}
|
|
27
|
+
GetTraceRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
GetTraceRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetTraceRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetTraceRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
GetTraceRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetTraceRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetTraceRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
GetTraceRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetTraceRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetTraceRequest.prototype.getTraceId = function () {
|
|
61
|
+
return this.traceId;
|
|
62
|
+
};
|
|
63
|
+
GetTraceRequest.prototype.setTraceId = function (traceId) {
|
|
64
|
+
this.traceId = traceId;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetTraceRequest.prototype.withTraceId = function (traceId) {
|
|
68
|
+
this.traceId = traceId;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetTraceRequest.prototype.getBegin = function () {
|
|
72
|
+
return this.begin;
|
|
73
|
+
};
|
|
74
|
+
GetTraceRequest.prototype.setBegin = function (begin) {
|
|
75
|
+
this.begin = begin;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
GetTraceRequest.prototype.withBegin = function (begin) {
|
|
79
|
+
this.begin = begin;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
GetTraceRequest.prototype.getEnd = function () {
|
|
83
|
+
return this.end;
|
|
84
|
+
};
|
|
85
|
+
GetTraceRequest.prototype.setEnd = function (end) {
|
|
86
|
+
this.end = end;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GetTraceRequest.prototype.withEnd = function (end) {
|
|
90
|
+
this.end = end;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
GetTraceRequest.fromDict = function (data) {
|
|
94
|
+
return new GetTraceRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withTraceId(data["traceId"])
|
|
97
|
+
.withBegin(data["begin"])
|
|
98
|
+
.withEnd(data["end"]);
|
|
99
|
+
};
|
|
100
|
+
GetTraceRequest.prototype.toDict = function () {
|
|
101
|
+
return {
|
|
102
|
+
"namespaceName": this.getNamespaceName(),
|
|
103
|
+
"traceId": this.getTraceId(),
|
|
104
|
+
"begin": this.getBegin(),
|
|
105
|
+
"end": this.getEnd(),
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
return GetTraceRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.default = GetTraceRequest;
|
|
111
|
+
//# sourceMappingURL=GetTraceRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetTraceRequest.js","sourceRoot":"","sources":["../../../src/log/request/GetTraceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBA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
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class QueryFacetsRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private begin;
|
|
7
|
+
private end;
|
|
8
|
+
private query;
|
|
9
|
+
getRequestId(): string | null;
|
|
10
|
+
setRequestId(requestId: string | null): this;
|
|
11
|
+
withRequestId(requestId: string | null): this;
|
|
12
|
+
getContextStack(): string | null;
|
|
13
|
+
setContextStack(contextStack: string | null): this;
|
|
14
|
+
withContextStack(contextStack: string | null): this;
|
|
15
|
+
getNamespaceName(): string | null;
|
|
16
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
getBegin(): number | null;
|
|
19
|
+
setBegin(begin: number | null): this;
|
|
20
|
+
withBegin(begin: number | null): this;
|
|
21
|
+
getEnd(): number | null;
|
|
22
|
+
setEnd(end: number | null): this;
|
|
23
|
+
withEnd(end: number | null): this;
|
|
24
|
+
getQuery(): string | null;
|
|
25
|
+
setQuery(query: string | null): this;
|
|
26
|
+
withQuery(query: string | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): QueryFacetsRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 QueryFacetsRequest = /** @class */ (function () {
|
|
19
|
+
function QueryFacetsRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.begin = null;
|
|
24
|
+
this.end = null;
|
|
25
|
+
this.query = null;
|
|
26
|
+
}
|
|
27
|
+
QueryFacetsRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
QueryFacetsRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
QueryFacetsRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
QueryFacetsRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
QueryFacetsRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
QueryFacetsRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
QueryFacetsRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
QueryFacetsRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
QueryFacetsRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
QueryFacetsRequest.prototype.getBegin = function () {
|
|
61
|
+
return this.begin;
|
|
62
|
+
};
|
|
63
|
+
QueryFacetsRequest.prototype.setBegin = function (begin) {
|
|
64
|
+
this.begin = begin;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
QueryFacetsRequest.prototype.withBegin = function (begin) {
|
|
68
|
+
this.begin = begin;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
QueryFacetsRequest.prototype.getEnd = function () {
|
|
72
|
+
return this.end;
|
|
73
|
+
};
|
|
74
|
+
QueryFacetsRequest.prototype.setEnd = function (end) {
|
|
75
|
+
this.end = end;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
QueryFacetsRequest.prototype.withEnd = function (end) {
|
|
79
|
+
this.end = end;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
QueryFacetsRequest.prototype.getQuery = function () {
|
|
83
|
+
return this.query;
|
|
84
|
+
};
|
|
85
|
+
QueryFacetsRequest.prototype.setQuery = function (query) {
|
|
86
|
+
this.query = query;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
QueryFacetsRequest.prototype.withQuery = function (query) {
|
|
90
|
+
this.query = query;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
QueryFacetsRequest.fromDict = function (data) {
|
|
94
|
+
return new QueryFacetsRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withBegin(data["begin"])
|
|
97
|
+
.withEnd(data["end"])
|
|
98
|
+
.withQuery(data["query"]);
|
|
99
|
+
};
|
|
100
|
+
QueryFacetsRequest.prototype.toDict = function () {
|
|
101
|
+
return {
|
|
102
|
+
"namespaceName": this.getNamespaceName(),
|
|
103
|
+
"begin": this.getBegin(),
|
|
104
|
+
"end": this.getEnd(),
|
|
105
|
+
"query": this.getQuery(),
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
return QueryFacetsRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.default = QueryFacetsRequest;
|
|
111
|
+
//# sourceMappingURL=QueryFacetsRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryFacetsRequest.js","sourceRoot":"","sources":["../../../src/log/request/QueryFacetsRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;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;IA0FtC,CAAC;IAxFU,yCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,yCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,4CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,6CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,6CAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAA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,CAAC,CAAC;aACpB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,mCAAM,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;SAC3B,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AAjGD,IAiGC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class QueryLogRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private begin;
|
|
7
|
+
private end;
|
|
8
|
+
private query;
|
|
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
|
+
getBegin(): number | null;
|
|
21
|
+
setBegin(begin: number | null): this;
|
|
22
|
+
withBegin(begin: number | null): this;
|
|
23
|
+
getEnd(): number | null;
|
|
24
|
+
setEnd(end: number | null): this;
|
|
25
|
+
withEnd(end: number | null): this;
|
|
26
|
+
getQuery(): string | null;
|
|
27
|
+
setQuery(query: string | null): this;
|
|
28
|
+
withQuery(query: string | 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
|
+
}): QueryLogRequest;
|
|
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 QueryLogRequest = /** @class */ (function () {
|
|
19
|
+
function QueryLogRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.begin = null;
|
|
24
|
+
this.end = null;
|
|
25
|
+
this.query = null;
|
|
26
|
+
this.pageToken = null;
|
|
27
|
+
this.limit = null;
|
|
28
|
+
}
|
|
29
|
+
QueryLogRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
QueryLogRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
QueryLogRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
QueryLogRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
QueryLogRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
QueryLogRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
QueryLogRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
QueryLogRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
QueryLogRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
QueryLogRequest.prototype.getBegin = function () {
|
|
63
|
+
return this.begin;
|
|
64
|
+
};
|
|
65
|
+
QueryLogRequest.prototype.setBegin = function (begin) {
|
|
66
|
+
this.begin = begin;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
QueryLogRequest.prototype.withBegin = function (begin) {
|
|
70
|
+
this.begin = begin;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
QueryLogRequest.prototype.getEnd = function () {
|
|
74
|
+
return this.end;
|
|
75
|
+
};
|
|
76
|
+
QueryLogRequest.prototype.setEnd = function (end) {
|
|
77
|
+
this.end = end;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
QueryLogRequest.prototype.withEnd = function (end) {
|
|
81
|
+
this.end = end;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
QueryLogRequest.prototype.getQuery = function () {
|
|
85
|
+
return this.query;
|
|
86
|
+
};
|
|
87
|
+
QueryLogRequest.prototype.setQuery = function (query) {
|
|
88
|
+
this.query = query;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
QueryLogRequest.prototype.withQuery = function (query) {
|
|
92
|
+
this.query = query;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
QueryLogRequest.prototype.getPageToken = function () {
|
|
96
|
+
return this.pageToken;
|
|
97
|
+
};
|
|
98
|
+
QueryLogRequest.prototype.setPageToken = function (pageToken) {
|
|
99
|
+
this.pageToken = pageToken;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
QueryLogRequest.prototype.withPageToken = function (pageToken) {
|
|
103
|
+
this.pageToken = pageToken;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
QueryLogRequest.prototype.getLimit = function () {
|
|
107
|
+
return this.limit;
|
|
108
|
+
};
|
|
109
|
+
QueryLogRequest.prototype.setLimit = function (limit) {
|
|
110
|
+
this.limit = limit;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
QueryLogRequest.prototype.withLimit = function (limit) {
|
|
114
|
+
this.limit = limit;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
QueryLogRequest.fromDict = function (data) {
|
|
118
|
+
return new QueryLogRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withBegin(data["begin"])
|
|
121
|
+
.withEnd(data["end"])
|
|
122
|
+
.withQuery(data["query"])
|
|
123
|
+
.withPageToken(data["pageToken"])
|
|
124
|
+
.withLimit(data["limit"]);
|
|
125
|
+
};
|
|
126
|
+
QueryLogRequest.prototype.toDict = function () {
|
|
127
|
+
return {
|
|
128
|
+
"namespaceName": this.getNamespaceName(),
|
|
129
|
+
"begin": this.getBegin(),
|
|
130
|
+
"end": this.getEnd(),
|
|
131
|
+
"query": this.getQuery(),
|
|
132
|
+
"pageToken": this.getPageToken(),
|
|
133
|
+
"limit": this.getLimit(),
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
return QueryLogRequest;
|
|
137
|
+
}());
|
|
138
|
+
exports.default = QueryLogRequest;
|
|
139
|
+
//# sourceMappingURL=QueryLogRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryLogRequest.js","sourceRoot":"","sources":["../../../src/log/request/QueryLogRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;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,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAoHtC,CAAC;IAlHU,sCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,sCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,yCAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,0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est';
|
|
2
|
+
import * as Gs2Log from '../model';
|
|
3
|
+
export default class QueryMetricsTimeseriesRequest 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 aggregations;
|
|
12
|
+
private interval;
|
|
13
|
+
private seriesLimit;
|
|
14
|
+
private orderKey;
|
|
15
|
+
private orderBy;
|
|
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
|
+
getAggregations(): Gs2Log.AggregationConfig[] | null;
|
|
38
|
+
setAggregations(aggregations: Gs2Log.AggregationConfig[] | null): this;
|
|
39
|
+
withAggregations(aggregations: 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
|
+
getOrderKey(): string | null;
|
|
47
|
+
setOrderKey(orderKey: string | null): this;
|
|
48
|
+
withOrderKey(orderKey: string | null): this;
|
|
49
|
+
getOrderBy(): string | null;
|
|
50
|
+
setOrderBy(orderBy: string | null): this;
|
|
51
|
+
withOrderBy(orderBy: string | null): this;
|
|
52
|
+
static fromDict(data: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}): QueryMetricsTimeseriesRequest;
|
|
55
|
+
toDict(): {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
};
|
|
58
|
+
}
|