flywheel-sdk 21.0.0__py2.py3-none-any.whl → 21.1.0rc0__py2.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 +51 -3
- flywheel/api/__init__.py +5 -0
- flywheel/api/audit_trail_api.py +8 -8
- flywheel/api/container_tasks_api.py +137 -0
- flywheel/api/form_responses_api.py +579 -0
- flywheel/api/jobs_api.py +97 -0
- flywheel/api/protocols_api.py +757 -0
- flywheel/api/staffing_pools_api.py +677 -0
- flywheel/api/tasks_api.py +897 -0
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +369 -3
- flywheel/models/__init__.py +47 -4
- flywheel/models/action.py +3 -0
- flywheel/models/assignee.py +190 -0
- flywheel/models/assignee_type.py +28 -0
- flywheel/models/batch_create_filters.py +218 -0
- flywheel/models/{create_report_input.py → core_models_audit_trail_create_report_input.py} +24 -24
- flywheel/models/{modify_report_input.py → core_models_audit_trail_modify_report_input.py} +8 -8
- flywheel/models/{parent_type.py → core_models_search_parent_type.py} +1 -1
- flywheel/models/core_workflows_form_responses_models_form_parents.py +162 -0
- flywheel/models/core_workflows_form_responses_models_form_response_output.py +438 -0
- flywheel/models/core_workflows_reader_models_reader_task_parents.py +268 -0
- flywheel/models/current_user_output.py +31 -4
- flywheel/models/custom_field.py +404 -0
- flywheel/models/custom_form.py +242 -0
- flywheel/models/e_signature.py +241 -0
- flywheel/models/field_type.py +35 -0
- flywheel/models/form_response_base.py +310 -0
- flywheel/models/form_response_create.py +192 -0
- flywheel/models/libs_workflows_models_parent_type.py +31 -0
- flywheel/models/libs_workflows_models_task_status.py +31 -0
- flywheel/models/modify_user_input.py +31 -4
- flywheel/models/page_generic_form_response_output.py +217 -0
- flywheel/models/page_generic_protocol.py +242 -0
- flywheel/models/page_generic_reader_task_output.py +242 -0
- flywheel/models/page_generic_staffing_pool.py +242 -0
- flywheel/models/protocol.py +511 -0
- flywheel/models/protocol_e_signature_config.py +190 -0
- flywheel/models/protocol_input.py +352 -0
- flywheel/models/protocol_modify.py +275 -0
- flywheel/models/protocol_status.py +29 -0
- flywheel/models/reader_batch_create.py +460 -0
- flywheel/models/reader_task.py +723 -0
- flywheel/models/reader_task_config.py +188 -0
- flywheel/models/reader_task_create.py +541 -0
- flywheel/models/reader_task_modify.py +274 -0
- flywheel/models/reader_task_output.py +750 -0
- flywheel/models/reader_task_parent_details.py +295 -0
- flywheel/models/save_search_parent.py +4 -4
- flywheel/models/select_item.py +189 -0
- flywheel/models/staffing_pool.py +322 -0
- flywheel/models/staffing_pool_create.py +215 -0
- flywheel/models/staffing_pool_list.py +163 -0
- flywheel/models/staffing_pool_modify.py +217 -0
- flywheel/models/status_transitions.py +244 -0
- flywheel/models/task_assign.py +192 -0
- flywheel/models/task_facet.py +28 -0
- flywheel/models/task_parent_ref.py +243 -0
- flywheel/models/task_parent_ref_input.py +217 -0
- flywheel/models/task_priority.py +30 -0
- flywheel/models/task_submission.py +188 -0
- flywheel/models/user_input.py +31 -4
- flywheel/models/validation_rule.py +189 -0
- {flywheel_sdk-21.0.0.dist-info → flywheel_sdk-21.1.0rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-21.0.0.dist-info → flywheel_sdk-21.1.0rc0.dist-info}/RECORD +69 -21
- {flywheel_sdk-21.0.0.dist-info → flywheel_sdk-21.1.0rc0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-21.0.0.dist-info → flywheel_sdk-21.1.0rc0.dist-info}/licenses/LICENSE.txt +0 -0
- {flywheel_sdk-21.0.0.dist-info → flywheel_sdk-21.1.0rc0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
+
|
|
21
|
+
from flywheel.models.assignee_type import AssigneeType # noqa: F401,E501
|
|
22
|
+
|
|
23
|
+
class Assignee(object):
|
|
24
|
+
|
|
25
|
+
swagger_types = {
|
|
26
|
+
'id': 'str',
|
|
27
|
+
'type': 'AssigneeType'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
attribute_map = {
|
|
31
|
+
'id': 'id',
|
|
32
|
+
'type': 'type'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
rattribute_map = {
|
|
36
|
+
'id': 'id',
|
|
37
|
+
'type': 'type'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
def __init__(self, id=None, type=None): # noqa: E501
|
|
41
|
+
"""Assignee - a model defined in Swagger"""
|
|
42
|
+
super(Assignee, self).__init__()
|
|
43
|
+
|
|
44
|
+
self._id = None
|
|
45
|
+
self._type = None
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
self.alt_discriminator = None
|
|
48
|
+
|
|
49
|
+
self.id = id
|
|
50
|
+
self.type = type
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def id(self):
|
|
54
|
+
"""Gets the id of this Assignee.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
:return: The id of this Assignee.
|
|
58
|
+
:rtype: str
|
|
59
|
+
"""
|
|
60
|
+
return self._id
|
|
61
|
+
|
|
62
|
+
@id.setter
|
|
63
|
+
def id(self, id):
|
|
64
|
+
"""Sets the id of this Assignee.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
:param id: The id of this Assignee. # noqa: E501
|
|
68
|
+
:type: str
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
self._id = id
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def type(self):
|
|
75
|
+
"""Gets the type of this Assignee.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:return: The type of this Assignee.
|
|
79
|
+
:rtype: AssigneeType
|
|
80
|
+
"""
|
|
81
|
+
return self._type
|
|
82
|
+
|
|
83
|
+
@type.setter
|
|
84
|
+
def type(self, type):
|
|
85
|
+
"""Sets the type of this Assignee.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
:param type: The type of this Assignee. # noqa: E501
|
|
89
|
+
:type: AssigneeType
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
self._type = type
|
|
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, Assignee):
|
|
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
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
|
|
21
|
+
import enum
|
|
22
|
+
|
|
23
|
+
class AssigneeType(str, enum.Enum):
|
|
24
|
+
STAFFING_POOL = "staffing_pool"
|
|
25
|
+
USER = "user"
|
|
26
|
+
|
|
27
|
+
def __str__(self):
|
|
28
|
+
return self.value
|
|
@@ -0,0 +1,218 @@
|
|
|
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
|
+
|
|
21
|
+
from flywheel.models.libs_workflows_models_parent_type import LibsWorkflowsModelsParentType # noqa: F401,E501
|
|
22
|
+
|
|
23
|
+
class BatchCreateFilters(object):
|
|
24
|
+
|
|
25
|
+
swagger_types = {
|
|
26
|
+
'include_tags': 'list[str]',
|
|
27
|
+
'exclude_tags': 'list[str]',
|
|
28
|
+
'container_type': 'LibsWorkflowsModelsParentType'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'include_tags': 'include_tags',
|
|
33
|
+
'exclude_tags': 'exclude_tags',
|
|
34
|
+
'container_type': 'container_type'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
rattribute_map = {
|
|
38
|
+
'include_tags': 'include_tags',
|
|
39
|
+
'exclude_tags': 'exclude_tags',
|
|
40
|
+
'container_type': 'container_type'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, include_tags=None, exclude_tags=None, container_type=None): # noqa: E501
|
|
44
|
+
"""BatchCreateFilters - a model defined in Swagger"""
|
|
45
|
+
super(BatchCreateFilters, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._include_tags = None
|
|
48
|
+
self._exclude_tags = None
|
|
49
|
+
self._container_type = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
self.alt_discriminator = None
|
|
52
|
+
|
|
53
|
+
if include_tags is not None:
|
|
54
|
+
self.include_tags = include_tags
|
|
55
|
+
if exclude_tags is not None:
|
|
56
|
+
self.exclude_tags = exclude_tags
|
|
57
|
+
self.container_type = container_type
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def include_tags(self):
|
|
61
|
+
"""Gets the include_tags of this BatchCreateFilters.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The include_tags of this BatchCreateFilters.
|
|
65
|
+
:rtype: list[str]
|
|
66
|
+
"""
|
|
67
|
+
return self._include_tags
|
|
68
|
+
|
|
69
|
+
@include_tags.setter
|
|
70
|
+
def include_tags(self, include_tags):
|
|
71
|
+
"""Sets the include_tags of this BatchCreateFilters.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param include_tags: The include_tags of this BatchCreateFilters. # noqa: E501
|
|
75
|
+
:type: list[str]
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
self._include_tags = include_tags
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def exclude_tags(self):
|
|
82
|
+
"""Gets the exclude_tags of this BatchCreateFilters.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The exclude_tags of this BatchCreateFilters.
|
|
86
|
+
:rtype: list[str]
|
|
87
|
+
"""
|
|
88
|
+
return self._exclude_tags
|
|
89
|
+
|
|
90
|
+
@exclude_tags.setter
|
|
91
|
+
def exclude_tags(self, exclude_tags):
|
|
92
|
+
"""Sets the exclude_tags of this BatchCreateFilters.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param exclude_tags: The exclude_tags of this BatchCreateFilters. # noqa: E501
|
|
96
|
+
:type: list[str]
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._exclude_tags = exclude_tags
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def container_type(self):
|
|
103
|
+
"""Gets the container_type of this BatchCreateFilters.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The container_type of this BatchCreateFilters.
|
|
107
|
+
:rtype: LibsWorkflowsModelsParentType
|
|
108
|
+
"""
|
|
109
|
+
return self._container_type
|
|
110
|
+
|
|
111
|
+
@container_type.setter
|
|
112
|
+
def container_type(self, container_type):
|
|
113
|
+
"""Sets the container_type of this BatchCreateFilters.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param container_type: The container_type of this BatchCreateFilters. # noqa: E501
|
|
117
|
+
:type: LibsWorkflowsModelsParentType
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._container_type = container_type
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
@staticmethod
|
|
124
|
+
def positional_to_model(value):
|
|
125
|
+
"""Converts a positional argument to a model value"""
|
|
126
|
+
return value
|
|
127
|
+
|
|
128
|
+
def return_value(self):
|
|
129
|
+
"""Unwraps return value from model"""
|
|
130
|
+
return self
|
|
131
|
+
|
|
132
|
+
def to_dict(self):
|
|
133
|
+
"""Returns the model properties as a dict"""
|
|
134
|
+
result = {}
|
|
135
|
+
|
|
136
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
137
|
+
value = getattr(self, attr)
|
|
138
|
+
if isinstance(value, list):
|
|
139
|
+
result[attr] = list(map(
|
|
140
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
141
|
+
value
|
|
142
|
+
))
|
|
143
|
+
elif hasattr(value, "to_dict"):
|
|
144
|
+
result[attr] = value.to_dict()
|
|
145
|
+
elif isinstance(value, dict):
|
|
146
|
+
result[attr] = dict(map(
|
|
147
|
+
lambda item: (item[0], item[1].to_dict())
|
|
148
|
+
if hasattr(item[1], "to_dict") else item,
|
|
149
|
+
value.items()
|
|
150
|
+
))
|
|
151
|
+
else:
|
|
152
|
+
result[attr] = value
|
|
153
|
+
|
|
154
|
+
return result
|
|
155
|
+
|
|
156
|
+
def to_str(self):
|
|
157
|
+
"""Returns the string representation of the model"""
|
|
158
|
+
return pprint.pformat(self.to_dict())
|
|
159
|
+
|
|
160
|
+
def __repr__(self):
|
|
161
|
+
"""For `print` and `pprint`"""
|
|
162
|
+
return self.to_str()
|
|
163
|
+
|
|
164
|
+
def __eq__(self, other):
|
|
165
|
+
"""Returns true if both objects are equal"""
|
|
166
|
+
if not isinstance(other, BatchCreateFilters):
|
|
167
|
+
return False
|
|
168
|
+
|
|
169
|
+
return self.__dict__ == other.__dict__
|
|
170
|
+
|
|
171
|
+
def __ne__(self, other):
|
|
172
|
+
"""Returns true if both objects are not equal"""
|
|
173
|
+
return not self == other
|
|
174
|
+
|
|
175
|
+
# Container emulation
|
|
176
|
+
def __getitem__(self, key):
|
|
177
|
+
"""Returns the value of key"""
|
|
178
|
+
key = self._map_key(key)
|
|
179
|
+
return getattr(self, key)
|
|
180
|
+
|
|
181
|
+
def __setitem__(self, key, value):
|
|
182
|
+
"""Sets the value of key"""
|
|
183
|
+
key = self._map_key(key)
|
|
184
|
+
setattr(self, key, value)
|
|
185
|
+
|
|
186
|
+
def __contains__(self, key):
|
|
187
|
+
"""Checks if the given value is a key in this object"""
|
|
188
|
+
key = self._map_key(key, raise_on_error=False)
|
|
189
|
+
return key is not None
|
|
190
|
+
|
|
191
|
+
def keys(self):
|
|
192
|
+
"""Returns the list of json properties in the object"""
|
|
193
|
+
return self.__class__.rattribute_map.keys()
|
|
194
|
+
|
|
195
|
+
def values(self):
|
|
196
|
+
"""Returns the list of values in the object"""
|
|
197
|
+
for key in self.__class__.attribute_map.keys():
|
|
198
|
+
yield getattr(self, key)
|
|
199
|
+
|
|
200
|
+
def items(self):
|
|
201
|
+
"""Returns the list of json property to value mapping"""
|
|
202
|
+
for key, prop in self.__class__.rattribute_map.items():
|
|
203
|
+
yield key, getattr(self, prop)
|
|
204
|
+
|
|
205
|
+
def get(self, key, default=None):
|
|
206
|
+
"""Get the value of the provided json property, or default"""
|
|
207
|
+
key = self._map_key(key, raise_on_error=False)
|
|
208
|
+
if key:
|
|
209
|
+
return getattr(self, key, default)
|
|
210
|
+
return default
|
|
211
|
+
|
|
212
|
+
def _map_key(self, key, raise_on_error=True):
|
|
213
|
+
result = self.__class__.rattribute_map.get(key)
|
|
214
|
+
if result is None:
|
|
215
|
+
if raise_on_error:
|
|
216
|
+
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
217
|
+
return None
|
|
218
|
+
return '_' + result
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class CoreModelsAuditTrailCreateReportInput(object):
|
|
22
22
|
|
|
23
23
|
swagger_types = {
|
|
24
24
|
'project_id': 'str',
|
|
@@ -45,8 +45,8 @@ class CreateReportInput(object):
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
def __init__(self, project_id=None, subject_ids=None, label=None, status=None, created=None): # noqa: E501
|
|
48
|
-
"""
|
|
49
|
-
super(
|
|
48
|
+
"""CoreModelsAuditTrailCreateReportInput - a model defined in Swagger"""
|
|
49
|
+
super(CoreModelsAuditTrailCreateReportInput, self).__init__()
|
|
50
50
|
|
|
51
51
|
self._project_id = None
|
|
52
52
|
self._subject_ids = None
|
|
@@ -67,20 +67,20 @@ class CreateReportInput(object):
|
|
|
67
67
|
|
|
68
68
|
@property
|
|
69
69
|
def project_id(self):
|
|
70
|
-
"""Gets the project_id of this
|
|
70
|
+
"""Gets the project_id of this CoreModelsAuditTrailCreateReportInput.
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
:return: The project_id of this
|
|
73
|
+
:return: The project_id of this CoreModelsAuditTrailCreateReportInput.
|
|
74
74
|
:rtype: str
|
|
75
75
|
"""
|
|
76
76
|
return self._project_id
|
|
77
77
|
|
|
78
78
|
@project_id.setter
|
|
79
79
|
def project_id(self, project_id):
|
|
80
|
-
"""Sets the project_id of this
|
|
80
|
+
"""Sets the project_id of this CoreModelsAuditTrailCreateReportInput.
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
:param project_id: The project_id of this
|
|
83
|
+
:param project_id: The project_id of this CoreModelsAuditTrailCreateReportInput. # noqa: E501
|
|
84
84
|
:type: str
|
|
85
85
|
"""
|
|
86
86
|
|
|
@@ -88,20 +88,20 @@ class CreateReportInput(object):
|
|
|
88
88
|
|
|
89
89
|
@property
|
|
90
90
|
def subject_ids(self):
|
|
91
|
-
"""Gets the subject_ids of this
|
|
91
|
+
"""Gets the subject_ids of this CoreModelsAuditTrailCreateReportInput.
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
:return: The subject_ids of this
|
|
94
|
+
:return: The subject_ids of this CoreModelsAuditTrailCreateReportInput.
|
|
95
95
|
:rtype: list[str]
|
|
96
96
|
"""
|
|
97
97
|
return self._subject_ids
|
|
98
98
|
|
|
99
99
|
@subject_ids.setter
|
|
100
100
|
def subject_ids(self, subject_ids):
|
|
101
|
-
"""Sets the subject_ids of this
|
|
101
|
+
"""Sets the subject_ids of this CoreModelsAuditTrailCreateReportInput.
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
:param subject_ids: The subject_ids of this
|
|
104
|
+
:param subject_ids: The subject_ids of this CoreModelsAuditTrailCreateReportInput. # noqa: E501
|
|
105
105
|
:type: list[str]
|
|
106
106
|
"""
|
|
107
107
|
|
|
@@ -109,20 +109,20 @@ class CreateReportInput(object):
|
|
|
109
109
|
|
|
110
110
|
@property
|
|
111
111
|
def label(self):
|
|
112
|
-
"""Gets the label of this
|
|
112
|
+
"""Gets the label of this CoreModelsAuditTrailCreateReportInput.
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
:return: The label of this
|
|
115
|
+
:return: The label of this CoreModelsAuditTrailCreateReportInput.
|
|
116
116
|
:rtype: str
|
|
117
117
|
"""
|
|
118
118
|
return self._label
|
|
119
119
|
|
|
120
120
|
@label.setter
|
|
121
121
|
def label(self, label):
|
|
122
|
-
"""Sets the label of this
|
|
122
|
+
"""Sets the label of this CoreModelsAuditTrailCreateReportInput.
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
:param label: The label of this
|
|
125
|
+
:param label: The label of this CoreModelsAuditTrailCreateReportInput. # noqa: E501
|
|
126
126
|
:type: str
|
|
127
127
|
"""
|
|
128
128
|
|
|
@@ -130,20 +130,20 @@ class CreateReportInput(object):
|
|
|
130
130
|
|
|
131
131
|
@property
|
|
132
132
|
def status(self):
|
|
133
|
-
"""Gets the status of this
|
|
133
|
+
"""Gets the status of this CoreModelsAuditTrailCreateReportInput.
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
:return: The status of this
|
|
136
|
+
:return: The status of this CoreModelsAuditTrailCreateReportInput.
|
|
137
137
|
:rtype: AuditTrailReportStatus
|
|
138
138
|
"""
|
|
139
139
|
return self._status
|
|
140
140
|
|
|
141
141
|
@status.setter
|
|
142
142
|
def status(self, status):
|
|
143
|
-
"""Sets the status of this
|
|
143
|
+
"""Sets the status of this CoreModelsAuditTrailCreateReportInput.
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
:param status: The status of this
|
|
146
|
+
:param status: The status of this CoreModelsAuditTrailCreateReportInput. # noqa: E501
|
|
147
147
|
:type: AuditTrailReportStatus
|
|
148
148
|
"""
|
|
149
149
|
|
|
@@ -151,20 +151,20 @@ class CreateReportInput(object):
|
|
|
151
151
|
|
|
152
152
|
@property
|
|
153
153
|
def created(self):
|
|
154
|
-
"""Gets the created of this
|
|
154
|
+
"""Gets the created of this CoreModelsAuditTrailCreateReportInput.
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
:return: The created of this
|
|
157
|
+
:return: The created of this CoreModelsAuditTrailCreateReportInput.
|
|
158
158
|
:rtype: datetime
|
|
159
159
|
"""
|
|
160
160
|
return self._created
|
|
161
161
|
|
|
162
162
|
@created.setter
|
|
163
163
|
def created(self, created):
|
|
164
|
-
"""Sets the created of this
|
|
164
|
+
"""Sets the created of this CoreModelsAuditTrailCreateReportInput.
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
:param created: The created of this
|
|
167
|
+
:param created: The created of this CoreModelsAuditTrailCreateReportInput. # noqa: E501
|
|
168
168
|
:type: datetime
|
|
169
169
|
"""
|
|
170
170
|
|
|
@@ -214,7 +214,7 @@ class CreateReportInput(object):
|
|
|
214
214
|
|
|
215
215
|
def __eq__(self, other):
|
|
216
216
|
"""Returns true if both objects are equal"""
|
|
217
|
-
if not isinstance(other,
|
|
217
|
+
if not isinstance(other, CoreModelsAuditTrailCreateReportInput):
|
|
218
218
|
return False
|
|
219
219
|
|
|
220
220
|
return self.__dict__ == other.__dict__
|
|
@@ -20,7 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.models.audit_trail_report_status import AuditTrailReportStatus # noqa: F401,E501
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class CoreModelsAuditTrailModifyReportInput(object):
|
|
24
24
|
|
|
25
25
|
swagger_types = {
|
|
26
26
|
'status': 'AuditTrailReportStatus'
|
|
@@ -35,8 +35,8 @@ class ModifyReportInput(object):
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
def __init__(self, status=None): # noqa: E501
|
|
38
|
-
"""
|
|
39
|
-
super(
|
|
38
|
+
"""CoreModelsAuditTrailModifyReportInput - a model defined in Swagger"""
|
|
39
|
+
super(CoreModelsAuditTrailModifyReportInput, self).__init__()
|
|
40
40
|
|
|
41
41
|
self._status = None
|
|
42
42
|
self.discriminator = None
|
|
@@ -47,20 +47,20 @@ class ModifyReportInput(object):
|
|
|
47
47
|
|
|
48
48
|
@property
|
|
49
49
|
def status(self):
|
|
50
|
-
"""Gets the status of this
|
|
50
|
+
"""Gets the status of this CoreModelsAuditTrailModifyReportInput.
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
:return: The status of this
|
|
53
|
+
:return: The status of this CoreModelsAuditTrailModifyReportInput.
|
|
54
54
|
:rtype: AuditTrailReportStatus
|
|
55
55
|
"""
|
|
56
56
|
return self._status
|
|
57
57
|
|
|
58
58
|
@status.setter
|
|
59
59
|
def status(self, status):
|
|
60
|
-
"""Sets the status of this
|
|
60
|
+
"""Sets the status of this CoreModelsAuditTrailModifyReportInput.
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
:param status: The status of this
|
|
63
|
+
:param status: The status of this CoreModelsAuditTrailModifyReportInput. # noqa: E501
|
|
64
64
|
:type: AuditTrailReportStatus
|
|
65
65
|
"""
|
|
66
66
|
|
|
@@ -110,7 +110,7 @@ class ModifyReportInput(object):
|
|
|
110
110
|
|
|
111
111
|
def __eq__(self, other):
|
|
112
112
|
"""Returns true if both objects are equal"""
|
|
113
|
-
if not isinstance(other,
|
|
113
|
+
if not isinstance(other, CoreModelsAuditTrailModifyReportInput):
|
|
114
114
|
return False
|
|
115
115
|
|
|
116
116
|
return self.__dict__ == other.__dict__
|