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