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,70 @@
|
|
|
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 { SandboxRuntimeMetricUnit } from './SandboxRuntimeMetricUnit.js';
|
|
14
|
+
import type { SandboxRuntimeMetricStatistic } from './SandboxRuntimeMetricStatistic.js';
|
|
15
|
+
import type { SandboxRuntimeMetricKind } from './SandboxRuntimeMetricKind.js';
|
|
16
|
+
import type { SandboxRuntimeMetricSegment } from './SandboxRuntimeMetricSegment.js';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SandboxRuntimeMetricSeries
|
|
21
|
+
*/
|
|
22
|
+
export interface SandboxRuntimeMetricSeries {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {SandboxRuntimeMetricName}
|
|
26
|
+
* @memberof SandboxRuntimeMetricSeries
|
|
27
|
+
*/
|
|
28
|
+
metric: SandboxRuntimeMetricName;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {SandboxRuntimeMetricKind}
|
|
32
|
+
* @memberof SandboxRuntimeMetricSeries
|
|
33
|
+
*/
|
|
34
|
+
kind: SandboxRuntimeMetricKind;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {SandboxRuntimeMetricUnit}
|
|
38
|
+
* @memberof SandboxRuntimeMetricSeries
|
|
39
|
+
*/
|
|
40
|
+
unit: SandboxRuntimeMetricUnit;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {SandboxRuntimeMetricStatistic}
|
|
44
|
+
* @memberof SandboxRuntimeMetricSeries
|
|
45
|
+
*/
|
|
46
|
+
statistic: SandboxRuntimeMetricStatistic;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {{ [key: string]: string; }}
|
|
50
|
+
* @memberof SandboxRuntimeMetricSeries
|
|
51
|
+
*/
|
|
52
|
+
dimensions?: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<SandboxRuntimeMetricSegment>}
|
|
58
|
+
* @memberof SandboxRuntimeMetricSeries
|
|
59
|
+
*/
|
|
60
|
+
segments: Array<SandboxRuntimeMetricSegment>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the SandboxRuntimeMetricSeries interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfSandboxRuntimeMetricSeries(value: object): value is SandboxRuntimeMetricSeries;
|
|
66
|
+
export declare function SandboxRuntimeMetricSeriesFromJSON(json: any): SandboxRuntimeMetricSeries;
|
|
67
|
+
export declare function SandboxRuntimeMetricSeriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricSeries;
|
|
68
|
+
export declare function SandboxRuntimeMetricSeriesToJSON(json: any): SandboxRuntimeMetricSeries;
|
|
69
|
+
export declare function SandboxRuntimeMetricSeriesToJSONTyped(value?: SandboxRuntimeMetricSeries | null, ignoreDiscriminator?: boolean): any;
|
|
70
|
+
//# sourceMappingURL=SandboxRuntimeMetricSeries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricSeries.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricSeries.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,SAAS,EAAE,6BAA6B,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CAChD;AAID;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAOvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAa3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc1I"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { SandboxRuntimeMetricUnitFromJSON, SandboxRuntimeMetricUnitToJSON, } from './SandboxRuntimeMetricUnit.js';
|
|
16
|
+
import { SandboxRuntimeMetricStatisticFromJSON, SandboxRuntimeMetricStatisticToJSON, } from './SandboxRuntimeMetricStatistic.js';
|
|
17
|
+
import { SandboxRuntimeMetricKindFromJSON, SandboxRuntimeMetricKindToJSON, } from './SandboxRuntimeMetricKind.js';
|
|
18
|
+
import { SandboxRuntimeMetricSegmentFromJSON, SandboxRuntimeMetricSegmentToJSON, } from './SandboxRuntimeMetricSegment.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the SandboxRuntimeMetricSeries interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfSandboxRuntimeMetricSeries(value) {
|
|
23
|
+
if (!('metric' in value) || value['metric'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('statistic' in value) || value['statistic'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('segments' in value) || value['segments'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function SandboxRuntimeMetricSeriesFromJSON(json) {
|
|
36
|
+
return SandboxRuntimeMetricSeriesFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SandboxRuntimeMetricSeriesFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'metric': SandboxRuntimeMetricNameFromJSON(json['metric']),
|
|
44
|
+
'kind': SandboxRuntimeMetricKindFromJSON(json['kind']),
|
|
45
|
+
'unit': SandboxRuntimeMetricUnitFromJSON(json['unit']),
|
|
46
|
+
'statistic': SandboxRuntimeMetricStatisticFromJSON(json['statistic']),
|
|
47
|
+
'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
|
|
48
|
+
'segments': (json['segments'].map(SandboxRuntimeMetricSegmentFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function SandboxRuntimeMetricSeriesToJSON(json) {
|
|
52
|
+
return SandboxRuntimeMetricSeriesToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function SandboxRuntimeMetricSeriesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'metric': SandboxRuntimeMetricNameToJSON(value['metric']),
|
|
60
|
+
'kind': SandboxRuntimeMetricKindToJSON(value['kind']),
|
|
61
|
+
'unit': SandboxRuntimeMetricUnitToJSON(value['unit']),
|
|
62
|
+
'statistic': SandboxRuntimeMetricStatisticToJSON(value['statistic']),
|
|
63
|
+
'dimensions': value['dimensions'],
|
|
64
|
+
'segments': (value['segments'].map(SandboxRuntimeMetricSegmentToJSON)),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 SandboxRuntimeMetricStatistic: {
|
|
17
|
+
readonly Auto: "auto";
|
|
18
|
+
readonly Average: "average";
|
|
19
|
+
readonly Minimum: "minimum";
|
|
20
|
+
readonly Maximum: "maximum";
|
|
21
|
+
readonly Last: "last";
|
|
22
|
+
readonly Rate: "rate";
|
|
23
|
+
};
|
|
24
|
+
export type SandboxRuntimeMetricStatistic = typeof SandboxRuntimeMetricStatistic[keyof typeof SandboxRuntimeMetricStatistic];
|
|
25
|
+
export declare function instanceOfSandboxRuntimeMetricStatistic(value: any): boolean;
|
|
26
|
+
export declare function SandboxRuntimeMetricStatisticFromJSON(json: any): SandboxRuntimeMetricStatistic;
|
|
27
|
+
export declare function SandboxRuntimeMetricStatisticFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricStatistic;
|
|
28
|
+
export declare function SandboxRuntimeMetricStatisticToJSON(value?: SandboxRuntimeMetricStatistic | null): any;
|
|
29
|
+
export declare function SandboxRuntimeMetricStatisticToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricStatistic;
|
|
30
|
+
//# sourceMappingURL=SandboxRuntimeMetricStatistic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricStatistic.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricStatistic.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;;CAOhC,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,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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricStatistic = {
|
|
19
|
+
Auto: 'auto',
|
|
20
|
+
Average: 'average',
|
|
21
|
+
Minimum: 'minimum',
|
|
22
|
+
Maximum: 'maximum',
|
|
23
|
+
Last: 'last',
|
|
24
|
+
Rate: 'rate'
|
|
25
|
+
};
|
|
26
|
+
export function instanceOfSandboxRuntimeMetricStatistic(value) {
|
|
27
|
+
for (const key in SandboxRuntimeMetricStatistic) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricStatistic, key)) {
|
|
29
|
+
if (SandboxRuntimeMetricStatistic[key] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRuntimeMetricStatisticFromJSON(json) {
|
|
37
|
+
return SandboxRuntimeMetricStatisticFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxRuntimeMetricStatisticFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
export function SandboxRuntimeMetricStatisticToJSON(value) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
export function SandboxRuntimeMetricStatisticToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 SandboxRuntimeMetricUnit: {
|
|
17
|
+
readonly Ratio: "ratio";
|
|
18
|
+
readonly Cores: "cores";
|
|
19
|
+
readonly Seconds: "seconds";
|
|
20
|
+
readonly Bytes: "bytes";
|
|
21
|
+
readonly Count: "count";
|
|
22
|
+
readonly BytesPerSecond: "bytes_per_second";
|
|
23
|
+
readonly CountPerSecond: "count_per_second";
|
|
24
|
+
};
|
|
25
|
+
export type SandboxRuntimeMetricUnit = typeof SandboxRuntimeMetricUnit[keyof typeof SandboxRuntimeMetricUnit];
|
|
26
|
+
export declare function instanceOfSandboxRuntimeMetricUnit(value: any): boolean;
|
|
27
|
+
export declare function SandboxRuntimeMetricUnitFromJSON(json: any): SandboxRuntimeMetricUnit;
|
|
28
|
+
export declare function SandboxRuntimeMetricUnitFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricUnit;
|
|
29
|
+
export declare function SandboxRuntimeMetricUnitToJSON(value?: SandboxRuntimeMetricUnit | null): any;
|
|
30
|
+
export declare function SandboxRuntimeMetricUnitToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricUnit;
|
|
31
|
+
//# sourceMappingURL=SandboxRuntimeMetricUnit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricUnit.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricUnit.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;CAQ3B,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,48 @@
|
|
|
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 SandboxRuntimeMetricUnit = {
|
|
19
|
+
Ratio: 'ratio',
|
|
20
|
+
Cores: 'cores',
|
|
21
|
+
Seconds: 'seconds',
|
|
22
|
+
Bytes: 'bytes',
|
|
23
|
+
Count: 'count',
|
|
24
|
+
BytesPerSecond: 'bytes_per_second',
|
|
25
|
+
CountPerSecond: 'count_per_second'
|
|
26
|
+
};
|
|
27
|
+
export function instanceOfSandboxRuntimeMetricUnit(value) {
|
|
28
|
+
for (const key in SandboxRuntimeMetricUnit) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricUnit, key)) {
|
|
30
|
+
if (SandboxRuntimeMetricUnit[key] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
export function SandboxRuntimeMetricUnitFromJSON(json) {
|
|
38
|
+
return SandboxRuntimeMetricUnitFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxRuntimeMetricUnitFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
export function SandboxRuntimeMetricUnitToJSON(value) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
export function SandboxRuntimeMetricUnitToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
@@ -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 { SandboxRuntimeMetricDescriptor } from './SandboxRuntimeMetricDescriptor.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxRuntimeMetricsCatalogResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxRuntimeMetricsCatalogResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxRuntimeMetricDescriptor>}
|
|
22
|
+
* @memberof SandboxRuntimeMetricsCatalogResponse
|
|
23
|
+
*/
|
|
24
|
+
metrics: Array<SandboxRuntimeMetricDescriptor>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SandboxRuntimeMetricsCatalogResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSandboxRuntimeMetricsCatalogResponse(value: object): value is SandboxRuntimeMetricsCatalogResponse;
|
|
30
|
+
export declare function SandboxRuntimeMetricsCatalogResponseFromJSON(json: any): SandboxRuntimeMetricsCatalogResponse;
|
|
31
|
+
export declare function SandboxRuntimeMetricsCatalogResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricsCatalogResponse;
|
|
32
|
+
export declare function SandboxRuntimeMetricsCatalogResponseToJSON(json: any): SandboxRuntimeMetricsCatalogResponse;
|
|
33
|
+
export declare function SandboxRuntimeMetricsCatalogResponseToJSONTyped(value?: SandboxRuntimeMetricsCatalogResponse | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SandboxRuntimeMetricsCatalogResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricsCatalogResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAQvF;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACjD;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CAClD;AAED;;GAEG;AACH,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oCAAoC,CAG3H;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE5G;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oCAAoC,CAQ/I;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE1G;AAED,wBAAgB,+CAA+C,CAAC,KAAK,CAAC,EAAE,oCAAoC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS9J"}
|
|
@@ -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 { SandboxRuntimeMetricDescriptorFromJSON, SandboxRuntimeMetricDescriptorToJSON, } from './SandboxRuntimeMetricDescriptor.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxRuntimeMetricsCatalogResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxRuntimeMetricsCatalogResponse(value) {
|
|
19
|
+
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxRuntimeMetricsCatalogResponseFromJSON(json) {
|
|
24
|
+
return SandboxRuntimeMetricsCatalogResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxRuntimeMetricsCatalogResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'metrics': (json['metrics'].map(SandboxRuntimeMetricDescriptorFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SandboxRuntimeMetricsCatalogResponseToJSON(json) {
|
|
35
|
+
return SandboxRuntimeMetricsCatalogResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SandboxRuntimeMetricsCatalogResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'metrics': (value['metrics'].map(SandboxRuntimeMetricDescriptorToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { SandboxRuntimeMetricSeries } from './SandboxRuntimeMetricSeries.js';
|
|
13
|
+
import type { SandboxRuntimeMetricGap } from './SandboxRuntimeMetricGap.js';
|
|
14
|
+
import type { SandboxRuntimeMetricFreshness } from './SandboxRuntimeMetricFreshness.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SandboxRuntimeMetricsResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface SandboxRuntimeMetricsResponse {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Date}
|
|
24
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
25
|
+
*/
|
|
26
|
+
startTime: Date;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Date}
|
|
30
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
31
|
+
*/
|
|
32
|
+
endTime: Date;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
37
|
+
*/
|
|
38
|
+
stepSeconds: number;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<SandboxRuntimeMetricSeries>}
|
|
42
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
43
|
+
*/
|
|
44
|
+
series: Array<SandboxRuntimeMetricSeries>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SandboxRuntimeMetricFreshness}
|
|
48
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
49
|
+
*/
|
|
50
|
+
freshness: SandboxRuntimeMetricFreshness;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<SandboxRuntimeMetricGap>}
|
|
54
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
55
|
+
*/
|
|
56
|
+
gaps: Array<SandboxRuntimeMetricGap>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof SandboxRuntimeMetricsResponse
|
|
61
|
+
*/
|
|
62
|
+
partial: boolean;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the SandboxRuntimeMetricsResponse interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfSandboxRuntimeMetricsResponse(value: object): value is SandboxRuntimeMetricsResponse;
|
|
68
|
+
export declare function SandboxRuntimeMetricsResponseFromJSON(json: any): SandboxRuntimeMetricsResponse;
|
|
69
|
+
export declare function SandboxRuntimeMetricsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricsResponse;
|
|
70
|
+
export declare function SandboxRuntimeMetricsResponseToJSON(json: any): SandboxRuntimeMetricsResponse;
|
|
71
|
+
export declare function SandboxRuntimeMetricsResponseToJSONTyped(value?: SandboxRuntimeMetricsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
72
|
+
//# sourceMappingURL=SandboxRuntimeMetricsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAO/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,SAAS,EAAE,6BAA6B,CAAC;IACzC;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAS7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAcjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehJ"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { SandboxRuntimeMetricSeriesFromJSON, SandboxRuntimeMetricSeriesToJSON, } from './SandboxRuntimeMetricSeries.js';
|
|
15
|
+
import { SandboxRuntimeMetricGapFromJSON, SandboxRuntimeMetricGapToJSON, } from './SandboxRuntimeMetricGap.js';
|
|
16
|
+
import { SandboxRuntimeMetricFreshnessFromJSON, SandboxRuntimeMetricFreshnessToJSON, } from './SandboxRuntimeMetricFreshness.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SandboxRuntimeMetricsResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSandboxRuntimeMetricsResponse(value) {
|
|
21
|
+
if (!('startTime' in value) || value['startTime'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('endTime' in value) || value['endTime'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('stepSeconds' in value) || value['stepSeconds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('series' in value) || value['series'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('freshness' in value) || value['freshness'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('gaps' in value) || value['gaps'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('partial' in value) || value['partial'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function SandboxRuntimeMetricsResponseFromJSON(json) {
|
|
38
|
+
return SandboxRuntimeMetricsResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxRuntimeMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'startTime': (new Date(json['start_time'])),
|
|
46
|
+
'endTime': (new Date(json['end_time'])),
|
|
47
|
+
'stepSeconds': json['step_seconds'],
|
|
48
|
+
'series': (json['series'].map(SandboxRuntimeMetricSeriesFromJSON)),
|
|
49
|
+
'freshness': SandboxRuntimeMetricFreshnessFromJSON(json['freshness']),
|
|
50
|
+
'gaps': (json['gaps'].map(SandboxRuntimeMetricGapFromJSON)),
|
|
51
|
+
'partial': json['partial'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function SandboxRuntimeMetricsResponseToJSON(json) {
|
|
55
|
+
return SandboxRuntimeMetricsResponseToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function SandboxRuntimeMetricsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'start_time': value['startTime'].toISOString(),
|
|
63
|
+
'end_time': value['endTime'].toISOString(),
|
|
64
|
+
'step_seconds': value['stepSeconds'],
|
|
65
|
+
'series': (value['series'].map(SandboxRuntimeMetricSeriesToJSON)),
|
|
66
|
+
'freshness': SandboxRuntimeMetricFreshnessToJSON(value['freshness']),
|
|
67
|
+
'gaps': (value['gaps'].map(SandboxRuntimeMetricGapToJSON)),
|
|
68
|
+
'partial': value['partial'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { SandboxRuntimeMetricsCatalogResponse } from './SandboxRuntimeMetricsCatalogResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxRuntimeMetricsCatalogResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxRuntimeMetricsCatalogResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxRuntimeMetricsCatalogResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxRuntimeMetricsCatalogResponse}
|
|
28
|
+
* @memberof SuccessSandboxRuntimeMetricsCatalogResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxRuntimeMetricsCatalogResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxRuntimeMetricsCatalogResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxRuntimeMetricsCatalogResponse(value: object): value is SuccessSandboxRuntimeMetricsCatalogResponse;
|
|
36
|
+
export declare function SuccessSandboxRuntimeMetricsCatalogResponseFromJSON(json: any): SuccessSandboxRuntimeMetricsCatalogResponse;
|
|
37
|
+
export declare function SuccessSandboxRuntimeMetricsCatalogResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxRuntimeMetricsCatalogResponse;
|
|
38
|
+
export declare function SuccessSandboxRuntimeMetricsCatalogResponseToJSON(json: any): SuccessSandboxRuntimeMetricsCatalogResponse;
|
|
39
|
+
export declare function SuccessSandboxRuntimeMetricsCatalogResponseToJSONTyped(value?: SuccessSandboxRuntimeMetricsCatalogResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxRuntimeMetricsCatalogResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxRuntimeMetricsCatalogResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAQnG;;;;GAIG;AACH,MAAM,WAAW,2CAA2C;IACxD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,oCAAoC,CAAC;CAC/C;AAED;;GAEG;AACH,wBAAgB,qDAAqD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2CAA2C,CAGzI;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,GAAG,2CAA2C,CAE1H;AAED,wBAAgB,wDAAwD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2CAA2C,CAS7J;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,GAAG,2CAA2C,CAExH;AAED,wBAAgB,sDAAsD,CAAC,KAAK,CAAC,EAAE,2CAA2C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5K"}
|
|
@@ -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
|
+
import { SandboxRuntimeMetricsCatalogResponseFromJSON, SandboxRuntimeMetricsCatalogResponseToJSON, } from './SandboxRuntimeMetricsCatalogResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSandboxRuntimeMetricsCatalogResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSandboxRuntimeMetricsCatalogResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSandboxRuntimeMetricsCatalogResponseFromJSON(json) {
|
|
24
|
+
return SuccessSandboxRuntimeMetricsCatalogResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSandboxRuntimeMetricsCatalogResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SandboxRuntimeMetricsCatalogResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSandboxRuntimeMetricsCatalogResponseToJSON(json) {
|
|
36
|
+
return SuccessSandboxRuntimeMetricsCatalogResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSandboxRuntimeMetricsCatalogResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SandboxRuntimeMetricsCatalogResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|