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,850 @@
|
|
|
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_generic_remote_response_list import PaginatedGenericRemoteResponseList
|
|
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 RemotesApi:
|
|
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
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
49
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
50
|
+
name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
|
|
51
|
+
name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
|
|
52
|
+
name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
53
|
+
name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
|
|
54
|
+
name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
|
|
55
|
+
name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
56
|
+
name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
|
|
57
|
+
name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
58
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
59
|
+
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
60
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
61
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
62
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
63
|
+
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
64
|
+
pulp_last_updated: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated matches value")] = None,
|
|
65
|
+
pulp_last_updated__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than value")] = None,
|
|
66
|
+
pulp_last_updated__gte: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than or equal to value")] = None,
|
|
67
|
+
pulp_last_updated__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where pulp_last_updated has a null value")] = None,
|
|
68
|
+
pulp_last_updated__lt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is less than value")] = None,
|
|
69
|
+
pulp_last_updated__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is less than or equal to value")] = None,
|
|
70
|
+
pulp_last_updated__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_last_updated is between two comma separated values")] = None,
|
|
71
|
+
pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file")] = None,
|
|
72
|
+
pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file")] = None,
|
|
73
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
74
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
75
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
76
|
+
pulp_domain: StrictStr = "default",
|
|
77
|
+
_request_timeout: Union[
|
|
78
|
+
None,
|
|
79
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
80
|
+
Tuple[
|
|
81
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
82
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
83
|
+
]
|
|
84
|
+
] = None,
|
|
85
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
86
|
+
_content_type: Optional[StrictStr] = None,
|
|
87
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
88
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
89
|
+
) -> PaginatedGenericRemoteResponseList:
|
|
90
|
+
"""List remotes
|
|
91
|
+
|
|
92
|
+
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.
|
|
93
|
+
|
|
94
|
+
:param pulp_domain: (required)
|
|
95
|
+
:type pulp_domain: str
|
|
96
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
97
|
+
:type x_task_diagnostics: List[str]
|
|
98
|
+
:param limit: Number of results to return per page.
|
|
99
|
+
:type limit: int
|
|
100
|
+
:param name: Filter results where name matches value
|
|
101
|
+
:type name: str
|
|
102
|
+
:param name__contains: Filter results where name contains value
|
|
103
|
+
:type name__contains: str
|
|
104
|
+
:param name__icontains: Filter results where name contains value
|
|
105
|
+
:type name__icontains: str
|
|
106
|
+
:param name__iexact: Filter results where name matches value
|
|
107
|
+
:type name__iexact: str
|
|
108
|
+
:param name__in: Filter results where name is in a comma-separated list of values
|
|
109
|
+
:type name__in: List[str]
|
|
110
|
+
:param name__iregex: Filter results where name matches regex value
|
|
111
|
+
:type name__iregex: str
|
|
112
|
+
:param name__istartswith: Filter results where name starts with value
|
|
113
|
+
:type name__istartswith: str
|
|
114
|
+
:param name__regex: Filter results where name matches regex value
|
|
115
|
+
:type name__regex: str
|
|
116
|
+
:param name__startswith: Filter results where name starts with value
|
|
117
|
+
:type name__startswith: str
|
|
118
|
+
:param offset: The initial index from which to return the results.
|
|
119
|
+
:type offset: int
|
|
120
|
+
: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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
121
|
+
:type ordering: List[str]
|
|
122
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
123
|
+
:type prn__in: List[str]
|
|
124
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
125
|
+
:type pulp_href__in: List[str]
|
|
126
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
127
|
+
:type pulp_id__in: List[str]
|
|
128
|
+
:param pulp_label_select: Filter labels by search string
|
|
129
|
+
:type pulp_label_select: str
|
|
130
|
+
:param pulp_last_updated: Filter results where pulp_last_updated matches value
|
|
131
|
+
:type pulp_last_updated: datetime
|
|
132
|
+
:param pulp_last_updated__gt: Filter results where pulp_last_updated is greater than value
|
|
133
|
+
:type pulp_last_updated__gt: datetime
|
|
134
|
+
:param pulp_last_updated__gte: Filter results where pulp_last_updated is greater than or equal to value
|
|
135
|
+
:type pulp_last_updated__gte: datetime
|
|
136
|
+
:param pulp_last_updated__isnull: Filter results where pulp_last_updated has a null value
|
|
137
|
+
:type pulp_last_updated__isnull: bool
|
|
138
|
+
:param pulp_last_updated__lt: Filter results where pulp_last_updated is less than value
|
|
139
|
+
:type pulp_last_updated__lt: datetime
|
|
140
|
+
:param pulp_last_updated__lte: Filter results where pulp_last_updated is less than or equal to value
|
|
141
|
+
:type pulp_last_updated__lte: datetime
|
|
142
|
+
:param pulp_last_updated__range: Filter results where pulp_last_updated is between two comma separated values
|
|
143
|
+
:type pulp_last_updated__range: List[datetime]
|
|
144
|
+
:param pulp_type: Pulp type * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file
|
|
145
|
+
:type pulp_type: str
|
|
146
|
+
:param pulp_type__in: Multiple values may be separated by commas. * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file
|
|
147
|
+
:type pulp_type__in: List[str]
|
|
148
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
149
|
+
:type q: str
|
|
150
|
+
:param fields: A list of fields to include in the response.
|
|
151
|
+
:type fields: List[str]
|
|
152
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
153
|
+
:type exclude_fields: List[str]
|
|
154
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
155
|
+
number provided, it will be total request
|
|
156
|
+
timeout. It can also be a pair (tuple) of
|
|
157
|
+
(connection, read) timeouts.
|
|
158
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
159
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
160
|
+
request; this effectively ignores the
|
|
161
|
+
authentication in the spec for a single request.
|
|
162
|
+
:type _request_auth: dict, optional
|
|
163
|
+
:param _content_type: force content-type for the request.
|
|
164
|
+
:type _content_type: str, Optional
|
|
165
|
+
:param _headers: set to override the headers for a single
|
|
166
|
+
request; this effectively ignores the headers
|
|
167
|
+
in the spec for a single request.
|
|
168
|
+
:type _headers: dict, optional
|
|
169
|
+
:param _host_index: set to override the host_index for a single
|
|
170
|
+
request; this effectively ignores the host_index
|
|
171
|
+
in the spec for a single request.
|
|
172
|
+
:type _host_index: int, optional
|
|
173
|
+
:return: Returns the result object.
|
|
174
|
+
""" # noqa: E501
|
|
175
|
+
|
|
176
|
+
_param = self._list_serialize(
|
|
177
|
+
pulp_domain=pulp_domain,
|
|
178
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
179
|
+
limit=limit,
|
|
180
|
+
name=name,
|
|
181
|
+
name__contains=name__contains,
|
|
182
|
+
name__icontains=name__icontains,
|
|
183
|
+
name__iexact=name__iexact,
|
|
184
|
+
name__in=name__in,
|
|
185
|
+
name__iregex=name__iregex,
|
|
186
|
+
name__istartswith=name__istartswith,
|
|
187
|
+
name__regex=name__regex,
|
|
188
|
+
name__startswith=name__startswith,
|
|
189
|
+
offset=offset,
|
|
190
|
+
ordering=ordering,
|
|
191
|
+
prn__in=prn__in,
|
|
192
|
+
pulp_href__in=pulp_href__in,
|
|
193
|
+
pulp_id__in=pulp_id__in,
|
|
194
|
+
pulp_label_select=pulp_label_select,
|
|
195
|
+
pulp_last_updated=pulp_last_updated,
|
|
196
|
+
pulp_last_updated__gt=pulp_last_updated__gt,
|
|
197
|
+
pulp_last_updated__gte=pulp_last_updated__gte,
|
|
198
|
+
pulp_last_updated__isnull=pulp_last_updated__isnull,
|
|
199
|
+
pulp_last_updated__lt=pulp_last_updated__lt,
|
|
200
|
+
pulp_last_updated__lte=pulp_last_updated__lte,
|
|
201
|
+
pulp_last_updated__range=pulp_last_updated__range,
|
|
202
|
+
pulp_type=pulp_type,
|
|
203
|
+
pulp_type__in=pulp_type__in,
|
|
204
|
+
q=q,
|
|
205
|
+
fields=fields,
|
|
206
|
+
exclude_fields=exclude_fields,
|
|
207
|
+
_request_auth=_request_auth,
|
|
208
|
+
_content_type=_content_type,
|
|
209
|
+
_headers=_headers,
|
|
210
|
+
_host_index=_host_index
|
|
211
|
+
)
|
|
212
|
+
|
|
213
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
214
|
+
'200': "PaginatedGenericRemoteResponseList",
|
|
215
|
+
}
|
|
216
|
+
response_data = self.api_client.call_api(
|
|
217
|
+
*_param,
|
|
218
|
+
_request_timeout=_request_timeout
|
|
219
|
+
)
|
|
220
|
+
response_data.read()
|
|
221
|
+
return self.api_client.response_deserialize(
|
|
222
|
+
response_data=response_data,
|
|
223
|
+
response_types_map=_response_types_map,
|
|
224
|
+
).data
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
@validate_call
|
|
228
|
+
def list_with_http_info(
|
|
229
|
+
self,
|
|
230
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
231
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
232
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
233
|
+
name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
|
|
234
|
+
name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
|
|
235
|
+
name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
236
|
+
name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
|
|
237
|
+
name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
|
|
238
|
+
name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
239
|
+
name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
|
|
240
|
+
name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
241
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
242
|
+
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
243
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
244
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
245
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
246
|
+
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
247
|
+
pulp_last_updated: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated matches value")] = None,
|
|
248
|
+
pulp_last_updated__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than value")] = None,
|
|
249
|
+
pulp_last_updated__gte: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than or equal to value")] = None,
|
|
250
|
+
pulp_last_updated__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where pulp_last_updated has a null value")] = None,
|
|
251
|
+
pulp_last_updated__lt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is less than value")] = None,
|
|
252
|
+
pulp_last_updated__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is less than or equal to value")] = None,
|
|
253
|
+
pulp_last_updated__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_last_updated is between two comma separated values")] = None,
|
|
254
|
+
pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file")] = None,
|
|
255
|
+
pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file")] = None,
|
|
256
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
257
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
258
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
259
|
+
pulp_domain: StrictStr = "default",
|
|
260
|
+
_request_timeout: Union[
|
|
261
|
+
None,
|
|
262
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
263
|
+
Tuple[
|
|
264
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
265
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
266
|
+
]
|
|
267
|
+
] = None,
|
|
268
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
269
|
+
_content_type: Optional[StrictStr] = None,
|
|
270
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
271
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
272
|
+
) -> ApiResponse[PaginatedGenericRemoteResponseList]:
|
|
273
|
+
"""List remotes
|
|
274
|
+
|
|
275
|
+
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.
|
|
276
|
+
|
|
277
|
+
:param pulp_domain: (required)
|
|
278
|
+
:type pulp_domain: str
|
|
279
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
280
|
+
:type x_task_diagnostics: List[str]
|
|
281
|
+
:param limit: Number of results to return per page.
|
|
282
|
+
:type limit: int
|
|
283
|
+
:param name: Filter results where name matches value
|
|
284
|
+
:type name: str
|
|
285
|
+
:param name__contains: Filter results where name contains value
|
|
286
|
+
:type name__contains: str
|
|
287
|
+
:param name__icontains: Filter results where name contains value
|
|
288
|
+
:type name__icontains: str
|
|
289
|
+
:param name__iexact: Filter results where name matches value
|
|
290
|
+
:type name__iexact: str
|
|
291
|
+
:param name__in: Filter results where name is in a comma-separated list of values
|
|
292
|
+
:type name__in: List[str]
|
|
293
|
+
:param name__iregex: Filter results where name matches regex value
|
|
294
|
+
:type name__iregex: str
|
|
295
|
+
:param name__istartswith: Filter results where name starts with value
|
|
296
|
+
:type name__istartswith: str
|
|
297
|
+
:param name__regex: Filter results where name matches regex value
|
|
298
|
+
:type name__regex: str
|
|
299
|
+
:param name__startswith: Filter results where name starts with value
|
|
300
|
+
:type name__startswith: str
|
|
301
|
+
:param offset: The initial index from which to return the results.
|
|
302
|
+
:type offset: int
|
|
303
|
+
: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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
304
|
+
:type ordering: List[str]
|
|
305
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
306
|
+
:type prn__in: List[str]
|
|
307
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
308
|
+
:type pulp_href__in: List[str]
|
|
309
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
310
|
+
:type pulp_id__in: List[str]
|
|
311
|
+
:param pulp_label_select: Filter labels by search string
|
|
312
|
+
:type pulp_label_select: str
|
|
313
|
+
:param pulp_last_updated: Filter results where pulp_last_updated matches value
|
|
314
|
+
:type pulp_last_updated: datetime
|
|
315
|
+
:param pulp_last_updated__gt: Filter results where pulp_last_updated is greater than value
|
|
316
|
+
:type pulp_last_updated__gt: datetime
|
|
317
|
+
:param pulp_last_updated__gte: Filter results where pulp_last_updated is greater than or equal to value
|
|
318
|
+
:type pulp_last_updated__gte: datetime
|
|
319
|
+
:param pulp_last_updated__isnull: Filter results where pulp_last_updated has a null value
|
|
320
|
+
:type pulp_last_updated__isnull: bool
|
|
321
|
+
:param pulp_last_updated__lt: Filter results where pulp_last_updated is less than value
|
|
322
|
+
:type pulp_last_updated__lt: datetime
|
|
323
|
+
:param pulp_last_updated__lte: Filter results where pulp_last_updated is less than or equal to value
|
|
324
|
+
:type pulp_last_updated__lte: datetime
|
|
325
|
+
:param pulp_last_updated__range: Filter results where pulp_last_updated is between two comma separated values
|
|
326
|
+
:type pulp_last_updated__range: List[datetime]
|
|
327
|
+
:param pulp_type: Pulp type * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file
|
|
328
|
+
:type pulp_type: str
|
|
329
|
+
:param pulp_type__in: Multiple values may be separated by commas. * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file
|
|
330
|
+
:type pulp_type__in: List[str]
|
|
331
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
332
|
+
:type q: str
|
|
333
|
+
:param fields: A list of fields to include in the response.
|
|
334
|
+
:type fields: List[str]
|
|
335
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
336
|
+
:type exclude_fields: List[str]
|
|
337
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
338
|
+
number provided, it will be total request
|
|
339
|
+
timeout. It can also be a pair (tuple) of
|
|
340
|
+
(connection, read) timeouts.
|
|
341
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
342
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
343
|
+
request; this effectively ignores the
|
|
344
|
+
authentication in the spec for a single request.
|
|
345
|
+
:type _request_auth: dict, optional
|
|
346
|
+
:param _content_type: force content-type for the request.
|
|
347
|
+
:type _content_type: str, Optional
|
|
348
|
+
:param _headers: set to override the headers for a single
|
|
349
|
+
request; this effectively ignores the headers
|
|
350
|
+
in the spec for a single request.
|
|
351
|
+
:type _headers: dict, optional
|
|
352
|
+
:param _host_index: set to override the host_index for a single
|
|
353
|
+
request; this effectively ignores the host_index
|
|
354
|
+
in the spec for a single request.
|
|
355
|
+
:type _host_index: int, optional
|
|
356
|
+
:return: Returns the result object.
|
|
357
|
+
""" # noqa: E501
|
|
358
|
+
|
|
359
|
+
_param = self._list_serialize(
|
|
360
|
+
pulp_domain=pulp_domain,
|
|
361
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
362
|
+
limit=limit,
|
|
363
|
+
name=name,
|
|
364
|
+
name__contains=name__contains,
|
|
365
|
+
name__icontains=name__icontains,
|
|
366
|
+
name__iexact=name__iexact,
|
|
367
|
+
name__in=name__in,
|
|
368
|
+
name__iregex=name__iregex,
|
|
369
|
+
name__istartswith=name__istartswith,
|
|
370
|
+
name__regex=name__regex,
|
|
371
|
+
name__startswith=name__startswith,
|
|
372
|
+
offset=offset,
|
|
373
|
+
ordering=ordering,
|
|
374
|
+
prn__in=prn__in,
|
|
375
|
+
pulp_href__in=pulp_href__in,
|
|
376
|
+
pulp_id__in=pulp_id__in,
|
|
377
|
+
pulp_label_select=pulp_label_select,
|
|
378
|
+
pulp_last_updated=pulp_last_updated,
|
|
379
|
+
pulp_last_updated__gt=pulp_last_updated__gt,
|
|
380
|
+
pulp_last_updated__gte=pulp_last_updated__gte,
|
|
381
|
+
pulp_last_updated__isnull=pulp_last_updated__isnull,
|
|
382
|
+
pulp_last_updated__lt=pulp_last_updated__lt,
|
|
383
|
+
pulp_last_updated__lte=pulp_last_updated__lte,
|
|
384
|
+
pulp_last_updated__range=pulp_last_updated__range,
|
|
385
|
+
pulp_type=pulp_type,
|
|
386
|
+
pulp_type__in=pulp_type__in,
|
|
387
|
+
q=q,
|
|
388
|
+
fields=fields,
|
|
389
|
+
exclude_fields=exclude_fields,
|
|
390
|
+
_request_auth=_request_auth,
|
|
391
|
+
_content_type=_content_type,
|
|
392
|
+
_headers=_headers,
|
|
393
|
+
_host_index=_host_index
|
|
394
|
+
)
|
|
395
|
+
|
|
396
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
397
|
+
'200': "PaginatedGenericRemoteResponseList",
|
|
398
|
+
}
|
|
399
|
+
response_data = self.api_client.call_api(
|
|
400
|
+
*_param,
|
|
401
|
+
_request_timeout=_request_timeout
|
|
402
|
+
)
|
|
403
|
+
response_data.read()
|
|
404
|
+
return self.api_client.response_deserialize(
|
|
405
|
+
response_data=response_data,
|
|
406
|
+
response_types_map=_response_types_map,
|
|
407
|
+
)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
@validate_call
|
|
411
|
+
def list_without_preload_content(
|
|
412
|
+
self,
|
|
413
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
414
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
415
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
416
|
+
name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
|
|
417
|
+
name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
|
|
418
|
+
name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
419
|
+
name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
|
|
420
|
+
name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
|
|
421
|
+
name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
422
|
+
name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
|
|
423
|
+
name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
424
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
425
|
+
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
426
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
427
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
428
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
429
|
+
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
430
|
+
pulp_last_updated: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated matches value")] = None,
|
|
431
|
+
pulp_last_updated__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than value")] = None,
|
|
432
|
+
pulp_last_updated__gte: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than or equal to value")] = None,
|
|
433
|
+
pulp_last_updated__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where pulp_last_updated has a null value")] = None,
|
|
434
|
+
pulp_last_updated__lt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is less than value")] = None,
|
|
435
|
+
pulp_last_updated__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is less than or equal to value")] = None,
|
|
436
|
+
pulp_last_updated__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_last_updated is between two comma separated values")] = None,
|
|
437
|
+
pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file")] = None,
|
|
438
|
+
pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file")] = None,
|
|
439
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
440
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
441
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
442
|
+
pulp_domain: StrictStr = "default",
|
|
443
|
+
_request_timeout: Union[
|
|
444
|
+
None,
|
|
445
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
446
|
+
Tuple[
|
|
447
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
448
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
449
|
+
]
|
|
450
|
+
] = None,
|
|
451
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
452
|
+
_content_type: Optional[StrictStr] = None,
|
|
453
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
454
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
455
|
+
) -> RESTResponseType:
|
|
456
|
+
"""List remotes
|
|
457
|
+
|
|
458
|
+
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.
|
|
459
|
+
|
|
460
|
+
:param pulp_domain: (required)
|
|
461
|
+
:type pulp_domain: str
|
|
462
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
463
|
+
:type x_task_diagnostics: List[str]
|
|
464
|
+
:param limit: Number of results to return per page.
|
|
465
|
+
:type limit: int
|
|
466
|
+
:param name: Filter results where name matches value
|
|
467
|
+
:type name: str
|
|
468
|
+
:param name__contains: Filter results where name contains value
|
|
469
|
+
:type name__contains: str
|
|
470
|
+
:param name__icontains: Filter results where name contains value
|
|
471
|
+
:type name__icontains: str
|
|
472
|
+
:param name__iexact: Filter results where name matches value
|
|
473
|
+
:type name__iexact: str
|
|
474
|
+
:param name__in: Filter results where name is in a comma-separated list of values
|
|
475
|
+
:type name__in: List[str]
|
|
476
|
+
:param name__iregex: Filter results where name matches regex value
|
|
477
|
+
:type name__iregex: str
|
|
478
|
+
:param name__istartswith: Filter results where name starts with value
|
|
479
|
+
:type name__istartswith: str
|
|
480
|
+
:param name__regex: Filter results where name matches regex value
|
|
481
|
+
:type name__regex: str
|
|
482
|
+
:param name__startswith: Filter results where name starts with value
|
|
483
|
+
:type name__startswith: str
|
|
484
|
+
:param offset: The initial index from which to return the results.
|
|
485
|
+
:type offset: int
|
|
486
|
+
: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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
487
|
+
:type ordering: List[str]
|
|
488
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
489
|
+
:type prn__in: List[str]
|
|
490
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
491
|
+
:type pulp_href__in: List[str]
|
|
492
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
493
|
+
:type pulp_id__in: List[str]
|
|
494
|
+
:param pulp_label_select: Filter labels by search string
|
|
495
|
+
:type pulp_label_select: str
|
|
496
|
+
:param pulp_last_updated: Filter results where pulp_last_updated matches value
|
|
497
|
+
:type pulp_last_updated: datetime
|
|
498
|
+
:param pulp_last_updated__gt: Filter results where pulp_last_updated is greater than value
|
|
499
|
+
:type pulp_last_updated__gt: datetime
|
|
500
|
+
:param pulp_last_updated__gte: Filter results where pulp_last_updated is greater than or equal to value
|
|
501
|
+
:type pulp_last_updated__gte: datetime
|
|
502
|
+
:param pulp_last_updated__isnull: Filter results where pulp_last_updated has a null value
|
|
503
|
+
:type pulp_last_updated__isnull: bool
|
|
504
|
+
:param pulp_last_updated__lt: Filter results where pulp_last_updated is less than value
|
|
505
|
+
:type pulp_last_updated__lt: datetime
|
|
506
|
+
:param pulp_last_updated__lte: Filter results where pulp_last_updated is less than or equal to value
|
|
507
|
+
:type pulp_last_updated__lte: datetime
|
|
508
|
+
:param pulp_last_updated__range: Filter results where pulp_last_updated is between two comma separated values
|
|
509
|
+
:type pulp_last_updated__range: List[datetime]
|
|
510
|
+
:param pulp_type: Pulp type * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file
|
|
511
|
+
:type pulp_type: str
|
|
512
|
+
:param pulp_type__in: Multiple values may be separated by commas. * `container.container` - container.container * `container.pull-through` - container.pull-through * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.maven` - maven.maven * `npm.npm` - npm.npm * `ostree.ostree` - ostree.ostree * `python.python` - python.python * `rpm.rpm` - rpm.rpm * `rpm.uln` - rpm.uln * `file.file` - file.file
|
|
513
|
+
:type pulp_type__in: List[str]
|
|
514
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
515
|
+
:type q: str
|
|
516
|
+
:param fields: A list of fields to include in the response.
|
|
517
|
+
:type fields: List[str]
|
|
518
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
519
|
+
:type exclude_fields: List[str]
|
|
520
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
521
|
+
number provided, it will be total request
|
|
522
|
+
timeout. It can also be a pair (tuple) of
|
|
523
|
+
(connection, read) timeouts.
|
|
524
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
525
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
526
|
+
request; this effectively ignores the
|
|
527
|
+
authentication in the spec for a single request.
|
|
528
|
+
:type _request_auth: dict, optional
|
|
529
|
+
:param _content_type: force content-type for the request.
|
|
530
|
+
:type _content_type: str, Optional
|
|
531
|
+
:param _headers: set to override the headers for a single
|
|
532
|
+
request; this effectively ignores the headers
|
|
533
|
+
in the spec for a single request.
|
|
534
|
+
:type _headers: dict, optional
|
|
535
|
+
:param _host_index: set to override the host_index for a single
|
|
536
|
+
request; this effectively ignores the host_index
|
|
537
|
+
in the spec for a single request.
|
|
538
|
+
:type _host_index: int, optional
|
|
539
|
+
:return: Returns the result object.
|
|
540
|
+
""" # noqa: E501
|
|
541
|
+
|
|
542
|
+
_param = self._list_serialize(
|
|
543
|
+
pulp_domain=pulp_domain,
|
|
544
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
545
|
+
limit=limit,
|
|
546
|
+
name=name,
|
|
547
|
+
name__contains=name__contains,
|
|
548
|
+
name__icontains=name__icontains,
|
|
549
|
+
name__iexact=name__iexact,
|
|
550
|
+
name__in=name__in,
|
|
551
|
+
name__iregex=name__iregex,
|
|
552
|
+
name__istartswith=name__istartswith,
|
|
553
|
+
name__regex=name__regex,
|
|
554
|
+
name__startswith=name__startswith,
|
|
555
|
+
offset=offset,
|
|
556
|
+
ordering=ordering,
|
|
557
|
+
prn__in=prn__in,
|
|
558
|
+
pulp_href__in=pulp_href__in,
|
|
559
|
+
pulp_id__in=pulp_id__in,
|
|
560
|
+
pulp_label_select=pulp_label_select,
|
|
561
|
+
pulp_last_updated=pulp_last_updated,
|
|
562
|
+
pulp_last_updated__gt=pulp_last_updated__gt,
|
|
563
|
+
pulp_last_updated__gte=pulp_last_updated__gte,
|
|
564
|
+
pulp_last_updated__isnull=pulp_last_updated__isnull,
|
|
565
|
+
pulp_last_updated__lt=pulp_last_updated__lt,
|
|
566
|
+
pulp_last_updated__lte=pulp_last_updated__lte,
|
|
567
|
+
pulp_last_updated__range=pulp_last_updated__range,
|
|
568
|
+
pulp_type=pulp_type,
|
|
569
|
+
pulp_type__in=pulp_type__in,
|
|
570
|
+
q=q,
|
|
571
|
+
fields=fields,
|
|
572
|
+
exclude_fields=exclude_fields,
|
|
573
|
+
_request_auth=_request_auth,
|
|
574
|
+
_content_type=_content_type,
|
|
575
|
+
_headers=_headers,
|
|
576
|
+
_host_index=_host_index
|
|
577
|
+
)
|
|
578
|
+
|
|
579
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
580
|
+
'200': "PaginatedGenericRemoteResponseList",
|
|
581
|
+
}
|
|
582
|
+
response_data = self.api_client.call_api(
|
|
583
|
+
*_param,
|
|
584
|
+
_request_timeout=_request_timeout
|
|
585
|
+
)
|
|
586
|
+
return response_data.response
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
def _list_serialize(
|
|
590
|
+
self,
|
|
591
|
+
pulp_domain,
|
|
592
|
+
x_task_diagnostics,
|
|
593
|
+
limit,
|
|
594
|
+
name,
|
|
595
|
+
name__contains,
|
|
596
|
+
name__icontains,
|
|
597
|
+
name__iexact,
|
|
598
|
+
name__in,
|
|
599
|
+
name__iregex,
|
|
600
|
+
name__istartswith,
|
|
601
|
+
name__regex,
|
|
602
|
+
name__startswith,
|
|
603
|
+
offset,
|
|
604
|
+
ordering,
|
|
605
|
+
prn__in,
|
|
606
|
+
pulp_href__in,
|
|
607
|
+
pulp_id__in,
|
|
608
|
+
pulp_label_select,
|
|
609
|
+
pulp_last_updated,
|
|
610
|
+
pulp_last_updated__gt,
|
|
611
|
+
pulp_last_updated__gte,
|
|
612
|
+
pulp_last_updated__isnull,
|
|
613
|
+
pulp_last_updated__lt,
|
|
614
|
+
pulp_last_updated__lte,
|
|
615
|
+
pulp_last_updated__range,
|
|
616
|
+
pulp_type,
|
|
617
|
+
pulp_type__in,
|
|
618
|
+
q,
|
|
619
|
+
fields,
|
|
620
|
+
exclude_fields,
|
|
621
|
+
_request_auth,
|
|
622
|
+
_content_type,
|
|
623
|
+
_headers,
|
|
624
|
+
_host_index,
|
|
625
|
+
) -> RequestSerialized:
|
|
626
|
+
|
|
627
|
+
_host = None
|
|
628
|
+
|
|
629
|
+
_collection_formats: Dict[str, str] = {
|
|
630
|
+
'X-Task-Diagnostics': 'csv',
|
|
631
|
+
'name__in': 'csv',
|
|
632
|
+
'ordering': 'csv',
|
|
633
|
+
'prn__in': 'csv',
|
|
634
|
+
'pulp_href__in': 'csv',
|
|
635
|
+
'pulp_id__in': 'csv',
|
|
636
|
+
'pulp_last_updated__range': 'csv',
|
|
637
|
+
'pulp_type__in': 'csv',
|
|
638
|
+
'fields': 'multi',
|
|
639
|
+
'exclude_fields': 'multi',
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
_path_params: Dict[str, str] = {}
|
|
643
|
+
_query_params: List[Tuple[str, str]] = []
|
|
644
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
645
|
+
_form_params: List[Tuple[str, str]] = []
|
|
646
|
+
_files: Dict[
|
|
647
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
648
|
+
] = {}
|
|
649
|
+
_body_params: Optional[bytes] = None
|
|
650
|
+
|
|
651
|
+
# process the path parameters
|
|
652
|
+
if pulp_domain is not None:
|
|
653
|
+
_path_params['pulp_domain'] = pulp_domain
|
|
654
|
+
# process the query parameters
|
|
655
|
+
if limit is not None:
|
|
656
|
+
|
|
657
|
+
_query_params.append(('limit', limit))
|
|
658
|
+
|
|
659
|
+
if name is not None:
|
|
660
|
+
|
|
661
|
+
_query_params.append(('name', name))
|
|
662
|
+
|
|
663
|
+
if name__contains is not None:
|
|
664
|
+
|
|
665
|
+
_query_params.append(('name__contains', name__contains))
|
|
666
|
+
|
|
667
|
+
if name__icontains is not None:
|
|
668
|
+
|
|
669
|
+
_query_params.append(('name__icontains', name__icontains))
|
|
670
|
+
|
|
671
|
+
if name__iexact is not None:
|
|
672
|
+
|
|
673
|
+
_query_params.append(('name__iexact', name__iexact))
|
|
674
|
+
|
|
675
|
+
if name__in is not None:
|
|
676
|
+
|
|
677
|
+
_query_params.append(('name__in', name__in))
|
|
678
|
+
|
|
679
|
+
if name__iregex is not None:
|
|
680
|
+
|
|
681
|
+
_query_params.append(('name__iregex', name__iregex))
|
|
682
|
+
|
|
683
|
+
if name__istartswith is not None:
|
|
684
|
+
|
|
685
|
+
_query_params.append(('name__istartswith', name__istartswith))
|
|
686
|
+
|
|
687
|
+
if name__regex is not None:
|
|
688
|
+
|
|
689
|
+
_query_params.append(('name__regex', name__regex))
|
|
690
|
+
|
|
691
|
+
if name__startswith is not None:
|
|
692
|
+
|
|
693
|
+
_query_params.append(('name__startswith', name__startswith))
|
|
694
|
+
|
|
695
|
+
if offset is not None:
|
|
696
|
+
|
|
697
|
+
_query_params.append(('offset', offset))
|
|
698
|
+
|
|
699
|
+
if ordering is not None:
|
|
700
|
+
|
|
701
|
+
_query_params.append(('ordering', ordering))
|
|
702
|
+
|
|
703
|
+
if prn__in is not None:
|
|
704
|
+
|
|
705
|
+
_query_params.append(('prn__in', prn__in))
|
|
706
|
+
|
|
707
|
+
if pulp_href__in is not None:
|
|
708
|
+
|
|
709
|
+
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
710
|
+
|
|
711
|
+
if pulp_id__in is not None:
|
|
712
|
+
|
|
713
|
+
_query_params.append(('pulp_id__in', pulp_id__in))
|
|
714
|
+
|
|
715
|
+
if pulp_label_select is not None:
|
|
716
|
+
|
|
717
|
+
_query_params.append(('pulp_label_select', pulp_label_select))
|
|
718
|
+
|
|
719
|
+
if pulp_last_updated is not None:
|
|
720
|
+
if isinstance(pulp_last_updated, datetime):
|
|
721
|
+
_query_params.append(
|
|
722
|
+
(
|
|
723
|
+
'pulp_last_updated',
|
|
724
|
+
pulp_last_updated.strftime(
|
|
725
|
+
self.api_client.configuration.datetime_format
|
|
726
|
+
)
|
|
727
|
+
)
|
|
728
|
+
)
|
|
729
|
+
else:
|
|
730
|
+
_query_params.append(('pulp_last_updated', pulp_last_updated))
|
|
731
|
+
|
|
732
|
+
if pulp_last_updated__gt is not None:
|
|
733
|
+
if isinstance(pulp_last_updated__gt, datetime):
|
|
734
|
+
_query_params.append(
|
|
735
|
+
(
|
|
736
|
+
'pulp_last_updated__gt',
|
|
737
|
+
pulp_last_updated__gt.strftime(
|
|
738
|
+
self.api_client.configuration.datetime_format
|
|
739
|
+
)
|
|
740
|
+
)
|
|
741
|
+
)
|
|
742
|
+
else:
|
|
743
|
+
_query_params.append(('pulp_last_updated__gt', pulp_last_updated__gt))
|
|
744
|
+
|
|
745
|
+
if pulp_last_updated__gte is not None:
|
|
746
|
+
if isinstance(pulp_last_updated__gte, datetime):
|
|
747
|
+
_query_params.append(
|
|
748
|
+
(
|
|
749
|
+
'pulp_last_updated__gte',
|
|
750
|
+
pulp_last_updated__gte.strftime(
|
|
751
|
+
self.api_client.configuration.datetime_format
|
|
752
|
+
)
|
|
753
|
+
)
|
|
754
|
+
)
|
|
755
|
+
else:
|
|
756
|
+
_query_params.append(('pulp_last_updated__gte', pulp_last_updated__gte))
|
|
757
|
+
|
|
758
|
+
if pulp_last_updated__isnull is not None:
|
|
759
|
+
|
|
760
|
+
_query_params.append(('pulp_last_updated__isnull', pulp_last_updated__isnull))
|
|
761
|
+
|
|
762
|
+
if pulp_last_updated__lt is not None:
|
|
763
|
+
if isinstance(pulp_last_updated__lt, datetime):
|
|
764
|
+
_query_params.append(
|
|
765
|
+
(
|
|
766
|
+
'pulp_last_updated__lt',
|
|
767
|
+
pulp_last_updated__lt.strftime(
|
|
768
|
+
self.api_client.configuration.datetime_format
|
|
769
|
+
)
|
|
770
|
+
)
|
|
771
|
+
)
|
|
772
|
+
else:
|
|
773
|
+
_query_params.append(('pulp_last_updated__lt', pulp_last_updated__lt))
|
|
774
|
+
|
|
775
|
+
if pulp_last_updated__lte is not None:
|
|
776
|
+
if isinstance(pulp_last_updated__lte, datetime):
|
|
777
|
+
_query_params.append(
|
|
778
|
+
(
|
|
779
|
+
'pulp_last_updated__lte',
|
|
780
|
+
pulp_last_updated__lte.strftime(
|
|
781
|
+
self.api_client.configuration.datetime_format
|
|
782
|
+
)
|
|
783
|
+
)
|
|
784
|
+
)
|
|
785
|
+
else:
|
|
786
|
+
_query_params.append(('pulp_last_updated__lte', pulp_last_updated__lte))
|
|
787
|
+
|
|
788
|
+
if pulp_last_updated__range is not None:
|
|
789
|
+
|
|
790
|
+
_query_params.append(('pulp_last_updated__range', pulp_last_updated__range))
|
|
791
|
+
|
|
792
|
+
if pulp_type is not None:
|
|
793
|
+
|
|
794
|
+
_query_params.append(('pulp_type', pulp_type))
|
|
795
|
+
|
|
796
|
+
if pulp_type__in is not None:
|
|
797
|
+
|
|
798
|
+
_query_params.append(('pulp_type__in', pulp_type__in))
|
|
799
|
+
|
|
800
|
+
if q is not None:
|
|
801
|
+
|
|
802
|
+
_query_params.append(('q', q))
|
|
803
|
+
|
|
804
|
+
if fields is not None:
|
|
805
|
+
|
|
806
|
+
_query_params.append(('fields', fields))
|
|
807
|
+
|
|
808
|
+
if exclude_fields is not None:
|
|
809
|
+
|
|
810
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
811
|
+
|
|
812
|
+
# process the header parameters
|
|
813
|
+
if x_task_diagnostics is not None:
|
|
814
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
815
|
+
# process the form parameters
|
|
816
|
+
# process the body parameter
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
# set the HTTP header `Accept`
|
|
820
|
+
if 'Accept' not in _header_params:
|
|
821
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
822
|
+
[
|
|
823
|
+
'application/json'
|
|
824
|
+
]
|
|
825
|
+
)
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
# authentication setting
|
|
829
|
+
_auth_settings: List[str] = [
|
|
830
|
+
'json_header_remote_authentication',
|
|
831
|
+
'basicAuth',
|
|
832
|
+
'cookieAuth'
|
|
833
|
+
]
|
|
834
|
+
|
|
835
|
+
return self.api_client.param_serialize(
|
|
836
|
+
method='GET',
|
|
837
|
+
resource_path='/api/pulp/{pulp_domain}/api/v3/remotes/',
|
|
838
|
+
path_params=_path_params,
|
|
839
|
+
query_params=_query_params,
|
|
840
|
+
header_params=_header_params,
|
|
841
|
+
body=_body_params,
|
|
842
|
+
post_params=_form_params,
|
|
843
|
+
files=_files,
|
|
844
|
+
auth_settings=_auth_settings,
|
|
845
|
+
collection_formats=_collection_formats,
|
|
846
|
+
_host=_host,
|
|
847
|
+
_request_auth=_request_auth
|
|
848
|
+
)
|
|
849
|
+
|
|
850
|
+
|