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,70 @@
|
|
|
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("../../log/model"));
|
|
20
|
+
var TimeseriesPoint = /** @class */ (function () {
|
|
21
|
+
function TimeseriesPoint() {
|
|
22
|
+
this.timestamp = null;
|
|
23
|
+
this.values = null;
|
|
24
|
+
}
|
|
25
|
+
TimeseriesPoint.prototype.getTimestamp = function () {
|
|
26
|
+
return this.timestamp;
|
|
27
|
+
};
|
|
28
|
+
TimeseriesPoint.prototype.setTimestamp = function (timestamp) {
|
|
29
|
+
this.timestamp = timestamp;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
TimeseriesPoint.prototype.withTimestamp = function (timestamp) {
|
|
33
|
+
this.timestamp = timestamp;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
TimeseriesPoint.prototype.getValues = function () {
|
|
37
|
+
return this.values;
|
|
38
|
+
};
|
|
39
|
+
TimeseriesPoint.prototype.setValues = function (values) {
|
|
40
|
+
this.values = values;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
TimeseriesPoint.prototype.withValues = function (values) {
|
|
44
|
+
this.values = values;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
TimeseriesPoint.fromDict = function (data) {
|
|
48
|
+
if (data == undefined || data == null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return new TimeseriesPoint()
|
|
52
|
+
.withTimestamp(data["timestamp"])
|
|
53
|
+
.withValues(data.values ?
|
|
54
|
+
data.values.map(function (item) {
|
|
55
|
+
return Gs2Log.TimeseriesValue.fromDict(item);
|
|
56
|
+
}) : null);
|
|
57
|
+
};
|
|
58
|
+
TimeseriesPoint.prototype.toDict = function () {
|
|
59
|
+
return {
|
|
60
|
+
"timestamp": this.getTimestamp(),
|
|
61
|
+
"values": this.getValues() ?
|
|
62
|
+
this.getValues().map(function (item) {
|
|
63
|
+
return item.toDict();
|
|
64
|
+
}) : null,
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
return TimeseriesPoint;
|
|
68
|
+
}());
|
|
69
|
+
exports.default = TimeseriesPoint;
|
|
70
|
+
//# sourceMappingURL=TimeseriesPoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeseriesPoint.js","sourceRoot":"","sources":["../../../src/log/model/TimeseriesPoint.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,8DAAyC;AAGzC;IAAA;QACY,cAAS,GAAgB,IAAI,CAAC;QAC9B,WAAM,GAAkC,IAAI,CAAC;IA+CzD,CAAC;IA9CU,sCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,sCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,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,AAjDD,IAiDC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class TimeseriesValue implements IModel {
|
|
3
|
+
private key;
|
|
4
|
+
private value;
|
|
5
|
+
getKey(): string | null;
|
|
6
|
+
setKey(key: string | null): this;
|
|
7
|
+
withKey(key: string | null): this;
|
|
8
|
+
getValue(): number | null;
|
|
9
|
+
setValue(value: number | null): this;
|
|
10
|
+
withValue(value: number | null): this;
|
|
11
|
+
static fromDict(data: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}): TimeseriesValue | null;
|
|
14
|
+
toDict(): {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 TimeseriesValue = /** @class */ (function () {
|
|
19
|
+
function TimeseriesValue() {
|
|
20
|
+
this.key = null;
|
|
21
|
+
this.value = null;
|
|
22
|
+
}
|
|
23
|
+
TimeseriesValue.prototype.getKey = function () {
|
|
24
|
+
return this.key;
|
|
25
|
+
};
|
|
26
|
+
TimeseriesValue.prototype.setKey = function (key) {
|
|
27
|
+
this.key = key;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
TimeseriesValue.prototype.withKey = function (key) {
|
|
31
|
+
this.key = key;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
TimeseriesValue.prototype.getValue = function () {
|
|
35
|
+
return this.value;
|
|
36
|
+
};
|
|
37
|
+
TimeseriesValue.prototype.setValue = function (value) {
|
|
38
|
+
this.value = value;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
TimeseriesValue.prototype.withValue = function (value) {
|
|
42
|
+
this.value = value;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
TimeseriesValue.fromDict = function (data) {
|
|
46
|
+
if (data == undefined || data == null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return new TimeseriesValue()
|
|
50
|
+
.withKey(data["key"])
|
|
51
|
+
.withValue(data["value"]);
|
|
52
|
+
};
|
|
53
|
+
TimeseriesValue.prototype.toDict = function () {
|
|
54
|
+
return {
|
|
55
|
+
"key": this.getKey(),
|
|
56
|
+
"value": this.getValue(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return TimeseriesValue;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = TimeseriesValue;
|
|
62
|
+
//# sourceMappingURL=TimeseriesValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeseriesValue.js","sourceRoot":"","sources":["../../../src/log/model/TimeseriesValue.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,UAAK,GAAgB,IAAI,CAAC;IAuCtC,CAAC;IAtCU,gCAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,gCAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iCAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,kCAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mCAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,wBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,eAAe,EAAE;aACvB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,gCAAM,GAAb;QACI,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,sBAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import * as Gs2Log from '../../log/model';
|
|
3
|
+
export default class Trace implements IModel {
|
|
4
|
+
private traceId;
|
|
5
|
+
private spans;
|
|
6
|
+
private truncated;
|
|
7
|
+
getTraceId(): string | null;
|
|
8
|
+
setTraceId(traceId: string | null): this;
|
|
9
|
+
withTraceId(traceId: string | null): this;
|
|
10
|
+
getSpans(): Gs2Log.LogEntry[] | null;
|
|
11
|
+
setSpans(spans: Gs2Log.LogEntry[] | null): this;
|
|
12
|
+
withSpans(spans: Gs2Log.LogEntry[] | null): this;
|
|
13
|
+
getTruncated(): boolean | null;
|
|
14
|
+
setTruncated(truncated: boolean | null): this;
|
|
15
|
+
withTruncated(truncated: boolean | null): this;
|
|
16
|
+
static fromDict(data: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}): Trace | null;
|
|
19
|
+
toDict(): {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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("../../log/model"));
|
|
20
|
+
var Trace = /** @class */ (function () {
|
|
21
|
+
function Trace() {
|
|
22
|
+
this.traceId = null;
|
|
23
|
+
this.spans = null;
|
|
24
|
+
this.truncated = null;
|
|
25
|
+
}
|
|
26
|
+
Trace.prototype.getTraceId = function () {
|
|
27
|
+
return this.traceId;
|
|
28
|
+
};
|
|
29
|
+
Trace.prototype.setTraceId = function (traceId) {
|
|
30
|
+
this.traceId = traceId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Trace.prototype.withTraceId = function (traceId) {
|
|
34
|
+
this.traceId = traceId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
Trace.prototype.getSpans = function () {
|
|
38
|
+
return this.spans;
|
|
39
|
+
};
|
|
40
|
+
Trace.prototype.setSpans = function (spans) {
|
|
41
|
+
this.spans = spans;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
Trace.prototype.withSpans = function (spans) {
|
|
45
|
+
this.spans = spans;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
Trace.prototype.getTruncated = function () {
|
|
49
|
+
return this.truncated;
|
|
50
|
+
};
|
|
51
|
+
Trace.prototype.setTruncated = function (truncated) {
|
|
52
|
+
this.truncated = truncated;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
Trace.prototype.withTruncated = function (truncated) {
|
|
56
|
+
this.truncated = truncated;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
Trace.fromDict = function (data) {
|
|
60
|
+
if (data == undefined || data == null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
return new Trace()
|
|
64
|
+
.withTraceId(data["traceId"])
|
|
65
|
+
.withSpans(data.spans ?
|
|
66
|
+
data.spans.map(function (item) {
|
|
67
|
+
return Gs2Log.LogEntry.fromDict(item);
|
|
68
|
+
}) : null)
|
|
69
|
+
.withTruncated(data["truncated"]);
|
|
70
|
+
};
|
|
71
|
+
Trace.prototype.toDict = function () {
|
|
72
|
+
return {
|
|
73
|
+
"traceId": this.getTraceId(),
|
|
74
|
+
"spans": this.getSpans() ?
|
|
75
|
+
this.getSpans().map(function (item) {
|
|
76
|
+
return item.toDict();
|
|
77
|
+
}) : null,
|
|
78
|
+
"truncated": this.getTruncated(),
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
return Trace;
|
|
82
|
+
}());
|
|
83
|
+
exports.default = Trace;
|
|
84
|
+
//# sourceMappingURL=Trace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Trace.js","sourceRoot":"","sources":["../../../src/log/model/Trace.ts"],"names":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C,SAAS,CAAC,CAAC;aAC5B,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,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,sBAAM,GAAb;QACI,OAAO;YACH,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;YAC5B,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,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,YAAC;AAAD,CAAC,AA/DD,IA+DC"}
|
package/log/model/index.d.ts
CHANGED
|
@@ -10,5 +10,18 @@ import ExecuteStampTaskLogCount from "./ExecuteStampTaskLogCount";
|
|
|
10
10
|
import InGameLog from "./InGameLog";
|
|
11
11
|
import AccessLogWithTelemetry from "./AccessLogWithTelemetry";
|
|
12
12
|
import Insight from "./Insight";
|
|
13
|
+
import FacetModel from "./FacetModel";
|
|
14
|
+
import Dashboard from "./Dashboard";
|
|
15
|
+
import AggregationConfig from "./AggregationConfig";
|
|
16
|
+
import Facet from "./Facet";
|
|
17
|
+
import FacetValueCount from "./FacetValueCount";
|
|
18
|
+
import Label from "./Label";
|
|
19
|
+
import LogEntry from "./LogEntry";
|
|
20
|
+
import NumericRange from "./NumericRange";
|
|
21
|
+
import TimeseriesMetadata from "./TimeseriesMetadata";
|
|
22
|
+
import TimeseriesPoint from "./TimeseriesPoint";
|
|
23
|
+
import TimeseriesValue from "./TimeseriesValue";
|
|
24
|
+
import Trace from "./Trace";
|
|
25
|
+
import MetricModel from "./MetricModel";
|
|
13
26
|
import InGameLogTag from "./InGameLogTag";
|
|
14
|
-
export { Namespace, AccessLog, AccessLogCount, IssueStampSheetLog, IssueStampSheetLogCount, ExecuteStampSheetLog, ExecuteStampSheetLogCount, ExecuteStampTaskLog, ExecuteStampTaskLogCount, InGameLog, AccessLogWithTelemetry, Insight, InGameLogTag, };
|
|
27
|
+
export { Namespace, AccessLog, AccessLogCount, IssueStampSheetLog, IssueStampSheetLogCount, ExecuteStampSheetLog, ExecuteStampSheetLogCount, ExecuteStampTaskLog, ExecuteStampTaskLogCount, InGameLog, AccessLogWithTelemetry, Insight, FacetModel, Dashboard, AggregationConfig, Facet, FacetValueCount, Label, LogEntry, NumericRange, TimeseriesMetadata, TimeseriesPoint, TimeseriesValue, Trace, MetricModel, InGameLogTag, };
|
package/log/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InGameLogTag = exports.Insight = exports.AccessLogWithTelemetry = exports.InGameLog = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.Namespace = void 0;
|
|
3
|
+
exports.InGameLogTag = exports.MetricModel = exports.Trace = exports.TimeseriesValue = exports.TimeseriesPoint = exports.TimeseriesMetadata = exports.NumericRange = exports.LogEntry = exports.Label = exports.FacetValueCount = exports.Facet = exports.AggregationConfig = exports.Dashboard = exports.FacetModel = exports.Insight = exports.AccessLogWithTelemetry = exports.InGameLog = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.Namespace = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -41,6 +41,32 @@ var AccessLogWithTelemetry_1 = tslib_1.__importDefault(require("./AccessLogWithT
|
|
|
41
41
|
exports.AccessLogWithTelemetry = AccessLogWithTelemetry_1.default;
|
|
42
42
|
var Insight_1 = tslib_1.__importDefault(require("./Insight"));
|
|
43
43
|
exports.Insight = Insight_1.default;
|
|
44
|
+
var FacetModel_1 = tslib_1.__importDefault(require("./FacetModel"));
|
|
45
|
+
exports.FacetModel = FacetModel_1.default;
|
|
46
|
+
var Dashboard_1 = tslib_1.__importDefault(require("./Dashboard"));
|
|
47
|
+
exports.Dashboard = Dashboard_1.default;
|
|
48
|
+
var AggregationConfig_1 = tslib_1.__importDefault(require("./AggregationConfig"));
|
|
49
|
+
exports.AggregationConfig = AggregationConfig_1.default;
|
|
50
|
+
var Facet_1 = tslib_1.__importDefault(require("./Facet"));
|
|
51
|
+
exports.Facet = Facet_1.default;
|
|
52
|
+
var FacetValueCount_1 = tslib_1.__importDefault(require("./FacetValueCount"));
|
|
53
|
+
exports.FacetValueCount = FacetValueCount_1.default;
|
|
54
|
+
var Label_1 = tslib_1.__importDefault(require("./Label"));
|
|
55
|
+
exports.Label = Label_1.default;
|
|
56
|
+
var LogEntry_1 = tslib_1.__importDefault(require("./LogEntry"));
|
|
57
|
+
exports.LogEntry = LogEntry_1.default;
|
|
58
|
+
var NumericRange_1 = tslib_1.__importDefault(require("./NumericRange"));
|
|
59
|
+
exports.NumericRange = NumericRange_1.default;
|
|
60
|
+
var TimeseriesMetadata_1 = tslib_1.__importDefault(require("./TimeseriesMetadata"));
|
|
61
|
+
exports.TimeseriesMetadata = TimeseriesMetadata_1.default;
|
|
62
|
+
var TimeseriesPoint_1 = tslib_1.__importDefault(require("./TimeseriesPoint"));
|
|
63
|
+
exports.TimeseriesPoint = TimeseriesPoint_1.default;
|
|
64
|
+
var TimeseriesValue_1 = tslib_1.__importDefault(require("./TimeseriesValue"));
|
|
65
|
+
exports.TimeseriesValue = TimeseriesValue_1.default;
|
|
66
|
+
var Trace_1 = tslib_1.__importDefault(require("./Trace"));
|
|
67
|
+
exports.Trace = Trace_1.default;
|
|
68
|
+
var MetricModel_1 = tslib_1.__importDefault(require("./MetricModel"));
|
|
69
|
+
exports.MetricModel = MetricModel_1.default;
|
|
44
70
|
var InGameLogTag_1 = tslib_1.__importDefault(require("./InGameLogTag"));
|
|
45
71
|
exports.InGameLogTag = InGameLogTag_1.default;
|
|
46
72
|
//# sourceMappingURL=index.js.map
|
package/log/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/log/model/index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/log/model/index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AA4B/B,oBA5BG,mBAAS,CA4BH;AA3Bb,kEAAmC;AA4B/B,oBA5BG,mBAAS,CA4BH;AA3Bb,4EAA6C;AA4BzC,yBA5BG,wBAAc,CA4BH;AA3BlB,oFAAqD;AA4BjD,6BA5BG,4BAAkB,CA4BH;AA3BtB,8FAA+D;AA4B3D,kCA5BG,iCAAuB,CA4BH;AA3B3B,wFAAyD;AA4BrD,+BA5BG,8BAAoB,CA4BH;AA3BxB,kGAAmE;AA4B/D,oCA5BG,mCAAyB,CA4BH;AA3B7B,sFAAuD;AA4BnD,8BA5BG,6BAAmB,CA4BH;AA3BvB,gGAAiE;AA4B7D,mCA5BG,kCAAwB,CA4BH;AA3B5B,kEAAmC;AA4B/B,oBA5BG,mBAAS,CA4BH;AA3Bb,4FAA6D;AA4BzD,iCA5BG,gCAAsB,CA4BH;AA3B1B,8DAA+B;AA4B3B,kBA5BG,iBAAO,CA4BH;AA3BX,oEAAqC;AA4BjC,qBA5BG,oBAAU,CA4BH;AA3Bd,kEAAmC;AA4B/B,oBA5BG,mBAAS,CA4BH;AA3Bb,kFAAmD;AA4B/C,4BA5BG,2BAAiB,CA4BH;AA3BrB,0DAA2B;AA4BvB,gBA5BG,eAAK,CA4BH;AA3BT,8EAA+C;AA4B3C,0BA5BG,yBAAe,CA4BH;AA3BnB,0DAA2B;AA4BvB,gBA5BG,eAAK,CA4BH;AA3BT,gEAAiC;AA4B7B,mBA5BG,kBAAQ,CA4BH;AA3BZ,wEAAyC;AA4BrC,uBA5BG,sBAAY,CA4BH;AA3BhB,oFAAqD;AA4BjD,6BA5BG,4BAAkB,CA4BH;AA3BtB,8EAA+C;AA4B3C,0BA5BG,yBAAe,CA4BH;AA3BnB,8EAA+C;AA4B3C,0BA5BG,yBAAe,CA4BH;AA3BnB,0DAA2B;AA4BvB,gBA5BG,eAAK,CA4BH;AA3BT,sEAAuC;AA4BnC,sBA5BG,qBAAW,CA4BH;AA3Bf,wEAAyC;AA4BrC,uBA5BG,sBAAY,CA4BH"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class CreateDashboardRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private displayName;
|
|
7
|
+
private description;
|
|
8
|
+
getRequestId(): string | null;
|
|
9
|
+
setRequestId(requestId: string | null): this;
|
|
10
|
+
withRequestId(requestId: string | null): this;
|
|
11
|
+
getContextStack(): string | null;
|
|
12
|
+
setContextStack(contextStack: string | null): this;
|
|
13
|
+
withContextStack(contextStack: string | null): this;
|
|
14
|
+
getNamespaceName(): string | null;
|
|
15
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
16
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
getDisplayName(): string | null;
|
|
18
|
+
setDisplayName(displayName: string | null): this;
|
|
19
|
+
withDisplayName(displayName: string | null): this;
|
|
20
|
+
getDescription(): string | null;
|
|
21
|
+
setDescription(description: string | null): this;
|
|
22
|
+
withDescription(description: string | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): CreateDashboardRequest;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var CreateDashboardRequest = /** @class */ (function () {
|
|
19
|
+
function CreateDashboardRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.displayName = null;
|
|
24
|
+
this.description = null;
|
|
25
|
+
}
|
|
26
|
+
CreateDashboardRequest.prototype.getRequestId = function () {
|
|
27
|
+
return this.requestId;
|
|
28
|
+
};
|
|
29
|
+
CreateDashboardRequest.prototype.setRequestId = function (requestId) {
|
|
30
|
+
this.requestId = requestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
CreateDashboardRequest.prototype.withRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
CreateDashboardRequest.prototype.getContextStack = function () {
|
|
38
|
+
return this.contextStack;
|
|
39
|
+
};
|
|
40
|
+
CreateDashboardRequest.prototype.setContextStack = function (contextStack) {
|
|
41
|
+
this.contextStack = contextStack;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
CreateDashboardRequest.prototype.withContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
CreateDashboardRequest.prototype.getNamespaceName = function () {
|
|
49
|
+
return this.namespaceName;
|
|
50
|
+
};
|
|
51
|
+
CreateDashboardRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
52
|
+
this.namespaceName = namespaceName;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
CreateDashboardRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
CreateDashboardRequest.prototype.getDisplayName = function () {
|
|
60
|
+
return this.displayName;
|
|
61
|
+
};
|
|
62
|
+
CreateDashboardRequest.prototype.setDisplayName = function (displayName) {
|
|
63
|
+
this.displayName = displayName;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
CreateDashboardRequest.prototype.withDisplayName = function (displayName) {
|
|
67
|
+
this.displayName = displayName;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
CreateDashboardRequest.prototype.getDescription = function () {
|
|
71
|
+
return this.description;
|
|
72
|
+
};
|
|
73
|
+
CreateDashboardRequest.prototype.setDescription = function (description) {
|
|
74
|
+
this.description = description;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
CreateDashboardRequest.prototype.withDescription = function (description) {
|
|
78
|
+
this.description = description;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
CreateDashboardRequest.fromDict = function (data) {
|
|
82
|
+
return new CreateDashboardRequest()
|
|
83
|
+
.withNamespaceName(data["namespaceName"])
|
|
84
|
+
.withDisplayName(data["displayName"])
|
|
85
|
+
.withDescription(data["description"]);
|
|
86
|
+
};
|
|
87
|
+
CreateDashboardRequest.prototype.toDict = function () {
|
|
88
|
+
return {
|
|
89
|
+
"namespaceName": this.getNamespaceName(),
|
|
90
|
+
"displayName": this.getDisplayName(),
|
|
91
|
+
"description": this.getDescription(),
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
return CreateDashboardRequest;
|
|
95
|
+
}());
|
|
96
|
+
exports.default = CreateDashboardRequest;
|
|
97
|
+
//# sourceMappingURL=CreateDashboardRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDashboardRequest.js","sourceRoot":"","sources":["../../../src/log/request/CreateDashboardRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,gBAAW,GAAgB,IAAI,CAAC;IA6E5C,CAAC;IA3EU,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,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Ae,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,uCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AAnFD,IAmFC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class CreateFacetModelRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private field;
|
|
7
|
+
private type;
|
|
8
|
+
private displayName;
|
|
9
|
+
private order;
|
|
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
|
+
getField(): string | null;
|
|
20
|
+
setField(field: string | null): this;
|
|
21
|
+
withField(field: string | null): this;
|
|
22
|
+
getType(): string | null;
|
|
23
|
+
setType(type: string | null): this;
|
|
24
|
+
withType(type: string | null): this;
|
|
25
|
+
getDisplayName(): string | null;
|
|
26
|
+
setDisplayName(displayName: string | null): this;
|
|
27
|
+
withDisplayName(displayName: string | null): this;
|
|
28
|
+
getOrder(): number | null;
|
|
29
|
+
setOrder(order: number | null): this;
|
|
30
|
+
withOrder(order: number | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): CreateFacetModelRequest;
|
|
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 CreateFacetModelRequest = /** @class */ (function () {
|
|
19
|
+
function CreateFacetModelRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.field = null;
|
|
24
|
+
this.type = null;
|
|
25
|
+
this.displayName = null;
|
|
26
|
+
this.order = null;
|
|
27
|
+
}
|
|
28
|
+
CreateFacetModelRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
CreateFacetModelRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
CreateFacetModelRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
CreateFacetModelRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
CreateFacetModelRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
CreateFacetModelRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
CreateFacetModelRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
CreateFacetModelRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
CreateFacetModelRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
CreateFacetModelRequest.prototype.getField = function () {
|
|
62
|
+
return this.field;
|
|
63
|
+
};
|
|
64
|
+
CreateFacetModelRequest.prototype.setField = function (field) {
|
|
65
|
+
this.field = field;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
CreateFacetModelRequest.prototype.withField = function (field) {
|
|
69
|
+
this.field = field;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
CreateFacetModelRequest.prototype.getType = function () {
|
|
73
|
+
return this.type;
|
|
74
|
+
};
|
|
75
|
+
CreateFacetModelRequest.prototype.setType = function (type) {
|
|
76
|
+
this.type = type;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
CreateFacetModelRequest.prototype.withType = function (type) {
|
|
80
|
+
this.type = type;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
CreateFacetModelRequest.prototype.getDisplayName = function () {
|
|
84
|
+
return this.displayName;
|
|
85
|
+
};
|
|
86
|
+
CreateFacetModelRequest.prototype.setDisplayName = function (displayName) {
|
|
87
|
+
this.displayName = displayName;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
CreateFacetModelRequest.prototype.withDisplayName = function (displayName) {
|
|
91
|
+
this.displayName = displayName;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
CreateFacetModelRequest.prototype.getOrder = function () {
|
|
95
|
+
return this.order;
|
|
96
|
+
};
|
|
97
|
+
CreateFacetModelRequest.prototype.setOrder = function (order) {
|
|
98
|
+
this.order = order;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
CreateFacetModelRequest.prototype.withOrder = function (order) {
|
|
102
|
+
this.order = order;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
CreateFacetModelRequest.fromDict = function (data) {
|
|
106
|
+
return new CreateFacetModelRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withField(data["field"])
|
|
109
|
+
.withType(data["type"])
|
|
110
|
+
.withDisplayName(data["displayName"])
|
|
111
|
+
.withOrder(data["order"]);
|
|
112
|
+
};
|
|
113
|
+
CreateFacetModelRequest.prototype.toDict = function () {
|
|
114
|
+
return {
|
|
115
|
+
"namespaceName": this.getNamespaceName(),
|
|
116
|
+
"field": this.getField(),
|
|
117
|
+
"type": this.getType(),
|
|
118
|
+
"displayName": this.getDisplayName(),
|
|
119
|
+
"order": this.getOrder(),
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
return CreateFacetModelRequest;
|
|
123
|
+
}());
|
|
124
|
+
exports.default = CreateFacetModelRequest;
|
|
125
|
+
//# sourceMappingURL=CreateFacetModelRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateFacetModelRequest.js","sourceRoot":"","sources":["../../../src/log/request/CreateFacetModelRequest.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,SAAI,GAAgB,IAAI,CAAC;QAC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