sandbox0 0.7.7 → 0.7.8
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/README.md +28 -0
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +25 -14
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ObservabilityApi.js +52 -23
- package/dist/apispec/src/apis/index.d.ts +0 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +0 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +0 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +1 -2
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +0 -7
- package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.d.ts +60 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.js +62 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.d.ts +46 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.js +48 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.d.ts +27 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.js +44 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGap.d.ts +61 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGap.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGap.js +59 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.d.ts +29 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.js +46 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricKind.d.ts +26 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricKind.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricKind.js +43 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricName.d.ts +38 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricName.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricName.js +55 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricPoint.d.ts +39 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricPoint.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricPoint.js +47 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSegment.d.ts +34 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSegment.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSegment.js +44 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSeries.d.ts +70 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSeries.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSeries.js +66 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.d.ts +30 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.js +47 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricUnit.d.ts +31 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricUnit.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricUnit.js +48 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.d.ts +34 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.js +44 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.d.ts +72 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.js +70 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.js +46 -0
- package/dist/apispec/src/models/index.d.ts +16 -3
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +16 -3
- package/dist/client.d.ts +3 -6
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -26
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/models.d.ts +16 -11
- package/dist/models.d.ts.map +1 -1
- package/dist/sandbox_observability.d.ts +3 -5
- package/dist/sandbox_observability.d.ts.map +1 -1
- package/dist/sandbox_observability.js +4 -10
- package/package.json +1 -1
- package/dist/apispec/src/apis/AuditApi.d.ts +0 -40
- package/dist/apispec/src/apis/AuditApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/AuditApi.js +0 -79
- package/dist/apispec/src/models/ContextStatsResponse.d.ts +0 -64
- package/dist/apispec/src/models/ContextStatsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/ContextStatsResponse.js +0 -52
- package/dist/apispec/src/models/LifecyclePolicy.d.ts +0 -52
- package/dist/apispec/src/models/LifecyclePolicy.d.ts.map +0 -1
- package/dist/apispec/src/models/LifecyclePolicy.js +0 -48
- package/dist/apispec/src/models/PreStopHook.d.ts +0 -39
- package/dist/apispec/src/models/PreStopHook.d.ts.map +0 -1
- package/dist/apispec/src/models/PreStopHook.js +0 -43
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts +0 -33
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/PutTeamQuotaRequest.js +0 -43
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +0 -101
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +0 -81
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +0 -46
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +0 -48
- package/dist/apispec/src/models/SandboxProbeSet.d.ts +0 -46
- package/dist/apispec/src/models/SandboxProbeSet.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxProbeSet.js +0 -46
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts +0 -66
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxProbeSpec.js +0 -54
- package/dist/apispec/src/models/SuccessContextStatsResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessContextStatsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessContextStatsResponse.js +0 -46
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +0 -46
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricFreshnessStatus = {
|
|
19
|
+
Fresh: 'fresh',
|
|
20
|
+
Stale: 'stale',
|
|
21
|
+
Missing: 'missing'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfSandboxRuntimeMetricFreshnessStatus(value) {
|
|
24
|
+
for (const key in SandboxRuntimeMetricFreshnessStatus) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricFreshnessStatus, key)) {
|
|
26
|
+
if (SandboxRuntimeMetricFreshnessStatus[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function SandboxRuntimeMetricFreshnessStatusFromJSON(json) {
|
|
34
|
+
return SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function SandboxRuntimeMetricFreshnessStatusToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function SandboxRuntimeMetricFreshnessStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRuntimeMetricName } from './SandboxRuntimeMetricName.js';
|
|
13
|
+
import type { SandboxRuntimeMetricGapReason } from './SandboxRuntimeMetricGapReason.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SandboxRuntimeMetricGap
|
|
18
|
+
*/
|
|
19
|
+
export interface SandboxRuntimeMetricGap {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SandboxRuntimeMetricName}
|
|
23
|
+
* @memberof SandboxRuntimeMetricGap
|
|
24
|
+
*/
|
|
25
|
+
metric: SandboxRuntimeMetricName;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: string; }}
|
|
29
|
+
* @memberof SandboxRuntimeMetricGap
|
|
30
|
+
*/
|
|
31
|
+
dimensions?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof SandboxRuntimeMetricGap
|
|
38
|
+
*/
|
|
39
|
+
startTime: Date;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof SandboxRuntimeMetricGap
|
|
44
|
+
*/
|
|
45
|
+
endTime: Date;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {SandboxRuntimeMetricGapReason}
|
|
49
|
+
* @memberof SandboxRuntimeMetricGap
|
|
50
|
+
*/
|
|
51
|
+
reason: SandboxRuntimeMetricGapReason;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the SandboxRuntimeMetricGap interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfSandboxRuntimeMetricGap(value: object): value is SandboxRuntimeMetricGap;
|
|
57
|
+
export declare function SandboxRuntimeMetricGapFromJSON(json: any): SandboxRuntimeMetricGap;
|
|
58
|
+
export declare function SandboxRuntimeMetricGapFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGap;
|
|
59
|
+
export declare function SandboxRuntimeMetricGapToJSON(json: any): SandboxRuntimeMetricGap;
|
|
60
|
+
export declare function SandboxRuntimeMetricGapToJSONTyped(value?: SandboxRuntimeMetricGap | null, ignoreDiscriminator?: boolean): any;
|
|
61
|
+
//# sourceMappingURL=SandboxRuntimeMetricGap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricGap.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricGap.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,6BAA6B,CAAC;CACzC;AAID;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAMjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAYrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapI"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxRuntimeMetricNameFromJSON, SandboxRuntimeMetricNameToJSON, } from './SandboxRuntimeMetricName.js';
|
|
15
|
+
import { SandboxRuntimeMetricGapReasonFromJSON, SandboxRuntimeMetricGapReasonToJSON, } from './SandboxRuntimeMetricGapReason.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the SandboxRuntimeMetricGap interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfSandboxRuntimeMetricGap(value) {
|
|
20
|
+
if (!('metric' in value) || value['metric'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('startTime' in value) || value['startTime'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('endTime' in value) || value['endTime'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function SandboxRuntimeMetricGapFromJSON(json) {
|
|
31
|
+
return SandboxRuntimeMetricGapFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SandboxRuntimeMetricGapFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'metric': SandboxRuntimeMetricNameFromJSON(json['metric']),
|
|
39
|
+
'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
|
|
40
|
+
'startTime': (new Date(json['start_time'])),
|
|
41
|
+
'endTime': (new Date(json['end_time'])),
|
|
42
|
+
'reason': SandboxRuntimeMetricGapReasonFromJSON(json['reason']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SandboxRuntimeMetricGapToJSON(json) {
|
|
46
|
+
return SandboxRuntimeMetricGapToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SandboxRuntimeMetricGapToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'metric': SandboxRuntimeMetricNameToJSON(value['metric']),
|
|
54
|
+
'dimensions': value['dimensions'],
|
|
55
|
+
'start_time': value['startTime'].toISOString(),
|
|
56
|
+
'end_time': value['endTime'].toISOString(),
|
|
57
|
+
'reason': SandboxRuntimeMetricGapReasonToJSON(value['reason']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricGapReason: {
|
|
17
|
+
readonly Unavailable: "unavailable";
|
|
18
|
+
readonly Unsupported: "unsupported";
|
|
19
|
+
readonly CollectionError: "collection_error";
|
|
20
|
+
readonly NoData: "no_data";
|
|
21
|
+
readonly SeriesReset: "series_reset";
|
|
22
|
+
};
|
|
23
|
+
export type SandboxRuntimeMetricGapReason = typeof SandboxRuntimeMetricGapReason[keyof typeof SandboxRuntimeMetricGapReason];
|
|
24
|
+
export declare function instanceOfSandboxRuntimeMetricGapReason(value: any): boolean;
|
|
25
|
+
export declare function SandboxRuntimeMetricGapReasonFromJSON(json: any): SandboxRuntimeMetricGapReason;
|
|
26
|
+
export declare function SandboxRuntimeMetricGapReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGapReason;
|
|
27
|
+
export declare function SandboxRuntimeMetricGapReasonToJSON(value?: SandboxRuntimeMetricGapReason | null): any;
|
|
28
|
+
export declare function SandboxRuntimeMetricGapReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGapReason;
|
|
29
|
+
//# sourceMappingURL=SandboxRuntimeMetricGapReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricGapReason.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricGapReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;CAMhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricGapReason = {
|
|
19
|
+
Unavailable: 'unavailable',
|
|
20
|
+
Unsupported: 'unsupported',
|
|
21
|
+
CollectionError: 'collection_error',
|
|
22
|
+
NoData: 'no_data',
|
|
23
|
+
SeriesReset: 'series_reset'
|
|
24
|
+
};
|
|
25
|
+
export function instanceOfSandboxRuntimeMetricGapReason(value) {
|
|
26
|
+
for (const key in SandboxRuntimeMetricGapReason) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricGapReason, key)) {
|
|
28
|
+
if (SandboxRuntimeMetricGapReason[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
export function SandboxRuntimeMetricGapReasonFromJSON(json) {
|
|
36
|
+
return SandboxRuntimeMetricGapReasonFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SandboxRuntimeMetricGapReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
export function SandboxRuntimeMetricGapReasonToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
export function SandboxRuntimeMetricGapReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricKind: {
|
|
17
|
+
readonly Gauge: "gauge";
|
|
18
|
+
readonly Counter: "counter";
|
|
19
|
+
};
|
|
20
|
+
export type SandboxRuntimeMetricKind = typeof SandboxRuntimeMetricKind[keyof typeof SandboxRuntimeMetricKind];
|
|
21
|
+
export declare function instanceOfSandboxRuntimeMetricKind(value: any): boolean;
|
|
22
|
+
export declare function SandboxRuntimeMetricKindFromJSON(json: any): SandboxRuntimeMetricKind;
|
|
23
|
+
export declare function SandboxRuntimeMetricKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricKind;
|
|
24
|
+
export declare function SandboxRuntimeMetricKindToJSON(value?: SandboxRuntimeMetricKind | null): any;
|
|
25
|
+
export declare function SandboxRuntimeMetricKindToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricKind;
|
|
26
|
+
//# sourceMappingURL=SandboxRuntimeMetricKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricKind.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricKind.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricKind = {
|
|
19
|
+
Gauge: 'gauge',
|
|
20
|
+
Counter: 'counter'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfSandboxRuntimeMetricKind(value) {
|
|
23
|
+
for (const key in SandboxRuntimeMetricKind) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricKind, key)) {
|
|
25
|
+
if (SandboxRuntimeMetricKind[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function SandboxRuntimeMetricKindFromJSON(json) {
|
|
33
|
+
return SandboxRuntimeMetricKindFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SandboxRuntimeMetricKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function SandboxRuntimeMetricKindToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function SandboxRuntimeMetricKindToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricName: {
|
|
17
|
+
readonly SandboxCpuUtilization: "sandbox.cpu.utilization";
|
|
18
|
+
readonly SandboxCpuUsage: "sandbox.cpu.usage";
|
|
19
|
+
readonly SandboxCpuTime: "sandbox.cpu.time";
|
|
20
|
+
readonly SandboxCpuLimit: "sandbox.cpu.limit";
|
|
21
|
+
readonly SandboxMemoryUsage: "sandbox.memory.usage";
|
|
22
|
+
readonly SandboxMemoryWorkingSet: "sandbox.memory.working_set";
|
|
23
|
+
readonly SandboxMemoryAvailable: "sandbox.memory.available";
|
|
24
|
+
readonly SandboxMemoryLimit: "sandbox.memory.limit";
|
|
25
|
+
readonly SandboxMemoryUtilization: "sandbox.memory.utilization";
|
|
26
|
+
readonly SandboxNetworkIo: "sandbox.network.io";
|
|
27
|
+
readonly SandboxNetworkErrors: "sandbox.network.errors";
|
|
28
|
+
readonly SandboxProcessCount: "sandbox.process.count";
|
|
29
|
+
readonly SandboxRootfsWritableUsage: "sandbox.rootfs.writable.usage";
|
|
30
|
+
readonly SandboxRootfsWritableInodes: "sandbox.rootfs.writable.inodes";
|
|
31
|
+
};
|
|
32
|
+
export type SandboxRuntimeMetricName = typeof SandboxRuntimeMetricName[keyof typeof SandboxRuntimeMetricName];
|
|
33
|
+
export declare function instanceOfSandboxRuntimeMetricName(value: any): boolean;
|
|
34
|
+
export declare function SandboxRuntimeMetricNameFromJSON(json: any): SandboxRuntimeMetricName;
|
|
35
|
+
export declare function SandboxRuntimeMetricNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricName;
|
|
36
|
+
export declare function SandboxRuntimeMetricNameToJSON(value?: SandboxRuntimeMetricName | null): any;
|
|
37
|
+
export declare function SandboxRuntimeMetricNameToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricName;
|
|
38
|
+
//# sourceMappingURL=SandboxRuntimeMetricName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricName.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricName.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;CAe3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricName = {
|
|
19
|
+
SandboxCpuUtilization: 'sandbox.cpu.utilization',
|
|
20
|
+
SandboxCpuUsage: 'sandbox.cpu.usage',
|
|
21
|
+
SandboxCpuTime: 'sandbox.cpu.time',
|
|
22
|
+
SandboxCpuLimit: 'sandbox.cpu.limit',
|
|
23
|
+
SandboxMemoryUsage: 'sandbox.memory.usage',
|
|
24
|
+
SandboxMemoryWorkingSet: 'sandbox.memory.working_set',
|
|
25
|
+
SandboxMemoryAvailable: 'sandbox.memory.available',
|
|
26
|
+
SandboxMemoryLimit: 'sandbox.memory.limit',
|
|
27
|
+
SandboxMemoryUtilization: 'sandbox.memory.utilization',
|
|
28
|
+
SandboxNetworkIo: 'sandbox.network.io',
|
|
29
|
+
SandboxNetworkErrors: 'sandbox.network.errors',
|
|
30
|
+
SandboxProcessCount: 'sandbox.process.count',
|
|
31
|
+
SandboxRootfsWritableUsage: 'sandbox.rootfs.writable.usage',
|
|
32
|
+
SandboxRootfsWritableInodes: 'sandbox.rootfs.writable.inodes'
|
|
33
|
+
};
|
|
34
|
+
export function instanceOfSandboxRuntimeMetricName(value) {
|
|
35
|
+
for (const key in SandboxRuntimeMetricName) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricName, key)) {
|
|
37
|
+
if (SandboxRuntimeMetricName[key] === value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
export function SandboxRuntimeMetricNameFromJSON(json) {
|
|
45
|
+
return SandboxRuntimeMetricNameFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function SandboxRuntimeMetricNameFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
export function SandboxRuntimeMetricNameToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
export function SandboxRuntimeMetricNameToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SandboxRuntimeMetricPoint
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxRuntimeMetricPoint {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof SandboxRuntimeMetricPoint
|
|
22
|
+
*/
|
|
23
|
+
time: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SandboxRuntimeMetricPoint
|
|
28
|
+
*/
|
|
29
|
+
value: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SandboxRuntimeMetricPoint interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSandboxRuntimeMetricPoint(value: object): value is SandboxRuntimeMetricPoint;
|
|
35
|
+
export declare function SandboxRuntimeMetricPointFromJSON(json: any): SandboxRuntimeMetricPoint;
|
|
36
|
+
export declare function SandboxRuntimeMetricPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricPoint;
|
|
37
|
+
export declare function SandboxRuntimeMetricPointToJSON(json: any): SandboxRuntimeMetricPoint;
|
|
38
|
+
export declare function SandboxRuntimeMetricPointToJSONTyped(value?: SandboxRuntimeMetricPoint | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=SandboxRuntimeMetricPoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricPoint.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricPoint.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SandboxRuntimeMetricPoint interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxRuntimeMetricPoint(value) {
|
|
18
|
+
if (!('time' in value) || value['time'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function SandboxRuntimeMetricPointFromJSON(json) {
|
|
25
|
+
return SandboxRuntimeMetricPointFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function SandboxRuntimeMetricPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'time': (new Date(json['time'])),
|
|
33
|
+
'value': json['value'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRuntimeMetricPointToJSON(json) {
|
|
37
|
+
return SandboxRuntimeMetricPointToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxRuntimeMetricPointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'time': value['time'].toISOString(),
|
|
45
|
+
'value': value['value'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRuntimeMetricPoint } from './SandboxRuntimeMetricPoint.js';
|
|
13
|
+
/**
|
|
14
|
+
* A continuous series segment. Runtime restarts and collector counter resets start a new segment without exposing internal topology identifiers.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxRuntimeMetricSegment
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxRuntimeMetricSegment {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxRuntimeMetricPoint>}
|
|
22
|
+
* @memberof SandboxRuntimeMetricSegment
|
|
23
|
+
*/
|
|
24
|
+
points: Array<SandboxRuntimeMetricPoint>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SandboxRuntimeMetricSegment interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSandboxRuntimeMetricSegment(value: object): value is SandboxRuntimeMetricSegment;
|
|
30
|
+
export declare function SandboxRuntimeMetricSegmentFromJSON(json: any): SandboxRuntimeMetricSegment;
|
|
31
|
+
export declare function SandboxRuntimeMetricSegmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricSegment;
|
|
32
|
+
export declare function SandboxRuntimeMetricSegmentToJSON(json: any): SandboxRuntimeMetricSegment;
|
|
33
|
+
export declare function SandboxRuntimeMetricSegmentToJSONTyped(value?: SandboxRuntimeMetricSegment | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SandboxRuntimeMetricSegment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricSegment.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricSegment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CAC5C;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAGzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAQ7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS5I"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxRuntimeMetricPointFromJSON, SandboxRuntimeMetricPointToJSON, } from './SandboxRuntimeMetricPoint.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxRuntimeMetricSegment interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxRuntimeMetricSegment(value) {
|
|
19
|
+
if (!('points' in value) || value['points'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxRuntimeMetricSegmentFromJSON(json) {
|
|
24
|
+
return SandboxRuntimeMetricSegmentFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxRuntimeMetricSegmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'points': (json['points'].map(SandboxRuntimeMetricPointFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SandboxRuntimeMetricSegmentToJSON(json) {
|
|
35
|
+
return SandboxRuntimeMetricSegmentToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SandboxRuntimeMetricSegmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'points': (value['points'].map(SandboxRuntimeMetricPointToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|