pinexq-client 0.2.0.2024.607.8__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 (49) hide show
  1. hypermedia_client/core/__init__.py +8 -0
  2. hypermedia_client/core/base_relations.py +8 -0
  3. hypermedia_client/core/enterapi.py +17 -0
  4. hypermedia_client/core/exceptions.py +2 -0
  5. hypermedia_client/core/hco/__init__.py +0 -0
  6. hypermedia_client/core/hco/action_hco.py +70 -0
  7. hypermedia_client/core/hco/action_with_parameters_hco.py +86 -0
  8. hypermedia_client/core/hco/download_link_hco.py +37 -0
  9. hypermedia_client/core/hco/hco_base.py +91 -0
  10. hypermedia_client/core/hco/link_hco.py +57 -0
  11. hypermedia_client/core/hco/upload_action_hco.py +113 -0
  12. hypermedia_client/core/http_headers.py +9 -0
  13. hypermedia_client/core/media_types.py +24 -0
  14. hypermedia_client/core/model/__init__.py +0 -0
  15. hypermedia_client/core/model/error.py +9 -0
  16. hypermedia_client/core/model/sirenmodels.py +155 -0
  17. hypermedia_client/core/polling.py +37 -0
  18. hypermedia_client/core/sirenaccess.py +173 -0
  19. hypermedia_client/job_management/__init__.py +6 -0
  20. hypermedia_client/job_management/enterjma.py +42 -0
  21. hypermedia_client/job_management/hcos/__init__.py +12 -0
  22. hypermedia_client/job_management/hcos/entrypoint_hco.py +57 -0
  23. hypermedia_client/job_management/hcos/info_hco.py +42 -0
  24. hypermedia_client/job_management/hcos/input_dataslot_hco.py +82 -0
  25. hypermedia_client/job_management/hcos/job_hco.py +174 -0
  26. hypermedia_client/job_management/hcos/job_query_result_hco.py +63 -0
  27. hypermedia_client/job_management/hcos/job_used_tags_hco.py +30 -0
  28. hypermedia_client/job_management/hcos/jobsroot_hco.py +80 -0
  29. hypermedia_client/job_management/hcos/output_dataslot_hco.py +44 -0
  30. hypermedia_client/job_management/hcos/processing_step_hco.py +71 -0
  31. hypermedia_client/job_management/hcos/processing_step_used_tags_hco.py +30 -0
  32. hypermedia_client/job_management/hcos/processingstep_query_result_hco.py +68 -0
  33. hypermedia_client/job_management/hcos/processingsteproot_hco.py +72 -0
  34. hypermedia_client/job_management/hcos/user_hco.py +37 -0
  35. hypermedia_client/job_management/hcos/workdata_hco.py +127 -0
  36. hypermedia_client/job_management/hcos/workdata_query_result_hco.py +67 -0
  37. hypermedia_client/job_management/hcos/workdata_used_tags_query_result_hco.py +30 -0
  38. hypermedia_client/job_management/hcos/workdataroot_hco.py +84 -0
  39. hypermedia_client/job_management/ideas.md +28 -0
  40. hypermedia_client/job_management/known_relations.py +29 -0
  41. hypermedia_client/job_management/model/__init__.py +1 -0
  42. hypermedia_client/job_management/model/open_api_generated.py +890 -0
  43. hypermedia_client/job_management/model/sirenentities.py +112 -0
  44. hypermedia_client/job_management/tool/__init__.py +1 -0
  45. hypermedia_client/job_management/tool/job.py +442 -0
  46. pinexq_client-0.2.0.2024.607.8.dist-info/METADATA +105 -0
  47. pinexq_client-0.2.0.2024.607.8.dist-info/RECORD +49 -0
  48. pinexq_client-0.2.0.2024.607.8.dist-info/WHEEL +4 -0
  49. pinexq_client-0.2.0.2024.607.8.dist-info/licenses/LICENSE +19 -0
