@cirrobio/api-client 0.12.11 → 0.12.13
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
CHANGED
|
@@ -22,11 +22,17 @@ export interface MountedDataset {
|
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* ID of the dataset to mount
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof MountedDataset
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
datasetId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Full S3 URI to mounted data (if mounting custom path)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MountedDataset
|
|
34
|
+
*/
|
|
35
|
+
customUri?: string | null;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the MountedDataset interface.
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the MountedDataset interface.
|
|
16
17
|
*/
|
|
17
18
|
export function instanceOfMountedDataset(value) {
|
|
18
19
|
let isInstance = true;
|
|
19
20
|
isInstance = isInstance && "name" in value;
|
|
20
|
-
isInstance = isInstance && "uri" in value;
|
|
21
21
|
return isInstance;
|
|
22
22
|
}
|
|
23
23
|
export function MountedDatasetFromJSON(json) {
|
|
@@ -29,7 +29,8 @@ export function MountedDatasetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
31
|
'name': json['name'],
|
|
32
|
-
'
|
|
32
|
+
'datasetId': !exists(json, 'datasetId') ? undefined : json['datasetId'],
|
|
33
|
+
'customUri': !exists(json, 'customUri') ? undefined : json['customUri'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function MountedDatasetToJSON(value) {
|
|
@@ -41,6 +42,7 @@ export function MountedDatasetToJSON(value) {
|
|
|
41
42
|
}
|
|
42
43
|
return {
|
|
43
44
|
'name': value.name,
|
|
44
|
-
'
|
|
45
|
+
'datasetId': value.datasetId,
|
|
46
|
+
'customUri': value.customUri,
|
|
45
47
|
};
|
|
46
48
|
}
|
|
@@ -22,11 +22,17 @@ export interface MountedDataset {
|
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* ID of the dataset to mount
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof MountedDataset
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
datasetId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Full S3 URI to mounted data (if mounting custom path)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MountedDataset
|
|
34
|
+
*/
|
|
35
|
+
customUri?: string | null;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the MountedDataset interface.
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.MountedDatasetToJSON = exports.MountedDatasetFromJSONTyped = exports.MountedDatasetFromJSON = exports.instanceOfMountedDataset = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the MountedDataset interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfMountedDataset(value) {
|
|
21
22
|
let isInstance = true;
|
|
22
23
|
isInstance = isInstance && "name" in value;
|
|
23
|
-
isInstance = isInstance && "uri" in value;
|
|
24
24
|
return isInstance;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfMountedDataset = instanceOfMountedDataset;
|
|
@@ -34,7 +34,8 @@ function MountedDatasetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'name': json['name'],
|
|
37
|
-
'
|
|
37
|
+
'datasetId': !(0, runtime_1.exists)(json, 'datasetId') ? undefined : json['datasetId'],
|
|
38
|
+
'customUri': !(0, runtime_1.exists)(json, 'customUri') ? undefined : json['customUri'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.MountedDatasetFromJSONTyped = MountedDatasetFromJSONTyped;
|
|
@@ -47,7 +48,8 @@ function MountedDatasetToJSON(value) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'name': value.name,
|
|
50
|
-
'
|
|
51
|
+
'datasetId': value.datasetId,
|
|
52
|
+
'customUri': value.customUri,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
53
55
|
exports.MountedDatasetToJSON = MountedDatasetToJSON;
|