flywheel-sdk 21.2.0rc0__py3-none-any.whl → 21.3.0__py3-none-any.whl
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.
- flywheel/__init__.py +1 -0
- flywheel/api/acquisitions_api.py +4 -4
- flywheel/api/analyses_api.py +2 -2
- flywheel/api/audit_trail_api.py +2 -2
- flywheel/api/collections_api.py +8 -8
- flywheel/api/containers_api.py +4 -4
- flywheel/api/custom_filters_api.py +2 -2
- flywheel/api/data_view_executions_api.py +2 -2
- flywheel/api/dataexplorer_api.py +2 -2
- flywheel/api/devices_api.py +5 -5
- flywheel/api/files_api.py +2 -2
- flywheel/api/form_responses_api.py +2 -2
- flywheel/api/gears_api.py +2 -2
- flywheel/api/groups_api.py +4 -4
- flywheel/api/jobs_api.py +2 -2
- flywheel/api/modalities_api.py +2 -2
- flywheel/api/projects_api.py +14 -14
- flywheel/api/protocols_api.py +2 -2
- flywheel/api/reports_api.py +2 -2
- flywheel/api/roles_api.py +2 -2
- flywheel/api/sessions_api.py +8 -8
- flywheel/api/site_api.py +2 -2
- flywheel/api/staffing_pools_api.py +2 -2
- flywheel/api/subjects_api.py +6 -6
- flywheel/api/tasks_api.py +6 -10
- flywheel/api/tree_api.py +2 -2
- flywheel/api/users_api.py +14 -14
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +53 -53
- flywheel/models/__init__.py +1 -0
- flywheel/models/container_type.py +2 -0
- flywheel/models/core_workflows_form_responses_models_form_parents.py +139 -4
- flywheel/models/custom_field.py +4 -4
- flywheel/models/features.py +124 -97
- flywheel/models/project_container_output.py +1 -0
- flywheel/models/project_group_info.py +190 -0
- flywheel/models/project_list_output.py +31 -1
- flywheel/models/project_node.py +1 -0
- flywheel/models/project_output.py +31 -1
- flywheel/models/protocol.py +32 -4
- flywheel/models/search_parent_project.py +1 -0
- {flywheel_sdk-21.2.0rc0.dist-info → flywheel_sdk-21.3.0.dist-info}/METADATA +3 -2
- {flywheel_sdk-21.2.0rc0.dist-info → flywheel_sdk-21.3.0.dist-info}/RECORD +46 -45
- {flywheel_sdk-21.2.0rc0.dist-info → flywheel_sdk-21.3.0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-21.2.0rc0.dist-info → flywheel_sdk-21.3.0.dist-info}/licenses/LICENSE.txt +0 -0
flywheel/models/custom_field.py
CHANGED
|
@@ -35,7 +35,7 @@ class CustomField(object):
|
|
|
35
35
|
'helper_text': 'str',
|
|
36
36
|
'error_text': 'str',
|
|
37
37
|
'visible': 'union[boolean,list[object]]',
|
|
38
|
-
'required_when_visible': '
|
|
38
|
+
'required_when_visible': 'union[boolean,list[object]]',
|
|
39
39
|
'validation': 'list[ValidationRule]',
|
|
40
40
|
'options': 'list[SelectItem]'
|
|
41
41
|
}
|
|
@@ -68,7 +68,7 @@ class CustomField(object):
|
|
|
68
68
|
'options': 'options'
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
def __init__(self, type=None, label=None, description=None, placeholder=None, key=None, helper_text=None, error_text=None, visible=None, required_when_visible=
|
|
71
|
+
def __init__(self, type=None, label=None, description=None, placeholder=None, key=None, helper_text=None, error_text=None, visible=None, required_when_visible=None, validation=None, options=None): # noqa: E501
|
|
72
72
|
"""CustomField - a model defined in Swagger"""
|
|
73
73
|
super(CustomField, self).__init__()
|
|
74
74
|
|
|
@@ -281,7 +281,7 @@ class CustomField(object):
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
:return: The required_when_visible of this CustomField.
|
|
284
|
-
:rtype:
|
|
284
|
+
:rtype: union[boolean,list[object]]
|
|
285
285
|
"""
|
|
286
286
|
return self._required_when_visible
|
|
287
287
|
|
|
@@ -291,7 +291,7 @@ class CustomField(object):
|
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
:param required_when_visible: The required_when_visible of this CustomField. # noqa: E501
|
|
294
|
-
:type:
|
|
294
|
+
:type: union[boolean,list[object]]
|
|
295
295
|
"""
|
|
296
296
|
|
|
297
297
|
self._required_when_visible = required_when_visible
|
flywheel/models/features.py
CHANGED
|
@@ -39,7 +39,6 @@ class Features(object):
|
|
|
39
39
|
'dimse': 'bool',
|
|
40
40
|
'elastic_search_primary': 'bool',
|
|
41
41
|
'exchange': 'bool',
|
|
42
|
-
'case_uploader': 'bool',
|
|
43
42
|
'exchange_admin': 'bool',
|
|
44
43
|
'external_routing': 'bool',
|
|
45
44
|
'gear_access': 'bool',
|
|
@@ -62,8 +61,6 @@ class Features(object):
|
|
|
62
61
|
'ohif_v3': 'bool',
|
|
63
62
|
'ohif_v3_default_app': 'bool',
|
|
64
63
|
'ohif_v3_readonly': 'bool',
|
|
65
|
-
'project_export': 'bool',
|
|
66
|
-
'project_import': 'bool',
|
|
67
64
|
'project_list_uses_stats': 'bool',
|
|
68
65
|
'project_locking': 'bool',
|
|
69
66
|
'reader_tasks': 'bool',
|
|
@@ -83,8 +80,12 @@ class Features(object):
|
|
|
83
80
|
'validate_classification': 'bool',
|
|
84
81
|
'engine_validate_classification': 'bool',
|
|
85
82
|
'virus_scan': 'bool',
|
|
83
|
+
'tasks_refactor': 'bool',
|
|
84
|
+
'bulk_import_deid': 'bool',
|
|
85
|
+
'case_uploader': 'bool',
|
|
86
86
|
'legacy_dicom_uploader': 'bool',
|
|
87
|
-
'
|
|
87
|
+
'project_export': 'bool',
|
|
88
|
+
'project_import': 'bool'
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
attribute_map = {
|
|
@@ -105,7 +106,6 @@ class Features(object):
|
|
|
105
106
|
'dimse': 'dimse',
|
|
106
107
|
'elastic_search_primary': 'elastic_search_primary',
|
|
107
108
|
'exchange': 'exchange',
|
|
108
|
-
'case_uploader': 'case_uploader',
|
|
109
109
|
'exchange_admin': 'exchange_admin',
|
|
110
110
|
'external_routing': 'external_routing',
|
|
111
111
|
'gear_access': 'gear_access',
|
|
@@ -128,8 +128,6 @@ class Features(object):
|
|
|
128
128
|
'ohif_v3': 'ohif_v3',
|
|
129
129
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
130
130
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
131
|
-
'project_export': 'project_export',
|
|
132
|
-
'project_import': 'project_import',
|
|
133
131
|
'project_list_uses_stats': 'project_list_uses_stats',
|
|
134
132
|
'project_locking': 'project_locking',
|
|
135
133
|
'reader_tasks': 'reader_tasks',
|
|
@@ -149,8 +147,12 @@ class Features(object):
|
|
|
149
147
|
'validate_classification': 'validate_classification',
|
|
150
148
|
'engine_validate_classification': 'engine_validate_classification',
|
|
151
149
|
'virus_scan': 'virus_scan',
|
|
150
|
+
'tasks_refactor': 'tasks_refactor',
|
|
151
|
+
'bulk_import_deid': 'bulk_import_deid',
|
|
152
|
+
'case_uploader': 'case_uploader',
|
|
152
153
|
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
153
|
-
'
|
|
154
|
+
'project_export': 'project_export',
|
|
155
|
+
'project_import': 'project_import'
|
|
154
156
|
}
|
|
155
157
|
|
|
156
158
|
rattribute_map = {
|
|
@@ -171,7 +173,6 @@ class Features(object):
|
|
|
171
173
|
'dimse': 'dimse',
|
|
172
174
|
'elastic_search_primary': 'elastic_search_primary',
|
|
173
175
|
'exchange': 'exchange',
|
|
174
|
-
'case_uploader': 'case_uploader',
|
|
175
176
|
'exchange_admin': 'exchange_admin',
|
|
176
177
|
'external_routing': 'external_routing',
|
|
177
178
|
'gear_access': 'gear_access',
|
|
@@ -194,8 +195,6 @@ class Features(object):
|
|
|
194
195
|
'ohif_v3': 'ohif_v3',
|
|
195
196
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
196
197
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
197
|
-
'project_export': 'project_export',
|
|
198
|
-
'project_import': 'project_import',
|
|
199
198
|
'project_list_uses_stats': 'project_list_uses_stats',
|
|
200
199
|
'project_locking': 'project_locking',
|
|
201
200
|
'reader_tasks': 'reader_tasks',
|
|
@@ -215,11 +214,15 @@ class Features(object):
|
|
|
215
214
|
'validate_classification': 'validate_classification',
|
|
216
215
|
'engine_validate_classification': 'engine_validate_classification',
|
|
217
216
|
'virus_scan': 'virus_scan',
|
|
217
|
+
'tasks_refactor': 'tasks_refactor',
|
|
218
|
+
'bulk_import_deid': 'bulk_import_deid',
|
|
219
|
+
'case_uploader': 'case_uploader',
|
|
218
220
|
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
219
|
-
'
|
|
221
|
+
'project_export': 'project_export',
|
|
222
|
+
'project_import': 'project_import'
|
|
220
223
|
}
|
|
221
224
|
|
|
222
|
-
def __init__(self, api_enabled_gear_rules=True, auth0=None, audit_trail=False, azureml_integration=False, cold_job_logs=False, collections=False, copy_by_reference=True, core_api=True, crawler=False, cvat=False, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dimse=False, elastic_search_primary=False, exchange=False,
|
|
225
|
+
def __init__(self, api_enabled_gear_rules=True, auth0=None, audit_trail=False, azureml_integration=False, cold_job_logs=False, collections=False, copy_by_reference=True, core_api=True, crawler=False, cvat=False, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dimse=False, elastic_search_primary=False, exchange=False, exchange_admin=False, external_routing=False, gear_access=True, google_analytics=True, healthcare_api=False, job_ask=True, job_prioritization=True, job_tickets=True, jupyter_integration=False, jupyterhub_external_storage=True, ldap_sync=False, multifactor_auth=False, multipart_signed_url=True, multiproject=False, ohif_multi_subject_view=False, ohif_meteor=False, ohif_react=False, ohif_slice_order=None, ohif_v2_adhoc_indexing=True, ohif_v3=True, ohif_v3_default_app=False, ohif_v3_readonly=False, project_list_uses_stats=True, project_locking=False, reader_tasks=False, rts_sync=False, sentry_logging=None, session_templates_non_21_cfr=True, shared_projects=False, signed_url=False, study_task_status=False, tagging=False, tags_in_lists=True, task_manager_data_views=True, transform_search_fields=True, unsafe_login=False, url_access_apps=False, userpilot=None, validate_classification=True, engine_validate_classification=False, virus_scan=False, tasks_refactor=False, bulk_import_deid=False, case_uploader=False, legacy_dicom_uploader=False, project_export=True, project_import=True): # noqa: E501
|
|
223
226
|
"""Features - a model defined in Swagger"""
|
|
224
227
|
super(Features, self).__init__()
|
|
225
228
|
|
|
@@ -240,7 +243,6 @@ class Features(object):
|
|
|
240
243
|
self._dimse = None
|
|
241
244
|
self._elastic_search_primary = None
|
|
242
245
|
self._exchange = None
|
|
243
|
-
self._case_uploader = None
|
|
244
246
|
self._exchange_admin = None
|
|
245
247
|
self._external_routing = None
|
|
246
248
|
self._gear_access = None
|
|
@@ -263,8 +265,6 @@ class Features(object):
|
|
|
263
265
|
self._ohif_v3 = None
|
|
264
266
|
self._ohif_v3_default_app = None
|
|
265
267
|
self._ohif_v3_readonly = None
|
|
266
|
-
self._project_export = None
|
|
267
|
-
self._project_import = None
|
|
268
268
|
self._project_list_uses_stats = None
|
|
269
269
|
self._project_locking = None
|
|
270
270
|
self._reader_tasks = None
|
|
@@ -284,8 +284,12 @@ class Features(object):
|
|
|
284
284
|
self._validate_classification = None
|
|
285
285
|
self._engine_validate_classification = None
|
|
286
286
|
self._virus_scan = None
|
|
287
|
-
self._legacy_dicom_uploader = None
|
|
288
287
|
self._tasks_refactor = None
|
|
288
|
+
self._bulk_import_deid = None
|
|
289
|
+
self._case_uploader = None
|
|
290
|
+
self._legacy_dicom_uploader = None
|
|
291
|
+
self._project_export = None
|
|
292
|
+
self._project_import = None
|
|
289
293
|
self.discriminator = None
|
|
290
294
|
self.alt_discriminator = None
|
|
291
295
|
|
|
@@ -323,8 +327,6 @@ class Features(object):
|
|
|
323
327
|
self.elastic_search_primary = elastic_search_primary
|
|
324
328
|
if exchange is not None:
|
|
325
329
|
self.exchange = exchange
|
|
326
|
-
if case_uploader is not None:
|
|
327
|
-
self.case_uploader = case_uploader
|
|
328
330
|
if exchange_admin is not None:
|
|
329
331
|
self.exchange_admin = exchange_admin
|
|
330
332
|
if external_routing is not None:
|
|
@@ -369,10 +371,6 @@ class Features(object):
|
|
|
369
371
|
self.ohif_v3_default_app = ohif_v3_default_app
|
|
370
372
|
if ohif_v3_readonly is not None:
|
|
371
373
|
self.ohif_v3_readonly = ohif_v3_readonly
|
|
372
|
-
if project_export is not None:
|
|
373
|
-
self.project_export = project_export
|
|
374
|
-
if project_import is not None:
|
|
375
|
-
self.project_import = project_import
|
|
376
374
|
if project_list_uses_stats is not None:
|
|
377
375
|
self.project_list_uses_stats = project_list_uses_stats
|
|
378
376
|
if project_locking is not None:
|
|
@@ -411,10 +409,18 @@ class Features(object):
|
|
|
411
409
|
self.engine_validate_classification = engine_validate_classification
|
|
412
410
|
if virus_scan is not None:
|
|
413
411
|
self.virus_scan = virus_scan
|
|
414
|
-
if legacy_dicom_uploader is not None:
|
|
415
|
-
self.legacy_dicom_uploader = legacy_dicom_uploader
|
|
416
412
|
if tasks_refactor is not None:
|
|
417
413
|
self.tasks_refactor = tasks_refactor
|
|
414
|
+
if bulk_import_deid is not None:
|
|
415
|
+
self.bulk_import_deid = bulk_import_deid
|
|
416
|
+
if case_uploader is not None:
|
|
417
|
+
self.case_uploader = case_uploader
|
|
418
|
+
if legacy_dicom_uploader is not None:
|
|
419
|
+
self.legacy_dicom_uploader = legacy_dicom_uploader
|
|
420
|
+
if project_export is not None:
|
|
421
|
+
self.project_export = project_export
|
|
422
|
+
if project_import is not None:
|
|
423
|
+
self.project_import = project_import
|
|
418
424
|
|
|
419
425
|
@property
|
|
420
426
|
def api_enabled_gear_rules(self):
|
|
@@ -773,27 +779,6 @@ class Features(object):
|
|
|
773
779
|
|
|
774
780
|
self._exchange = exchange
|
|
775
781
|
|
|
776
|
-
@property
|
|
777
|
-
def case_uploader(self):
|
|
778
|
-
"""Gets the case_uploader of this Features.
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
:return: The case_uploader of this Features.
|
|
782
|
-
:rtype: bool
|
|
783
|
-
"""
|
|
784
|
-
return self._case_uploader
|
|
785
|
-
|
|
786
|
-
@case_uploader.setter
|
|
787
|
-
def case_uploader(self, case_uploader):
|
|
788
|
-
"""Sets the case_uploader of this Features.
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
:param case_uploader: The case_uploader of this Features. # noqa: E501
|
|
792
|
-
:type: bool
|
|
793
|
-
"""
|
|
794
|
-
|
|
795
|
-
self._case_uploader = case_uploader
|
|
796
|
-
|
|
797
782
|
@property
|
|
798
783
|
def exchange_admin(self):
|
|
799
784
|
"""Gets the exchange_admin of this Features.
|
|
@@ -1256,48 +1241,6 @@ class Features(object):
|
|
|
1256
1241
|
|
|
1257
1242
|
self._ohif_v3_readonly = ohif_v3_readonly
|
|
1258
1243
|
|
|
1259
|
-
@property
|
|
1260
|
-
def project_export(self):
|
|
1261
|
-
"""Gets the project_export of this Features.
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
:return: The project_export of this Features.
|
|
1265
|
-
:rtype: bool
|
|
1266
|
-
"""
|
|
1267
|
-
return self._project_export
|
|
1268
|
-
|
|
1269
|
-
@project_export.setter
|
|
1270
|
-
def project_export(self, project_export):
|
|
1271
|
-
"""Sets the project_export of this Features.
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
:param project_export: The project_export of this Features. # noqa: E501
|
|
1275
|
-
:type: bool
|
|
1276
|
-
"""
|
|
1277
|
-
|
|
1278
|
-
self._project_export = project_export
|
|
1279
|
-
|
|
1280
|
-
@property
|
|
1281
|
-
def project_import(self):
|
|
1282
|
-
"""Gets the project_import of this Features.
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
:return: The project_import of this Features.
|
|
1286
|
-
:rtype: bool
|
|
1287
|
-
"""
|
|
1288
|
-
return self._project_import
|
|
1289
|
-
|
|
1290
|
-
@project_import.setter
|
|
1291
|
-
def project_import(self, project_import):
|
|
1292
|
-
"""Sets the project_import of this Features.
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
:param project_import: The project_import of this Features. # noqa: E501
|
|
1296
|
-
:type: bool
|
|
1297
|
-
"""
|
|
1298
|
-
|
|
1299
|
-
self._project_import = project_import
|
|
1300
|
-
|
|
1301
1244
|
@property
|
|
1302
1245
|
def project_list_uses_stats(self):
|
|
1303
1246
|
"""Gets the project_list_uses_stats of this Features.
|
|
@@ -1697,6 +1640,69 @@ class Features(object):
|
|
|
1697
1640
|
|
|
1698
1641
|
self._virus_scan = virus_scan
|
|
1699
1642
|
|
|
1643
|
+
@property
|
|
1644
|
+
def tasks_refactor(self):
|
|
1645
|
+
"""Gets the tasks_refactor of this Features.
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
:return: The tasks_refactor of this Features.
|
|
1649
|
+
:rtype: bool
|
|
1650
|
+
"""
|
|
1651
|
+
return self._tasks_refactor
|
|
1652
|
+
|
|
1653
|
+
@tasks_refactor.setter
|
|
1654
|
+
def tasks_refactor(self, tasks_refactor):
|
|
1655
|
+
"""Sets the tasks_refactor of this Features.
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
:param tasks_refactor: The tasks_refactor of this Features. # noqa: E501
|
|
1659
|
+
:type: bool
|
|
1660
|
+
"""
|
|
1661
|
+
|
|
1662
|
+
self._tasks_refactor = tasks_refactor
|
|
1663
|
+
|
|
1664
|
+
@property
|
|
1665
|
+
def bulk_import_deid(self):
|
|
1666
|
+
"""Gets the bulk_import_deid of this Features.
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
:return: The bulk_import_deid of this Features.
|
|
1670
|
+
:rtype: bool
|
|
1671
|
+
"""
|
|
1672
|
+
return self._bulk_import_deid
|
|
1673
|
+
|
|
1674
|
+
@bulk_import_deid.setter
|
|
1675
|
+
def bulk_import_deid(self, bulk_import_deid):
|
|
1676
|
+
"""Sets the bulk_import_deid of this Features.
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
:param bulk_import_deid: The bulk_import_deid of this Features. # noqa: E501
|
|
1680
|
+
:type: bool
|
|
1681
|
+
"""
|
|
1682
|
+
|
|
1683
|
+
self._bulk_import_deid = bulk_import_deid
|
|
1684
|
+
|
|
1685
|
+
@property
|
|
1686
|
+
def case_uploader(self):
|
|
1687
|
+
"""Gets the case_uploader of this Features.
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
:return: The case_uploader of this Features.
|
|
1691
|
+
:rtype: bool
|
|
1692
|
+
"""
|
|
1693
|
+
return self._case_uploader
|
|
1694
|
+
|
|
1695
|
+
@case_uploader.setter
|
|
1696
|
+
def case_uploader(self, case_uploader):
|
|
1697
|
+
"""Sets the case_uploader of this Features.
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
:param case_uploader: The case_uploader of this Features. # noqa: E501
|
|
1701
|
+
:type: bool
|
|
1702
|
+
"""
|
|
1703
|
+
|
|
1704
|
+
self._case_uploader = case_uploader
|
|
1705
|
+
|
|
1700
1706
|
@property
|
|
1701
1707
|
def legacy_dicom_uploader(self):
|
|
1702
1708
|
"""Gets the legacy_dicom_uploader of this Features.
|
|
@@ -1719,25 +1725,46 @@ class Features(object):
|
|
|
1719
1725
|
self._legacy_dicom_uploader = legacy_dicom_uploader
|
|
1720
1726
|
|
|
1721
1727
|
@property
|
|
1722
|
-
def
|
|
1723
|
-
"""Gets the
|
|
1728
|
+
def project_export(self):
|
|
1729
|
+
"""Gets the project_export of this Features.
|
|
1724
1730
|
|
|
1725
1731
|
|
|
1726
|
-
:return: The
|
|
1732
|
+
:return: The project_export of this Features.
|
|
1727
1733
|
:rtype: bool
|
|
1728
1734
|
"""
|
|
1729
|
-
return self.
|
|
1735
|
+
return self._project_export
|
|
1730
1736
|
|
|
1731
|
-
@
|
|
1732
|
-
def
|
|
1733
|
-
"""Sets the
|
|
1737
|
+
@project_export.setter
|
|
1738
|
+
def project_export(self, project_export):
|
|
1739
|
+
"""Sets the project_export of this Features.
|
|
1734
1740
|
|
|
1735
1741
|
|
|
1736
|
-
:param
|
|
1742
|
+
:param project_export: The project_export of this Features. # noqa: E501
|
|
1737
1743
|
:type: bool
|
|
1738
1744
|
"""
|
|
1739
1745
|
|
|
1740
|
-
self.
|
|
1746
|
+
self._project_export = project_export
|
|
1747
|
+
|
|
1748
|
+
@property
|
|
1749
|
+
def project_import(self):
|
|
1750
|
+
"""Gets the project_import of this Features.
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
:return: The project_import of this Features.
|
|
1754
|
+
:rtype: bool
|
|
1755
|
+
"""
|
|
1756
|
+
return self._project_import
|
|
1757
|
+
|
|
1758
|
+
@project_import.setter
|
|
1759
|
+
def project_import(self, project_import):
|
|
1760
|
+
"""Sets the project_import of this Features.
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
:param project_import: The project_import of this Features. # noqa: E501
|
|
1764
|
+
:type: bool
|
|
1765
|
+
"""
|
|
1766
|
+
|
|
1767
|
+
self._project_import = project_import
|
|
1741
1768
|
|
|
1742
1769
|
|
|
1743
1770
|
@staticmethod
|
|
@@ -28,6 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
|
|
29
29
|
from flywheel.models.locked import Locked # noqa: F401,E501
|
|
30
30
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
31
|
+
from flywheel.models.project_group_info import ProjectGroupInfo # noqa: F401,E501
|
|
31
32
|
from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
|
|
32
33
|
from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
|
|
33
34
|
from flywheel.models.project_stats import ProjectStats # noqa: F401,E501
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Flywheel
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 0.0.1
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## NOTE: This file is auto generated by the swagger code generator program.
|
|
15
|
+
## Do not edit the file manually.
|
|
16
|
+
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import six
|
|
20
|
+
from typing import TYPE_CHECKING
|
|
21
|
+
|
|
22
|
+
class ProjectGroupInfo(object):
|
|
23
|
+
|
|
24
|
+
swagger_types = {
|
|
25
|
+
'id': 'str',
|
|
26
|
+
'label': 'str'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'id': '_id',
|
|
31
|
+
'label': 'label'
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
rattribute_map = {
|
|
35
|
+
'_id': 'id',
|
|
36
|
+
'label': 'label'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, id=None, label=None): # noqa: E501
|
|
40
|
+
"""ProjectGroupInfo - a model defined in Swagger"""
|
|
41
|
+
super(ProjectGroupInfo, self).__init__()
|
|
42
|
+
|
|
43
|
+
self._id = None
|
|
44
|
+
self._label = None
|
|
45
|
+
self.discriminator = None
|
|
46
|
+
self.alt_discriminator = None
|
|
47
|
+
|
|
48
|
+
self.id = id
|
|
49
|
+
if label is not None:
|
|
50
|
+
self.label = label
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def id(self):
|
|
54
|
+
"""Gets the id of this ProjectGroupInfo.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
:return: The id of this ProjectGroupInfo.
|
|
58
|
+
:rtype: str
|
|
59
|
+
"""
|
|
60
|
+
return self._id
|
|
61
|
+
|
|
62
|
+
@id.setter
|
|
63
|
+
def id(self, id):
|
|
64
|
+
"""Sets the id of this ProjectGroupInfo.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
:param id: The id of this ProjectGroupInfo. # noqa: E501
|
|
68
|
+
:type: str
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
self._id = id
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def label(self):
|
|
75
|
+
"""Gets the label of this ProjectGroupInfo.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:return: The label of this ProjectGroupInfo.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._label
|
|
82
|
+
|
|
83
|
+
@label.setter
|
|
84
|
+
def label(self, label):
|
|
85
|
+
"""Sets the label of this ProjectGroupInfo.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
:param label: The label of this ProjectGroupInfo. # noqa: E501
|
|
89
|
+
:type: str
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
self._label = label
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
@staticmethod
|
|
96
|
+
def positional_to_model(value):
|
|
97
|
+
"""Converts a positional argument to a model value"""
|
|
98
|
+
return value
|
|
99
|
+
|
|
100
|
+
def return_value(self):
|
|
101
|
+
"""Unwraps return value from model"""
|
|
102
|
+
return self
|
|
103
|
+
|
|
104
|
+
def to_dict(self):
|
|
105
|
+
"""Returns the model properties as a dict"""
|
|
106
|
+
result = {}
|
|
107
|
+
|
|
108
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
109
|
+
value = getattr(self, attr)
|
|
110
|
+
if isinstance(value, list):
|
|
111
|
+
result[attr] = list(map(
|
|
112
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
+
value
|
|
114
|
+
))
|
|
115
|
+
elif hasattr(value, "to_dict"):
|
|
116
|
+
result[attr] = value.to_dict()
|
|
117
|
+
elif isinstance(value, dict):
|
|
118
|
+
result[attr] = dict(map(
|
|
119
|
+
lambda item: (item[0], item[1].to_dict())
|
|
120
|
+
if hasattr(item[1], "to_dict") else item,
|
|
121
|
+
value.items()
|
|
122
|
+
))
|
|
123
|
+
else:
|
|
124
|
+
result[attr] = value
|
|
125
|
+
|
|
126
|
+
return result
|
|
127
|
+
|
|
128
|
+
def to_str(self):
|
|
129
|
+
"""Returns the string representation of the model"""
|
|
130
|
+
return pprint.pformat(self.to_dict())
|
|
131
|
+
|
|
132
|
+
def __repr__(self):
|
|
133
|
+
"""For `print` and `pprint`"""
|
|
134
|
+
return self.to_str()
|
|
135
|
+
|
|
136
|
+
def __eq__(self, other):
|
|
137
|
+
"""Returns true if both objects are equal"""
|
|
138
|
+
if not isinstance(other, ProjectGroupInfo):
|
|
139
|
+
return False
|
|
140
|
+
|
|
141
|
+
return self.__dict__ == other.__dict__
|
|
142
|
+
|
|
143
|
+
def __ne__(self, other):
|
|
144
|
+
"""Returns true if both objects are not equal"""
|
|
145
|
+
return not self == other
|
|
146
|
+
|
|
147
|
+
# Container emulation
|
|
148
|
+
def __getitem__(self, key):
|
|
149
|
+
"""Returns the value of key"""
|
|
150
|
+
key = self._map_key(key)
|
|
151
|
+
return getattr(self, key)
|
|
152
|
+
|
|
153
|
+
def __setitem__(self, key, value):
|
|
154
|
+
"""Sets the value of key"""
|
|
155
|
+
key = self._map_key(key)
|
|
156
|
+
setattr(self, key, value)
|
|
157
|
+
|
|
158
|
+
def __contains__(self, key):
|
|
159
|
+
"""Checks if the given value is a key in this object"""
|
|
160
|
+
key = self._map_key(key, raise_on_error=False)
|
|
161
|
+
return key is not None
|
|
162
|
+
|
|
163
|
+
def keys(self):
|
|
164
|
+
"""Returns the list of json properties in the object"""
|
|
165
|
+
return self.__class__.rattribute_map.keys()
|
|
166
|
+
|
|
167
|
+
def values(self):
|
|
168
|
+
"""Returns the list of values in the object"""
|
|
169
|
+
for key in self.__class__.attribute_map.keys():
|
|
170
|
+
yield getattr(self, key)
|
|
171
|
+
|
|
172
|
+
def items(self):
|
|
173
|
+
"""Returns the list of json property to value mapping"""
|
|
174
|
+
for key, prop in self.__class__.rattribute_map.items():
|
|
175
|
+
yield key, getattr(self, prop)
|
|
176
|
+
|
|
177
|
+
def get(self, key, default=None):
|
|
178
|
+
"""Get the value of the provided json property, or default"""
|
|
179
|
+
key = self._map_key(key, raise_on_error=False)
|
|
180
|
+
if key:
|
|
181
|
+
return getattr(self, key, default)
|
|
182
|
+
return default
|
|
183
|
+
|
|
184
|
+
def _map_key(self, key, raise_on_error=True):
|
|
185
|
+
result = self.__class__.rattribute_map.get(key)
|
|
186
|
+
if result is None:
|
|
187
|
+
if raise_on_error:
|
|
188
|
+
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
189
|
+
return None
|
|
190
|
+
return '_' + result
|