crc-pulpcore-client 20250819.1__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 crc-pulpcore-client might be problematic. Click here for more details.
- crc-pulpcore-client/__init__.py +2 -0
- crc-pulpcore-client/api/__init__.py +53 -0
- crc-pulpcore-client/api/access_policies_api.py +1864 -0
- crc-pulpcore-client/api/artifacts_api.py +1615 -0
- crc-pulpcore-client/api/content_api.py +598 -0
- crc-pulpcore-client/api/content_openpgp_publickey_api.py +1887 -0
- crc-pulpcore-client/api/content_openpgp_publicsubkey_api.py +1518 -0
- crc-pulpcore-client/api/content_openpgp_signature_api.py +1518 -0
- crc-pulpcore-client/api/content_openpgp_userattribute_api.py +1518 -0
- crc-pulpcore-client/api/content_openpgp_userid_api.py +1655 -0
- crc-pulpcore-client/api/contentguards_api.py +667 -0
- crc-pulpcore-client/api/contentguards_composite_api.py +3401 -0
- crc-pulpcore-client/api/contentguards_content_redirect_api.py +3401 -0
- crc-pulpcore-client/api/contentguards_header_api.py +3401 -0
- crc-pulpcore-client/api/contentguards_rbac_api.py +3401 -0
- crc-pulpcore-client/api/distributions_api.py +822 -0
- crc-pulpcore-client/api/distributions_artifacts_api.py +1103 -0
- crc-pulpcore-client/api/distributions_openpgp_api.py +2676 -0
- crc-pulpcore-client/api/domains_api.py +3106 -0
- crc-pulpcore-client/api/exporters_filesystem_api.py +2157 -0
- crc-pulpcore-client/api/exporters_filesystem_exports_api.py +1288 -0
- crc-pulpcore-client/api/exporters_pulp_api.py +2157 -0
- crc-pulpcore-client/api/exporters_pulp_exports_api.py +1288 -0
- crc-pulpcore-client/api/groups_api.py +3368 -0
- crc-pulpcore-client/api/groups_roles_api.py +1496 -0
- crc-pulpcore-client/api/groups_users_api.py +972 -0
- crc-pulpcore-client/api/importers_pulp_api.py +2149 -0
- crc-pulpcore-client/api/importers_pulp_import_check_api.py +350 -0
- crc-pulpcore-client/api/importers_pulp_imports_api.py +1288 -0
- crc-pulpcore-client/api/livez_api.py +329 -0
- crc-pulpcore-client/api/login_api.py +897 -0
- crc-pulpcore-client/api/orphans_api.py +319 -0
- crc-pulpcore-client/api/orphans_cleanup_api.py +350 -0
- crc-pulpcore-client/api/publications_api.py +765 -0
- crc-pulpcore-client/api/remotes_api.py +850 -0
- crc-pulpcore-client/api/repair_api.py +350 -0
- crc-pulpcore-client/api/repositories_api.py +872 -0
- crc-pulpcore-client/api/repositories_openpgp_keyring_api.py +4546 -0
- crc-pulpcore-client/api/repositories_reclaim_space_api.py +350 -0
- crc-pulpcore-client/api/repository_versions_api.py +764 -0
- crc-pulpcore-client/api/roles_api.py +2269 -0
- crc-pulpcore-client/api/signing_services_api.py +811 -0
- crc-pulpcore-client/api/status_api.py +337 -0
- crc-pulpcore-client/api/task_groups_api.py +1012 -0
- crc-pulpcore-client/api/task_schedules_api.py +2114 -0
- crc-pulpcore-client/api/tasks_api.py +4299 -0
- crc-pulpcore-client/api/uploads_api.py +3346 -0
- crc-pulpcore-client/api/upstream_pulps_api.py +4001 -0
- crc-pulpcore-client/api/users_api.py +2373 -0
- crc-pulpcore-client/api/users_roles_api.py +1496 -0
- crc-pulpcore-client/api/workers_api.py +1148 -0
- crc-pulpcore-client/api_client.py +798 -0
- crc-pulpcore-client/api_response.py +21 -0
- crc-pulpcore-client/configuration.py +628 -0
- crc-pulpcore-client/exceptions.py +200 -0
- crc-pulpcore-client/models/__init__.py +189 -0
- crc-pulpcore-client/models/access_policy.py +94 -0
- crc-pulpcore-client/models/access_policy_response.py +119 -0
- crc-pulpcore-client/models/api_app_status_response.py +99 -0
- crc-pulpcore-client/models/artifact_distribution_response.py +126 -0
- crc-pulpcore-client/models/artifact_response.py +149 -0
- crc-pulpcore-client/models/async_operation_response.py +88 -0
- crc-pulpcore-client/models/composite_content_guard.py +98 -0
- crc-pulpcore-client/models/composite_content_guard_response.py +114 -0
- crc-pulpcore-client/models/content_app_status_response.py +99 -0
- crc-pulpcore-client/models/content_guard_response.py +112 -0
- crc-pulpcore-client/models/content_redirect_content_guard.py +96 -0
- crc-pulpcore-client/models/content_redirect_content_guard_response.py +112 -0
- crc-pulpcore-client/models/content_settings_response.py +95 -0
- crc-pulpcore-client/models/content_summary_response.py +92 -0
- crc-pulpcore-client/models/database_connection_response.py +88 -0
- crc-pulpcore-client/models/distribution_response.py +133 -0
- crc-pulpcore-client/models/domain.py +114 -0
- crc-pulpcore-client/models/domain_backend_migrator.py +91 -0
- crc-pulpcore-client/models/domain_response.py +131 -0
- crc-pulpcore-client/models/evaluation_response.py +92 -0
- crc-pulpcore-client/models/filesystem_export.py +99 -0
- crc-pulpcore-client/models/filesystem_export_response.py +118 -0
- crc-pulpcore-client/models/filesystem_exporter.py +94 -0
- crc-pulpcore-client/models/filesystem_exporter_response.py +110 -0
- crc-pulpcore-client/models/generic_remote_response.py +199 -0
- crc-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +90 -0
- crc-pulpcore-client/models/generic_remote_response_policy_enum.py +39 -0
- crc-pulpcore-client/models/group.py +89 -0
- crc-pulpcore-client/models/group_progress_report_response.py +111 -0
- crc-pulpcore-client/models/group_response.py +101 -0
- crc-pulpcore-client/models/group_role.py +110 -0
- crc-pulpcore-client/models/group_role_response.py +134 -0
- crc-pulpcore-client/models/group_user.py +89 -0
- crc-pulpcore-client/models/group_user_response.py +97 -0
- crc-pulpcore-client/models/header_content_guard.py +107 -0
- crc-pulpcore-client/models/header_content_guard_response.py +123 -0
- crc-pulpcore-client/models/import_response.py +107 -0
- crc-pulpcore-client/models/login_response.py +98 -0
- crc-pulpcore-client/models/method_enum.py +39 -0
- crc-pulpcore-client/models/minimal_task_response.py +125 -0
- crc-pulpcore-client/models/multiple_artifact_content_response.py +107 -0
- crc-pulpcore-client/models/my_permissions_response.py +88 -0
- crc-pulpcore-client/models/nested_open_pgp_public_subkey.py +92 -0
- crc-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +104 -0
- crc-pulpcore-client/models/nested_open_pgp_signature.py +120 -0
- crc-pulpcore-client/models/nested_open_pgp_signature_response.py +124 -0
- crc-pulpcore-client/models/nested_open_pgp_user_attribute.py +89 -0
- crc-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +101 -0
- crc-pulpcore-client/models/nested_open_pgp_user_id.py +89 -0
- crc-pulpcore-client/models/nested_open_pgp_user_id_response.py +100 -0
- crc-pulpcore-client/models/nested_role.py +93 -0
- crc-pulpcore-client/models/nested_role_response.py +92 -0
- crc-pulpcore-client/models/object_roles_response.py +96 -0
- crc-pulpcore-client/models/open_pgp_distribution.py +116 -0
- crc-pulpcore-client/models/open_pgp_distribution_response.py +140 -0
- crc-pulpcore-client/models/open_pgp_keyring.py +112 -0
- crc-pulpcore-client/models/open_pgp_keyring_response.py +137 -0
- crc-pulpcore-client/models/open_pgp_public_key_response.py +150 -0
- crc-pulpcore-client/models/open_pgp_public_subkey_response.py +126 -0
- crc-pulpcore-client/models/open_pgp_signature_response.py +146 -0
- crc-pulpcore-client/models/open_pgp_user_attribute_response.py +124 -0
- crc-pulpcore-client/models/open_pgp_user_id_response.py +123 -0
- crc-pulpcore-client/models/orphans_cleanup.py +96 -0
- crc-pulpcore-client/models/paginated_access_policy_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_artifact_distribution_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_artifact_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_composite_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_distribution_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_domain_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_filesystem_export_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_generic_remote_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_group_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_group_role_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_group_user_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_header_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_import_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_publication_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_pulp_export_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_pulp_exporter_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_pulp_importer_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_repository_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_repository_version_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_role_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_signing_service_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_task_group_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_task_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_task_schedule_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_upload_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_upstream_pulp_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_user_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_user_role_response_list.py +112 -0
- crc-pulpcore-client/models/paginated_worker_response_list.py +112 -0
- crc-pulpcore-client/models/patched_access_policy.py +94 -0
- crc-pulpcore-client/models/patched_composite_content_guard.py +98 -0
- crc-pulpcore-client/models/patched_content_redirect_content_guard.py +96 -0
- crc-pulpcore-client/models/patched_domain.py +117 -0
- crc-pulpcore-client/models/patched_filesystem_exporter.py +94 -0
- crc-pulpcore-client/models/patched_group.py +89 -0
- crc-pulpcore-client/models/patched_header_content_guard.py +107 -0
- crc-pulpcore-client/models/patched_open_pgp_distribution.py +116 -0
- crc-pulpcore-client/models/patched_open_pgp_keyring.py +112 -0
- crc-pulpcore-client/models/patched_pulp_exporter.py +100 -0
- crc-pulpcore-client/models/patched_pulp_importer.py +91 -0
- crc-pulpcore-client/models/patched_rbac_content_guard.py +96 -0
- crc-pulpcore-client/models/patched_role.py +98 -0
- crc-pulpcore-client/models/patched_task_cancel.py +89 -0
- crc-pulpcore-client/models/patched_upstream_pulp.py +147 -0
- crc-pulpcore-client/models/patched_user.py +106 -0
- crc-pulpcore-client/models/policy357_enum.py +39 -0
- crc-pulpcore-client/models/profile_artifact_response.py +88 -0
- crc-pulpcore-client/models/progress_report_response.py +115 -0
- crc-pulpcore-client/models/publication_response.py +107 -0
- crc-pulpcore-client/models/pulp_export.py +104 -0
- crc-pulpcore-client/models/pulp_export_response.py +126 -0
- crc-pulpcore-client/models/pulp_exporter.py +100 -0
- crc-pulpcore-client/models/pulp_exporter_response.py +116 -0
- crc-pulpcore-client/models/pulp_import.py +93 -0
- crc-pulpcore-client/models/pulp_import_check.py +93 -0
- crc-pulpcore-client/models/pulp_import_check_response.py +102 -0
- crc-pulpcore-client/models/pulp_importer.py +91 -0
- crc-pulpcore-client/models/pulp_importer_response.py +107 -0
- crc-pulpcore-client/models/purge.py +92 -0
- crc-pulpcore-client/models/rbac_content_guard.py +96 -0
- crc-pulpcore-client/models/rbac_content_guard_response.py +136 -0
- crc-pulpcore-client/models/reclaim_space.py +90 -0
- crc-pulpcore-client/models/redis_connection_response.py +88 -0
- crc-pulpcore-client/models/repair.py +88 -0
- crc-pulpcore-client/models/repository_add_remove_content.py +93 -0
- crc-pulpcore-client/models/repository_response.py +137 -0
- crc-pulpcore-client/models/repository_version_response.py +121 -0
- crc-pulpcore-client/models/role.py +98 -0
- crc-pulpcore-client/models/role_response.py +118 -0
- crc-pulpcore-client/models/set_label.py +103 -0
- crc-pulpcore-client/models/set_label_response.py +103 -0
- crc-pulpcore-client/models/signing_service_response.py +111 -0
- crc-pulpcore-client/models/states_enum.py +40 -0
- crc-pulpcore-client/models/status_response.py +152 -0
- crc-pulpcore-client/models/storage_class_enum.py +40 -0
- crc-pulpcore-client/models/storage_response.py +108 -0
- crc-pulpcore-client/models/task_group_operation_response.py +88 -0
- crc-pulpcore-client/models/task_group_response.py +150 -0
- crc-pulpcore-client/models/task_response.py +167 -0
- crc-pulpcore-client/models/task_schedule_response.py +127 -0
- crc-pulpcore-client/models/unset_label.py +96 -0
- crc-pulpcore-client/models/unset_label_response.py +100 -0
- crc-pulpcore-client/models/upload.py +88 -0
- crc-pulpcore-client/models/upload_chunk_response.py +94 -0
- crc-pulpcore-client/models/upload_commit.py +89 -0
- crc-pulpcore-client/models/upload_detail_response.py +121 -0
- crc-pulpcore-client/models/upload_response.py +109 -0
- crc-pulpcore-client/models/upstream_pulp.py +147 -0
- crc-pulpcore-client/models/upstream_pulp_response.py +158 -0
- crc-pulpcore-client/models/user.py +106 -0
- crc-pulpcore-client/models/user_group.py +89 -0
- crc-pulpcore-client/models/user_group_response.py +97 -0
- crc-pulpcore-client/models/user_response.py +140 -0
- crc-pulpcore-client/models/user_role.py +110 -0
- crc-pulpcore-client/models/user_role_response.py +134 -0
- crc-pulpcore-client/models/version_response.py +96 -0
- crc-pulpcore-client/models/worker_response.py +119 -0
- crc-pulpcore-client/py.typed +0 -0
- crc-pulpcore-client/rest.py +258 -0
- crc_pulpcore_client-20250819.1.dist-info/METADATA +25 -0
- crc_pulpcore_client-20250819.1.dist-info/RECORD +464 -0
- crc_pulpcore_client-20250819.1.dist-info/WHEEL +5 -0
- crc_pulpcore_client-20250819.1.dist-info/top_level.txt +2 -0
- services-pulpcore-client/__init__.py +2 -0
- services-pulpcore-client/api/__init__.py +53 -0
- services-pulpcore-client/api/access_policies_api.py +1864 -0
- services-pulpcore-client/api/artifacts_api.py +1615 -0
- services-pulpcore-client/api/content_api.py +598 -0
- services-pulpcore-client/api/content_openpgp_publickey_api.py +1887 -0
- services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +1518 -0
- services-pulpcore-client/api/content_openpgp_signature_api.py +1518 -0
- services-pulpcore-client/api/content_openpgp_userattribute_api.py +1518 -0
- services-pulpcore-client/api/content_openpgp_userid_api.py +1655 -0
- services-pulpcore-client/api/contentguards_api.py +667 -0
- services-pulpcore-client/api/contentguards_composite_api.py +3401 -0
- services-pulpcore-client/api/contentguards_content_redirect_api.py +3401 -0
- services-pulpcore-client/api/contentguards_header_api.py +3401 -0
- services-pulpcore-client/api/contentguards_rbac_api.py +3401 -0
- services-pulpcore-client/api/distributions_api.py +822 -0
- services-pulpcore-client/api/distributions_artifacts_api.py +1103 -0
- services-pulpcore-client/api/distributions_openpgp_api.py +2676 -0
- services-pulpcore-client/api/domains_api.py +3106 -0
- services-pulpcore-client/api/exporters_filesystem_api.py +2157 -0
- services-pulpcore-client/api/exporters_filesystem_exports_api.py +1288 -0
- services-pulpcore-client/api/exporters_pulp_api.py +2157 -0
- services-pulpcore-client/api/exporters_pulp_exports_api.py +1288 -0
- services-pulpcore-client/api/groups_api.py +3368 -0
- services-pulpcore-client/api/groups_roles_api.py +1496 -0
- services-pulpcore-client/api/groups_users_api.py +972 -0
- services-pulpcore-client/api/importers_pulp_api.py +2149 -0
- services-pulpcore-client/api/importers_pulp_import_check_api.py +350 -0
- services-pulpcore-client/api/importers_pulp_imports_api.py +1288 -0
- services-pulpcore-client/api/livez_api.py +329 -0
- services-pulpcore-client/api/login_api.py +897 -0
- services-pulpcore-client/api/orphans_api.py +319 -0
- services-pulpcore-client/api/orphans_cleanup_api.py +350 -0
- services-pulpcore-client/api/publications_api.py +765 -0
- services-pulpcore-client/api/remotes_api.py +850 -0
- services-pulpcore-client/api/repair_api.py +350 -0
- services-pulpcore-client/api/repositories_api.py +872 -0
- services-pulpcore-client/api/repositories_openpgp_keyring_api.py +4546 -0
- services-pulpcore-client/api/repositories_reclaim_space_api.py +350 -0
- services-pulpcore-client/api/repository_versions_api.py +764 -0
- services-pulpcore-client/api/roles_api.py +2269 -0
- services-pulpcore-client/api/signing_services_api.py +811 -0
- services-pulpcore-client/api/status_api.py +337 -0
- services-pulpcore-client/api/task_groups_api.py +1012 -0
- services-pulpcore-client/api/task_schedules_api.py +2114 -0
- services-pulpcore-client/api/tasks_api.py +4299 -0
- services-pulpcore-client/api/uploads_api.py +3346 -0
- services-pulpcore-client/api/upstream_pulps_api.py +4001 -0
- services-pulpcore-client/api/users_api.py +2373 -0
- services-pulpcore-client/api/users_roles_api.py +1496 -0
- services-pulpcore-client/api/workers_api.py +1148 -0
- services-pulpcore-client/api_client.py +798 -0
- services-pulpcore-client/api_response.py +21 -0
- services-pulpcore-client/configuration.py +628 -0
- services-pulpcore-client/exceptions.py +200 -0
- services-pulpcore-client/models/__init__.py +189 -0
- services-pulpcore-client/models/access_policy.py +94 -0
- services-pulpcore-client/models/access_policy_response.py +119 -0
- services-pulpcore-client/models/api_app_status_response.py +99 -0
- services-pulpcore-client/models/artifact_distribution_response.py +126 -0
- services-pulpcore-client/models/artifact_response.py +149 -0
- services-pulpcore-client/models/async_operation_response.py +88 -0
- services-pulpcore-client/models/composite_content_guard.py +98 -0
- services-pulpcore-client/models/composite_content_guard_response.py +114 -0
- services-pulpcore-client/models/content_app_status_response.py +99 -0
- services-pulpcore-client/models/content_guard_response.py +112 -0
- services-pulpcore-client/models/content_redirect_content_guard.py +96 -0
- services-pulpcore-client/models/content_redirect_content_guard_response.py +112 -0
- services-pulpcore-client/models/content_settings_response.py +95 -0
- services-pulpcore-client/models/content_summary_response.py +92 -0
- services-pulpcore-client/models/database_connection_response.py +88 -0
- services-pulpcore-client/models/distribution_response.py +133 -0
- services-pulpcore-client/models/domain.py +114 -0
- services-pulpcore-client/models/domain_backend_migrator.py +91 -0
- services-pulpcore-client/models/domain_response.py +131 -0
- services-pulpcore-client/models/evaluation_response.py +92 -0
- services-pulpcore-client/models/filesystem_export.py +99 -0
- services-pulpcore-client/models/filesystem_export_response.py +118 -0
- services-pulpcore-client/models/filesystem_exporter.py +94 -0
- services-pulpcore-client/models/filesystem_exporter_response.py +110 -0
- services-pulpcore-client/models/generic_remote_response.py +199 -0
- services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +90 -0
- services-pulpcore-client/models/generic_remote_response_policy_enum.py +39 -0
- services-pulpcore-client/models/group.py +89 -0
- services-pulpcore-client/models/group_progress_report_response.py +111 -0
- services-pulpcore-client/models/group_response.py +101 -0
- services-pulpcore-client/models/group_role.py +110 -0
- services-pulpcore-client/models/group_role_response.py +134 -0
- services-pulpcore-client/models/group_user.py +89 -0
- services-pulpcore-client/models/group_user_response.py +97 -0
- services-pulpcore-client/models/header_content_guard.py +107 -0
- services-pulpcore-client/models/header_content_guard_response.py +123 -0
- services-pulpcore-client/models/import_response.py +107 -0
- services-pulpcore-client/models/login_response.py +98 -0
- services-pulpcore-client/models/method_enum.py +39 -0
- services-pulpcore-client/models/minimal_task_response.py +125 -0
- services-pulpcore-client/models/multiple_artifact_content_response.py +107 -0
- services-pulpcore-client/models/my_permissions_response.py +88 -0
- services-pulpcore-client/models/nested_open_pgp_public_subkey.py +92 -0
- services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +104 -0
- services-pulpcore-client/models/nested_open_pgp_signature.py +120 -0
- services-pulpcore-client/models/nested_open_pgp_signature_response.py +124 -0
- services-pulpcore-client/models/nested_open_pgp_user_attribute.py +89 -0
- services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +101 -0
- services-pulpcore-client/models/nested_open_pgp_user_id.py +89 -0
- services-pulpcore-client/models/nested_open_pgp_user_id_response.py +100 -0
- services-pulpcore-client/models/nested_role.py +93 -0
- services-pulpcore-client/models/nested_role_response.py +92 -0
- services-pulpcore-client/models/object_roles_response.py +96 -0
- services-pulpcore-client/models/open_pgp_distribution.py +116 -0
- services-pulpcore-client/models/open_pgp_distribution_response.py +140 -0
- services-pulpcore-client/models/open_pgp_keyring.py +112 -0
- services-pulpcore-client/models/open_pgp_keyring_response.py +137 -0
- services-pulpcore-client/models/open_pgp_public_key_response.py +150 -0
- services-pulpcore-client/models/open_pgp_public_subkey_response.py +126 -0
- services-pulpcore-client/models/open_pgp_signature_response.py +146 -0
- services-pulpcore-client/models/open_pgp_user_attribute_response.py +124 -0
- services-pulpcore-client/models/open_pgp_user_id_response.py +123 -0
- services-pulpcore-client/models/orphans_cleanup.py +96 -0
- services-pulpcore-client/models/paginated_access_policy_response_list.py +112 -0
- services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +112 -0
- services-pulpcore-client/models/paginated_artifact_response_list.py +112 -0
- services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_distribution_response_list.py +112 -0
- services-pulpcore-client/models/paginated_domain_response_list.py +112 -0
- services-pulpcore-client/models/paginated_filesystem_export_response_list.py +112 -0
- services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +112 -0
- services-pulpcore-client/models/paginated_generic_remote_response_list.py +112 -0
- services-pulpcore-client/models/paginated_group_response_list.py +112 -0
- services-pulpcore-client/models/paginated_group_role_response_list.py +112 -0
- services-pulpcore-client/models/paginated_group_user_response_list.py +112 -0
- services-pulpcore-client/models/paginated_header_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_import_response_list.py +112 -0
- services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +112 -0
- services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +112 -0
- services-pulpcore-client/models/paginated_publication_response_list.py +112 -0
- services-pulpcore-client/models/paginated_pulp_export_response_list.py +112 -0
- services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +112 -0
- services-pulpcore-client/models/paginated_pulp_importer_response_list.py +112 -0
- services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +112 -0
- services-pulpcore-client/models/paginated_repository_response_list.py +112 -0
- services-pulpcore-client/models/paginated_repository_version_response_list.py +112 -0
- services-pulpcore-client/models/paginated_role_response_list.py +112 -0
- services-pulpcore-client/models/paginated_signing_service_response_list.py +112 -0
- services-pulpcore-client/models/paginated_task_group_response_list.py +112 -0
- services-pulpcore-client/models/paginated_task_response_list.py +112 -0
- services-pulpcore-client/models/paginated_task_schedule_response_list.py +112 -0
- services-pulpcore-client/models/paginated_upload_response_list.py +112 -0
- services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +112 -0
- services-pulpcore-client/models/paginated_user_response_list.py +112 -0
- services-pulpcore-client/models/paginated_user_role_response_list.py +112 -0
- services-pulpcore-client/models/paginated_worker_response_list.py +112 -0
- services-pulpcore-client/models/patched_access_policy.py +94 -0
- services-pulpcore-client/models/patched_composite_content_guard.py +98 -0
- services-pulpcore-client/models/patched_content_redirect_content_guard.py +96 -0
- services-pulpcore-client/models/patched_domain.py +117 -0
- services-pulpcore-client/models/patched_filesystem_exporter.py +94 -0
- services-pulpcore-client/models/patched_group.py +89 -0
- services-pulpcore-client/models/patched_header_content_guard.py +107 -0
- services-pulpcore-client/models/patched_open_pgp_distribution.py +116 -0
- services-pulpcore-client/models/patched_open_pgp_keyring.py +112 -0
- services-pulpcore-client/models/patched_pulp_exporter.py +100 -0
- services-pulpcore-client/models/patched_pulp_importer.py +91 -0
- services-pulpcore-client/models/patched_rbac_content_guard.py +96 -0
- services-pulpcore-client/models/patched_role.py +98 -0
- services-pulpcore-client/models/patched_task_cancel.py +89 -0
- services-pulpcore-client/models/patched_upstream_pulp.py +147 -0
- services-pulpcore-client/models/patched_user.py +106 -0
- services-pulpcore-client/models/policy357_enum.py +39 -0
- services-pulpcore-client/models/profile_artifact_response.py +88 -0
- services-pulpcore-client/models/progress_report_response.py +115 -0
- services-pulpcore-client/models/publication_response.py +107 -0
- services-pulpcore-client/models/pulp_export.py +104 -0
- services-pulpcore-client/models/pulp_export_response.py +126 -0
- services-pulpcore-client/models/pulp_exporter.py +100 -0
- services-pulpcore-client/models/pulp_exporter_response.py +116 -0
- services-pulpcore-client/models/pulp_import.py +93 -0
- services-pulpcore-client/models/pulp_import_check.py +93 -0
- services-pulpcore-client/models/pulp_import_check_response.py +102 -0
- services-pulpcore-client/models/pulp_importer.py +91 -0
- services-pulpcore-client/models/pulp_importer_response.py +107 -0
- services-pulpcore-client/models/purge.py +92 -0
- services-pulpcore-client/models/rbac_content_guard.py +96 -0
- services-pulpcore-client/models/rbac_content_guard_response.py +136 -0
- services-pulpcore-client/models/reclaim_space.py +90 -0
- services-pulpcore-client/models/redis_connection_response.py +88 -0
- services-pulpcore-client/models/repair.py +88 -0
- services-pulpcore-client/models/repository_add_remove_content.py +93 -0
- services-pulpcore-client/models/repository_response.py +137 -0
- services-pulpcore-client/models/repository_version_response.py +121 -0
- services-pulpcore-client/models/role.py +98 -0
- services-pulpcore-client/models/role_response.py +118 -0
- services-pulpcore-client/models/set_label.py +103 -0
- services-pulpcore-client/models/set_label_response.py +103 -0
- services-pulpcore-client/models/signing_service_response.py +111 -0
- services-pulpcore-client/models/states_enum.py +40 -0
- services-pulpcore-client/models/status_response.py +152 -0
- services-pulpcore-client/models/storage_class_enum.py +40 -0
- services-pulpcore-client/models/storage_response.py +108 -0
- services-pulpcore-client/models/task_group_operation_response.py +88 -0
- services-pulpcore-client/models/task_group_response.py +150 -0
- services-pulpcore-client/models/task_response.py +167 -0
- services-pulpcore-client/models/task_schedule_response.py +127 -0
- services-pulpcore-client/models/unset_label.py +96 -0
- services-pulpcore-client/models/unset_label_response.py +100 -0
- services-pulpcore-client/models/upload.py +88 -0
- services-pulpcore-client/models/upload_chunk_response.py +94 -0
- services-pulpcore-client/models/upload_commit.py +89 -0
- services-pulpcore-client/models/upload_detail_response.py +121 -0
- services-pulpcore-client/models/upload_response.py +109 -0
- services-pulpcore-client/models/upstream_pulp.py +147 -0
- services-pulpcore-client/models/upstream_pulp_response.py +158 -0
- services-pulpcore-client/models/user.py +106 -0
- services-pulpcore-client/models/user_group.py +89 -0
- services-pulpcore-client/models/user_group_response.py +97 -0
- services-pulpcore-client/models/user_response.py +140 -0
- services-pulpcore-client/models/user_role.py +110 -0
- services-pulpcore-client/models/user_role_response.py +134 -0
- services-pulpcore-client/models/version_response.py +96 -0
- services-pulpcore-client/models/worker_response.py +119 -0
- services-pulpcore-client/py.typed +0 -0
- services-pulpcore-client/rest.py +258 -0
|
@@ -0,0 +1,764 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Pulp 3 API
|
|
5
|
+
|
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3
|
|
9
|
+
Contact: pulp-list@redhat.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from datetime import datetime
|
|
21
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
22
|
+
from typing import List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from services-pulpcore-client.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
|
25
|
+
|
|
26
|
+
from services-pulpcore-client.api_client import ApiClient, RequestSerialized
|
|
27
|
+
from services-pulpcore-client.api_response import ApiResponse
|
|
28
|
+
from services-pulpcore-client.rest import RESTResponseType
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class RepositoryVersionsApi:
|
|
32
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
33
|
+
Ref: https://openapi-generator.tech
|
|
34
|
+
|
|
35
|
+
Do not edit the class manually.
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
def __init__(self, api_client=None) -> None:
|
|
39
|
+
if api_client is None:
|
|
40
|
+
api_client = ApiClient.get_default()
|
|
41
|
+
self.api_client = api_client
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@validate_call
|
|
45
|
+
def list(
|
|
46
|
+
self,
|
|
47
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
48
|
+
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
49
|
+
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
50
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
51
|
+
number: Annotated[Optional[StrictInt], Field(description="Filter results where number matches value")] = None,
|
|
52
|
+
number__gt: Annotated[Optional[StrictInt], Field(description="Filter results where number is greater than value")] = None,
|
|
53
|
+
number__gte: Annotated[Optional[StrictInt], Field(description="Filter results where number is greater than or equal to value")] = None,
|
|
54
|
+
number__lt: Annotated[Optional[StrictInt], Field(description="Filter results where number is less than value")] = None,
|
|
55
|
+
number__lte: Annotated[Optional[StrictInt], Field(description="Filter results where number is less than or equal to value")] = None,
|
|
56
|
+
number__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where number is between two comma separated values")] = None,
|
|
57
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
58
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
59
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
60
|
+
pulp_created: Annotated[Optional[datetime], Field(description="Filter results where pulp_created matches value")] = None,
|
|
61
|
+
pulp_created__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is greater than value")] = None,
|
|
62
|
+
pulp_created__gte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is greater than or equal to value")] = None,
|
|
63
|
+
pulp_created__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where pulp_created has a null value")] = None,
|
|
64
|
+
pulp_created__lt: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than value")] = None,
|
|
65
|
+
pulp_created__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than or equal to value")] = None,
|
|
66
|
+
pulp_created__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_created is between two comma separated values")] = None,
|
|
67
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
68
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
69
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
70
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
71
|
+
pulp_domain: StrictStr = "default",
|
|
72
|
+
_request_timeout: Union[
|
|
73
|
+
None,
|
|
74
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
75
|
+
Tuple[
|
|
76
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
77
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
78
|
+
]
|
|
79
|
+
] = None,
|
|
80
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
81
|
+
_content_type: Optional[StrictStr] = None,
|
|
82
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
83
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
84
|
+
) -> PaginatedRepositoryVersionResponseList:
|
|
85
|
+
"""List repository versions
|
|
86
|
+
|
|
87
|
+
A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
88
|
+
|
|
89
|
+
:param pulp_domain: (required)
|
|
90
|
+
:type pulp_domain: str
|
|
91
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
92
|
+
:type x_task_diagnostics: List[str]
|
|
93
|
+
:param content: Content Unit referenced by HREF/PRN
|
|
94
|
+
:type content: str
|
|
95
|
+
:param content__in: Multiple values may be separated by commas.
|
|
96
|
+
:type content__in: List[str]
|
|
97
|
+
:param limit: Number of results to return per page.
|
|
98
|
+
:type limit: int
|
|
99
|
+
:param number: Filter results where number matches value
|
|
100
|
+
:type number: int
|
|
101
|
+
:param number__gt: Filter results where number is greater than value
|
|
102
|
+
:type number__gt: int
|
|
103
|
+
:param number__gte: Filter results where number is greater than or equal to value
|
|
104
|
+
:type number__gte: int
|
|
105
|
+
:param number__lt: Filter results where number is less than value
|
|
106
|
+
:type number__lt: int
|
|
107
|
+
:param number__lte: Filter results where number is less than or equal to value
|
|
108
|
+
:type number__lte: int
|
|
109
|
+
:param number__range: Filter results where number is between two comma separated values
|
|
110
|
+
:type number__range: List[int]
|
|
111
|
+
:param offset: The initial index from which to return the results.
|
|
112
|
+
:type offset: int
|
|
113
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
114
|
+
:type ordering: List[str]
|
|
115
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
116
|
+
:type prn__in: List[str]
|
|
117
|
+
:param pulp_created: Filter results where pulp_created matches value
|
|
118
|
+
:type pulp_created: datetime
|
|
119
|
+
:param pulp_created__gt: Filter results where pulp_created is greater than value
|
|
120
|
+
:type pulp_created__gt: datetime
|
|
121
|
+
:param pulp_created__gte: Filter results where pulp_created is greater than or equal to value
|
|
122
|
+
:type pulp_created__gte: datetime
|
|
123
|
+
:param pulp_created__isnull: Filter results where pulp_created has a null value
|
|
124
|
+
:type pulp_created__isnull: bool
|
|
125
|
+
:param pulp_created__lt: Filter results where pulp_created is less than value
|
|
126
|
+
:type pulp_created__lt: datetime
|
|
127
|
+
:param pulp_created__lte: Filter results where pulp_created is less than or equal to value
|
|
128
|
+
:type pulp_created__lte: datetime
|
|
129
|
+
:param pulp_created__range: Filter results where pulp_created is between two comma separated values
|
|
130
|
+
:type pulp_created__range: List[datetime]
|
|
131
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
132
|
+
:type pulp_href__in: List[str]
|
|
133
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
134
|
+
:type q: str
|
|
135
|
+
:param fields: A list of fields to include in the response.
|
|
136
|
+
:type fields: List[str]
|
|
137
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
138
|
+
:type exclude_fields: List[str]
|
|
139
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
140
|
+
number provided, it will be total request
|
|
141
|
+
timeout. It can also be a pair (tuple) of
|
|
142
|
+
(connection, read) timeouts.
|
|
143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
145
|
+
request; this effectively ignores the
|
|
146
|
+
authentication in the spec for a single request.
|
|
147
|
+
:type _request_auth: dict, optional
|
|
148
|
+
:param _content_type: force content-type for the request.
|
|
149
|
+
:type _content_type: str, Optional
|
|
150
|
+
:param _headers: set to override the headers for a single
|
|
151
|
+
request; this effectively ignores the headers
|
|
152
|
+
in the spec for a single request.
|
|
153
|
+
:type _headers: dict, optional
|
|
154
|
+
:param _host_index: set to override the host_index for a single
|
|
155
|
+
request; this effectively ignores the host_index
|
|
156
|
+
in the spec for a single request.
|
|
157
|
+
:type _host_index: int, optional
|
|
158
|
+
:return: Returns the result object.
|
|
159
|
+
""" # noqa: E501
|
|
160
|
+
|
|
161
|
+
_param = self._list_serialize(
|
|
162
|
+
pulp_domain=pulp_domain,
|
|
163
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
164
|
+
content=content,
|
|
165
|
+
content__in=content__in,
|
|
166
|
+
limit=limit,
|
|
167
|
+
number=number,
|
|
168
|
+
number__gt=number__gt,
|
|
169
|
+
number__gte=number__gte,
|
|
170
|
+
number__lt=number__lt,
|
|
171
|
+
number__lte=number__lte,
|
|
172
|
+
number__range=number__range,
|
|
173
|
+
offset=offset,
|
|
174
|
+
ordering=ordering,
|
|
175
|
+
prn__in=prn__in,
|
|
176
|
+
pulp_created=pulp_created,
|
|
177
|
+
pulp_created__gt=pulp_created__gt,
|
|
178
|
+
pulp_created__gte=pulp_created__gte,
|
|
179
|
+
pulp_created__isnull=pulp_created__isnull,
|
|
180
|
+
pulp_created__lt=pulp_created__lt,
|
|
181
|
+
pulp_created__lte=pulp_created__lte,
|
|
182
|
+
pulp_created__range=pulp_created__range,
|
|
183
|
+
pulp_href__in=pulp_href__in,
|
|
184
|
+
q=q,
|
|
185
|
+
fields=fields,
|
|
186
|
+
exclude_fields=exclude_fields,
|
|
187
|
+
_request_auth=_request_auth,
|
|
188
|
+
_content_type=_content_type,
|
|
189
|
+
_headers=_headers,
|
|
190
|
+
_host_index=_host_index
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
194
|
+
'200': "PaginatedRepositoryVersionResponseList",
|
|
195
|
+
}
|
|
196
|
+
response_data = self.api_client.call_api(
|
|
197
|
+
*_param,
|
|
198
|
+
_request_timeout=_request_timeout
|
|
199
|
+
)
|
|
200
|
+
response_data.read()
|
|
201
|
+
return self.api_client.response_deserialize(
|
|
202
|
+
response_data=response_data,
|
|
203
|
+
response_types_map=_response_types_map,
|
|
204
|
+
).data
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
@validate_call
|
|
208
|
+
def list_with_http_info(
|
|
209
|
+
self,
|
|
210
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
211
|
+
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
212
|
+
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
213
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
214
|
+
number: Annotated[Optional[StrictInt], Field(description="Filter results where number matches value")] = None,
|
|
215
|
+
number__gt: Annotated[Optional[StrictInt], Field(description="Filter results where number is greater than value")] = None,
|
|
216
|
+
number__gte: Annotated[Optional[StrictInt], Field(description="Filter results where number is greater than or equal to value")] = None,
|
|
217
|
+
number__lt: Annotated[Optional[StrictInt], Field(description="Filter results where number is less than value")] = None,
|
|
218
|
+
number__lte: Annotated[Optional[StrictInt], Field(description="Filter results where number is less than or equal to value")] = None,
|
|
219
|
+
number__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where number is between two comma separated values")] = None,
|
|
220
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
221
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
222
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
223
|
+
pulp_created: Annotated[Optional[datetime], Field(description="Filter results where pulp_created matches value")] = None,
|
|
224
|
+
pulp_created__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is greater than value")] = None,
|
|
225
|
+
pulp_created__gte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is greater than or equal to value")] = None,
|
|
226
|
+
pulp_created__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where pulp_created has a null value")] = None,
|
|
227
|
+
pulp_created__lt: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than value")] = None,
|
|
228
|
+
pulp_created__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than or equal to value")] = None,
|
|
229
|
+
pulp_created__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_created is between two comma separated values")] = None,
|
|
230
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
231
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
232
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
233
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
234
|
+
pulp_domain: StrictStr = "default",
|
|
235
|
+
_request_timeout: Union[
|
|
236
|
+
None,
|
|
237
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
238
|
+
Tuple[
|
|
239
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
240
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
241
|
+
]
|
|
242
|
+
] = None,
|
|
243
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
244
|
+
_content_type: Optional[StrictStr] = None,
|
|
245
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
246
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
247
|
+
) -> ApiResponse[PaginatedRepositoryVersionResponseList]:
|
|
248
|
+
"""List repository versions
|
|
249
|
+
|
|
250
|
+
A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
251
|
+
|
|
252
|
+
:param pulp_domain: (required)
|
|
253
|
+
:type pulp_domain: str
|
|
254
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
255
|
+
:type x_task_diagnostics: List[str]
|
|
256
|
+
:param content: Content Unit referenced by HREF/PRN
|
|
257
|
+
:type content: str
|
|
258
|
+
:param content__in: Multiple values may be separated by commas.
|
|
259
|
+
:type content__in: List[str]
|
|
260
|
+
:param limit: Number of results to return per page.
|
|
261
|
+
:type limit: int
|
|
262
|
+
:param number: Filter results where number matches value
|
|
263
|
+
:type number: int
|
|
264
|
+
:param number__gt: Filter results where number is greater than value
|
|
265
|
+
:type number__gt: int
|
|
266
|
+
:param number__gte: Filter results where number is greater than or equal to value
|
|
267
|
+
:type number__gte: int
|
|
268
|
+
:param number__lt: Filter results where number is less than value
|
|
269
|
+
:type number__lt: int
|
|
270
|
+
:param number__lte: Filter results where number is less than or equal to value
|
|
271
|
+
:type number__lte: int
|
|
272
|
+
:param number__range: Filter results where number is between two comma separated values
|
|
273
|
+
:type number__range: List[int]
|
|
274
|
+
:param offset: The initial index from which to return the results.
|
|
275
|
+
:type offset: int
|
|
276
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
277
|
+
:type ordering: List[str]
|
|
278
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
279
|
+
:type prn__in: List[str]
|
|
280
|
+
:param pulp_created: Filter results where pulp_created matches value
|
|
281
|
+
:type pulp_created: datetime
|
|
282
|
+
:param pulp_created__gt: Filter results where pulp_created is greater than value
|
|
283
|
+
:type pulp_created__gt: datetime
|
|
284
|
+
:param pulp_created__gte: Filter results where pulp_created is greater than or equal to value
|
|
285
|
+
:type pulp_created__gte: datetime
|
|
286
|
+
:param pulp_created__isnull: Filter results where pulp_created has a null value
|
|
287
|
+
:type pulp_created__isnull: bool
|
|
288
|
+
:param pulp_created__lt: Filter results where pulp_created is less than value
|
|
289
|
+
:type pulp_created__lt: datetime
|
|
290
|
+
:param pulp_created__lte: Filter results where pulp_created is less than or equal to value
|
|
291
|
+
:type pulp_created__lte: datetime
|
|
292
|
+
:param pulp_created__range: Filter results where pulp_created is between two comma separated values
|
|
293
|
+
:type pulp_created__range: List[datetime]
|
|
294
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
295
|
+
:type pulp_href__in: List[str]
|
|
296
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
297
|
+
:type q: str
|
|
298
|
+
:param fields: A list of fields to include in the response.
|
|
299
|
+
:type fields: List[str]
|
|
300
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
301
|
+
:type exclude_fields: List[str]
|
|
302
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
303
|
+
number provided, it will be total request
|
|
304
|
+
timeout. It can also be a pair (tuple) of
|
|
305
|
+
(connection, read) timeouts.
|
|
306
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
307
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
308
|
+
request; this effectively ignores the
|
|
309
|
+
authentication in the spec for a single request.
|
|
310
|
+
:type _request_auth: dict, optional
|
|
311
|
+
:param _content_type: force content-type for the request.
|
|
312
|
+
:type _content_type: str, Optional
|
|
313
|
+
:param _headers: set to override the headers for a single
|
|
314
|
+
request; this effectively ignores the headers
|
|
315
|
+
in the spec for a single request.
|
|
316
|
+
:type _headers: dict, optional
|
|
317
|
+
:param _host_index: set to override the host_index for a single
|
|
318
|
+
request; this effectively ignores the host_index
|
|
319
|
+
in the spec for a single request.
|
|
320
|
+
:type _host_index: int, optional
|
|
321
|
+
:return: Returns the result object.
|
|
322
|
+
""" # noqa: E501
|
|
323
|
+
|
|
324
|
+
_param = self._list_serialize(
|
|
325
|
+
pulp_domain=pulp_domain,
|
|
326
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
327
|
+
content=content,
|
|
328
|
+
content__in=content__in,
|
|
329
|
+
limit=limit,
|
|
330
|
+
number=number,
|
|
331
|
+
number__gt=number__gt,
|
|
332
|
+
number__gte=number__gte,
|
|
333
|
+
number__lt=number__lt,
|
|
334
|
+
number__lte=number__lte,
|
|
335
|
+
number__range=number__range,
|
|
336
|
+
offset=offset,
|
|
337
|
+
ordering=ordering,
|
|
338
|
+
prn__in=prn__in,
|
|
339
|
+
pulp_created=pulp_created,
|
|
340
|
+
pulp_created__gt=pulp_created__gt,
|
|
341
|
+
pulp_created__gte=pulp_created__gte,
|
|
342
|
+
pulp_created__isnull=pulp_created__isnull,
|
|
343
|
+
pulp_created__lt=pulp_created__lt,
|
|
344
|
+
pulp_created__lte=pulp_created__lte,
|
|
345
|
+
pulp_created__range=pulp_created__range,
|
|
346
|
+
pulp_href__in=pulp_href__in,
|
|
347
|
+
q=q,
|
|
348
|
+
fields=fields,
|
|
349
|
+
exclude_fields=exclude_fields,
|
|
350
|
+
_request_auth=_request_auth,
|
|
351
|
+
_content_type=_content_type,
|
|
352
|
+
_headers=_headers,
|
|
353
|
+
_host_index=_host_index
|
|
354
|
+
)
|
|
355
|
+
|
|
356
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
357
|
+
'200': "PaginatedRepositoryVersionResponseList",
|
|
358
|
+
}
|
|
359
|
+
response_data = self.api_client.call_api(
|
|
360
|
+
*_param,
|
|
361
|
+
_request_timeout=_request_timeout
|
|
362
|
+
)
|
|
363
|
+
response_data.read()
|
|
364
|
+
return self.api_client.response_deserialize(
|
|
365
|
+
response_data=response_data,
|
|
366
|
+
response_types_map=_response_types_map,
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
@validate_call
|
|
371
|
+
def list_without_preload_content(
|
|
372
|
+
self,
|
|
373
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
374
|
+
content: Annotated[Optional[StrictStr], Field(description="Content Unit referenced by HREF/PRN")] = None,
|
|
375
|
+
content__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
376
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
377
|
+
number: Annotated[Optional[StrictInt], Field(description="Filter results where number matches value")] = None,
|
|
378
|
+
number__gt: Annotated[Optional[StrictInt], Field(description="Filter results where number is greater than value")] = None,
|
|
379
|
+
number__gte: Annotated[Optional[StrictInt], Field(description="Filter results where number is greater than or equal to value")] = None,
|
|
380
|
+
number__lt: Annotated[Optional[StrictInt], Field(description="Filter results where number is less than value")] = None,
|
|
381
|
+
number__lte: Annotated[Optional[StrictInt], Field(description="Filter results where number is less than or equal to value")] = None,
|
|
382
|
+
number__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where number is between two comma separated values")] = None,
|
|
383
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
384
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
385
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
386
|
+
pulp_created: Annotated[Optional[datetime], Field(description="Filter results where pulp_created matches value")] = None,
|
|
387
|
+
pulp_created__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is greater than value")] = None,
|
|
388
|
+
pulp_created__gte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is greater than or equal to value")] = None,
|
|
389
|
+
pulp_created__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where pulp_created has a null value")] = None,
|
|
390
|
+
pulp_created__lt: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than value")] = None,
|
|
391
|
+
pulp_created__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than or equal to value")] = None,
|
|
392
|
+
pulp_created__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_created is between two comma separated values")] = None,
|
|
393
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
394
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
395
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
396
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
397
|
+
pulp_domain: StrictStr = "default",
|
|
398
|
+
_request_timeout: Union[
|
|
399
|
+
None,
|
|
400
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
401
|
+
Tuple[
|
|
402
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
403
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
404
|
+
]
|
|
405
|
+
] = None,
|
|
406
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
407
|
+
_content_type: Optional[StrictStr] = None,
|
|
408
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
409
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
410
|
+
) -> RESTResponseType:
|
|
411
|
+
"""List repository versions
|
|
412
|
+
|
|
413
|
+
A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
414
|
+
|
|
415
|
+
:param pulp_domain: (required)
|
|
416
|
+
:type pulp_domain: str
|
|
417
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
418
|
+
:type x_task_diagnostics: List[str]
|
|
419
|
+
:param content: Content Unit referenced by HREF/PRN
|
|
420
|
+
:type content: str
|
|
421
|
+
:param content__in: Multiple values may be separated by commas.
|
|
422
|
+
:type content__in: List[str]
|
|
423
|
+
:param limit: Number of results to return per page.
|
|
424
|
+
:type limit: int
|
|
425
|
+
:param number: Filter results where number matches value
|
|
426
|
+
:type number: int
|
|
427
|
+
:param number__gt: Filter results where number is greater than value
|
|
428
|
+
:type number__gt: int
|
|
429
|
+
:param number__gte: Filter results where number is greater than or equal to value
|
|
430
|
+
:type number__gte: int
|
|
431
|
+
:param number__lt: Filter results where number is less than value
|
|
432
|
+
:type number__lt: int
|
|
433
|
+
:param number__lte: Filter results where number is less than or equal to value
|
|
434
|
+
:type number__lte: int
|
|
435
|
+
:param number__range: Filter results where number is between two comma separated values
|
|
436
|
+
:type number__range: List[int]
|
|
437
|
+
:param offset: The initial index from which to return the results.
|
|
438
|
+
:type offset: int
|
|
439
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
440
|
+
:type ordering: List[str]
|
|
441
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
442
|
+
:type prn__in: List[str]
|
|
443
|
+
:param pulp_created: Filter results where pulp_created matches value
|
|
444
|
+
:type pulp_created: datetime
|
|
445
|
+
:param pulp_created__gt: Filter results where pulp_created is greater than value
|
|
446
|
+
:type pulp_created__gt: datetime
|
|
447
|
+
:param pulp_created__gte: Filter results where pulp_created is greater than or equal to value
|
|
448
|
+
:type pulp_created__gte: datetime
|
|
449
|
+
:param pulp_created__isnull: Filter results where pulp_created has a null value
|
|
450
|
+
:type pulp_created__isnull: bool
|
|
451
|
+
:param pulp_created__lt: Filter results where pulp_created is less than value
|
|
452
|
+
:type pulp_created__lt: datetime
|
|
453
|
+
:param pulp_created__lte: Filter results where pulp_created is less than or equal to value
|
|
454
|
+
:type pulp_created__lte: datetime
|
|
455
|
+
:param pulp_created__range: Filter results where pulp_created is between two comma separated values
|
|
456
|
+
:type pulp_created__range: List[datetime]
|
|
457
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
458
|
+
:type pulp_href__in: List[str]
|
|
459
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
460
|
+
:type q: str
|
|
461
|
+
:param fields: A list of fields to include in the response.
|
|
462
|
+
:type fields: List[str]
|
|
463
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
464
|
+
:type exclude_fields: List[str]
|
|
465
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
466
|
+
number provided, it will be total request
|
|
467
|
+
timeout. It can also be a pair (tuple) of
|
|
468
|
+
(connection, read) timeouts.
|
|
469
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
470
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
471
|
+
request; this effectively ignores the
|
|
472
|
+
authentication in the spec for a single request.
|
|
473
|
+
:type _request_auth: dict, optional
|
|
474
|
+
:param _content_type: force content-type for the request.
|
|
475
|
+
:type _content_type: str, Optional
|
|
476
|
+
:param _headers: set to override the headers for a single
|
|
477
|
+
request; this effectively ignores the headers
|
|
478
|
+
in the spec for a single request.
|
|
479
|
+
:type _headers: dict, optional
|
|
480
|
+
:param _host_index: set to override the host_index for a single
|
|
481
|
+
request; this effectively ignores the host_index
|
|
482
|
+
in the spec for a single request.
|
|
483
|
+
:type _host_index: int, optional
|
|
484
|
+
:return: Returns the result object.
|
|
485
|
+
""" # noqa: E501
|
|
486
|
+
|
|
487
|
+
_param = self._list_serialize(
|
|
488
|
+
pulp_domain=pulp_domain,
|
|
489
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
490
|
+
content=content,
|
|
491
|
+
content__in=content__in,
|
|
492
|
+
limit=limit,
|
|
493
|
+
number=number,
|
|
494
|
+
number__gt=number__gt,
|
|
495
|
+
number__gte=number__gte,
|
|
496
|
+
number__lt=number__lt,
|
|
497
|
+
number__lte=number__lte,
|
|
498
|
+
number__range=number__range,
|
|
499
|
+
offset=offset,
|
|
500
|
+
ordering=ordering,
|
|
501
|
+
prn__in=prn__in,
|
|
502
|
+
pulp_created=pulp_created,
|
|
503
|
+
pulp_created__gt=pulp_created__gt,
|
|
504
|
+
pulp_created__gte=pulp_created__gte,
|
|
505
|
+
pulp_created__isnull=pulp_created__isnull,
|
|
506
|
+
pulp_created__lt=pulp_created__lt,
|
|
507
|
+
pulp_created__lte=pulp_created__lte,
|
|
508
|
+
pulp_created__range=pulp_created__range,
|
|
509
|
+
pulp_href__in=pulp_href__in,
|
|
510
|
+
q=q,
|
|
511
|
+
fields=fields,
|
|
512
|
+
exclude_fields=exclude_fields,
|
|
513
|
+
_request_auth=_request_auth,
|
|
514
|
+
_content_type=_content_type,
|
|
515
|
+
_headers=_headers,
|
|
516
|
+
_host_index=_host_index
|
|
517
|
+
)
|
|
518
|
+
|
|
519
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
520
|
+
'200': "PaginatedRepositoryVersionResponseList",
|
|
521
|
+
}
|
|
522
|
+
response_data = self.api_client.call_api(
|
|
523
|
+
*_param,
|
|
524
|
+
_request_timeout=_request_timeout
|
|
525
|
+
)
|
|
526
|
+
return response_data.response
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
def _list_serialize(
|
|
530
|
+
self,
|
|
531
|
+
pulp_domain,
|
|
532
|
+
x_task_diagnostics,
|
|
533
|
+
content,
|
|
534
|
+
content__in,
|
|
535
|
+
limit,
|
|
536
|
+
number,
|
|
537
|
+
number__gt,
|
|
538
|
+
number__gte,
|
|
539
|
+
number__lt,
|
|
540
|
+
number__lte,
|
|
541
|
+
number__range,
|
|
542
|
+
offset,
|
|
543
|
+
ordering,
|
|
544
|
+
prn__in,
|
|
545
|
+
pulp_created,
|
|
546
|
+
pulp_created__gt,
|
|
547
|
+
pulp_created__gte,
|
|
548
|
+
pulp_created__isnull,
|
|
549
|
+
pulp_created__lt,
|
|
550
|
+
pulp_created__lte,
|
|
551
|
+
pulp_created__range,
|
|
552
|
+
pulp_href__in,
|
|
553
|
+
q,
|
|
554
|
+
fields,
|
|
555
|
+
exclude_fields,
|
|
556
|
+
_request_auth,
|
|
557
|
+
_content_type,
|
|
558
|
+
_headers,
|
|
559
|
+
_host_index,
|
|
560
|
+
) -> RequestSerialized:
|
|
561
|
+
|
|
562
|
+
_host = None
|
|
563
|
+
|
|
564
|
+
_collection_formats: Dict[str, str] = {
|
|
565
|
+
'X-Task-Diagnostics': 'csv',
|
|
566
|
+
'content__in': 'csv',
|
|
567
|
+
'number__range': 'csv',
|
|
568
|
+
'ordering': 'csv',
|
|
569
|
+
'prn__in': 'csv',
|
|
570
|
+
'pulp_created__range': 'csv',
|
|
571
|
+
'pulp_href__in': 'csv',
|
|
572
|
+
'fields': 'multi',
|
|
573
|
+
'exclude_fields': 'multi',
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
_path_params: Dict[str, str] = {}
|
|
577
|
+
_query_params: List[Tuple[str, str]] = []
|
|
578
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
579
|
+
_form_params: List[Tuple[str, str]] = []
|
|
580
|
+
_files: Dict[
|
|
581
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
582
|
+
] = {}
|
|
583
|
+
_body_params: Optional[bytes] = None
|
|
584
|
+
|
|
585
|
+
# process the path parameters
|
|
586
|
+
if pulp_domain is not None:
|
|
587
|
+
_path_params['pulp_domain'] = pulp_domain
|
|
588
|
+
# process the query parameters
|
|
589
|
+
if content is not None:
|
|
590
|
+
|
|
591
|
+
_query_params.append(('content', content))
|
|
592
|
+
|
|
593
|
+
if content__in is not None:
|
|
594
|
+
|
|
595
|
+
_query_params.append(('content__in', content__in))
|
|
596
|
+
|
|
597
|
+
if limit is not None:
|
|
598
|
+
|
|
599
|
+
_query_params.append(('limit', limit))
|
|
600
|
+
|
|
601
|
+
if number is not None:
|
|
602
|
+
|
|
603
|
+
_query_params.append(('number', number))
|
|
604
|
+
|
|
605
|
+
if number__gt is not None:
|
|
606
|
+
|
|
607
|
+
_query_params.append(('number__gt', number__gt))
|
|
608
|
+
|
|
609
|
+
if number__gte is not None:
|
|
610
|
+
|
|
611
|
+
_query_params.append(('number__gte', number__gte))
|
|
612
|
+
|
|
613
|
+
if number__lt is not None:
|
|
614
|
+
|
|
615
|
+
_query_params.append(('number__lt', number__lt))
|
|
616
|
+
|
|
617
|
+
if number__lte is not None:
|
|
618
|
+
|
|
619
|
+
_query_params.append(('number__lte', number__lte))
|
|
620
|
+
|
|
621
|
+
if number__range is not None:
|
|
622
|
+
|
|
623
|
+
_query_params.append(('number__range', number__range))
|
|
624
|
+
|
|
625
|
+
if offset is not None:
|
|
626
|
+
|
|
627
|
+
_query_params.append(('offset', offset))
|
|
628
|
+
|
|
629
|
+
if ordering is not None:
|
|
630
|
+
|
|
631
|
+
_query_params.append(('ordering', ordering))
|
|
632
|
+
|
|
633
|
+
if prn__in is not None:
|
|
634
|
+
|
|
635
|
+
_query_params.append(('prn__in', prn__in))
|
|
636
|
+
|
|
637
|
+
if pulp_created is not None:
|
|
638
|
+
if isinstance(pulp_created, datetime):
|
|
639
|
+
_query_params.append(
|
|
640
|
+
(
|
|
641
|
+
'pulp_created',
|
|
642
|
+
pulp_created.strftime(
|
|
643
|
+
self.api_client.configuration.datetime_format
|
|
644
|
+
)
|
|
645
|
+
)
|
|
646
|
+
)
|
|
647
|
+
else:
|
|
648
|
+
_query_params.append(('pulp_created', pulp_created))
|
|
649
|
+
|
|
650
|
+
if pulp_created__gt is not None:
|
|
651
|
+
if isinstance(pulp_created__gt, datetime):
|
|
652
|
+
_query_params.append(
|
|
653
|
+
(
|
|
654
|
+
'pulp_created__gt',
|
|
655
|
+
pulp_created__gt.strftime(
|
|
656
|
+
self.api_client.configuration.datetime_format
|
|
657
|
+
)
|
|
658
|
+
)
|
|
659
|
+
)
|
|
660
|
+
else:
|
|
661
|
+
_query_params.append(('pulp_created__gt', pulp_created__gt))
|
|
662
|
+
|
|
663
|
+
if pulp_created__gte is not None:
|
|
664
|
+
if isinstance(pulp_created__gte, datetime):
|
|
665
|
+
_query_params.append(
|
|
666
|
+
(
|
|
667
|
+
'pulp_created__gte',
|
|
668
|
+
pulp_created__gte.strftime(
|
|
669
|
+
self.api_client.configuration.datetime_format
|
|
670
|
+
)
|
|
671
|
+
)
|
|
672
|
+
)
|
|
673
|
+
else:
|
|
674
|
+
_query_params.append(('pulp_created__gte', pulp_created__gte))
|
|
675
|
+
|
|
676
|
+
if pulp_created__isnull is not None:
|
|
677
|
+
|
|
678
|
+
_query_params.append(('pulp_created__isnull', pulp_created__isnull))
|
|
679
|
+
|
|
680
|
+
if pulp_created__lt is not None:
|
|
681
|
+
if isinstance(pulp_created__lt, datetime):
|
|
682
|
+
_query_params.append(
|
|
683
|
+
(
|
|
684
|
+
'pulp_created__lt',
|
|
685
|
+
pulp_created__lt.strftime(
|
|
686
|
+
self.api_client.configuration.datetime_format
|
|
687
|
+
)
|
|
688
|
+
)
|
|
689
|
+
)
|
|
690
|
+
else:
|
|
691
|
+
_query_params.append(('pulp_created__lt', pulp_created__lt))
|
|
692
|
+
|
|
693
|
+
if pulp_created__lte is not None:
|
|
694
|
+
if isinstance(pulp_created__lte, datetime):
|
|
695
|
+
_query_params.append(
|
|
696
|
+
(
|
|
697
|
+
'pulp_created__lte',
|
|
698
|
+
pulp_created__lte.strftime(
|
|
699
|
+
self.api_client.configuration.datetime_format
|
|
700
|
+
)
|
|
701
|
+
)
|
|
702
|
+
)
|
|
703
|
+
else:
|
|
704
|
+
_query_params.append(('pulp_created__lte', pulp_created__lte))
|
|
705
|
+
|
|
706
|
+
if pulp_created__range is not None:
|
|
707
|
+
|
|
708
|
+
_query_params.append(('pulp_created__range', pulp_created__range))
|
|
709
|
+
|
|
710
|
+
if pulp_href__in is not None:
|
|
711
|
+
|
|
712
|
+
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
713
|
+
|
|
714
|
+
if q is not None:
|
|
715
|
+
|
|
716
|
+
_query_params.append(('q', q))
|
|
717
|
+
|
|
718
|
+
if fields is not None:
|
|
719
|
+
|
|
720
|
+
_query_params.append(('fields', fields))
|
|
721
|
+
|
|
722
|
+
if exclude_fields is not None:
|
|
723
|
+
|
|
724
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
725
|
+
|
|
726
|
+
# process the header parameters
|
|
727
|
+
if x_task_diagnostics is not None:
|
|
728
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
729
|
+
# process the form parameters
|
|
730
|
+
# process the body parameter
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
# set the HTTP header `Accept`
|
|
734
|
+
if 'Accept' not in _header_params:
|
|
735
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
736
|
+
[
|
|
737
|
+
'application/json'
|
|
738
|
+
]
|
|
739
|
+
)
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
# authentication setting
|
|
743
|
+
_auth_settings: List[str] = [
|
|
744
|
+
'json_header_remote_authentication',
|
|
745
|
+
'basicAuth',
|
|
746
|
+
'cookieAuth'
|
|
747
|
+
]
|
|
748
|
+
|
|
749
|
+
return self.api_client.param_serialize(
|
|
750
|
+
method='GET',
|
|
751
|
+
resource_path='/api/pulp/{pulp_domain}/api/v3/repository_versions/',
|
|
752
|
+
path_params=_path_params,
|
|
753
|
+
query_params=_query_params,
|
|
754
|
+
header_params=_header_params,
|
|
755
|
+
body=_body_params,
|
|
756
|
+
post_params=_form_params,
|
|
757
|
+
files=_files,
|
|
758
|
+
auth_settings=_auth_settings,
|
|
759
|
+
collection_formats=_collection_formats,
|
|
760
|
+
_host=_host,
|
|
761
|
+
_request_auth=_request_auth
|
|
762
|
+
)
|
|
763
|
+
|
|
764
|
+
|