@@ -0,0 +1,890 @@
1
+ # generated by datamodel-codegen:
2
+ # filename: openapi.json
3
+ # timestamp: 2024-05-29T12:02:26+00:00
4
+
5
+ from __future__ import annotations
6
+
7
+ from enum import Enum
8
+ from typing import Any, List
9
+
10
+ from pydantic import AwareDatetime, BaseModel, ConfigDict, Field, constr
11
+
12
+
13
+ class AdminJobQueryResultHtoOpenApiProperties(BaseModel):
14
+ model_config = ConfigDict(
15
+ extra='allow',
16
+ populate_by_name=True,
17
+ )
18
+ total_entities: int | None = Field(None, alias='TotalEntities')
19
+ current_entities_count: int | None = Field(None, alias='CurrentEntitiesCount')
20
+ previous_entities_count: int | None = Field(None, alias='PreviousEntitiesCount')
21
+
22
+
23
+ class AdminProcessingStepFilterParameter(BaseModel):
24
+ model_config = ConfigDict(
25
+ extra='allow',
26
+ populate_by_name=True,
27
+ )
28
+ function_name_contains: str | None = Field(None, alias='FunctionNameContains')
29
+ title_contains: str | None = Field(None, alias='TitleContains')
30
+ version: str | None = Field(None, alias='Version')
31
+ description_contains: str | None = Field(None, alias='DescriptionContains')
32
+ tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
33
+ tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
34
+ is_public: bool | None = Field(None, alias='IsPublic')
35
+
36
+
37
+ class AdminProcessingStepQueryResultHtoOpenApiProperties(BaseModel):
38
+ model_config = ConfigDict(
39
+ extra='allow',
40
+ populate_by_name=True,
41
+ )
42
+ total_entities: int | None = Field(None, alias='TotalEntities')
43
+ current_entities_count: int | None = Field(None, alias='CurrentEntitiesCount')
44
+ previous_entities_count: int | None = Field(None, alias='PreviousEntitiesCount')
45
+
46
+
47
+ class AdminWorkDataQueryResultHtoOpenApiProperties(BaseModel):
48
+ model_config = ConfigDict(
49
+ extra='allow',
50
+ populate_by_name=True,
51
+ )
52
+ total_entities: int | None = Field(None, alias='TotalEntities')
53
+ current_entities_count: int | None = Field(None, alias='CurrentEntitiesCount')
54
+ previous_entities_count: int | None = Field(None, alias='PreviousEntitiesCount')
55
+
56
+
57
+ class CreateJobParameters(BaseModel):
58
+ model_config = ConfigDict(
59
+ extra='allow',
60
+ populate_by_name=True,
61
+ )
62
+ name: constr(min_length=1) = Field(..., alias='Name')
63
+
64
+
65
+ class CreateProcessingStepParameters(BaseModel):
66
+ model_config = ConfigDict(
67
+ extra='allow',
68
+ populate_by_name=True,
69
+ )
70
+ title: constr(min_length=1) = Field(..., alias='Title')
71
+ function_name: constr(min_length=1) = Field(..., alias='FunctionName')
72
+
73
+
74
+ class CreateSubJobParameters(BaseModel):
75
+ model_config = ConfigDict(
76
+ extra='allow',
77
+ populate_by_name=True,
78
+ )
79
+ name: constr(min_length=1) = Field(..., alias='Name')
80
+ parent_job_url: str | None = Field(None, alias='ParentJobUrl')
81
+
82
+
83
+ class DataSpecificationHto(BaseModel):
84
+ """
85
+ Container for mapped DataCybernetics.JobManagementService.Domain.Processing.DataSlotSpecification So we can hide some domain information
86
+ """
87
+
88
+ model_config = ConfigDict(
89
+ extra='allow',
90
+ populate_by_name=True,
91
+ )
92
+ name: str | None = Field(None, alias='Name')
93
+ title: str | None = Field(None, alias='Title')
94
+ description: str | None = Field(None, alias='Description')
95
+ media_type: str | None = Field(None, alias='MediaType')
96
+ is_collection: bool | None = Field(None, alias='IsCollection')
97
+ min_slots: int | None = Field(None, alias='MinSlots')
98
+ max_slots: int | None = Field(None, alias='MaxSlots')
99
+
100
+
101
+ class EditProcessingStepParameters(BaseModel):
102
+ model_config = ConfigDict(
103
+ extra='allow',
104
+ populate_by_name=True,
105
+ )
106
+ title: constr(min_length=1) = Field(..., alias='Title')
107
+ function_name: constr(min_length=1) = Field(..., alias='FunctionName')
108
+ is_public: bool | None = Field(None, alias='IsPublic')
109
+
110
+
111
+ class EntryPointHtoOpenApiProperties(BaseModel):
112
+ pass
113
+ model_config = ConfigDict(
114
+ extra='allow',
115
+ populate_by_name=True,
116
+ )
117
+
118
+
119
+ class FieldModel(BaseModel):
120
+ model_config = ConfigDict(
121
+ extra='allow',
122
+ populate_by_name=True,
123
+ )
124
+ name: constr(min_length=1)
125
+ type: str | None = None
126
+ value: Any | None = None
127
+ class_: List[str] | None = Field(None, alias='class')
128
+ title: str | None = None
129
+ accept: List[str] | None = None
130
+ max_file_size_bytes: int | None = Field(None, alias='maxFileSizeBytes')
131
+ allow_multiple: bool | None = Field(None, alias='allowMultiple')
132
+
133
+
134
+ class InfoHtoOpenApiProperties(BaseModel):
135
+ model_config = ConfigDict(
136
+ extra='allow',
137
+ populate_by_name=True,
138
+ )
139
+ api_version: str | None = Field(None, alias='ApiVersion')
140
+ build_version: str | None = Field(None, alias='BuildVersion')
141
+ used_storage_in_bytes: int | None = Field(None, alias='UsedStorageInBytes')
142
+
143
+
144
+ class JobQueryResultHtoOpenApiProperties(BaseModel):
145
+ model_config = ConfigDict(
146
+ extra='allow',
147
+ populate_by_name=True,
148
+ )
149
+ total_entities: int | None = Field(None, alias='TotalEntities')
150
+ current_entities_count: int | None = Field(None, alias='CurrentEntitiesCount')
151
+ previous_entities_count: int | None = Field(None, alias='PreviousEntitiesCount')
152
+
153
+
154
+ class JobSortProperties(Enum):
155
+ name = 'Name'
156
+ created_at = 'CreatedAt'
157
+ completed_at = 'CompletedAt'
158
+
159
+
160
+ class JobStates(Enum):
161
+ undefined = 'Undefined'
162
+ created = 'Created'
163
+ ready_for_processing = 'ReadyForProcessing'
164
+ pending = 'Pending'
165
+ processing = 'Processing'
166
+ completed = 'Completed'
167
+ error = 'Error'
168
+ canceled = 'Canceled'
169
+ data_missing = 'DataMissing'
170
+
171
+
172
+ class JobUsedTagsHtoOpenApiProperties(BaseModel):
173
+ model_config = ConfigDict(
174
+ extra='allow',
175
+ populate_by_name=True,
176
+ )
177
+ tags: List[str] | None = Field(None, alias='Tags')
178
+
179
+
180
+ class JobsRootHtoOpenApiProperties(BaseModel):
181
+ pass
182
+ model_config = ConfigDict(
183
+ extra='allow',
184
+ populate_by_name=True,
185
+ )
186
+
187
+
188
+ class Link(BaseModel):
189
+ model_config = ConfigDict(
190
+ extra='allow',
191
+ populate_by_name=True,
192
+ )
193
+ rel: List[str]
194
+ href: constr(min_length=1)
195
+ class_: List[str] | None = Field(None, alias='class')
196
+ title: str | None = None
197
+ type: str | None = None
198
+
199
+
200
+ class Pagination(BaseModel):
201
+ model_config = ConfigDict(
202
+ extra='allow',
203
+ populate_by_name=True,
204
+ )
205
+ page_size: int | None = Field(None, alias='PageSize')
206
+ page_offset: int | None = Field(None, alias='PageOffset')
207
+
208
+
209
+ class ProblemDetails(BaseModel):
210
+ model_config = ConfigDict(
211
+ extra='allow',
212
+ populate_by_name=True,
213
+ )
214
+ type: str | None = None
215
+ title: str | None = None
216
+ status: int | None = None
217
+ detail: str | None = None
218
+ instance: str | None = None
219
+
220
+
221
+ class ProcessingStepFilterParameter(BaseModel):
222
+ model_config = ConfigDict(
223
+ extra='allow',
224
+ populate_by_name=True,
225
+ )
226
+ function_name_contains: str | None = Field(None, alias='FunctionNameContains')
227
+ title_contains: str | None = Field(None, alias='TitleContains')
228
+ version: str | None = Field(None, alias='Version')
229
+ description_contains: str | None = Field(None, alias='DescriptionContains')
230
+ tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
231
+ tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
232
+ is_public: bool | None = Field(None, alias='IsPublic')
233
+
234
+
235
+ class ProcessingStepHtoOpenApiProperties(BaseModel):
236
+ model_config = ConfigDict(
237
+ extra='allow',
238
+ populate_by_name=True,
239
+ )
240
+ title: str | None = Field(None, alias='Title')
241
+ version: str | None = Field(
242
+ None, alias='Version', description='Version of the algorithm. Default = "0"'
243
+ )
244
+ function_name: str | None = Field(
245
+ None,
246
+ alias='FunctionName',
247
+ description='Unique name (possibly human readable) for the function so that it can be identified',
248
+ )
249
+ short_description: str | None = Field(
250
+ None, alias='ShortDescription', description='Human readable short description'
251
+ )
252
+ long_description: str | None = Field(
253
+ None, alias='LongDescription', description='Human readable long description'
254
+ )
255
+ has_parameters: bool | None = Field(None, alias='HasParameters')
256
+ is_public: bool | None = Field(None, alias='IsPublic')
257
+ tags: List[str] | None = Field(None, alias='Tags')
258
+ is_configured: bool | None = Field(None, alias='IsConfigured')
259
+ created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
260
+ last_modified_at: AwareDatetime | None = Field(None, alias='LastModifiedAt')
261
+ parameter_schema: str | None = Field(None, alias='ParameterSchema')
262
+ default_parameters: str | None = Field(None, alias='DefaultParameters')
263
+ return_schema: str | None = Field(None, alias='ReturnSchema')
264
+ error_schema: str | None = Field(None, alias='ErrorSchema')
265
+ input_data_slot_specification: List[DataSpecificationHto] | None = Field(
266
+ None, alias='InputDataSlotSpecification'
267
+ )
268
+ output_data_slot_specification: List[DataSpecificationHto] | None = Field(
269
+ None, alias='OutputDataSlotSpecification'
270
+ )
271
+
272
+
273
+ class ProcessingStepQueryResultHtoOpenApiProperties(BaseModel):
274
+ model_config = ConfigDict(
275
+ extra='allow',
276
+ populate_by_name=True,
277
+ )
278
+ total_entities: int | None = Field(None, alias='TotalEntities')
279
+ current_entities_count: int | None = Field(None, alias='CurrentEntitiesCount')
280
+ previous_entities_count: int | None = Field(None, alias='PreviousEntitiesCount')
281
+
282
+
283
+ class ProcessingStepRootHtoOpenApiProperties(BaseModel):
284
+ pass
285
+ model_config = ConfigDict(
286
+ extra='allow',
287
+ populate_by_name=True,
288
+ )
289
+
290
+
291
+ class ProcessingStepSortProperties(Enum):
292
+ title = 'Title'
293
+ created_at = 'CreatedAt'
294
+ last_modified_at = 'LastModifiedAt'
295
+
296
+
297
+ class ProcessingStepUsedTagsHtoOpenApiProperties(BaseModel):
298
+ model_config = ConfigDict(
299
+ extra='allow',
300
+ populate_by_name=True,
301
+ )
302
+ tags: List[str] | None = Field(None, alias='Tags')
303
+
304
+
305
+ class ProcessingView(BaseModel):
306
+ model_config = ConfigDict(
307
+ extra='allow',
308
+ populate_by_name=True,
309
+ )
310
+ title: str | None = Field(None, alias='Title')
311
+ description: str | None = Field(None, alias='Description')
312
+ function_name: str | None = Field(None, alias='FunctionName')
313
+ number_of_input_data_slots: int | None = Field(None, alias='NumberOfInputDataSlots')
314
+ number_of_output_data_slots: int | None = Field(
315
+ None, alias='NumberOfOutputDataSlots'
316
+ )
317
+
318
+
319
+ class RenameJobParameters(BaseModel):
320
+ model_config = ConfigDict(
321
+ extra='allow',
322
+ populate_by_name=True,
323
+ )
324
+ new_name: constr(min_length=1) = Field(..., alias='NewName')
325
+
326
+
327
+ class SelectProcessingParameters(BaseModel):
328
+ model_config = ConfigDict(
329
+ extra='allow',
330
+ populate_by_name=True,
331
+ )
332
+ processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
333
+
334
+
335
+ class SelectWorkDataCollectionForDataSlotParameters(BaseModel):
336
+ model_config = ConfigDict(
337
+ extra='allow',
338
+ populate_by_name=True,
339
+ )
340
+ work_data_urls: List[str] | None = Field(None, alias='WorkDataUrls')
341
+
342
+
343
+ class SelectWorkDataForDataSlotParameters(BaseModel):
344
+ model_config = ConfigDict(
345
+ extra='allow',
346
+ populate_by_name=True,
347
+ )
348
+ work_data_url: str | None = Field(None, alias='WorkDataUrl')
349
+
350
+
351
+ class SetCommentWorkDataParameters(BaseModel):
352
+ model_config = ConfigDict(
353
+ extra='allow',
354
+ populate_by_name=True,
355
+ )
356
+ comment: str | None = Field(None, alias='Comment')
357
+
358
+
359
+ class SetJobTagsParameters(BaseModel):
360
+ model_config = ConfigDict(
361
+ extra='allow',
362
+ populate_by_name=True,
363
+ )
364
+ tags: List[str] = Field(..., alias='Tags')
365
+
366
+
367
+ class SetNameWorkDataParameters(BaseModel):
368
+ model_config = ConfigDict(
369
+ extra='allow',
370
+ populate_by_name=True,
371
+ )
372
+ new_name: constr(min_length=1) = Field(..., alias='NewName')
373
+
374
+
375
+ class SetProcessingStepTagsParameters(BaseModel):
376
+ model_config = ConfigDict(
377
+ extra='allow',
378
+ populate_by_name=True,
379
+ )
380
+ tags: List[str] = Field(..., alias='Tags')
381
+
382
+
383
+ class SetTagsWorkDataParameters(BaseModel):
384
+ model_config = ConfigDict(
385
+ extra='allow',
386
+ populate_by_name=True,
387
+ )
388
+ tags: List[str] = Field(..., alias='Tags')
389
+
390
+
391
+ class SortTypes(Enum):
392
+ none = 'None'
393
+ ascending = 'Ascending'
394
+ descending = 'Descending'
395
+
396
+
397
+ class UserHtoOpenApiProperties(BaseModel):
398
+ model_config = ConfigDict(
399
+ extra='allow',
400
+ populate_by_name=True,
401
+ )
402
+ user_id: str | None = Field(None, alias='UserId')
403
+ user_groups: List[str] | None = Field(None, alias='UserGroups')
404
+
405
+
406
+ class WorkDataKind(Enum):
407
+ unknown = 'Unknown'
408
+ client_upload = 'ClientUpload'
409
+ processing_artefact = 'ProcessingArtefact'
410
+ monitoring = 'Monitoring'
411
+
412
+
413
+ class WorkDataQueryResultHtoOpenApiProperties(BaseModel):
414
+ model_config = ConfigDict(
415
+ extra='allow',
416
+ populate_by_name=True,
417
+ )
418
+ total_entities: int | None = Field(None, alias='TotalEntities')
419
+ current_entities_count: int | None = Field(None, alias='CurrentEntitiesCount')
420
+ previous_entities_count: int | None = Field(None, alias='PreviousEntitiesCount')
421
+
422
+
423
+ class WorkDataRootHtoOpenApiProperties(BaseModel):
424
+ pass
425
+ model_config = ConfigDict(
426
+ extra='allow',
427
+ populate_by_name=True,
428
+ )
429
+
430
+
431
+ class WorkDataSortProperties(Enum):
432
+ name = 'Name'
433
+ media_type = 'MediaType'
434
+ kind = 'Kind'
435
+ size_in_bytes = 'SizeInBytes'
436
+ created_at = 'CreatedAt'
437
+
438
+
439
+ class WorkDataSortPropertiesSortParameter(BaseModel):
440
+ model_config = ConfigDict(
441
+ extra='allow',
442
+ populate_by_name=True,
443
+ )
444
+ property_name: WorkDataSortProperties | None = Field(None, alias='PropertyName')
445
+ sort_type: SortTypes | None = Field(None, alias='SortType')
446
+
447
+
448
+ class WorkDataUsedTagsFilterParameter(BaseModel):
449
+ model_config = ConfigDict(
450
+ extra='allow',
451
+ populate_by_name=True,
452
+ )
453
+ required_tags: List[str] | None = Field(None, alias='RequiredTags')
454
+
455
+
456
+ class WorkDataUsedTagsQueryResultHtoOpenApiProperties(BaseModel):
457
+ model_config = ConfigDict(
458
+ extra='allow',
459
+ populate_by_name=True,
460
+ )
461
+ tags: List[str] | None = Field(None, alias='Tags')
462
+
463
+
464
+ class Action(BaseModel):
465
+ model_config = ConfigDict(
466
+ extra='allow',
467
+ populate_by_name=True,
468
+ )
469
+ name: constr(min_length=1)
470
+ href: constr(min_length=1)
471
+ class_: List[str] | None = Field(None, alias='class')
472
+ method: str | None = None
473
+ title: str | None = None
474
+ type: str | None = None
475
+ fields: List[FieldModel] | None = None
476
+
477
+
478
+ class AdminJobFilterParameter(BaseModel):
479
+ model_config = ConfigDict(
480
+ extra='allow',
481
+ populate_by_name=True,
482
+ )
483
+ processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
484
+ name: str | None = Field(None, alias='Name')
485
+ state: JobStates | None = Field(None, alias='State')
486
+ show_hidden: bool | None = Field(None, alias='ShowHidden')
487
+ parent_job_url: str | None = Field(None, alias='ParentJobUrl')
488
+ tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
489
+ tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
490
+ user_url: str | None = Field(None, alias='UserUrl')
491
+ is_sub_job: bool | None = Field(None, alias='IsSubJob')
492
+
493
+
494
+ class AdminJobQueryResultHtoOpenApi(BaseModel):
495
+ model_config = ConfigDict(
496
+ extra='allow',
497
+ populate_by_name=True,
498
+ )
499
+ class_: List[str] | None = Field(None, alias='class')
500
+ title: str | None = None
501
+ properties: AdminJobQueryResultHtoOpenApiProperties | None = None
502
+ entities: List | None = None
503
+ actions: List[Action] | None = None
504
+ links: List[Link] | None = None
505
+
506
+
507
+ class AdminProcessingStepQueryResultHtoOpenApi(BaseModel):
508
+ model_config = ConfigDict(
509
+ extra='allow',
510
+ populate_by_name=True,
511
+ )
512
+ class_: List[str] | None = Field(None, alias='class')
513
+ title: str | None = None
514
+ properties: AdminProcessingStepQueryResultHtoOpenApiProperties | None = None
515
+ entities: List | None = None
516
+ actions: List[Action] | None = None
517
+ links: List[Link] | None = None
518
+
519
+
520
+ class AdminWorkDataFilterParameter(BaseModel):
521
+ model_config = ConfigDict(
522
+ extra='allow',
523
+ populate_by_name=True,
524
+ )
525
+ user_url: str | None = Field(None, alias='UserUrl')
526
+ name_contains: str | None = Field(None, alias='NameContains')
527
+ show_hidden: bool | None = Field(None, alias='ShowHidden')
528
+ media_type_contains: str | None = Field(None, alias='MediaTypeContains')
529
+ tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
530
+ tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
531
+ is_kind: WorkDataKind | None = Field(None, alias='IsKind')
532
+ created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
533
+ created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
534
+ is_deletable: bool | None = Field(None, alias='IsDeletable')
535
+
536
+
537
+ class AdminWorkDataQueryParameters(BaseModel):
538
+ model_config = ConfigDict(
539
+ extra='allow',
540
+ populate_by_name=True,
541
+ )
542
+ pagination: Pagination | None = Field(None, alias='Pagination')
543
+ sort_by: WorkDataSortPropertiesSortParameter | None = Field(None, alias='SortBy')
544
+ filter: AdminWorkDataFilterParameter | None = Field(None, alias='Filter')
545
+
546
+
547
+ class AdminWorkDataQueryResultHtoOpenApi(BaseModel):
548
+ model_config = ConfigDict(
549
+ extra='allow',
550
+ populate_by_name=True,
551
+ )
552
+ class_: List[str] | None = Field(None, alias='class')
553
+ title: str | None = None
554
+ properties: AdminWorkDataQueryResultHtoOpenApiProperties | None = None
555
+ entities: List | None = None
556
+ actions: List[Action] | None = None
557
+ links: List[Link] | None = None
558
+
559
+
560
+ class EntryPointHtoOpenApi(BaseModel):
561
+ model_config = ConfigDict(
562
+ extra='allow',
563
+ populate_by_name=True,
564
+ )
565
+ class_: List[str] | None = Field(None, alias='class')
566
+ title: str | None = None
567
+ properties: EntryPointHtoOpenApiProperties | None = None
568
+ entities: List | None = None
569
+ actions: List[Action] | None = None
570
+ links: List[Link] | None = None
571
+
572
+
573
+ class InfoHtoOpenApi(BaseModel):
574
+ model_config = ConfigDict(
575
+ extra='allow',
576
+ populate_by_name=True,
577
+ )
578
+ class_: List[str] | None = Field(None, alias='class')
579
+ title: str | None = None
580
+ properties: InfoHtoOpenApiProperties | None = None
581
+ entities: List | None = None
582
+ actions: List[Action] | None = None
583
+ links: List[Link] | None = None
584
+
585
+
586
+ class JobFilterParameter(BaseModel):
587
+ model_config = ConfigDict(
588
+ extra='allow',
589
+ populate_by_name=True,
590
+ )
591
+ state: JobStates | None = Field(None, alias='State')
592
+ name: str | None = Field(None, alias='Name')
593
+ show_hidden: bool | None = Field(None, alias='ShowHidden')
594
+ processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
595
+ tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
596
+ tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
597
+ parent_job_url: str | None = Field(None, alias='ParentJobUrl')
598
+ is_sub_job: bool | None = Field(None, alias='IsSubJob')
599
+
600
+
601
+ class JobHtoOpenApiProperties(BaseModel):
602
+ model_config = ConfigDict(
603
+ extra='allow',
604
+ populate_by_name=True,
605
+ )
606
+ name: str | None = Field(None, alias='Name')
607
+ state: JobStates | None = Field(None, alias='State')
608
+ tags: List[str] | None = Field(None, alias='Tags')
609
+ hidden: bool | None = Field(None, alias='Hidden')
610
+ output_is_deletable: bool | None = Field(None, alias='OutputIsDeletable')
611
+ created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
612
+ completed_at: AwareDatetime | None = Field(None, alias='CompletedAt')
613
+ error_description: str | None = Field(None, alias='ErrorDescription')
614
+ processing: ProcessingView | None = Field(None, alias='Processing')
615
+ result: str | None = Field(None, alias='Result')
616
+
617
+
618
+ class JobQueryResultHtoOpenApi(BaseModel):
619
+ model_config = ConfigDict(
620
+ extra='allow',
621
+ populate_by_name=True,
622
+ )
623
+ class_: List[str] | None = Field(None, alias='class')
624
+ title: str | None = None
625
+ properties: JobQueryResultHtoOpenApiProperties | None = None
626
+ entities: List | None = None
627
+ actions: List[Action] | None = None
628
+ links: List[Link] | None = None
629
+
630
+
631
+ class JobSortPropertiesSortParameter(BaseModel):
632
+ model_config = ConfigDict(
633
+ extra='allow',
634
+ populate_by_name=True,
635
+ )
636
+ property_name: JobSortProperties | None = Field(None, alias='PropertyName')
637
+ sort_type: SortTypes | None = Field(None, alias='SortType')
638
+
639
+
640
+ class JobUsedTagsHtoOpenApi(BaseModel):
641
+ model_config = ConfigDict(
642
+ extra='allow',
643
+ populate_by_name=True,
644
+ )
645
+ class_: List[str] | None = Field(None, alias='class')
646
+ title: str | None = None
647
+ properties: JobUsedTagsHtoOpenApiProperties | None = None
648
+ entities: List | None = None
649
+ actions: List[Action] | None = None
650
+ links: List[Link] | None = None
651
+
652
+
653
+ class JobsRootHtoOpenApi(BaseModel):
654
+ model_config = ConfigDict(
655
+ extra='allow',
656
+ populate_by_name=True,
657
+ )
658
+ class_: List[str] | None = Field(None, alias='class')
659
+ title: str | None = None
660
+ properties: JobsRootHtoOpenApiProperties | None = None
661
+ entities: List | None = None
662
+ actions: List[Action] | None = None
663
+ links: List[Link] | None = None
664
+
665
+
666
+ class ProcessingStepHtoOpenApi(BaseModel):
667
+ model_config = ConfigDict(
668
+ extra='allow',
669
+ populate_by_name=True,
670
+ )
671
+ class_: List[str] | None = Field(None, alias='class')
672
+ title: str | None = None
673
+ properties: ProcessingStepHtoOpenApiProperties | None = None
674
+ entities: List | None = None
675
+ actions: List[Action] | None = None
676
+ links: List[Link] | None = None
677
+
678
+
679
+ class ProcessingStepQueryResultHtoOpenApi(BaseModel):
680
+ model_config = ConfigDict(
681
+ extra='allow',
682
+ populate_by_name=True,
683
+ )
684
+ class_: List[str] | None = Field(None, alias='class')
685
+ title: str | None = None
686
+ properties: ProcessingStepQueryResultHtoOpenApiProperties | None = None
687
+ entities: List | None = None
688
+ actions: List[Action] | None = None
689
+ links: List[Link] | None = None
690
+
691
+
692
+ class ProcessingStepRootHtoOpenApi(BaseModel):
693
+ model_config = ConfigDict(
694
+ extra='allow',
695
+ populate_by_name=True,
696
+ )
697
+ class_: List[str] | None = Field(None, alias='class')
698
+ title: str | None = None
699
+ properties: ProcessingStepRootHtoOpenApiProperties | None = None
700
+ entities: List | None = None
701
+ actions: List[Action] | None = None
702
+ links: List[Link] | None = None
703
+
704
+
705
+ class ProcessingStepSortPropertiesSortParameter(BaseModel):
706
+ model_config = ConfigDict(
707
+ extra='allow',
708
+ populate_by_name=True,
709
+ )
710
+ property_name: ProcessingStepSortProperties | None = Field(
711
+ None, alias='PropertyName'
712
+ )
713
+ sort_type: SortTypes | None = Field(None, alias='SortType')
714
+
715
+
716
+ class ProcessingStepUsedTagsHtoOpenApi(BaseModel):
717
+ model_config = ConfigDict(
718
+ extra='allow',
719
+ populate_by_name=True,
720
+ )
721
+ class_: List[str] | None = Field(None, alias='class')
722
+ title: str | None = None
723
+ properties: ProcessingStepUsedTagsHtoOpenApiProperties | None = None
724
+ entities: List | None = None
725
+ actions: List[Action] | None = None
726
+ links: List[Link] | None = None
727
+
728
+
729
+ class UserHtoOpenApi(BaseModel):
730
+ model_config = ConfigDict(
731
+ extra='allow',
732
+ populate_by_name=True,
733
+ )
734
+ class_: List[str] | None = Field(None, alias='class')
735
+ title: str | None = None
736
+ properties: UserHtoOpenApiProperties | None = None
737
+ entities: List | None = None
738
+ actions: List[Action] | None = None
739
+ links: List[Link] | None = None
740
+
741
+
742
+ class WorkDataFilterParameter(BaseModel):
743
+ model_config = ConfigDict(
744
+ extra='allow',
745
+ populate_by_name=True,
746
+ )
747
+ name_contains: str | None = Field(None, alias='NameContains')
748
+ show_hidden: bool | None = Field(None, alias='ShowHidden')
749
+ media_type_contains: str | None = Field(None, alias='MediaTypeContains')
750
+ tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
751
+ tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
752
+ is_kind: WorkDataKind | None = Field(None, alias='IsKind')
753
+ created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
754
+ created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
755
+ is_deletable: bool | None = Field(None, alias='IsDeletable')
756
+
757
+
758
+ class WorkDataHtoOpenApiProperties(BaseModel):
759
+ model_config = ConfigDict(
760
+ extra='allow',
761
+ populate_by_name=True,
762
+ )
763
+ name: str | None = Field(None, alias='Name')
764
+ created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
765
+ size_in_bytes: int | None = Field(None, alias='SizeInBytes')
766
+ tags: List[str] | None = Field(None, alias='Tags')
767
+ media_type: str | None = Field(None, alias='MediaType')
768
+ kind: WorkDataKind | None = Field(None, alias='Kind')
769
+ is_deletable: bool | None = Field(None, alias='IsDeletable')
770
+ hidden: bool | None = Field(None, alias='Hidden')
771
+ comments: str | None = Field(None, alias='Comments')
772
+
773
+
774
+ class WorkDataQueryParameters(BaseModel):
775
+ model_config = ConfigDict(
776
+ extra='allow',
777
+ populate_by_name=True,
778
+ )
779
+ pagination: Pagination | None = Field(None, alias='Pagination')
780
+ sort_by: WorkDataSortPropertiesSortParameter | None = Field(None, alias='SortBy')
781
+ filter: WorkDataFilterParameter | None = Field(None, alias='Filter')
782
+
783
+
784
+ class WorkDataQueryResultHtoOpenApi(BaseModel):
785
+ model_config = ConfigDict(
786
+ extra='allow',
787
+ populate_by_name=True,
788
+ )
789
+ class_: List[str] | None = Field(None, alias='class')
790
+ title: str | None = None
791
+ properties: WorkDataQueryResultHtoOpenApiProperties | None = None
792
+ entities: List | None = None
793
+ actions: List[Action] | None = None
794
+ links: List[Link] | None = None
795
+
796
+
797
+ class WorkDataRootHtoOpenApi(BaseModel):
798
+ model_config = ConfigDict(
799
+ extra='allow',
800
+ populate_by_name=True,
801
+ )
802
+ class_: List[str] | None = Field(None, alias='class')
803
+ title: str | None = None
804
+ properties: WorkDataRootHtoOpenApiProperties | None = None
805
+ entities: List | None = None
806
+ actions: List[Action] | None = None
807
+ links: List[Link] | None = None
808
+
809
+
810
+ class WorkDataUsedTagsQueryResultHtoOpenApi(BaseModel):
811
+ model_config = ConfigDict(
812
+ extra='allow',
813
+ populate_by_name=True,
814
+ )
815
+ class_: List[str] | None = Field(None, alias='class')
816
+ title: str | None = None
817
+ properties: WorkDataUsedTagsQueryResultHtoOpenApiProperties | None = None
818
+ entities: List | None = None
819
+ actions: List[Action] | None = None
820
+ links: List[Link] | None = None
821
+
822
+
823
+ class AdminJobQueryParameters(BaseModel):
824
+ model_config = ConfigDict(
825
+ extra='allow',
826
+ populate_by_name=True,
827
+ )
828
+ pagination: Pagination | None = Field(None, alias='Pagination')
829
+ sort_by: JobSortPropertiesSortParameter | None = Field(None, alias='SortBy')
830
+ filter: AdminJobFilterParameter | None = Field(None, alias='Filter')
831
+
832
+
833
+ class AdminProcessingStepQueryParameters(BaseModel):
834
+ model_config = ConfigDict(
835
+ extra='allow',
836
+ populate_by_name=True,
837
+ )
838
+ pagination: Pagination | None = Field(None, alias='Pagination')
839
+ sort_by: ProcessingStepSortPropertiesSortParameter | None = Field(
840
+ None, alias='SortBy'
841
+ )
842
+ filter: AdminProcessingStepFilterParameter | None = Field(None, alias='Filter')
843
+
844
+
845
+ class JobHtoOpenApi(BaseModel):
846
+ model_config = ConfigDict(
847
+ extra='allow',
848
+ populate_by_name=True,
849
+ )
850
+ class_: List[str] | None = Field(None, alias='class')
851
+ title: str | None = None
852
+ properties: JobHtoOpenApiProperties | None = None
853
+ entities: List | None = None
854
+ actions: List[Action] | None = None
855
+ links: List[Link] | None = None
856
+
857
+
858
+ class JobQueryParameters(BaseModel):
859
+ model_config = ConfigDict(
860
+ extra='allow',
861
+ populate_by_name=True,
862
+ )
863
+ pagination: Pagination | None = Field(None, alias='Pagination')
864
+ sort_by: JobSortPropertiesSortParameter | None = Field(None, alias='SortBy')
865
+ filter: JobFilterParameter | None = Field(None, alias='Filter')
866
+
867
+
868
+ class ProcessingStepQueryParameters(BaseModel):
869
+ model_config = ConfigDict(
870
+ extra='allow',
871
+ populate_by_name=True,
872
+ )
873
+ pagination: Pagination | None = Field(None, alias='Pagination')
874
+ sort_by: ProcessingStepSortPropertiesSortParameter | None = Field(
875
+ None, alias='SortBy'
876
+ )
877
+ filter: ProcessingStepFilterParameter | None = Field(None, alias='Filter')
878
+
879
+
880
+ class WorkDataHtoOpenApi(BaseModel):
881
+ model_config = ConfigDict(
882
+ extra='allow',
883
+ populate_by_name=True,
884
+ )
885
+ class_: List[str] | None = Field(None, alias='class')
886
+ title: str | None = None
887
+ properties: WorkDataHtoOpenApiProperties | None = None
888
+ entities: List | None = None
889
+ actions: List[Action] | None = None
890
+ links: List[Link] | None = None