@cirrobio/api-client 0.1.12 → 0.1.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/.openapi-generator/FILES +110 -110
- package/README.md +1 -1
- package/dist/apis/AuditApi.d.ts +60 -44
- package/dist/apis/AuditApi.js +194 -175
- package/dist/apis/BillingApi.d.ts +81 -81
- package/dist/apis/BillingApi.js +354 -354
- package/dist/apis/DashboardsApi.d.ts +88 -88
- package/dist/apis/DashboardsApi.js +374 -374
- package/dist/apis/DatasetsApi.d.ts +162 -162
- package/dist/apis/DatasetsApi.js +670 -670
- package/dist/apis/ExecutionApi.d.ts +110 -110
- package/dist/apis/ExecutionApi.js +442 -442
- package/dist/apis/FileApi.d.ts +46 -46
- package/dist/apis/FileApi.js +200 -200
- package/dist/apis/MetadataApi.d.ts +71 -71
- package/dist/apis/MetadataApi.js +313 -313
- package/dist/apis/MetricsApi.d.ts +41 -41
- package/dist/apis/MetricsApi.js +187 -187
- package/dist/apis/NotebooksApi.d.ts +101 -101
- package/dist/apis/NotebooksApi.js +423 -423
- package/dist/apis/ProcessesApi.d.ts +138 -138
- package/dist/apis/ProcessesApi.js +589 -589
- package/dist/apis/ProjectsApi.d.ts +189 -189
- package/dist/apis/ProjectsApi.js +815 -815
- package/dist/apis/ReferencesApi.d.ts +91 -91
- package/dist/apis/ReferencesApi.js +405 -405
- package/dist/apis/SystemApi.d.ts +36 -36
- package/dist/apis/SystemApi.js +182 -182
- package/dist/apis/UsersApi.d.ts +84 -84
- package/dist/apis/UsersApi.js +363 -363
- package/dist/apis/index.d.ts +14 -14
- package/dist/apis/index.js +32 -32
- package/dist/index.d.ts +3 -3
- package/dist/index.js +21 -21
- package/dist/models/AWSCredentials.d.ts +55 -55
- package/dist/models/AWSCredentials.js +62 -62
- package/dist/models/AccessType.d.ts +25 -25
- package/dist/models/AccessType.js +40 -40
- package/dist/models/AllowedDataType.d.ts +44 -44
- package/dist/models/AllowedDataType.js +57 -57
- package/dist/models/ApproveAccessRequest.d.ts +32 -32
- package/dist/models/ApproveAccessRequest.js +51 -51
- package/dist/models/ApproveProjectAccessRequest.d.ts +32 -32
- package/dist/models/ApproveProjectAccessRequest.js +51 -51
- package/dist/models/AuditEvent.d.ts +89 -89
- package/dist/models/AuditEvent.js +68 -68
- package/dist/models/AuthInfo.d.ts +49 -49
- package/dist/models/AuthInfo.js +59 -59
- package/dist/models/BillingAccount.d.ts +88 -88
- package/dist/models/BillingAccount.js +80 -80
- package/dist/models/BillingAccountRequest.d.ts +70 -70
- package/dist/models/BillingAccountRequest.js +71 -71
- package/dist/models/BillingMethod.d.ts +24 -24
- package/dist/models/BillingMethod.js +39 -39
- package/dist/models/BudgetPeriod.d.ts +24 -24
- package/dist/models/BudgetPeriod.js +39 -39
- package/dist/models/CloudAccount.d.ts +50 -50
- package/dist/models/CloudAccount.js +58 -58
- package/dist/models/CloudAccountType.d.ts +23 -23
- package/dist/models/CloudAccountType.js +38 -38
- package/dist/models/ColumnDefinition.d.ts +43 -43
- package/dist/models/ColumnDefinition.js +54 -54
- package/dist/models/Contact.d.ts +49 -49
- package/dist/models/Contact.js +59 -59
- package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -49
- package/dist/models/CreateNotebookInstanceRequest.js +59 -59
- package/dist/models/CreateProjectAccessRequest.d.ts +38 -38
- package/dist/models/CreateProjectAccessRequest.js +54 -54
- package/dist/models/CreateReferenceRequest.d.ts +49 -49
- package/dist/models/CreateReferenceRequest.js +59 -59
- package/dist/models/CreateResponse.d.ts +37 -37
- package/dist/models/CreateResponse.js +53 -53
- package/dist/models/CustomPipelineSettings.d.ts +62 -62
- package/dist/models/CustomPipelineSettings.js +62 -62
- package/dist/models/CustomerType.d.ts +24 -24
- package/dist/models/CustomerType.js +39 -39
- package/dist/models/Dashboard.d.ts +83 -83
- package/dist/models/Dashboard.js +74 -74
- package/dist/models/DashboardRequest.d.ts +59 -59
- package/dist/models/DashboardRequest.js +62 -62
- package/dist/models/Dataset.d.ts +93 -93
- package/dist/models/Dataset.js +82 -82
- package/dist/models/DatasetAssetsManifest.d.ts +58 -58
- package/dist/models/DatasetAssetsManifest.js +61 -61
- package/dist/models/DatasetDetail.d.ts +121 -121
- package/dist/models/DatasetDetail.js +94 -94
- package/dist/models/DatasetViz.d.ts +49 -49
- package/dist/models/DatasetViz.js +56 -56
- package/dist/models/ErrorMessage.d.ts +31 -31
- package/dist/models/ErrorMessage.js +50 -50
- package/dist/models/Executor.d.ts +25 -25
- package/dist/models/Executor.js +40 -40
- package/dist/models/FileAccessRequest.d.ts +44 -44
- package/dist/models/FileAccessRequest.js +56 -56
- package/dist/models/FileEntry.d.ts +45 -45
- package/dist/models/FileEntry.js +54 -54
- package/dist/models/FileMappingRule.d.ts +56 -56
- package/dist/models/FileMappingRule.js +61 -61
- package/dist/models/FileNamePattern.d.ts +43 -43
- package/dist/models/FileNamePattern.js +56 -56
- package/dist/models/FileRequirements.d.ts +44 -44
- package/dist/models/FileRequirements.js +57 -57
- package/dist/models/FormSchema.d.ts +41 -41
- package/dist/models/FormSchema.js +52 -52
- package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -31
- package/dist/models/GenerateSftpCredentialsRequest.js +50 -50
- package/dist/models/GetExecutionLogsResponse.d.ts +32 -32
- package/dist/models/GetExecutionLogsResponse.js +51 -51
- package/dist/models/ImportDataRequest.d.ts +43 -43
- package/dist/models/ImportDataRequest.js +56 -56
- package/dist/models/InviteUserRequest.d.ts +43 -43
- package/dist/models/InviteUserRequest.js +56 -56
- package/dist/models/InviteUserResponse.d.ts +31 -31
- package/dist/models/InviteUserResponse.js +50 -50
- package/dist/models/LogEntry.d.ts +37 -37
- package/dist/models/LogEntry.js +53 -53
- package/dist/models/LoginProvider.d.ts +49 -49
- package/dist/models/LoginProvider.js +59 -59
- package/dist/models/MetricRecord.d.ts +45 -45
- package/dist/models/MetricRecord.js +55 -55
- package/dist/models/NotebookInstance.d.ts +86 -86
- package/dist/models/NotebookInstance.js +78 -78
- package/dist/models/NotebookInstanceStatusResponse.d.ts +37 -37
- package/dist/models/NotebookInstanceStatusResponse.js +53 -53
- package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -37
- package/dist/models/OpenNotebookInstanceResponse.js +53 -53
- package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -38
- package/dist/models/PaginatedResponseDatasetListDto.js +54 -54
- package/dist/models/PaginatedResponseSampleDto.d.ts +38 -38
- package/dist/models/PaginatedResponseSampleDto.js +54 -54
- package/dist/models/PipelineCode.d.ts +50 -50
- package/dist/models/PipelineCode.js +60 -60
- package/dist/models/PipelineCost.d.ts +43 -43
- package/dist/models/PipelineCost.js +54 -54
- package/dist/models/PortalErrorResponse.d.ts +50 -50
- package/dist/models/PortalErrorResponse.js +60 -60
- package/dist/models/Process.d.ts +104 -104
- package/dist/models/Process.js +78 -78
- package/dist/models/ProcessDetail.d.ts +125 -125
- package/dist/models/ProcessDetail.js +91 -91
- package/dist/models/Project.d.ts +63 -63
- package/dist/models/Project.js +67 -67
- package/dist/models/ProjectAccessRequest.d.ts +81 -75
- package/dist/models/ProjectAccessRequest.js +76 -73
- package/dist/models/ProjectDetail.d.ts +101 -101
- package/dist/models/ProjectDetail.js +87 -87
- package/dist/models/ProjectMetrics.d.ts +44 -44
- package/dist/models/ProjectMetrics.js +56 -56
- package/dist/models/ProjectRequest.d.ts +71 -71
- package/dist/models/ProjectRequest.js +71 -71
- package/dist/models/ProjectRole.d.ts +25 -25
- package/dist/models/ProjectRole.js +40 -40
- package/dist/models/ProjectSettings.d.ts +122 -122
- package/dist/models/ProjectSettings.js +83 -83
- package/dist/models/ProjectUser.d.ts +62 -62
- package/dist/models/ProjectUser.js +66 -66
- package/dist/models/Reference.d.ts +68 -68
- package/dist/models/Reference.js +69 -69
- package/dist/models/ReferenceType.d.ts +51 -51
- package/dist/models/ReferenceType.js +59 -59
- package/dist/models/RepositoryType.d.ts +25 -25
- package/dist/models/RepositoryType.js +40 -40
- package/dist/models/RequestStatus.d.ts +24 -24
- package/dist/models/RequestStatus.js +39 -39
- package/dist/models/ResourcesInfo.d.ts +49 -49
- package/dist/models/ResourcesInfo.js +59 -59
- package/dist/models/RunAnalysisRequest.d.ts +69 -69
- package/dist/models/RunAnalysisRequest.js +67 -67
- package/dist/models/Sample.d.ts +63 -63
- package/dist/models/Sample.js +62 -62
- package/dist/models/SampleRequest.d.ts +39 -39
- package/dist/models/SampleRequest.js +53 -53
- package/dist/models/ServiceConnection.d.ts +37 -37
- package/dist/models/ServiceConnection.js +53 -53
- package/dist/models/SetUserProjectRoleRequest.d.ts +44 -44
- package/dist/models/SetUserProjectRoleRequest.js +57 -57
- package/dist/models/SftpCredentials.d.ts +49 -49
- package/dist/models/SftpCredentials.js +59 -59
- package/dist/models/Status.d.ts +30 -30
- package/dist/models/Status.js +45 -45
- package/dist/models/StopExecutionResponse.d.ts +37 -37
- package/dist/models/StopExecutionResponse.js +52 -52
- package/dist/models/SyncStatus.d.ts +23 -23
- package/dist/models/SyncStatus.js +38 -38
- package/dist/models/SystemInfoResponse.d.ts +94 -94
- package/dist/models/SystemInfoResponse.js +83 -83
- package/dist/models/Table.d.ts +62 -62
- package/dist/models/Table.js +62 -62
- package/dist/models/Tag.d.ts +43 -43
- package/dist/models/Tag.js +56 -56
- package/dist/models/Task.d.ts +73 -73
- package/dist/models/Task.js +68 -68
- package/dist/models/TenantInfo.d.ts +80 -80
- package/dist/models/TenantInfo.js +75 -75
- package/dist/models/UpdateDatasetRequest.d.ts +50 -50
- package/dist/models/UpdateDatasetRequest.js +60 -60
- package/dist/models/UpdateUserRequest.d.ts +69 -69
- package/dist/models/UpdateUserRequest.js +64 -64
- package/dist/models/UploadDatasetCreateResponse.d.ts +43 -43
- package/dist/models/UploadDatasetCreateResponse.js +56 -56
- package/dist/models/UploadDatasetRequest.d.ts +49 -49
- package/dist/models/UploadDatasetRequest.js +59 -59
- package/dist/models/User.d.ts +49 -49
- package/dist/models/User.js +59 -59
- package/dist/models/UserDetail.d.ts +86 -86
- package/dist/models/UserDetail.js +78 -78
- package/dist/models/UserProjectAssignment.d.ts +50 -50
- package/dist/models/UserProjectAssignment.js +60 -60
- package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -37
- package/dist/models/ValidateFileRequirementsRequest.js +53 -53
- package/dist/models/index.d.ts +87 -87
- package/dist/models/index.js +105 -105
- package/dist/runtime.d.ts +182 -182
- package/dist/runtime.js +562 -562
- package/package.json +1 -1
- package/src/apis/AuditApi.ts +27 -6
- package/src/models/ApproveAccessRequest.ts +73 -73
- package/src/models/ProjectAccessRequest.ts +9 -0
- package/dist/models/CreateDashboardRequest.d.ts +0 -31
- package/dist/models/CreateDashboardRequest.js +0 -50
- package/dist/models/CustomPipelineSettingsDto1.d.ts +0 -61
- package/dist/models/CustomPipelineSettingsDto1.js +0 -65
- package/dist/models/CustomProcessRequest.d.ts +0 -99
- package/dist/models/CustomProcessRequest.js +0 -83
- package/dist/models/CustomProcessRequestPipelineCode.d.ts +0 -50
- package/dist/models/CustomProcessRequestPipelineCode.js +0 -58
- package/dist/models/DatasetFile.d.ts +0 -45
- package/dist/models/DatasetFile.js +0 -54
- package/dist/models/DatasetType.d.ts +0 -23
- package/dist/models/DatasetType.js +0 -38
- package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +0 -50
- package/dist/models/ProcessDetailAllOfPipelineCode.js +0 -58
- package/dist/models/Region.d.ts +0 -31
- package/dist/models/Region.js +0 -50
- package/dist/models/RegisterDatasetRequest.d.ts +0 -49
- package/dist/models/RegisterDatasetRequest.js +0 -59
- package/dist/models/RegisterPublicDataRequest.d.ts +0 -43
- package/dist/models/RegisterPublicDataRequest.js +0 -56
- package/dist/models/S3Credentials.d.ts +0 -55
- package/dist/models/S3Credentials.js +0 -62
- package/dist/models/ValidateDataInputsRequest.d.ts +0 -37
- package/dist/models/ValidateDataInputsRequest.js +0 -53
- package/dist/models/ValidateDataInputsResponse.d.ts +0 -44
- package/dist/models/ValidateDataInputsResponse.js +0 -57
package/dist/models/Task.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Cirro Data
|
|
6
|
-
* Cirro Data Platform service API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: latest
|
|
9
|
-
* Contact: support@cirro.bio
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TaskToJSON = exports.TaskFromJSONTyped = exports.TaskFromJSON = exports.instanceOfTask = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the Task interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfTask(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "name" in value;
|
|
24
|
-
isInstance = isInstance && "nativeJobId" in value;
|
|
25
|
-
isInstance = isInstance && "status" in value;
|
|
26
|
-
isInstance = isInstance && "requestedAt" in value;
|
|
27
|
-
return isInstance;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfTask = instanceOfTask;
|
|
30
|
-
function TaskFromJSON(json) {
|
|
31
|
-
return TaskFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.TaskFromJSON = TaskFromJSON;
|
|
34
|
-
function TaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'nativeJobId': json['nativeJobId'],
|
|
41
|
-
'status': json['status'],
|
|
42
|
-
'requestedAt': (new Date(json['requestedAt'])),
|
|
43
|
-
'stoppedAt': !(0, runtime_1.exists)(json, 'stoppedAt') ? undefined : (new Date(json['stoppedAt'])),
|
|
44
|
-
'containerImage': !(0, runtime_1.exists)(json, 'containerImage') ? undefined : json['containerImage'],
|
|
45
|
-
'commandLine': !(0, runtime_1.exists)(json, 'commandLine') ? undefined : json['commandLine'],
|
|
46
|
-
'logLocation': !(0, runtime_1.exists)(json, 'logLocation') ? undefined : json['logLocation'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.TaskFromJSONTyped = TaskFromJSONTyped;
|
|
50
|
-
function TaskToJSON(value) {
|
|
51
|
-
if (value === undefined) {
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
if (value === null) {
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'name': value.name,
|
|
59
|
-
'nativeJobId': value.nativeJobId,
|
|
60
|
-
'status': value.status,
|
|
61
|
-
'requestedAt': (value.requestedAt.toISOString()),
|
|
62
|
-
'stoppedAt': value.stoppedAt === undefined ? undefined : (value.stoppedAt.toISOString()),
|
|
63
|
-
'containerImage': value.containerImage,
|
|
64
|
-
'commandLine': value.commandLine,
|
|
65
|
-
'logLocation': value.logLocation,
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
exports.TaskToJSON = TaskToJSON;
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TaskToJSON = exports.TaskFromJSONTyped = exports.TaskFromJSON = exports.instanceOfTask = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Task interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfTask(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "nativeJobId" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
isInstance = isInstance && "requestedAt" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfTask = instanceOfTask;
|
|
30
|
+
function TaskFromJSON(json) {
|
|
31
|
+
return TaskFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.TaskFromJSON = TaskFromJSON;
|
|
34
|
+
function TaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'nativeJobId': json['nativeJobId'],
|
|
41
|
+
'status': json['status'],
|
|
42
|
+
'requestedAt': (new Date(json['requestedAt'])),
|
|
43
|
+
'stoppedAt': !(0, runtime_1.exists)(json, 'stoppedAt') ? undefined : (new Date(json['stoppedAt'])),
|
|
44
|
+
'containerImage': !(0, runtime_1.exists)(json, 'containerImage') ? undefined : json['containerImage'],
|
|
45
|
+
'commandLine': !(0, runtime_1.exists)(json, 'commandLine') ? undefined : json['commandLine'],
|
|
46
|
+
'logLocation': !(0, runtime_1.exists)(json, 'logLocation') ? undefined : json['logLocation'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.TaskFromJSONTyped = TaskFromJSONTyped;
|
|
50
|
+
function TaskToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value.name,
|
|
59
|
+
'nativeJobId': value.nativeJobId,
|
|
60
|
+
'status': value.status,
|
|
61
|
+
'requestedAt': (value.requestedAt.toISOString()),
|
|
62
|
+
'stoppedAt': value.stoppedAt === undefined ? undefined : (value.stoppedAt.toISOString()),
|
|
63
|
+
'containerImage': value.containerImage,
|
|
64
|
+
'commandLine': value.commandLine,
|
|
65
|
+
'logLocation': value.logLocation,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.TaskToJSON = TaskToJSON;
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cirro Data
|
|
3
|
-
* Cirro Data Platform service API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
* Contact: support@cirro.bio
|
|
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 { LoginProvider } from './LoginProvider';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TenantInfo
|
|
17
|
-
*/
|
|
18
|
-
export interface TenantInfo {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof TenantInfo
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof TenantInfo
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof TenantInfo
|
|
35
|
-
*/
|
|
36
|
-
description: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof TenantInfo
|
|
41
|
-
*/
|
|
42
|
-
location: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof TenantInfo
|
|
47
|
-
*/
|
|
48
|
-
contactEmail: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof TenantInfo
|
|
53
|
-
*/
|
|
54
|
-
tenantLogoUrl: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof TenantInfo
|
|
59
|
-
*/
|
|
60
|
-
termsOfServiceUrl: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof TenantInfo
|
|
65
|
-
*/
|
|
66
|
-
privacyPolicyUrl: string;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {Array<LoginProvider>}
|
|
70
|
-
* @memberof TenantInfo
|
|
71
|
-
*/
|
|
72
|
-
loginProviders: Array<LoginProvider>;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the TenantInfo interface.
|
|
76
|
-
*/
|
|
77
|
-
export declare function instanceOfTenantInfo(value: object): boolean;
|
|
78
|
-
export declare function TenantInfoFromJSON(json: any): TenantInfo;
|
|
79
|
-
export declare function TenantInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantInfo;
|
|
80
|
-
export declare function TenantInfoToJSON(value?: TenantInfo | null): any;
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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 { LoginProvider } from './LoginProvider';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TenantInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface TenantInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TenantInfo
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TenantInfo
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TenantInfo
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TenantInfo
|
|
41
|
+
*/
|
|
42
|
+
location: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TenantInfo
|
|
47
|
+
*/
|
|
48
|
+
contactEmail: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TenantInfo
|
|
53
|
+
*/
|
|
54
|
+
tenantLogoUrl: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TenantInfo
|
|
59
|
+
*/
|
|
60
|
+
termsOfServiceUrl: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TenantInfo
|
|
65
|
+
*/
|
|
66
|
+
privacyPolicyUrl: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<LoginProvider>}
|
|
70
|
+
* @memberof TenantInfo
|
|
71
|
+
*/
|
|
72
|
+
loginProviders: Array<LoginProvider>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the TenantInfo interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfTenantInfo(value: object): boolean;
|
|
78
|
+
export declare function TenantInfoFromJSON(json: any): TenantInfo;
|
|
79
|
+
export declare function TenantInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantInfo;
|
|
80
|
+
export declare function TenantInfoToJSON(value?: TenantInfo | null): any;
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Cirro Data
|
|
6
|
-
* Cirro Data Platform service API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: latest
|
|
9
|
-
* Contact: support@cirro.bio
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TenantInfoToJSON = exports.TenantInfoFromJSONTyped = exports.TenantInfoFromJSON = exports.instanceOfTenantInfo = void 0;
|
|
17
|
-
var LoginProvider_1 = require("./LoginProvider");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the TenantInfo interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfTenantInfo(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "id" in value;
|
|
24
|
-
isInstance = isInstance && "name" in value;
|
|
25
|
-
isInstance = isInstance && "description" in value;
|
|
26
|
-
isInstance = isInstance && "location" in value;
|
|
27
|
-
isInstance = isInstance && "contactEmail" in value;
|
|
28
|
-
isInstance = isInstance && "tenantLogoUrl" in value;
|
|
29
|
-
isInstance = isInstance && "termsOfServiceUrl" in value;
|
|
30
|
-
isInstance = isInstance && "privacyPolicyUrl" in value;
|
|
31
|
-
isInstance = isInstance && "loginProviders" in value;
|
|
32
|
-
return isInstance;
|
|
33
|
-
}
|
|
34
|
-
exports.instanceOfTenantInfo = instanceOfTenantInfo;
|
|
35
|
-
function TenantInfoFromJSON(json) {
|
|
36
|
-
return TenantInfoFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
exports.TenantInfoFromJSON = TenantInfoFromJSON;
|
|
39
|
-
function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if ((json === undefined) || (json === null)) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'id': json['id'],
|
|
45
|
-
'name': json['name'],
|
|
46
|
-
'description': json['description'],
|
|
47
|
-
'location': json['location'],
|
|
48
|
-
'contactEmail': json['contactEmail'],
|
|
49
|
-
'tenantLogoUrl': json['tenantLogoUrl'],
|
|
50
|
-
'termsOfServiceUrl': json['termsOfServiceUrl'],
|
|
51
|
-
'privacyPolicyUrl': json['privacyPolicyUrl'],
|
|
52
|
-
'loginProviders': (json['loginProviders'].map(LoginProvider_1.LoginProviderFromJSON)),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.TenantInfoFromJSONTyped = TenantInfoFromJSONTyped;
|
|
56
|
-
function TenantInfoToJSON(value) {
|
|
57
|
-
if (value === undefined) {
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
60
|
-
if (value === null) {
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'id': value.id,
|
|
65
|
-
'name': value.name,
|
|
66
|
-
'description': value.description,
|
|
67
|
-
'location': value.location,
|
|
68
|
-
'contactEmail': value.contactEmail,
|
|
69
|
-
'tenantLogoUrl': value.tenantLogoUrl,
|
|
70
|
-
'termsOfServiceUrl': value.termsOfServiceUrl,
|
|
71
|
-
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
72
|
-
'loginProviders': (value.loginProviders.map(LoginProvider_1.LoginProviderToJSON)),
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
exports.TenantInfoToJSON = TenantInfoToJSON;
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TenantInfoToJSON = exports.TenantInfoFromJSONTyped = exports.TenantInfoFromJSON = exports.instanceOfTenantInfo = void 0;
|
|
17
|
+
var LoginProvider_1 = require("./LoginProvider");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the TenantInfo interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfTenantInfo(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "description" in value;
|
|
26
|
+
isInstance = isInstance && "location" in value;
|
|
27
|
+
isInstance = isInstance && "contactEmail" in value;
|
|
28
|
+
isInstance = isInstance && "tenantLogoUrl" in value;
|
|
29
|
+
isInstance = isInstance && "termsOfServiceUrl" in value;
|
|
30
|
+
isInstance = isInstance && "privacyPolicyUrl" in value;
|
|
31
|
+
isInstance = isInstance && "loginProviders" in value;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfTenantInfo = instanceOfTenantInfo;
|
|
35
|
+
function TenantInfoFromJSON(json) {
|
|
36
|
+
return TenantInfoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.TenantInfoFromJSON = TenantInfoFromJSON;
|
|
39
|
+
function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'location': json['location'],
|
|
48
|
+
'contactEmail': json['contactEmail'],
|
|
49
|
+
'tenantLogoUrl': json['tenantLogoUrl'],
|
|
50
|
+
'termsOfServiceUrl': json['termsOfServiceUrl'],
|
|
51
|
+
'privacyPolicyUrl': json['privacyPolicyUrl'],
|
|
52
|
+
'loginProviders': (json['loginProviders'].map(LoginProvider_1.LoginProviderFromJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.TenantInfoFromJSONTyped = TenantInfoFromJSONTyped;
|
|
56
|
+
function TenantInfoToJSON(value) {
|
|
57
|
+
if (value === undefined) {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
if (value === null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value.id,
|
|
65
|
+
'name': value.name,
|
|
66
|
+
'description': value.description,
|
|
67
|
+
'location': value.location,
|
|
68
|
+
'contactEmail': value.contactEmail,
|
|
69
|
+
'tenantLogoUrl': value.tenantLogoUrl,
|
|
70
|
+
'termsOfServiceUrl': value.termsOfServiceUrl,
|
|
71
|
+
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
72
|
+
'loginProviders': (value.loginProviders.map(LoginProvider_1.LoginProviderToJSON)),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.TenantInfoToJSON = TenantInfoToJSON;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cirro Data
|
|
3
|
-
* Cirro Data Platform service API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
* Contact: support@cirro.bio
|
|
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 { Tag } from './Tag';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UpdateDatasetRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface UpdateDatasetRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateDatasetRequest
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UpdateDatasetRequest
|
|
29
|
-
*/
|
|
30
|
-
description: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof UpdateDatasetRequest
|
|
35
|
-
*/
|
|
36
|
-
processId: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<Tag>}
|
|
40
|
-
* @memberof UpdateDatasetRequest
|
|
41
|
-
*/
|
|
42
|
-
tags: Array<Tag>;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the UpdateDatasetRequest interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfUpdateDatasetRequest(value: object): boolean;
|
|
48
|
-
export declare function UpdateDatasetRequestFromJSON(json: any): UpdateDatasetRequest;
|
|
49
|
-
export declare function UpdateDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDatasetRequest;
|
|
50
|
-
export declare function UpdateDatasetRequestToJSON(value?: UpdateDatasetRequest | null): any;
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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 { Tag } from './Tag';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateDatasetRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateDatasetRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateDatasetRequest
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateDatasetRequest
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpdateDatasetRequest
|
|
35
|
+
*/
|
|
36
|
+
processId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<Tag>}
|
|
40
|
+
* @memberof UpdateDatasetRequest
|
|
41
|
+
*/
|
|
42
|
+
tags: Array<Tag>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateDatasetRequest interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfUpdateDatasetRequest(value: object): boolean;
|
|
48
|
+
export declare function UpdateDatasetRequestFromJSON(json: any): UpdateDatasetRequest;
|
|
49
|
+
export declare function UpdateDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDatasetRequest;
|
|
50
|
+
export declare function UpdateDatasetRequestToJSON(value?: UpdateDatasetRequest | null): any;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Cirro Data
|
|
6
|
-
* Cirro Data Platform service API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: latest
|
|
9
|
-
* Contact: support@cirro.bio
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateDatasetRequestToJSON = exports.UpdateDatasetRequestFromJSONTyped = exports.UpdateDatasetRequestFromJSON = exports.instanceOfUpdateDatasetRequest = void 0;
|
|
17
|
-
var Tag_1 = require("./Tag");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the UpdateDatasetRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfUpdateDatasetRequest(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "name" in value;
|
|
24
|
-
isInstance = isInstance && "description" in value;
|
|
25
|
-
isInstance = isInstance && "processId" in value;
|
|
26
|
-
isInstance = isInstance && "tags" in value;
|
|
27
|
-
return isInstance;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfUpdateDatasetRequest = instanceOfUpdateDatasetRequest;
|
|
30
|
-
function UpdateDatasetRequestFromJSON(json) {
|
|
31
|
-
return UpdateDatasetRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.UpdateDatasetRequestFromJSON = UpdateDatasetRequestFromJSON;
|
|
34
|
-
function UpdateDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'description': json['description'],
|
|
41
|
-
'processId': json['processId'],
|
|
42
|
-
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.UpdateDatasetRequestFromJSONTyped = UpdateDatasetRequestFromJSONTyped;
|
|
46
|
-
function UpdateDatasetRequestToJSON(value) {
|
|
47
|
-
if (value === undefined) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
if (value === null) {
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value.name,
|
|
55
|
-
'description': value.description,
|
|
56
|
-
'processId': value.processId,
|
|
57
|
-
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
exports.UpdateDatasetRequestToJSON = UpdateDatasetRequestToJSON;
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateDatasetRequestToJSON = exports.UpdateDatasetRequestFromJSONTyped = exports.UpdateDatasetRequestFromJSON = exports.instanceOfUpdateDatasetRequest = void 0;
|
|
17
|
+
var Tag_1 = require("./Tag");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateDatasetRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateDatasetRequest(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "processId" in value;
|
|
26
|
+
isInstance = isInstance && "tags" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfUpdateDatasetRequest = instanceOfUpdateDatasetRequest;
|
|
30
|
+
function UpdateDatasetRequestFromJSON(json) {
|
|
31
|
+
return UpdateDatasetRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.UpdateDatasetRequestFromJSON = UpdateDatasetRequestFromJSON;
|
|
34
|
+
function UpdateDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'description': json['description'],
|
|
41
|
+
'processId': json['processId'],
|
|
42
|
+
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.UpdateDatasetRequestFromJSONTyped = UpdateDatasetRequestFromJSONTyped;
|
|
46
|
+
function UpdateDatasetRequestToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'name': value.name,
|
|
55
|
+
'description': value.description,
|
|
56
|
+
'processId': value.processId,
|
|
57
|
+
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.UpdateDatasetRequestToJSON = UpdateDatasetRequestToJSON;
|