sandbox0 0.6.2 → 0.7.0
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/dist/apispec/src/apis/SandboxRootfsApi.d.ts +88 -0
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/SandboxRootfsApi.js +227 -0
- package/dist/apispec/src/apis/index.d.ts +1 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.d.ts +45 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.js +45 -0
- package/dist/apispec/src/models/CredentialProjectionType.d.ts +1 -0
- package/dist/apispec/src/models/CredentialProjectionType.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialProjectionType.js +1 -0
- package/dist/apispec/src/models/ForkSandboxResponse.d.ts +40 -0
- package/dist/apispec/src/models/ForkSandboxResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ForkSandboxResponse.js +48 -0
- package/dist/apispec/src/models/PlaceholderReplacement.d.ts +46 -0
- package/dist/apispec/src/models/PlaceholderReplacement.d.ts.map +1 -0
- package/dist/apispec/src/models/PlaceholderReplacement.js +52 -0
- package/dist/apispec/src/models/PlaceholderSubstitutionLocation.d.ts +27 -0
- package/dist/apispec/src/models/PlaceholderSubstitutionLocation.d.ts.map +1 -0
- package/dist/apispec/src/models/PlaceholderSubstitutionLocation.js +44 -0
- package/dist/apispec/src/models/PlaceholderSubstitutionProjection.d.ts +34 -0
- package/dist/apispec/src/models/PlaceholderSubstitutionProjection.d.ts.map +1 -0
- package/dist/apispec/src/models/PlaceholderSubstitutionProjection.js +42 -0
- package/dist/apispec/src/models/ProjectionSpec.d.ts +7 -0
- package/dist/apispec/src/models/ProjectionSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/ProjectionSpec.js +3 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSRequest.d.ts +33 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSRequest.js +43 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSResponse.d.ts +46 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSResponse.js +52 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.d.ts +63 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.js +57 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshotList.d.ts +40 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshotList.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshotList.js +48 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +12 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +2 -0
- package/dist/apispec/src/models/SuccessForkSandboxResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessForkSandboxResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessForkSandboxResponse.js +46 -0
- package/dist/apispec/src/models/SuccessRestoreSandboxRootFSResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessRestoreSandboxRootFSResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessRestoreSandboxRootFSResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.js +46 -0
- package/dist/apispec/src/models/index.d.ts +13 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +13 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -0
- package/dist/resources/sandboxes.d.ts +7 -1
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +38 -0
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
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 { PlaceholderSubstitutionLocationFromJSON, PlaceholderSubstitutionLocationToJSON, } from './PlaceholderSubstitutionLocation.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PlaceholderReplacement interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPlaceholderReplacement(value) {
|
|
19
|
+
if (!('placeholder' in value) || value['placeholder'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('valueTemplate' in value) || value['valueTemplate'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('locations' in value) || value['locations'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function PlaceholderReplacementFromJSON(json) {
|
|
28
|
+
return PlaceholderReplacementFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function PlaceholderReplacementFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'placeholder': json['placeholder'],
|
|
36
|
+
'valueTemplate': json['valueTemplate'],
|
|
37
|
+
'locations': (json['locations'].map(PlaceholderSubstitutionLocationFromJSON)),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function PlaceholderReplacementToJSON(json) {
|
|
41
|
+
return PlaceholderReplacementToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function PlaceholderReplacementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'placeholder': value['placeholder'],
|
|
49
|
+
'valueTemplate': value['valueTemplate'],
|
|
50
|
+
'locations': (value['locations'].map(PlaceholderSubstitutionLocationToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 PlaceholderSubstitutionLocation: {
|
|
17
|
+
readonly Header: "header";
|
|
18
|
+
readonly Query: "query";
|
|
19
|
+
readonly Body: "body";
|
|
20
|
+
};
|
|
21
|
+
export type PlaceholderSubstitutionLocation = typeof PlaceholderSubstitutionLocation[keyof typeof PlaceholderSubstitutionLocation];
|
|
22
|
+
export declare function instanceOfPlaceholderSubstitutionLocation(value: any): boolean;
|
|
23
|
+
export declare function PlaceholderSubstitutionLocationFromJSON(json: any): PlaceholderSubstitutionLocation;
|
|
24
|
+
export declare function PlaceholderSubstitutionLocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaceholderSubstitutionLocation;
|
|
25
|
+
export declare function PlaceholderSubstitutionLocationToJSON(value?: PlaceholderSubstitutionLocation | null): any;
|
|
26
|
+
export declare function PlaceholderSubstitutionLocationToJSONTyped(value: any, ignoreDiscriminator: boolean): PlaceholderSubstitutionLocation;
|
|
27
|
+
//# sourceMappingURL=PlaceholderSubstitutionLocation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlaceholderSubstitutionLocation.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PlaceholderSubstitutionLocation.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAGnI,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS7E;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAErI;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,GAAG,GAAG,CAEzG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAEpI"}
|
|
@@ -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 PlaceholderSubstitutionLocation = {
|
|
19
|
+
Header: 'header',
|
|
20
|
+
Query: 'query',
|
|
21
|
+
Body: 'body'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfPlaceholderSubstitutionLocation(value) {
|
|
24
|
+
for (const key in PlaceholderSubstitutionLocation) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(PlaceholderSubstitutionLocation, key)) {
|
|
26
|
+
if (PlaceholderSubstitutionLocation[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function PlaceholderSubstitutionLocationFromJSON(json) {
|
|
34
|
+
return PlaceholderSubstitutionLocationFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PlaceholderSubstitutionLocationFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function PlaceholderSubstitutionLocationToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function PlaceholderSubstitutionLocationToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -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 { PlaceholderReplacement } from './PlaceholderReplacement.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PlaceholderSubstitutionProjection
|
|
17
|
+
*/
|
|
18
|
+
export interface PlaceholderSubstitutionProjection {
|
|
19
|
+
/**
|
|
20
|
+
* Placeholder replacements applied to outbound HTTP requests at the egress boundary.
|
|
21
|
+
* @type {Array<PlaceholderReplacement>}
|
|
22
|
+
* @memberof PlaceholderSubstitutionProjection
|
|
23
|
+
*/
|
|
24
|
+
replacements?: Array<PlaceholderReplacement>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PlaceholderSubstitutionProjection interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPlaceholderSubstitutionProjection(value: object): value is PlaceholderSubstitutionProjection;
|
|
30
|
+
export declare function PlaceholderSubstitutionProjectionFromJSON(json: any): PlaceholderSubstitutionProjection;
|
|
31
|
+
export declare function PlaceholderSubstitutionProjectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaceholderSubstitutionProjection;
|
|
32
|
+
export declare function PlaceholderSubstitutionProjectionToJSON(json: any): PlaceholderSubstitutionProjection;
|
|
33
|
+
export declare function PlaceholderSubstitutionProjectionToJSONTyped(value?: PlaceholderSubstitutionProjection | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=PlaceholderSubstitutionProjection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlaceholderSubstitutionProjection.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PlaceholderSubstitutionProjection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iCAAiC,CAErH;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAQzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEpG;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASxJ"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { PlaceholderReplacementFromJSON, PlaceholderReplacementToJSON, } from './PlaceholderReplacement.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PlaceholderSubstitutionProjection interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPlaceholderSubstitutionProjection(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function PlaceholderSubstitutionProjectionFromJSON(json) {
|
|
22
|
+
return PlaceholderSubstitutionProjectionFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PlaceholderSubstitutionProjectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'replacements': json['replacements'] == null ? undefined : (json['replacements'].map(PlaceholderReplacementFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PlaceholderSubstitutionProjectionToJSON(json) {
|
|
33
|
+
return PlaceholderSubstitutionProjectionToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PlaceholderSubstitutionProjectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'replacements': value['replacements'] == null ? undefined : (value['replacements'].map(PlaceholderReplacementToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { PlaceholderSubstitutionProjection } from './PlaceholderSubstitutionProjection.js';
|
|
12
13
|
import type { CredentialProjectionType } from './CredentialProjectionType.js';
|
|
13
14
|
import type { HTTPHeadersProjection } from './HTTPHeadersProjection.js';
|
|
14
15
|
import type { SSHProxyProjection } from './SSHProxyProjection.js';
|
|
@@ -30,6 +31,12 @@ export interface ProjectionSpec {
|
|
|
30
31
|
* @memberof ProjectionSpec
|
|
31
32
|
*/
|
|
32
33
|
httpHeaders?: HTTPHeadersProjection;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {PlaceholderSubstitutionProjection}
|
|
37
|
+
* @memberof ProjectionSpec
|
|
38
|
+
*/
|
|
39
|
+
placeholderSubstitution?: PlaceholderSubstitutionProjection;
|
|
33
40
|
/**
|
|
34
41
|
* Client certificate projection used for TLS terminate-reoriginate auth.
|
|
35
42
|
* @type {object}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProjectionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"ProjectionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProjectionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAO7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,iCAAiC,CAAC;IAC5D;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAanG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAclH"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { PlaceholderSubstitutionProjectionFromJSON, PlaceholderSubstitutionProjectionToJSON, } from './PlaceholderSubstitutionProjection.js';
|
|
14
15
|
import { CredentialProjectionTypeFromJSON, CredentialProjectionTypeToJSON, } from './CredentialProjectionType.js';
|
|
15
16
|
import { HTTPHeadersProjectionFromJSON, HTTPHeadersProjectionToJSON, } from './HTTPHeadersProjection.js';
|
|
16
17
|
import { SSHProxyProjectionFromJSON, SSHProxyProjectionToJSON, } from './SSHProxyProjection.js';
|
|
@@ -32,6 +33,7 @@ export function ProjectionSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return {
|
|
33
34
|
'type': CredentialProjectionTypeFromJSON(json['type']),
|
|
34
35
|
'httpHeaders': json['httpHeaders'] == null ? undefined : HTTPHeadersProjectionFromJSON(json['httpHeaders']),
|
|
36
|
+
'placeholderSubstitution': json['placeholderSubstitution'] == null ? undefined : PlaceholderSubstitutionProjectionFromJSON(json['placeholderSubstitution']),
|
|
35
37
|
'tlsClientCertificate': json['tlsClientCertificate'] == null ? undefined : json['tlsClientCertificate'],
|
|
36
38
|
'usernamePassword': json['usernamePassword'] == null ? undefined : json['usernamePassword'],
|
|
37
39
|
'sshProxy': json['sshProxy'] == null ? undefined : SSHProxyProjectionFromJSON(json['sshProxy']),
|
|
@@ -47,6 +49,7 @@ export function ProjectionSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
49
|
return {
|
|
48
50
|
'type': CredentialProjectionTypeToJSON(value['type']),
|
|
49
51
|
'httpHeaders': HTTPHeadersProjectionToJSON(value['httpHeaders']),
|
|
52
|
+
'placeholderSubstitution': PlaceholderSubstitutionProjectionToJSON(value['placeholderSubstitution']),
|
|
50
53
|
'tlsClientCertificate': value['tlsClientCertificate'],
|
|
51
54
|
'usernamePassword': value['usernamePassword'],
|
|
52
55
|
'sshProxy': SSHProxyProjectionToJSON(value['sshProxy']),
|
|
@@ -0,0 +1,33 @@
|
|
|
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 RestoreSandboxRootFSRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RestoreSandboxRootFSRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RestoreSandboxRootFSRequest
|
|
22
|
+
*/
|
|
23
|
+
snapshotId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RestoreSandboxRootFSRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRestoreSandboxRootFSRequest(value: object): value is RestoreSandboxRootFSRequest;
|
|
29
|
+
export declare function RestoreSandboxRootFSRequestFromJSON(json: any): RestoreSandboxRootFSRequest;
|
|
30
|
+
export declare function RestoreSandboxRootFSRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestoreSandboxRootFSRequest;
|
|
31
|
+
export declare function RestoreSandboxRootFSRequestToJSON(json: any): RestoreSandboxRootFSRequest;
|
|
32
|
+
export declare function RestoreSandboxRootFSRequestToJSONTyped(value?: RestoreSandboxRootFSRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=RestoreSandboxRootFSRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreSandboxRootFSRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RestoreSandboxRootFSRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;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,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
|
+
* Check if a given object implements the RestoreSandboxRootFSRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRestoreSandboxRootFSRequest(value) {
|
|
18
|
+
if (!('snapshotId' in value) || value['snapshotId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RestoreSandboxRootFSRequestFromJSON(json) {
|
|
23
|
+
return RestoreSandboxRootFSRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RestoreSandboxRootFSRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'snapshotId': json['snapshot_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function RestoreSandboxRootFSRequestToJSON(json) {
|
|
34
|
+
return RestoreSandboxRootFSRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function RestoreSandboxRootFSRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'snapshot_id': value['snapshotId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { SandboxLifecycleStatus } from './SandboxLifecycleStatus.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RestoreSandboxRootFSResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface RestoreSandboxRootFSResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RestoreSandboxRootFSResponse
|
|
23
|
+
*/
|
|
24
|
+
sandboxId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RestoreSandboxRootFSResponse
|
|
29
|
+
*/
|
|
30
|
+
snapshotId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SandboxLifecycleStatus}
|
|
34
|
+
* @memberof RestoreSandboxRootFSResponse
|
|
35
|
+
*/
|
|
36
|
+
status: SandboxLifecycleStatus;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the RestoreSandboxRootFSResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfRestoreSandboxRootFSResponse(value: object): value is RestoreSandboxRootFSResponse;
|
|
42
|
+
export declare function RestoreSandboxRootFSResponseFromJSON(json: any): RestoreSandboxRootFSResponse;
|
|
43
|
+
export declare function RestoreSandboxRootFSResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestoreSandboxRootFSResponse;
|
|
44
|
+
export declare function RestoreSandboxRootFSResponseToJSON(json: any): RestoreSandboxRootFSResponse;
|
|
45
|
+
export declare function RestoreSandboxRootFSResponseToJSONTyped(value?: RestoreSandboxRootFSResponse | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=RestoreSandboxRootFSResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreSandboxRootFSResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RestoreSandboxRootFSResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,sBAAsB,CAAC;CAClC;AAID;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAK3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAU/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9I"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RestoreSandboxRootFSResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRestoreSandboxRootFSResponse(value) {
|
|
19
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('snapshotId' in value) || value['snapshotId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function RestoreSandboxRootFSResponseFromJSON(json) {
|
|
28
|
+
return RestoreSandboxRootFSResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function RestoreSandboxRootFSResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'sandboxId': json['sandbox_id'],
|
|
36
|
+
'snapshotId': json['snapshot_id'],
|
|
37
|
+
'status': SandboxLifecycleStatusFromJSON(json['status']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function RestoreSandboxRootFSResponseToJSON(json) {
|
|
41
|
+
return RestoreSandboxRootFSResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RestoreSandboxRootFSResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'sandbox_id': value['sandboxId'],
|
|
49
|
+
'snapshot_id': value['snapshotId'],
|
|
50
|
+
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 SandboxRootFSSnapshot
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxRootFSSnapshot {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxRootFSSnapshot
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxRootFSSnapshot
|
|
28
|
+
*/
|
|
29
|
+
sandboxId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxRootFSSnapshot
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxRootFSSnapshot
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof SandboxRootFSSnapshot
|
|
46
|
+
*/
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
/**
|
|
49
|
+
* Optional snapshot expiration timestamp. Zero value means not set.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof SandboxRootFSSnapshot
|
|
52
|
+
*/
|
|
53
|
+
expiresAt?: Date;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the SandboxRootFSSnapshot interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfSandboxRootFSSnapshot(value: object): value is SandboxRootFSSnapshot;
|
|
59
|
+
export declare function SandboxRootFSSnapshotFromJSON(json: any): SandboxRootFSSnapshot;
|
|
60
|
+
export declare function SandboxRootFSSnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRootFSSnapshot;
|
|
61
|
+
export declare function SandboxRootFSSnapshotToJSON(json: any): SandboxRootFSSnapshot;
|
|
62
|
+
export declare function SandboxRootFSSnapshotToJSONTyped(value?: SandboxRootFSSnapshot | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=SandboxRootFSSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRootFSSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRootFSSnapshot.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAK7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAajH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchI"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 SandboxRootFSSnapshot interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxRootFSSnapshot(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function SandboxRootFSSnapshotFromJSON(json) {
|
|
27
|
+
return SandboxRootFSSnapshotFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function SandboxRootFSSnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'sandboxId': json['sandbox_id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'createdAt': (new Date(json['created_at'])),
|
|
39
|
+
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function SandboxRootFSSnapshotToJSON(json) {
|
|
43
|
+
return SandboxRootFSSnapshotToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function SandboxRootFSSnapshotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'sandbox_id': value['sandboxId'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'description': value['description'],
|
|
54
|
+
'created_at': value['createdAt'].toISOString(),
|
|
55
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 { SandboxRootFSSnapshot } from './SandboxRootFSSnapshot.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxRootFSSnapshotList
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxRootFSSnapshotList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxRootFSSnapshot>}
|
|
22
|
+
* @memberof SandboxRootFSSnapshotList
|
|
23
|
+
*/
|
|
24
|
+
snapshots: Array<SandboxRootFSSnapshot>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SandboxRootFSSnapshotList
|
|
29
|
+
*/
|
|
30
|
+
count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SandboxRootFSSnapshotList interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSandboxRootFSSnapshotList(value: object): value is SandboxRootFSSnapshotList;
|
|
36
|
+
export declare function SandboxRootFSSnapshotListFromJSON(json: any): SandboxRootFSSnapshotList;
|
|
37
|
+
export declare function SandboxRootFSSnapshotListFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRootFSSnapshotList;
|
|
38
|
+
export declare function SandboxRootFSSnapshotListToJSON(json: any): SandboxRootFSSnapshotList;
|
|
39
|
+
export declare function SandboxRootFSSnapshotListToJSONTyped(value?: SandboxRootFSSnapshotList | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SandboxRootFSSnapshotList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRootFSSnapshotList.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRootFSSnapshotList.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACxC;;;;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"}
|