sandbox0 0.9.8 → 0.10.1
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 +0 -15
- package/dist/apispec/src/apis/FilesApi.d.ts +1 -112
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +1 -330
- package/dist/apispec/src/apis/index.d.ts +0 -2
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -2
- package/dist/apispec/src/models/ClaimRequest.d.ts +0 -7
- package/dist/apispec/src/models/ClaimRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimRequest.js +0 -3
- package/dist/apispec/src/models/ClaimResponse.d.ts +0 -7
- package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimResponse.js +0 -3
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts +0 -2
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -1
- package/dist/apispec/src/models/ObservabilityEventSource.js +1 -3
- package/dist/apispec/src/models/QuotaDimension.d.ts +0 -2
- package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -1
- package/dist/apispec/src/models/QuotaDimension.js +0 -2
- package/dist/apispec/src/models/ResourceQuota.d.ts +1 -1
- package/dist/apispec/src/models/SSHProxyProjection.d.ts +1 -1
- package/dist/apispec/src/models/Sandbox.d.ts +0 -7
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +0 -3
- package/dist/apispec/src/models/SandboxResourceConfig.d.ts +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +0 -7
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +0 -3
- package/dist/apispec/src/models/WebhookConfig.d.ts +1 -1
- package/dist/apispec/src/models/index.d.ts +0 -20
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +0 -20
- package/dist/client.d.ts +0 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +0 -5
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/resources/sandboxes.d.ts +1 -2
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +0 -3
- package/dist/sandbox.d.ts +0 -3
- package/dist/sandbox.d.ts.map +1 -1
- package/dist/sandbox.js +0 -2
- package/dist/sessions.d.ts +0 -20
- package/dist/sessions.d.ts.map +1 -1
- package/dist/sessions.js +0 -36
- package/package.json +1 -1
- package/dist/apispec/src/apis/SandboxVolumesApi.d.ts +0 -73
- package/dist/apispec/src/apis/SandboxVolumesApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/SandboxVolumesApi.js +0 -187
- package/dist/apispec/src/apis/SnapshotsApi.d.ts +0 -78
- package/dist/apispec/src/apis/SnapshotsApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/SnapshotsApi.js +0 -202
- package/dist/apispec/src/models/ClaimMountRequest.d.ts +0 -39
- package/dist/apispec/src/models/ClaimMountRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/ClaimMountRequest.js +0 -47
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +0 -66
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +0 -54
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts +0 -84
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts.map +0 -1
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.js +0 -69
- package/dist/apispec/src/models/CreateSnapshotRequest.d.ts +0 -39
- package/dist/apispec/src/models/CreateSnapshotRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/CreateSnapshotRequest.js +0 -45
- package/dist/apispec/src/models/ForkVolumeRequest.d.ts +0 -46
- package/dist/apispec/src/models/ForkVolumeRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/ForkVolumeRequest.js +0 -46
- package/dist/apispec/src/models/MountStatus.d.ts +0 -79
- package/dist/apispec/src/models/MountStatus.d.ts.map +0 -1
- package/dist/apispec/src/models/MountStatus.js +0 -68
- package/dist/apispec/src/models/SandboxVolume.d.ts +0 -108
- package/dist/apispec/src/models/SandboxVolume.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxVolume.js +0 -80
- package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts +0 -66
- package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxVolumeS3Config.js +0 -61
- package/dist/apispec/src/models/Snapshot.d.ts +0 -69
- package/dist/apispec/src/models/Snapshot.d.ts.map +0 -1
- package/dist/apispec/src/models/Snapshot.js +0 -63
- package/dist/apispec/src/models/SuccessSandboxVolumeListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessSandboxVolumeListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessSandboxVolumeListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessSandboxVolumeResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessSandboxVolumeResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessSandboxVolumeResponse.js +0 -46
- package/dist/apispec/src/models/SuccessSnapshotListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessSnapshotListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessSnapshotListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessSnapshotResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessSnapshotResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessSnapshotResponse.js +0 -46
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.js +0 -46
- package/dist/apispec/src/models/VolumeAccessMode.d.ts +0 -27
- package/dist/apispec/src/models/VolumeAccessMode.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeAccessMode.js +0 -44
- package/dist/apispec/src/models/VolumeBackend.d.ts +0 -26
- package/dist/apispec/src/models/VolumeBackend.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeBackend.js +0 -43
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts +0 -51
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.js +0 -55
- package/dist/apispec/src/models/VolumeMountSpec.d.ts +0 -45
- package/dist/apispec/src/models/VolumeMountSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeMountSpec.js +0 -49
- package/dist/resources/volumes.d.ts +0 -31
- package/dist/resources/volumes.d.ts.map +0 -1
- package/dist/resources/volumes.js +0 -222
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const MountStatusStateEnum = {
|
|
18
|
-
Pending: 'pending',
|
|
19
|
-
Mounting: 'mounting',
|
|
20
|
-
Mounted: 'mounted',
|
|
21
|
-
Failed: 'failed'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the MountStatus interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfMountStatus(value) {
|
|
27
|
-
if (!('sandboxvolumeId' in value) || value['sandboxvolumeId'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('mountPoint' in value) || value['mountPoint'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
export function MountStatusFromJSON(json) {
|
|
36
|
-
return MountStatusFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function MountStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'sandboxvolumeId': json['sandboxvolume_id'],
|
|
44
|
-
'mountPoint': json['mount_point'],
|
|
45
|
-
'state': json['state'],
|
|
46
|
-
'mountedAt': json['mounted_at'] == null ? undefined : json['mounted_at'],
|
|
47
|
-
'mountedDurationSec': json['mounted_duration_sec'] == null ? undefined : json['mounted_duration_sec'],
|
|
48
|
-
'errorCode': json['error_code'] == null ? undefined : json['error_code'],
|
|
49
|
-
'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
export function MountStatusToJSON(json) {
|
|
53
|
-
return MountStatusToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
export function MountStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'sandboxvolume_id': value['sandboxvolumeId'],
|
|
61
|
-
'mount_point': value['mountPoint'],
|
|
62
|
-
'state': value['state'],
|
|
63
|
-
'mounted_at': value['mountedAt'],
|
|
64
|
-
'mounted_duration_sec': value['mountedDurationSec'],
|
|
65
|
-
'error_code': value['errorCode'],
|
|
66
|
-
'error_message': value['errorMessage'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
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 { VolumeAccessMode } from './VolumeAccessMode.js';
|
|
13
|
-
import type { VolumeBackend } from './VolumeBackend.js';
|
|
14
|
-
import type { SandboxVolumeS3Config } from './SandboxVolumeS3Config.js';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface SandboxVolume
|
|
19
|
-
*/
|
|
20
|
-
export interface SandboxVolume {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof SandboxVolume
|
|
25
|
-
*/
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof SandboxVolume
|
|
31
|
-
*/
|
|
32
|
-
teamId: string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof SandboxVolume
|
|
37
|
-
*/
|
|
38
|
-
userId: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof SandboxVolume
|
|
43
|
-
*/
|
|
44
|
-
sourceVolumeId?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof SandboxVolume
|
|
49
|
-
*/
|
|
50
|
-
defaultPosixUid?: number | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @memberof SandboxVolume
|
|
55
|
-
*/
|
|
56
|
-
defaultPosixGid?: number | null;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {VolumeAccessMode}
|
|
60
|
-
* @memberof SandboxVolume
|
|
61
|
-
*/
|
|
62
|
-
accessMode?: VolumeAccessMode;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {VolumeBackend}
|
|
66
|
-
* @memberof SandboxVolume
|
|
67
|
-
*/
|
|
68
|
-
backend: VolumeBackend;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {SandboxVolumeS3Config}
|
|
72
|
-
* @memberof SandboxVolume
|
|
73
|
-
*/
|
|
74
|
-
s3?: SandboxVolumeS3Config;
|
|
75
|
-
/**
|
|
76
|
-
* Latest metered logical payload bytes stored by this S0FS volume. Null for external backends or when metering state is unavailable.
|
|
77
|
-
* @type {number}
|
|
78
|
-
* @memberof SandboxVolume
|
|
79
|
-
*/
|
|
80
|
-
meteredStorageBytes?: number | null;
|
|
81
|
-
/**
|
|
82
|
-
* Time when metered_storage_bytes was last observed. Null for external backends or when metering state is unavailable.
|
|
83
|
-
* @type {Date}
|
|
84
|
-
* @memberof SandboxVolume
|
|
85
|
-
*/
|
|
86
|
-
storageObservedAt?: Date | null;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {Date}
|
|
90
|
-
* @memberof SandboxVolume
|
|
91
|
-
*/
|
|
92
|
-
createdAt: Date;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {Date}
|
|
96
|
-
* @memberof SandboxVolume
|
|
97
|
-
*/
|
|
98
|
-
updatedAt: Date;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Check if a given object implements the SandboxVolume interface.
|
|
102
|
-
*/
|
|
103
|
-
export declare function instanceOfSandboxVolume(value: object): value is SandboxVolume;
|
|
104
|
-
export declare function SandboxVolumeFromJSON(json: any): SandboxVolume;
|
|
105
|
-
export declare function SandboxVolumeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxVolume;
|
|
106
|
-
export declare function SandboxVolumeToJSON(json: any): SandboxVolume;
|
|
107
|
-
export declare function SandboxVolumeToJSONTyped(value?: SandboxVolume | null, ignoreDiscriminator?: boolean): any;
|
|
108
|
-
//# sourceMappingURL=SandboxVolume.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxVolume.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolume.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,EAAE,CAAC,EAAE,qBAAqB,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAQ7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAoBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqBhH"}
|
|
@@ -1,80 +0,0 @@
|
|
|
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 { VolumeAccessModeFromJSON, VolumeAccessModeToJSON, } from './VolumeAccessMode.js';
|
|
15
|
-
import { VolumeBackendFromJSON, VolumeBackendToJSON, } from './VolumeBackend.js';
|
|
16
|
-
import { SandboxVolumeS3ConfigFromJSON, SandboxVolumeS3ConfigToJSON, } from './SandboxVolumeS3Config.js';
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the SandboxVolume interface.
|
|
19
|
-
*/
|
|
20
|
-
export function instanceOfSandboxVolume(value) {
|
|
21
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('userId' in value) || value['userId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('backend' in value) || value['backend'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
export function SandboxVolumeFromJSON(json) {
|
|
36
|
-
return SandboxVolumeFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function SandboxVolumeFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'id': json['id'],
|
|
44
|
-
'teamId': json['team_id'],
|
|
45
|
-
'userId': json['user_id'],
|
|
46
|
-
'sourceVolumeId': json['source_volume_id'] == null ? undefined : json['source_volume_id'],
|
|
47
|
-
'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
|
|
48
|
-
'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
|
|
49
|
-
'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
|
|
50
|
-
'backend': VolumeBackendFromJSON(json['backend']),
|
|
51
|
-
's3': json['s3'] == null ? undefined : SandboxVolumeS3ConfigFromJSON(json['s3']),
|
|
52
|
-
'meteredStorageBytes': json['metered_storage_bytes'] == null ? undefined : json['metered_storage_bytes'],
|
|
53
|
-
'storageObservedAt': json['storage_observed_at'] == null ? undefined : (new Date(json['storage_observed_at'])),
|
|
54
|
-
'createdAt': (new Date(json['created_at'])),
|
|
55
|
-
'updatedAt': (new Date(json['updated_at'])),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
export function SandboxVolumeToJSON(json) {
|
|
59
|
-
return SandboxVolumeToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
export function SandboxVolumeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
-
if (value == null) {
|
|
63
|
-
return value;
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
'id': value['id'],
|
|
67
|
-
'team_id': value['teamId'],
|
|
68
|
-
'user_id': value['userId'],
|
|
69
|
-
'source_volume_id': value['sourceVolumeId'],
|
|
70
|
-
'default_posix_uid': value['defaultPosixUid'],
|
|
71
|
-
'default_posix_gid': value['defaultPosixGid'],
|
|
72
|
-
'access_mode': VolumeAccessModeToJSON(value['accessMode']),
|
|
73
|
-
'backend': VolumeBackendToJSON(value['backend']),
|
|
74
|
-
's3': SandboxVolumeS3ConfigToJSON(value['s3']),
|
|
75
|
-
'metered_storage_bytes': value['meteredStorageBytes'],
|
|
76
|
-
'storage_observed_at': value['storageObservedAt'] == null ? value['storageObservedAt'] : value['storageObservedAt'].toISOString(),
|
|
77
|
-
'created_at': value['createdAt'].toISOString(),
|
|
78
|
-
'updated_at': value['updatedAt'].toISOString(),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
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 SandboxVolumeS3Config
|
|
16
|
-
*/
|
|
17
|
-
export interface SandboxVolumeS3Config {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SandboxVolumeS3Config
|
|
22
|
-
*/
|
|
23
|
-
provider: SandboxVolumeS3ConfigProviderEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SandboxVolumeS3Config
|
|
28
|
-
*/
|
|
29
|
-
bucket: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SandboxVolumeS3Config
|
|
34
|
-
*/
|
|
35
|
-
prefix?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SandboxVolumeS3Config
|
|
40
|
-
*/
|
|
41
|
-
region?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SandboxVolumeS3Config
|
|
46
|
-
*/
|
|
47
|
-
endpointUrl?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export declare const SandboxVolumeS3ConfigProviderEnum: {
|
|
53
|
-
readonly Aws: "aws";
|
|
54
|
-
readonly Ali: "ali";
|
|
55
|
-
readonly R2: "r2";
|
|
56
|
-
};
|
|
57
|
-
export type SandboxVolumeS3ConfigProviderEnum = typeof SandboxVolumeS3ConfigProviderEnum[keyof typeof SandboxVolumeS3ConfigProviderEnum];
|
|
58
|
-
/**
|
|
59
|
-
* Check if a given object implements the SandboxVolumeS3Config interface.
|
|
60
|
-
*/
|
|
61
|
-
export declare function instanceOfSandboxVolumeS3Config(value: object): value is SandboxVolumeS3Config;
|
|
62
|
-
export declare function SandboxVolumeS3ConfigFromJSON(json: any): SandboxVolumeS3Config;
|
|
63
|
-
export declare function SandboxVolumeS3ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxVolumeS3Config;
|
|
64
|
-
export declare function SandboxVolumeS3ConfigToJSON(json: any): SandboxVolumeS3Config;
|
|
65
|
-
export declare function SandboxVolumeS3ConfigToJSONTyped(value?: SandboxVolumeS3Config | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
-
//# sourceMappingURL=SandboxVolumeS3Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxVolumeS3Config.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolumeS3Config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,QAAQ,EAAE,iCAAiC,CAAC;IAC5C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;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,CAahI"}
|
|
@@ -1,61 +0,0 @@
|
|
|
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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const SandboxVolumeS3ConfigProviderEnum = {
|
|
18
|
-
Aws: 'aws',
|
|
19
|
-
Ali: 'ali',
|
|
20
|
-
R2: 'r2'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SandboxVolumeS3Config interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfSandboxVolumeS3Config(value) {
|
|
26
|
-
if (!('provider' in value) || value['provider'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('bucket' in value) || value['bucket'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
export function SandboxVolumeS3ConfigFromJSON(json) {
|
|
33
|
-
return SandboxVolumeS3ConfigFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function SandboxVolumeS3ConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'provider': json['provider'],
|
|
41
|
-
'bucket': json['bucket'],
|
|
42
|
-
'prefix': json['prefix'] == null ? undefined : json['prefix'],
|
|
43
|
-
'region': json['region'] == null ? undefined : json['region'],
|
|
44
|
-
'endpointUrl': json['endpoint_url'] == null ? undefined : json['endpoint_url'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export function SandboxVolumeS3ConfigToJSON(json) {
|
|
48
|
-
return SandboxVolumeS3ConfigToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
export function SandboxVolumeS3ConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'provider': value['provider'],
|
|
56
|
-
'bucket': value['bucket'],
|
|
57
|
-
'prefix': value['prefix'],
|
|
58
|
-
'region': value['region'],
|
|
59
|
-
'endpoint_url': value['endpointUrl'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
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 Snapshot
|
|
16
|
-
*/
|
|
17
|
-
export interface Snapshot {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Snapshot
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Snapshot
|
|
28
|
-
*/
|
|
29
|
-
volumeId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Snapshot
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Snapshot
|
|
40
|
-
*/
|
|
41
|
-
description?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof Snapshot
|
|
46
|
-
*/
|
|
47
|
-
sizeBytes: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof Snapshot
|
|
52
|
-
*/
|
|
53
|
-
createdAt: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof Snapshot
|
|
58
|
-
*/
|
|
59
|
-
expiresAt?: string | null;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the Snapshot interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfSnapshot(value: object): value is Snapshot;
|
|
65
|
-
export declare function SnapshotFromJSON(json: any): Snapshot;
|
|
66
|
-
export declare function SnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean): Snapshot;
|
|
67
|
-
export declare function SnapshotToJSON(json: any): Snapshot;
|
|
68
|
-
export declare function SnapshotToJSONTyped(value?: Snapshot | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
-
//# sourceMappingURL=Snapshot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Snapshot.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Snapshot.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAOnE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAcvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAetG"}
|
|
@@ -1,63 +0,0 @@
|
|
|
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 Snapshot interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfSnapshot(value) {
|
|
18
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('volumeId' in value) || value['volumeId'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
export function SnapshotFromJSON(json) {
|
|
31
|
-
return SnapshotFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
export function SnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'id': json['id'],
|
|
39
|
-
'volumeId': json['volume_id'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
42
|
-
'sizeBytes': json['size_bytes'],
|
|
43
|
-
'createdAt': json['created_at'],
|
|
44
|
-
'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export function SnapshotToJSON(json) {
|
|
48
|
-
return SnapshotToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
export function SnapshotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'volume_id': value['volumeId'],
|
|
57
|
-
'name': value['name'],
|
|
58
|
-
'description': value['description'],
|
|
59
|
-
'size_bytes': value['sizeBytes'],
|
|
60
|
-
'created_at': value['createdAt'],
|
|
61
|
-
'expires_at': value['expiresAt'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { SandboxVolume } from './SandboxVolume.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SuccessSandboxVolumeListResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface SuccessSandboxVolumeListResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof SuccessSandboxVolumeListResponse
|
|
23
|
-
*/
|
|
24
|
-
success: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<SandboxVolume>}
|
|
28
|
-
* @memberof SuccessSandboxVolumeListResponse
|
|
29
|
-
*/
|
|
30
|
-
data?: Array<SandboxVolume>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the SuccessSandboxVolumeListResponse interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfSuccessSandboxVolumeListResponse(value: object): value is SuccessSandboxVolumeListResponse;
|
|
36
|
-
export declare function SuccessSandboxVolumeListResponseFromJSON(json: any): SuccessSandboxVolumeListResponse;
|
|
37
|
-
export declare function SuccessSandboxVolumeListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxVolumeListResponse;
|
|
38
|
-
export declare function SuccessSandboxVolumeListResponseToJSON(json: any): SuccessSandboxVolumeListResponse;
|
|
39
|
-
export declare function SuccessSandboxVolumeListResponseToJSONTyped(value?: SuccessSandboxVolumeListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
-
//# sourceMappingURL=SuccessSandboxVolumeListResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SuccessSandboxVolumeListResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxVolumeListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAGnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CASvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtJ"}
|
|
@@ -1,46 +0,0 @@
|
|
|
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 { SandboxVolumeFromJSON, SandboxVolumeToJSON, } from './SandboxVolume.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SuccessSandboxVolumeListResponse interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSuccessSandboxVolumeListResponse(value) {
|
|
19
|
-
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function SuccessSandboxVolumeListResponseFromJSON(json) {
|
|
24
|
-
return SuccessSandboxVolumeListResponseFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function SuccessSandboxVolumeListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'success': json['success'],
|
|
32
|
-
'data': json['data'] == null ? undefined : (json['data'].map(SandboxVolumeFromJSON)),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function SuccessSandboxVolumeListResponseToJSON(json) {
|
|
36
|
-
return SuccessSandboxVolumeListResponseToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function SuccessSandboxVolumeListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'success': value['success'],
|
|
44
|
-
'data': value['data'] == null ? undefined : (value['data'].map(SandboxVolumeToJSON)),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { SandboxVolume } from './SandboxVolume.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SuccessSandboxVolumeResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface SuccessSandboxVolumeResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof SuccessSandboxVolumeResponse
|
|
23
|
-
*/
|
|
24
|
-
success: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {SandboxVolume}
|
|
28
|
-
* @memberof SuccessSandboxVolumeResponse
|
|
29
|
-
*/
|
|
30
|
-
data?: SandboxVolume;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the SuccessSandboxVolumeResponse interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfSuccessSandboxVolumeResponse(value: object): value is SuccessSandboxVolumeResponse;
|
|
36
|
-
export declare function SuccessSandboxVolumeResponseFromJSON(json: any): SuccessSandboxVolumeResponse;
|
|
37
|
-
export declare function SuccessSandboxVolumeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxVolumeResponse;
|
|
38
|
-
export declare function SuccessSandboxVolumeResponseToJSON(json: any): SuccessSandboxVolumeResponse;
|
|
39
|
-
export declare function SuccessSandboxVolumeResponseToJSONTyped(value?: SuccessSandboxVolumeResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
-
//# sourceMappingURL=SuccessSandboxVolumeResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SuccessSandboxVolumeResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxVolumeResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/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,CAU9I"}
|