pulpcore-client 3.80.2__py3-none-any.whl → 3.82.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulpcore-client might be problematic. Click here for more details.
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/api/access_policies_api.py +80 -0
- pulpcore/client/pulpcore/api/artifacts_api.py +64 -0
- pulpcore/client/pulpcore/api/content_api.py +16 -0
- pulpcore/client/pulpcore/api/content_openpgp_publickey_api.py +80 -0
- pulpcore/client/pulpcore/api/content_openpgp_publicsubkey_api.py +64 -0
- pulpcore/client/pulpcore/api/content_openpgp_signature_api.py +64 -0
- pulpcore/client/pulpcore/api/content_openpgp_userattribute_api.py +64 -0
- pulpcore/client/pulpcore/api/content_openpgp_userid_api.py +64 -0
- pulpcore/client/pulpcore/api/contentguards_api.py +16 -0
- pulpcore/client/pulpcore/api/contentguards_composite_api.py +160 -0
- pulpcore/client/pulpcore/api/contentguards_content_redirect_api.py +160 -0
- pulpcore/client/pulpcore/api/contentguards_header_api.py +160 -0
- pulpcore/client/pulpcore/api/contentguards_rbac_api.py +160 -0
- pulpcore/client/pulpcore/api/distributions_api.py +16 -0
- pulpcore/client/pulpcore/api/distributions_artifacts_api.py +32 -0
- pulpcore/client/pulpcore/api/distributions_openpgp_api.py +128 -0
- pulpcore/client/pulpcore/api/domains_api.py +144 -0
- pulpcore/client/pulpcore/api/exporters_filesystem_api.py +96 -0
- pulpcore/client/pulpcore/api/exporters_filesystem_exports_api.py +64 -0
- pulpcore/client/pulpcore/api/exporters_pulp_api.py +96 -0
- pulpcore/client/pulpcore/api/exporters_pulp_exports_api.py +64 -0
- pulpcore/client/pulpcore/api/groups_api.py +160 -0
- pulpcore/client/pulpcore/api/groups_roles_api.py +64 -0
- pulpcore/client/pulpcore/api/groups_users_api.py +48 -0
- pulpcore/client/pulpcore/api/importers_pulp_api.py +96 -0
- pulpcore/client/pulpcore/api/importers_pulp_import_check_api.py +19 -0
- pulpcore/client/pulpcore/api/importers_pulp_imports_api.py +64 -0
- pulpcore/client/pulpcore/api/livez_api.py +55 -0
- pulpcore/client/pulpcore/api/login_api.py +87 -0
- pulpcore/client/pulpcore/api/orphans_api.py +19 -0
- pulpcore/client/pulpcore/api/orphans_cleanup_api.py +19 -0
- pulpcore/client/pulpcore/api/publications_api.py +16 -0
- pulpcore/client/pulpcore/api/remotes_api.py +16 -0
- pulpcore/client/pulpcore/api/repair_api.py +19 -0
- pulpcore/client/pulpcore/api/repositories_api.py +16 -0
- pulpcore/client/pulpcore/api/repositories_openpgp_keyring_api.py +208 -0
- pulpcore/client/pulpcore/api/repositories_reclaim_space_api.py +19 -0
- pulpcore/client/pulpcore/api/repository_versions_api.py +16 -0
- pulpcore/client/pulpcore/api/roles_api.py +96 -0
- pulpcore/client/pulpcore/api/signing_services_api.py +32 -0
- pulpcore/client/pulpcore/api/status_api.py +55 -0
- pulpcore/client/pulpcore/api/task_groups_api.py +48 -0
- pulpcore/client/pulpcore/api/task_schedules_api.py +96 -0
- pulpcore/client/pulpcore/api/tasks_api.py +166 -6
- pulpcore/client/pulpcore/api/uploads_api.py +160 -0
- pulpcore/client/pulpcore/api/upstream_pulps_api.py +176 -0
- pulpcore/client/pulpcore/api/users_api.py +96 -0
- pulpcore/client/pulpcore/api/users_roles_api.py +64 -0
- pulpcore/client/pulpcore/api/workers_api.py +32 -0
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +1 -1
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +17 -17
- pulpcore/client/pulpcore/models/composite_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -1
- pulpcore/client/pulpcore/models/content_guard_response.py +1 -1
- pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -1
- pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -1
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
- {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
|
@@ -47,6 +47,7 @@ class UsersRolesApi:
|
|
|
47
47
|
self,
|
|
48
48
|
auth_user_href: StrictStr,
|
|
49
49
|
user_role: UserRole,
|
|
50
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
50
51
|
_request_timeout: Union[
|
|
51
52
|
None,
|
|
52
53
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -68,6 +69,8 @@ class UsersRolesApi:
|
|
|
68
69
|
:type auth_user_href: str
|
|
69
70
|
:param user_role: (required)
|
|
70
71
|
:type user_role: UserRole
|
|
72
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
73
|
+
:type x_task_diagnostics: List[str]
|
|
71
74
|
:param _request_timeout: timeout setting for this request. If one
|
|
72
75
|
number provided, it will be total request
|
|
73
76
|
timeout. It can also be a pair (tuple) of
|
|
@@ -93,6 +96,7 @@ class UsersRolesApi:
|
|
|
93
96
|
_param = self._create_serialize(
|
|
94
97
|
auth_user_href=auth_user_href,
|
|
95
98
|
user_role=user_role,
|
|
99
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
96
100
|
_request_auth=_request_auth,
|
|
97
101
|
_content_type=_content_type,
|
|
98
102
|
_headers=_headers,
|
|
@@ -118,6 +122,7 @@ class UsersRolesApi:
|
|
|
118
122
|
self,
|
|
119
123
|
auth_user_href: StrictStr,
|
|
120
124
|
user_role: UserRole,
|
|
125
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
121
126
|
_request_timeout: Union[
|
|
122
127
|
None,
|
|
123
128
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -139,6 +144,8 @@ class UsersRolesApi:
|
|
|
139
144
|
:type auth_user_href: str
|
|
140
145
|
:param user_role: (required)
|
|
141
146
|
:type user_role: UserRole
|
|
147
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
148
|
+
:type x_task_diagnostics: List[str]
|
|
142
149
|
:param _request_timeout: timeout setting for this request. If one
|
|
143
150
|
number provided, it will be total request
|
|
144
151
|
timeout. It can also be a pair (tuple) of
|
|
@@ -164,6 +171,7 @@ class UsersRolesApi:
|
|
|
164
171
|
_param = self._create_serialize(
|
|
165
172
|
auth_user_href=auth_user_href,
|
|
166
173
|
user_role=user_role,
|
|
174
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
167
175
|
_request_auth=_request_auth,
|
|
168
176
|
_content_type=_content_type,
|
|
169
177
|
_headers=_headers,
|
|
@@ -189,6 +197,7 @@ class UsersRolesApi:
|
|
|
189
197
|
self,
|
|
190
198
|
auth_user_href: StrictStr,
|
|
191
199
|
user_role: UserRole,
|
|
200
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
192
201
|
_request_timeout: Union[
|
|
193
202
|
None,
|
|
194
203
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -210,6 +219,8 @@ class UsersRolesApi:
|
|
|
210
219
|
:type auth_user_href: str
|
|
211
220
|
:param user_role: (required)
|
|
212
221
|
:type user_role: UserRole
|
|
222
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
223
|
+
:type x_task_diagnostics: List[str]
|
|
213
224
|
:param _request_timeout: timeout setting for this request. If one
|
|
214
225
|
number provided, it will be total request
|
|
215
226
|
timeout. It can also be a pair (tuple) of
|
|
@@ -235,6 +246,7 @@ class UsersRolesApi:
|
|
|
235
246
|
_param = self._create_serialize(
|
|
236
247
|
auth_user_href=auth_user_href,
|
|
237
248
|
user_role=user_role,
|
|
249
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
238
250
|
_request_auth=_request_auth,
|
|
239
251
|
_content_type=_content_type,
|
|
240
252
|
_headers=_headers,
|
|
@@ -255,6 +267,7 @@ class UsersRolesApi:
|
|
|
255
267
|
self,
|
|
256
268
|
auth_user_href,
|
|
257
269
|
user_role,
|
|
270
|
+
x_task_diagnostics,
|
|
258
271
|
_request_auth,
|
|
259
272
|
_content_type,
|
|
260
273
|
_headers,
|
|
@@ -264,6 +277,7 @@ class UsersRolesApi:
|
|
|
264
277
|
_host = None
|
|
265
278
|
|
|
266
279
|
_collection_formats: Dict[str, str] = {
|
|
280
|
+
'X-Task-Diagnostics': 'csv',
|
|
267
281
|
}
|
|
268
282
|
|
|
269
283
|
_path_params: Dict[str, str] = {}
|
|
@@ -280,6 +294,8 @@ class UsersRolesApi:
|
|
|
280
294
|
_path_params['auth_user_href'] = auth_user_href
|
|
281
295
|
# process the query parameters
|
|
282
296
|
# process the header parameters
|
|
297
|
+
if x_task_diagnostics is not None:
|
|
298
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
283
299
|
# process the form parameters
|
|
284
300
|
# process the body parameter
|
|
285
301
|
if user_role is not None:
|
|
@@ -338,6 +354,7 @@ class UsersRolesApi:
|
|
|
338
354
|
def delete(
|
|
339
355
|
self,
|
|
340
356
|
auth_users_user_role_href: StrictStr,
|
|
357
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
341
358
|
_request_timeout: Union[
|
|
342
359
|
None,
|
|
343
360
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -357,6 +374,8 @@ class UsersRolesApi:
|
|
|
357
374
|
|
|
358
375
|
:param auth_users_user_role_href: (required)
|
|
359
376
|
:type auth_users_user_role_href: str
|
|
377
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
378
|
+
:type x_task_diagnostics: List[str]
|
|
360
379
|
:param _request_timeout: timeout setting for this request. If one
|
|
361
380
|
number provided, it will be total request
|
|
362
381
|
timeout. It can also be a pair (tuple) of
|
|
@@ -381,6 +400,7 @@ class UsersRolesApi:
|
|
|
381
400
|
|
|
382
401
|
_param = self._delete_serialize(
|
|
383
402
|
auth_users_user_role_href=auth_users_user_role_href,
|
|
403
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
384
404
|
_request_auth=_request_auth,
|
|
385
405
|
_content_type=_content_type,
|
|
386
406
|
_headers=_headers,
|
|
@@ -405,6 +425,7 @@ class UsersRolesApi:
|
|
|
405
425
|
def delete_with_http_info(
|
|
406
426
|
self,
|
|
407
427
|
auth_users_user_role_href: StrictStr,
|
|
428
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
408
429
|
_request_timeout: Union[
|
|
409
430
|
None,
|
|
410
431
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -424,6 +445,8 @@ class UsersRolesApi:
|
|
|
424
445
|
|
|
425
446
|
:param auth_users_user_role_href: (required)
|
|
426
447
|
:type auth_users_user_role_href: str
|
|
448
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
449
|
+
:type x_task_diagnostics: List[str]
|
|
427
450
|
:param _request_timeout: timeout setting for this request. If one
|
|
428
451
|
number provided, it will be total request
|
|
429
452
|
timeout. It can also be a pair (tuple) of
|
|
@@ -448,6 +471,7 @@ class UsersRolesApi:
|
|
|
448
471
|
|
|
449
472
|
_param = self._delete_serialize(
|
|
450
473
|
auth_users_user_role_href=auth_users_user_role_href,
|
|
474
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
451
475
|
_request_auth=_request_auth,
|
|
452
476
|
_content_type=_content_type,
|
|
453
477
|
_headers=_headers,
|
|
@@ -472,6 +496,7 @@ class UsersRolesApi:
|
|
|
472
496
|
def delete_without_preload_content(
|
|
473
497
|
self,
|
|
474
498
|
auth_users_user_role_href: StrictStr,
|
|
499
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
475
500
|
_request_timeout: Union[
|
|
476
501
|
None,
|
|
477
502
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -491,6 +516,8 @@ class UsersRolesApi:
|
|
|
491
516
|
|
|
492
517
|
:param auth_users_user_role_href: (required)
|
|
493
518
|
:type auth_users_user_role_href: str
|
|
519
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
520
|
+
:type x_task_diagnostics: List[str]
|
|
494
521
|
:param _request_timeout: timeout setting for this request. If one
|
|
495
522
|
number provided, it will be total request
|
|
496
523
|
timeout. It can also be a pair (tuple) of
|
|
@@ -515,6 +542,7 @@ class UsersRolesApi:
|
|
|
515
542
|
|
|
516
543
|
_param = self._delete_serialize(
|
|
517
544
|
auth_users_user_role_href=auth_users_user_role_href,
|
|
545
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
518
546
|
_request_auth=_request_auth,
|
|
519
547
|
_content_type=_content_type,
|
|
520
548
|
_headers=_headers,
|
|
@@ -534,6 +562,7 @@ class UsersRolesApi:
|
|
|
534
562
|
def _delete_serialize(
|
|
535
563
|
self,
|
|
536
564
|
auth_users_user_role_href,
|
|
565
|
+
x_task_diagnostics,
|
|
537
566
|
_request_auth,
|
|
538
567
|
_content_type,
|
|
539
568
|
_headers,
|
|
@@ -543,6 +572,7 @@ class UsersRolesApi:
|
|
|
543
572
|
_host = None
|
|
544
573
|
|
|
545
574
|
_collection_formats: Dict[str, str] = {
|
|
575
|
+
'X-Task-Diagnostics': 'csv',
|
|
546
576
|
}
|
|
547
577
|
|
|
548
578
|
_path_params: Dict[str, str] = {}
|
|
@@ -559,6 +589,8 @@ class UsersRolesApi:
|
|
|
559
589
|
_path_params['auth_users_user_role_href'] = auth_users_user_role_href
|
|
560
590
|
# process the query parameters
|
|
561
591
|
# process the header parameters
|
|
592
|
+
if x_task_diagnostics is not None:
|
|
593
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
562
594
|
# process the form parameters
|
|
563
595
|
# process the body parameter
|
|
564
596
|
|
|
@@ -593,6 +625,7 @@ class UsersRolesApi:
|
|
|
593
625
|
def list(
|
|
594
626
|
self,
|
|
595
627
|
auth_user_href: StrictStr,
|
|
628
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
596
629
|
content_object: Annotated[Optional[StrictStr], Field(description="content_object")] = None,
|
|
597
630
|
domain: Annotated[Optional[StrictStr], Field(description="Foreign Key referenced by HREF")] = None,
|
|
598
631
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
@@ -628,6 +661,8 @@ class UsersRolesApi:
|
|
|
628
661
|
|
|
629
662
|
:param auth_user_href: (required)
|
|
630
663
|
:type auth_user_href: str
|
|
664
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
665
|
+
:type x_task_diagnostics: List[str]
|
|
631
666
|
:param content_object: content_object
|
|
632
667
|
:type content_object: str
|
|
633
668
|
:param domain: Foreign Key referenced by HREF
|
|
@@ -684,6 +719,7 @@ class UsersRolesApi:
|
|
|
684
719
|
|
|
685
720
|
_param = self._list_serialize(
|
|
686
721
|
auth_user_href=auth_user_href,
|
|
722
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
687
723
|
content_object=content_object,
|
|
688
724
|
domain=domain,
|
|
689
725
|
limit=limit,
|
|
@@ -724,6 +760,7 @@ class UsersRolesApi:
|
|
|
724
760
|
def list_with_http_info(
|
|
725
761
|
self,
|
|
726
762
|
auth_user_href: StrictStr,
|
|
763
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
727
764
|
content_object: Annotated[Optional[StrictStr], Field(description="content_object")] = None,
|
|
728
765
|
domain: Annotated[Optional[StrictStr], Field(description="Foreign Key referenced by HREF")] = None,
|
|
729
766
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
@@ -759,6 +796,8 @@ class UsersRolesApi:
|
|
|
759
796
|
|
|
760
797
|
:param auth_user_href: (required)
|
|
761
798
|
:type auth_user_href: str
|
|
799
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
800
|
+
:type x_task_diagnostics: List[str]
|
|
762
801
|
:param content_object: content_object
|
|
763
802
|
:type content_object: str
|
|
764
803
|
:param domain: Foreign Key referenced by HREF
|
|
@@ -815,6 +854,7 @@ class UsersRolesApi:
|
|
|
815
854
|
|
|
816
855
|
_param = self._list_serialize(
|
|
817
856
|
auth_user_href=auth_user_href,
|
|
857
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
818
858
|
content_object=content_object,
|
|
819
859
|
domain=domain,
|
|
820
860
|
limit=limit,
|
|
@@ -855,6 +895,7 @@ class UsersRolesApi:
|
|
|
855
895
|
def list_without_preload_content(
|
|
856
896
|
self,
|
|
857
897
|
auth_user_href: StrictStr,
|
|
898
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
858
899
|
content_object: Annotated[Optional[StrictStr], Field(description="content_object")] = None,
|
|
859
900
|
domain: Annotated[Optional[StrictStr], Field(description="Foreign Key referenced by HREF")] = None,
|
|
860
901
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
@@ -890,6 +931,8 @@ class UsersRolesApi:
|
|
|
890
931
|
|
|
891
932
|
:param auth_user_href: (required)
|
|
892
933
|
:type auth_user_href: str
|
|
934
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
935
|
+
:type x_task_diagnostics: List[str]
|
|
893
936
|
:param content_object: content_object
|
|
894
937
|
:type content_object: str
|
|
895
938
|
:param domain: Foreign Key referenced by HREF
|
|
@@ -946,6 +989,7 @@ class UsersRolesApi:
|
|
|
946
989
|
|
|
947
990
|
_param = self._list_serialize(
|
|
948
991
|
auth_user_href=auth_user_href,
|
|
992
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
949
993
|
content_object=content_object,
|
|
950
994
|
domain=domain,
|
|
951
995
|
limit=limit,
|
|
@@ -981,6 +1025,7 @@ class UsersRolesApi:
|
|
|
981
1025
|
def _list_serialize(
|
|
982
1026
|
self,
|
|
983
1027
|
auth_user_href,
|
|
1028
|
+
x_task_diagnostics,
|
|
984
1029
|
content_object,
|
|
985
1030
|
domain,
|
|
986
1031
|
limit,
|
|
@@ -1006,6 +1051,7 @@ class UsersRolesApi:
|
|
|
1006
1051
|
_host = None
|
|
1007
1052
|
|
|
1008
1053
|
_collection_formats: Dict[str, str] = {
|
|
1054
|
+
'X-Task-Diagnostics': 'csv',
|
|
1009
1055
|
'ordering': 'csv',
|
|
1010
1056
|
'prn__in': 'csv',
|
|
1011
1057
|
'pulp_href__in': 'csv',
|
|
@@ -1093,6 +1139,8 @@ class UsersRolesApi:
|
|
|
1093
1139
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1094
1140
|
|
|
1095
1141
|
# process the header parameters
|
|
1142
|
+
if x_task_diagnostics is not None:
|
|
1143
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1096
1144
|
# process the form parameters
|
|
1097
1145
|
# process the body parameter
|
|
1098
1146
|
|
|
@@ -1134,6 +1182,7 @@ class UsersRolesApi:
|
|
|
1134
1182
|
def read(
|
|
1135
1183
|
self,
|
|
1136
1184
|
auth_users_user_role_href: StrictStr,
|
|
1185
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1137
1186
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1138
1187
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1139
1188
|
_request_timeout: Union[
|
|
@@ -1155,6 +1204,8 @@ class UsersRolesApi:
|
|
|
1155
1204
|
|
|
1156
1205
|
:param auth_users_user_role_href: (required)
|
|
1157
1206
|
:type auth_users_user_role_href: str
|
|
1207
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1208
|
+
:type x_task_diagnostics: List[str]
|
|
1158
1209
|
:param fields: A list of fields to include in the response.
|
|
1159
1210
|
:type fields: List[str]
|
|
1160
1211
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1183,6 +1234,7 @@ class UsersRolesApi:
|
|
|
1183
1234
|
|
|
1184
1235
|
_param = self._read_serialize(
|
|
1185
1236
|
auth_users_user_role_href=auth_users_user_role_href,
|
|
1237
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1186
1238
|
fields=fields,
|
|
1187
1239
|
exclude_fields=exclude_fields,
|
|
1188
1240
|
_request_auth=_request_auth,
|
|
@@ -1209,6 +1261,7 @@ class UsersRolesApi:
|
|
|
1209
1261
|
def read_with_http_info(
|
|
1210
1262
|
self,
|
|
1211
1263
|
auth_users_user_role_href: StrictStr,
|
|
1264
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1212
1265
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1213
1266
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1214
1267
|
_request_timeout: Union[
|
|
@@ -1230,6 +1283,8 @@ class UsersRolesApi:
|
|
|
1230
1283
|
|
|
1231
1284
|
:param auth_users_user_role_href: (required)
|
|
1232
1285
|
:type auth_users_user_role_href: str
|
|
1286
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1287
|
+
:type x_task_diagnostics: List[str]
|
|
1233
1288
|
:param fields: A list of fields to include in the response.
|
|
1234
1289
|
:type fields: List[str]
|
|
1235
1290
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1258,6 +1313,7 @@ class UsersRolesApi:
|
|
|
1258
1313
|
|
|
1259
1314
|
_param = self._read_serialize(
|
|
1260
1315
|
auth_users_user_role_href=auth_users_user_role_href,
|
|
1316
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1261
1317
|
fields=fields,
|
|
1262
1318
|
exclude_fields=exclude_fields,
|
|
1263
1319
|
_request_auth=_request_auth,
|
|
@@ -1284,6 +1340,7 @@ class UsersRolesApi:
|
|
|
1284
1340
|
def read_without_preload_content(
|
|
1285
1341
|
self,
|
|
1286
1342
|
auth_users_user_role_href: StrictStr,
|
|
1343
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1287
1344
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1288
1345
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1289
1346
|
_request_timeout: Union[
|
|
@@ -1305,6 +1362,8 @@ class UsersRolesApi:
|
|
|
1305
1362
|
|
|
1306
1363
|
:param auth_users_user_role_href: (required)
|
|
1307
1364
|
:type auth_users_user_role_href: str
|
|
1365
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1366
|
+
:type x_task_diagnostics: List[str]
|
|
1308
1367
|
:param fields: A list of fields to include in the response.
|
|
1309
1368
|
:type fields: List[str]
|
|
1310
1369
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1333,6 +1392,7 @@ class UsersRolesApi:
|
|
|
1333
1392
|
|
|
1334
1393
|
_param = self._read_serialize(
|
|
1335
1394
|
auth_users_user_role_href=auth_users_user_role_href,
|
|
1395
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1336
1396
|
fields=fields,
|
|
1337
1397
|
exclude_fields=exclude_fields,
|
|
1338
1398
|
_request_auth=_request_auth,
|
|
@@ -1354,6 +1414,7 @@ class UsersRolesApi:
|
|
|
1354
1414
|
def _read_serialize(
|
|
1355
1415
|
self,
|
|
1356
1416
|
auth_users_user_role_href,
|
|
1417
|
+
x_task_diagnostics,
|
|
1357
1418
|
fields,
|
|
1358
1419
|
exclude_fields,
|
|
1359
1420
|
_request_auth,
|
|
@@ -1365,6 +1426,7 @@ class UsersRolesApi:
|
|
|
1365
1426
|
_host = None
|
|
1366
1427
|
|
|
1367
1428
|
_collection_formats: Dict[str, str] = {
|
|
1429
|
+
'X-Task-Diagnostics': 'csv',
|
|
1368
1430
|
'fields': 'multi',
|
|
1369
1431
|
'exclude_fields': 'multi',
|
|
1370
1432
|
}
|
|
@@ -1391,6 +1453,8 @@ class UsersRolesApi:
|
|
|
1391
1453
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1392
1454
|
|
|
1393
1455
|
# process the header parameters
|
|
1456
|
+
if x_task_diagnostics is not None:
|
|
1457
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1394
1458
|
# process the form parameters
|
|
1395
1459
|
# process the body parameter
|
|
1396
1460
|
|
|
@@ -45,6 +45,7 @@ class WorkersApi:
|
|
|
45
45
|
@validate_call
|
|
46
46
|
def list(
|
|
47
47
|
self,
|
|
48
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
48
49
|
last_heartbeat: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat matches value")] = None,
|
|
49
50
|
last_heartbeat__gt: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat is greater than value")] = None,
|
|
50
51
|
last_heartbeat__gte: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat is greater than or equal to value")] = None,
|
|
@@ -89,6 +90,8 @@ class WorkersApi:
|
|
|
89
90
|
|
|
90
91
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
91
92
|
|
|
93
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
94
|
+
:type x_task_diagnostics: List[str]
|
|
92
95
|
:param last_heartbeat: Filter results where last_heartbeat matches value
|
|
93
96
|
:type last_heartbeat: datetime
|
|
94
97
|
:param last_heartbeat__gt: Filter results where last_heartbeat is greater than value
|
|
@@ -166,6 +169,7 @@ class WorkersApi:
|
|
|
166
169
|
""" # noqa: E501
|
|
167
170
|
|
|
168
171
|
_param = self._list_serialize(
|
|
172
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
169
173
|
last_heartbeat=last_heartbeat,
|
|
170
174
|
last_heartbeat__gt=last_heartbeat__gt,
|
|
171
175
|
last_heartbeat__gte=last_heartbeat__gte,
|
|
@@ -216,6 +220,7 @@ class WorkersApi:
|
|
|
216
220
|
@validate_call
|
|
217
221
|
def list_with_http_info(
|
|
218
222
|
self,
|
|
223
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
219
224
|
last_heartbeat: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat matches value")] = None,
|
|
220
225
|
last_heartbeat__gt: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat is greater than value")] = None,
|
|
221
226
|
last_heartbeat__gte: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat is greater than or equal to value")] = None,
|
|
@@ -260,6 +265,8 @@ class WorkersApi:
|
|
|
260
265
|
|
|
261
266
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
262
267
|
|
|
268
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
269
|
+
:type x_task_diagnostics: List[str]
|
|
263
270
|
:param last_heartbeat: Filter results where last_heartbeat matches value
|
|
264
271
|
:type last_heartbeat: datetime
|
|
265
272
|
:param last_heartbeat__gt: Filter results where last_heartbeat is greater than value
|
|
@@ -337,6 +344,7 @@ class WorkersApi:
|
|
|
337
344
|
""" # noqa: E501
|
|
338
345
|
|
|
339
346
|
_param = self._list_serialize(
|
|
347
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
340
348
|
last_heartbeat=last_heartbeat,
|
|
341
349
|
last_heartbeat__gt=last_heartbeat__gt,
|
|
342
350
|
last_heartbeat__gte=last_heartbeat__gte,
|
|
@@ -387,6 +395,7 @@ class WorkersApi:
|
|
|
387
395
|
@validate_call
|
|
388
396
|
def list_without_preload_content(
|
|
389
397
|
self,
|
|
398
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
390
399
|
last_heartbeat: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat matches value")] = None,
|
|
391
400
|
last_heartbeat__gt: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat is greater than value")] = None,
|
|
392
401
|
last_heartbeat__gte: Annotated[Optional[datetime], Field(description="Filter results where last_heartbeat is greater than or equal to value")] = None,
|
|
@@ -431,6 +440,8 @@ class WorkersApi:
|
|
|
431
440
|
|
|
432
441
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
433
442
|
|
|
443
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
444
|
+
:type x_task_diagnostics: List[str]
|
|
434
445
|
:param last_heartbeat: Filter results where last_heartbeat matches value
|
|
435
446
|
:type last_heartbeat: datetime
|
|
436
447
|
:param last_heartbeat__gt: Filter results where last_heartbeat is greater than value
|
|
@@ -508,6 +519,7 @@ class WorkersApi:
|
|
|
508
519
|
""" # noqa: E501
|
|
509
520
|
|
|
510
521
|
_param = self._list_serialize(
|
|
522
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
511
523
|
last_heartbeat=last_heartbeat,
|
|
512
524
|
last_heartbeat__gt=last_heartbeat__gt,
|
|
513
525
|
last_heartbeat__gte=last_heartbeat__gte,
|
|
@@ -553,6 +565,7 @@ class WorkersApi:
|
|
|
553
565
|
|
|
554
566
|
def _list_serialize(
|
|
555
567
|
self,
|
|
568
|
+
x_task_diagnostics,
|
|
556
569
|
last_heartbeat,
|
|
557
570
|
last_heartbeat__gt,
|
|
558
571
|
last_heartbeat__gte,
|
|
@@ -589,6 +602,7 @@ class WorkersApi:
|
|
|
589
602
|
_host = None
|
|
590
603
|
|
|
591
604
|
_collection_formats: Dict[str, str] = {
|
|
605
|
+
'X-Task-Diagnostics': 'csv',
|
|
592
606
|
'last_heartbeat__range': 'csv',
|
|
593
607
|
'name__in': 'csv',
|
|
594
608
|
'ordering': 'csv',
|
|
@@ -764,6 +778,8 @@ class WorkersApi:
|
|
|
764
778
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
765
779
|
|
|
766
780
|
# process the header parameters
|
|
781
|
+
if x_task_diagnostics is not None:
|
|
782
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
767
783
|
# process the form parameters
|
|
768
784
|
# process the body parameter
|
|
769
785
|
|
|
@@ -805,6 +821,7 @@ class WorkersApi:
|
|
|
805
821
|
def read(
|
|
806
822
|
self,
|
|
807
823
|
worker_href: StrictStr,
|
|
824
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
808
825
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
809
826
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
810
827
|
_request_timeout: Union[
|
|
@@ -826,6 +843,8 @@ class WorkersApi:
|
|
|
826
843
|
|
|
827
844
|
:param worker_href: (required)
|
|
828
845
|
:type worker_href: str
|
|
846
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
847
|
+
:type x_task_diagnostics: List[str]
|
|
829
848
|
:param fields: A list of fields to include in the response.
|
|
830
849
|
:type fields: List[str]
|
|
831
850
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -854,6 +873,7 @@ class WorkersApi:
|
|
|
854
873
|
|
|
855
874
|
_param = self._read_serialize(
|
|
856
875
|
worker_href=worker_href,
|
|
876
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
857
877
|
fields=fields,
|
|
858
878
|
exclude_fields=exclude_fields,
|
|
859
879
|
_request_auth=_request_auth,
|
|
@@ -880,6 +900,7 @@ class WorkersApi:
|
|
|
880
900
|
def read_with_http_info(
|
|
881
901
|
self,
|
|
882
902
|
worker_href: StrictStr,
|
|
903
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
883
904
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
884
905
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
885
906
|
_request_timeout: Union[
|
|
@@ -901,6 +922,8 @@ class WorkersApi:
|
|
|
901
922
|
|
|
902
923
|
:param worker_href: (required)
|
|
903
924
|
:type worker_href: str
|
|
925
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
926
|
+
:type x_task_diagnostics: List[str]
|
|
904
927
|
:param fields: A list of fields to include in the response.
|
|
905
928
|
:type fields: List[str]
|
|
906
929
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -929,6 +952,7 @@ class WorkersApi:
|
|
|
929
952
|
|
|
930
953
|
_param = self._read_serialize(
|
|
931
954
|
worker_href=worker_href,
|
|
955
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
932
956
|
fields=fields,
|
|
933
957
|
exclude_fields=exclude_fields,
|
|
934
958
|
_request_auth=_request_auth,
|
|
@@ -955,6 +979,7 @@ class WorkersApi:
|
|
|
955
979
|
def read_without_preload_content(
|
|
956
980
|
self,
|
|
957
981
|
worker_href: StrictStr,
|
|
982
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
958
983
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
959
984
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
960
985
|
_request_timeout: Union[
|
|
@@ -976,6 +1001,8 @@ class WorkersApi:
|
|
|
976
1001
|
|
|
977
1002
|
:param worker_href: (required)
|
|
978
1003
|
:type worker_href: str
|
|
1004
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1005
|
+
:type x_task_diagnostics: List[str]
|
|
979
1006
|
:param fields: A list of fields to include in the response.
|
|
980
1007
|
:type fields: List[str]
|
|
981
1008
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1004,6 +1031,7 @@ class WorkersApi:
|
|
|
1004
1031
|
|
|
1005
1032
|
_param = self._read_serialize(
|
|
1006
1033
|
worker_href=worker_href,
|
|
1034
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1007
1035
|
fields=fields,
|
|
1008
1036
|
exclude_fields=exclude_fields,
|
|
1009
1037
|
_request_auth=_request_auth,
|
|
@@ -1025,6 +1053,7 @@ class WorkersApi:
|
|
|
1025
1053
|
def _read_serialize(
|
|
1026
1054
|
self,
|
|
1027
1055
|
worker_href,
|
|
1056
|
+
x_task_diagnostics,
|
|
1028
1057
|
fields,
|
|
1029
1058
|
exclude_fields,
|
|
1030
1059
|
_request_auth,
|
|
@@ -1036,6 +1065,7 @@ class WorkersApi:
|
|
|
1036
1065
|
_host = None
|
|
1037
1066
|
|
|
1038
1067
|
_collection_formats: Dict[str, str] = {
|
|
1068
|
+
'X-Task-Diagnostics': 'csv',
|
|
1039
1069
|
'fields': 'multi',
|
|
1040
1070
|
'exclude_fields': 'multi',
|
|
1041
1071
|
}
|
|
@@ -1062,6 +1092,8 @@ class WorkersApi:
|
|
|
1062
1092
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1063
1093
|
|
|
1064
1094
|
# process the header parameters
|
|
1095
|
+
if x_task_diagnostics is not None:
|
|
1096
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1065
1097
|
# process the form parameters
|
|
1066
1098
|
# process the body parameter
|
|
1067
1099
|
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.82.0/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -549,7 +549,7 @@ conf = pulpcore.client.pulpcore.Configuration(
|
|
|
549
549
|
"OS: {env}\n"\
|
|
550
550
|
"Python Version: {pyversion}\n"\
|
|
551
551
|
"Version of the API: v3\n"\
|
|
552
|
-
"SDK Package Version: 3.
|
|
552
|
+
"SDK Package Version: 3.82.0".\
|
|
553
553
|
format(env=sys.platform, pyversion=sys.version)
|
|
554
554
|
|
|
555
555
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -28,18 +28,18 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
A serializer for ArtifactDistribution.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
no_content_change_since: Optional[StrictStr] = Field(default=None, description="Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.")
|
|
32
|
-
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
33
31
|
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
32
|
+
no_content_change_since: Optional[StrictStr] = Field(default=None, description="Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.")
|
|
33
|
+
pulp_href: Optional[StrictStr] = None
|
|
34
|
+
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
35
|
+
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
34
36
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
37
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
38
|
+
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
35
39
|
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
36
|
-
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
37
40
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
|
|
38
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
39
|
-
pulp_href: Optional[StrictStr] = None
|
|
40
41
|
base_path: StrictStr = Field(description="The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")")
|
|
41
|
-
|
|
42
|
-
__properties: ClassVar[List[str]] = ["no_content_change_since", "name", "base_url", "pulp_labels", "prn", "hidden", "pulp_last_updated", "pulp_created", "pulp_href", "base_path", "content_guard"]
|
|
42
|
+
__properties: ClassVar[List[str]] = ["base_url", "no_content_change_since", "pulp_href", "content_guard", "hidden", "pulp_labels", "pulp_created", "name", "prn", "pulp_last_updated", "base_path"]
|
|
43
43
|
|
|
44
44
|
model_config = ConfigDict(
|
|
45
45
|
populate_by_name=True,
|
|
@@ -79,12 +79,12 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
79
79
|
* OpenAPI `readOnly` fields are excluded.
|
|
80
80
|
"""
|
|
81
81
|
excluded_fields: Set[str] = set([
|
|
82
|
-
"no_content_change_since",
|
|
83
82
|
"base_url",
|
|
83
|
+
"no_content_change_since",
|
|
84
|
+
"pulp_href",
|
|
85
|
+
"pulp_created",
|
|
84
86
|
"prn",
|
|
85
87
|
"pulp_last_updated",
|
|
86
|
-
"pulp_created",
|
|
87
|
-
"pulp_href",
|
|
88
88
|
])
|
|
89
89
|
|
|
90
90
|
_dict = self.model_dump(
|
|
@@ -109,17 +109,17 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
109
109
|
return cls.model_validate(obj)
|
|
110
110
|
|
|
111
111
|
_obj = cls.model_validate({
|
|
112
|
-
"no_content_change_since": obj.get("no_content_change_since"),
|
|
113
|
-
"name": obj.get("name"),
|
|
114
112
|
"base_url": obj.get("base_url"),
|
|
113
|
+
"no_content_change_since": obj.get("no_content_change_since"),
|
|
114
|
+
"pulp_href": obj.get("pulp_href"),
|
|
115
|
+
"content_guard": obj.get("content_guard"),
|
|
116
|
+
"hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
|
|
115
117
|
"pulp_labels": obj.get("pulp_labels"),
|
|
118
|
+
"pulp_created": obj.get("pulp_created"),
|
|
119
|
+
"name": obj.get("name"),
|
|
116
120
|
"prn": obj.get("prn"),
|
|
117
|
-
"hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
|
|
118
121
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
119
|
-
"
|
|
120
|
-
"pulp_href": obj.get("pulp_href"),
|
|
121
|
-
"base_path": obj.get("base_path"),
|
|
122
|
-
"content_guard": obj.get("content_guard")
|
|
122
|
+
"base_path": obj.get("base_path")
|
|
123
123
|
})
|
|
124
124
|
return _obj
|
|
125
125
|
|