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,352 @@
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.custom_form import CustomForm # noqa: F401,E501
22
+ from flywheel.models.protocol_e_signature_config import ProtocolESignatureConfig # noqa: F401,E501
23
+ from flywheel.models.reader_task_config import ReaderTaskConfig # noqa: F401,E501
24
+
25
+ class ProtocolInput(object):
26
+
27
+ swagger_types = {
28
+ 'label': 'str',
29
+ 'group_id': 'str',
30
+ 'protocol_config': 'ReaderTaskConfig',
31
+ 'form': 'CustomForm',
32
+ 'task_type': 'str',
33
+ 'completion_tags': 'list[str]',
34
+ 'notes': 'str',
35
+ 'esignature_config': 'ProtocolESignatureConfig'
36
+ }
37
+
38
+ attribute_map = {
39
+ 'label': 'label',
40
+ 'group_id': 'group_id',
41
+ 'protocol_config': 'protocol_config',
42
+ 'form': 'form',
43
+ 'task_type': 'task_type',
44
+ 'completion_tags': 'completion_tags',
45
+ 'notes': 'notes',
46
+ 'esignature_config': 'esignature_config'
47
+ }
48
+
49
+ rattribute_map = {
50
+ 'label': 'label',
51
+ 'group_id': 'group_id',
52
+ 'protocol_config': 'protocol_config',
53
+ 'form': 'form',
54
+ 'task_type': 'task_type',
55
+ 'completion_tags': 'completion_tags',
56
+ 'notes': 'notes',
57
+ 'esignature_config': 'esignature_config'
58
+ }
59
+
60
+ def __init__(self, label=None, group_id=None, protocol_config=None, form=None, task_type=None, completion_tags=None, notes=None, esignature_config=None): # noqa: E501
61
+ """ProtocolInput - a model defined in Swagger"""
62
+ super(ProtocolInput, self).__init__()
63
+
64
+ self._label = None
65
+ self._group_id = None
66
+ self._protocol_config = None
67
+ self._form = None
68
+ self._task_type = None
69
+ self._completion_tags = None
70
+ self._notes = None
71
+ self._esignature_config = None
72
+ self.discriminator = None
73
+ self.alt_discriminator = None
74
+
75
+ self.label = label
76
+ self.group_id = group_id
77
+ self.protocol_config = protocol_config
78
+ if form is not None:
79
+ self.form = form
80
+ self.task_type = task_type
81
+ if completion_tags is not None:
82
+ self.completion_tags = completion_tags
83
+ if notes is not None:
84
+ self.notes = notes
85
+ if esignature_config is not None:
86
+ self.esignature_config = esignature_config
87
+
88
+ @property
89
+ def label(self):
90
+ """Gets the label of this ProtocolInput.
91
+
92
+
93
+ :return: The label of this ProtocolInput.
94
+ :rtype: str
95
+ """
96
+ return self._label
97
+
98
+ @label.setter
99
+ def label(self, label):
100
+ """Sets the label of this ProtocolInput.
101
+
102
+
103
+ :param label: The label of this ProtocolInput. # noqa: E501
104
+ :type: str
105
+ """
106
+
107
+ self._label = label
108
+
109
+ @property
110
+ def group_id(self):
111
+ """Gets the group_id of this ProtocolInput.
112
+
113
+
114
+ :return: The group_id of this ProtocolInput.
115
+ :rtype: str
116
+ """
117
+ return self._group_id
118
+
119
+ @group_id.setter
120
+ def group_id(self, group_id):
121
+ """Sets the group_id of this ProtocolInput.
122
+
123
+
124
+ :param group_id: The group_id of this ProtocolInput. # noqa: E501
125
+ :type: str
126
+ """
127
+
128
+ self._group_id = group_id
129
+
130
+ @property
131
+ def protocol_config(self):
132
+ """Gets the protocol_config of this ProtocolInput.
133
+
134
+
135
+ :return: The protocol_config of this ProtocolInput.
136
+ :rtype: ReaderTaskConfig
137
+ """
138
+ return self._protocol_config
139
+
140
+ @protocol_config.setter
141
+ def protocol_config(self, protocol_config):
142
+ """Sets the protocol_config of this ProtocolInput.
143
+
144
+
145
+ :param protocol_config: The protocol_config of this ProtocolInput. # noqa: E501
146
+ :type: ReaderTaskConfig
147
+ """
148
+
149
+ self._protocol_config = protocol_config
150
+
151
+ @property
152
+ def form(self):
153
+ """Gets the form of this ProtocolInput.
154
+
155
+
156
+ :return: The form of this ProtocolInput.
157
+ :rtype: CustomForm
158
+ """
159
+ return self._form
160
+
161
+ @form.setter
162
+ def form(self, form):
163
+ """Sets the form of this ProtocolInput.
164
+
165
+
166
+ :param form: The form of this ProtocolInput. # noqa: E501
167
+ :type: CustomForm
168
+ """
169
+
170
+ self._form = form
171
+
172
+ @property
173
+ def task_type(self):
174
+ """Gets the task_type of this ProtocolInput.
175
+
176
+
177
+ :return: The task_type of this ProtocolInput.
178
+ :rtype: str
179
+ """
180
+ return self._task_type
181
+
182
+ @task_type.setter
183
+ def task_type(self, task_type):
184
+ """Sets the task_type of this ProtocolInput.
185
+
186
+
187
+ :param task_type: The task_type of this ProtocolInput. # noqa: E501
188
+ :type: str
189
+ """
190
+
191
+ self._task_type = task_type
192
+
193
+ @property
194
+ def completion_tags(self):
195
+ """Gets the completion_tags of this ProtocolInput.
196
+
197
+
198
+ :return: The completion_tags of this ProtocolInput.
199
+ :rtype: list[str]
200
+ """
201
+ return self._completion_tags
202
+
203
+ @completion_tags.setter
204
+ def completion_tags(self, completion_tags):
205
+ """Sets the completion_tags of this ProtocolInput.
206
+
207
+
208
+ :param completion_tags: The completion_tags of this ProtocolInput. # noqa: E501
209
+ :type: list[str]
210
+ """
211
+
212
+ self._completion_tags = completion_tags
213
+
214
+ @property
215
+ def notes(self):
216
+ """Gets the notes of this ProtocolInput.
217
+
218
+
219
+ :return: The notes of this ProtocolInput.
220
+ :rtype: str
221
+ """
222
+ return self._notes
223
+
224
+ @notes.setter
225
+ def notes(self, notes):
226
+ """Sets the notes of this ProtocolInput.
227
+
228
+
229
+ :param notes: The notes of this ProtocolInput. # noqa: E501
230
+ :type: str
231
+ """
232
+
233
+ self._notes = notes
234
+
235
+ @property
236
+ def esignature_config(self):
237
+ """Gets the esignature_config of this ProtocolInput.
238
+
239
+
240
+ :return: The esignature_config of this ProtocolInput.
241
+ :rtype: ProtocolESignatureConfig
242
+ """
243
+ return self._esignature_config
244
+
245
+ @esignature_config.setter
246
+ def esignature_config(self, esignature_config):
247
+ """Sets the esignature_config of this ProtocolInput.
248
+
249
+
250
+ :param esignature_config: The esignature_config of this ProtocolInput. # noqa: E501
251
+ :type: ProtocolESignatureConfig
252
+ """
253
+
254
+ self._esignature_config = esignature_config
255
+
256
+
257
+ @staticmethod
258
+ def positional_to_model(value):
259
+ """Converts a positional argument to a model value"""
260
+ return value
261
+
262
+ def return_value(self):
263
+ """Unwraps return value from model"""
264
+ return self
265
+
266
+ def to_dict(self):
267
+ """Returns the model properties as a dict"""
268
+ result = {}
269
+
270
+ for attr, _ in six.iteritems(self.swagger_types):
271
+ value = getattr(self, attr)
272
+ if isinstance(value, list):
273
+ result[attr] = list(map(
274
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
275
+ value
276
+ ))
277
+ elif hasattr(value, "to_dict"):
278
+ result[attr] = value.to_dict()
279
+ elif isinstance(value, dict):
280
+ result[attr] = dict(map(
281
+ lambda item: (item[0], item[1].to_dict())
282
+ if hasattr(item[1], "to_dict") else item,
283
+ value.items()
284
+ ))
285
+ else:
286
+ result[attr] = value
287
+
288
+ return result
289
+
290
+ def to_str(self):
291
+ """Returns the string representation of the model"""
292
+ return pprint.pformat(self.to_dict())
293
+
294
+ def __repr__(self):
295
+ """For `print` and `pprint`"""
296
+ return self.to_str()
297
+
298
+ def __eq__(self, other):
299
+ """Returns true if both objects are equal"""
300
+ if not isinstance(other, ProtocolInput):
301
+ return False
302
+
303
+ return self.__dict__ == other.__dict__
304
+
305
+ def __ne__(self, other):
306
+ """Returns true if both objects are not equal"""
307
+ return not self == other
308
+
309
+ # Container emulation
310
+ def __getitem__(self, key):
311
+ """Returns the value of key"""
312
+ key = self._map_key(key)
313
+ return getattr(self, key)
314
+
315
+ def __setitem__(self, key, value):
316
+ """Sets the value of key"""
317
+ key = self._map_key(key)
318
+ setattr(self, key, value)
319
+
320
+ def __contains__(self, key):
321
+ """Checks if the given value is a key in this object"""
322
+ key = self._map_key(key, raise_on_error=False)
323
+ return key is not None
324
+
325
+ def keys(self):
326
+ """Returns the list of json properties in the object"""
327
+ return self.__class__.rattribute_map.keys()
328
+
329
+ def values(self):
330
+ """Returns the list of values in the object"""
331
+ for key in self.__class__.attribute_map.keys():
332
+ yield getattr(self, key)
333
+
334
+ def items(self):
335
+ """Returns the list of json property to value mapping"""
336
+ for key, prop in self.__class__.rattribute_map.items():
337
+ yield key, getattr(self, prop)
338
+
339
+ def get(self, key, default=None):
340
+ """Get the value of the provided json property, or default"""
341
+ key = self._map_key(key, raise_on_error=False)
342
+ if key:
343
+ return getattr(self, key, default)
344
+ return default
345
+
346
+ def _map_key(self, key, raise_on_error=True):
347
+ result = self.__class__.rattribute_map.get(key)
348
+ if result is None:
349
+ if raise_on_error:
350
+ raise AttributeError('Invalid attribute name: {}'.format(key))
351
+ return None
352
+ return '_' + result
@@ -0,0 +1,275 @@
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.custom_form import CustomForm # noqa: F401,E501
22
+ from flywheel.models.protocol_e_signature_config import ProtocolESignatureConfig # noqa: F401,E501
23
+ from flywheel.models.reader_task_config import ReaderTaskConfig # noqa: F401,E501
24
+
25
+ class ProtocolModify(object):
26
+
27
+ swagger_types = {
28
+ 'form': 'CustomForm',
29
+ 'protocol_config': 'ReaderTaskConfig',
30
+ 'completion_tags': 'list[str]',
31
+ 'notes': 'str',
32
+ 'esignature_config': 'ProtocolESignatureConfig'
33
+ }
34
+
35
+ attribute_map = {
36
+ 'form': 'form',
37
+ 'protocol_config': 'protocol_config',
38
+ 'completion_tags': 'completion_tags',
39
+ 'notes': 'notes',
40
+ 'esignature_config': 'esignature_config'
41
+ }
42
+
43
+ rattribute_map = {
44
+ 'form': 'form',
45
+ 'protocol_config': 'protocol_config',
46
+ 'completion_tags': 'completion_tags',
47
+ 'notes': 'notes',
48
+ 'esignature_config': 'esignature_config'
49
+ }
50
+
51
+ def __init__(self, form=None, protocol_config=None, completion_tags=None, notes=None, esignature_config=None): # noqa: E501
52
+ """ProtocolModify - a model defined in Swagger"""
53
+ super(ProtocolModify, self).__init__()
54
+
55
+ self._form = None
56
+ self._protocol_config = None
57
+ self._completion_tags = None
58
+ self._notes = None
59
+ self._esignature_config = None
60
+ self.discriminator = None
61
+ self.alt_discriminator = None
62
+
63
+ if form is not None:
64
+ self.form = form
65
+ if protocol_config is not None:
66
+ self.protocol_config = protocol_config
67
+ if completion_tags is not None:
68
+ self.completion_tags = completion_tags
69
+ if notes is not None:
70
+ self.notes = notes
71
+ if esignature_config is not None:
72
+ self.esignature_config = esignature_config
73
+
74
+ @property
75
+ def form(self):
76
+ """Gets the form of this ProtocolModify.
77
+
78
+
79
+ :return: The form of this ProtocolModify.
80
+ :rtype: CustomForm
81
+ """
82
+ return self._form
83
+
84
+ @form.setter
85
+ def form(self, form):
86
+ """Sets the form of this ProtocolModify.
87
+
88
+
89
+ :param form: The form of this ProtocolModify. # noqa: E501
90
+ :type: CustomForm
91
+ """
92
+
93
+ self._form = form
94
+
95
+ @property
96
+ def protocol_config(self):
97
+ """Gets the protocol_config of this ProtocolModify.
98
+
99
+
100
+ :return: The protocol_config of this ProtocolModify.
101
+ :rtype: ReaderTaskConfig
102
+ """
103
+ return self._protocol_config
104
+
105
+ @protocol_config.setter
106
+ def protocol_config(self, protocol_config):
107
+ """Sets the protocol_config of this ProtocolModify.
108
+
109
+
110
+ :param protocol_config: The protocol_config of this ProtocolModify. # noqa: E501
111
+ :type: ReaderTaskConfig
112
+ """
113
+
114
+ self._protocol_config = protocol_config
115
+
116
+ @property
117
+ def completion_tags(self):
118
+ """Gets the completion_tags of this ProtocolModify.
119
+
120
+
121
+ :return: The completion_tags of this ProtocolModify.
122
+ :rtype: list[str]
123
+ """
124
+ return self._completion_tags
125
+
126
+ @completion_tags.setter
127
+ def completion_tags(self, completion_tags):
128
+ """Sets the completion_tags of this ProtocolModify.
129
+
130
+
131
+ :param completion_tags: The completion_tags of this ProtocolModify. # noqa: E501
132
+ :type: list[str]
133
+ """
134
+
135
+ self._completion_tags = completion_tags
136
+
137
+ @property
138
+ def notes(self):
139
+ """Gets the notes of this ProtocolModify.
140
+
141
+
142
+ :return: The notes of this ProtocolModify.
143
+ :rtype: str
144
+ """
145
+ return self._notes
146
+
147
+ @notes.setter
148
+ def notes(self, notes):
149
+ """Sets the notes of this ProtocolModify.
150
+
151
+
152
+ :param notes: The notes of this ProtocolModify. # noqa: E501
153
+ :type: str
154
+ """
155
+
156
+ self._notes = notes
157
+
158
+ @property
159
+ def esignature_config(self):
160
+ """Gets the esignature_config of this ProtocolModify.
161
+
162
+
163
+ :return: The esignature_config of this ProtocolModify.
164
+ :rtype: ProtocolESignatureConfig
165
+ """
166
+ return self._esignature_config
167
+
168
+ @esignature_config.setter
169
+ def esignature_config(self, esignature_config):
170
+ """Sets the esignature_config of this ProtocolModify.
171
+
172
+
173
+ :param esignature_config: The esignature_config of this ProtocolModify. # noqa: E501
174
+ :type: ProtocolESignatureConfig
175
+ """
176
+
177
+ self._esignature_config = esignature_config
178
+
179
+
180
+ @staticmethod
181
+ def positional_to_model(value):
182
+ """Converts a positional argument to a model value"""
183
+ return value
184
+
185
+ def return_value(self):
186
+ """Unwraps return value from model"""
187
+ return self
188
+
189
+ def to_dict(self):
190
+ """Returns the model properties as a dict"""
191
+ result = {}
192
+
193
+ for attr, _ in six.iteritems(self.swagger_types):
194
+ value = getattr(self, attr)
195
+ if isinstance(value, list):
196
+ result[attr] = list(map(
197
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
198
+ value
199
+ ))
200
+ elif hasattr(value, "to_dict"):
201
+ result[attr] = value.to_dict()
202
+ elif isinstance(value, dict):
203
+ result[attr] = dict(map(
204
+ lambda item: (item[0], item[1].to_dict())
205
+ if hasattr(item[1], "to_dict") else item,
206
+ value.items()
207
+ ))
208
+ else:
209
+ result[attr] = value
210
+
211
+ return result
212
+
213
+ def to_str(self):
214
+ """Returns the string representation of the model"""
215
+ return pprint.pformat(self.to_dict())
216
+
217
+ def __repr__(self):
218
+ """For `print` and `pprint`"""
219
+ return self.to_str()
220
+
221
+ def __eq__(self, other):
222
+ """Returns true if both objects are equal"""
223
+ if not isinstance(other, ProtocolModify):
224
+ return False
225
+
226
+ return self.__dict__ == other.__dict__
227
+
228
+ def __ne__(self, other):
229
+ """Returns true if both objects are not equal"""
230
+ return not self == other
231
+
232
+ # Container emulation
233
+ def __getitem__(self, key):
234
+ """Returns the value of key"""
235
+ key = self._map_key(key)
236
+ return getattr(self, key)
237
+
238
+ def __setitem__(self, key, value):
239
+ """Sets the value of key"""
240
+ key = self._map_key(key)
241
+ setattr(self, key, value)
242
+
243
+ def __contains__(self, key):
244
+ """Checks if the given value is a key in this object"""
245
+ key = self._map_key(key, raise_on_error=False)
246
+ return key is not None
247
+
248
+ def keys(self):
249
+ """Returns the list of json properties in the object"""
250
+ return self.__class__.rattribute_map.keys()
251
+
252
+ def values(self):
253
+ """Returns the list of values in the object"""
254
+ for key in self.__class__.attribute_map.keys():
255
+ yield getattr(self, key)
256
+
257
+ def items(self):
258
+ """Returns the list of json property to value mapping"""
259
+ for key, prop in self.__class__.rattribute_map.items():
260
+ yield key, getattr(self, prop)
261
+
262
+ def get(self, key, default=None):
263
+ """Get the value of the provided json property, or default"""
264
+ key = self._map_key(key, raise_on_error=False)
265
+ if key:
266
+ return getattr(self, key, default)
267
+ return default
268
+
269
+ def _map_key(self, key, raise_on_error=True):
270
+ result = self.__class__.rattribute_map.get(key)
271
+ if result is None:
272
+ if raise_on_error:
273
+ raise AttributeError('Invalid attribute name: {}'.format(key))
274
+ return None
275
+ return '_' + result
@@ -0,0 +1,29 @@
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 ProtocolStatus(str, enum.Enum):
24
+ DRAFT = "draft"
25
+ PUBLISHED = "published"
26
+ ARCHIVED = "archived"
27
+
28
+ def __str__(self):
29
+ return self.value