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,1518 @@
|
|
|
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 pydantic import Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
+
from typing import List, Optional, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from crc-pulpcore-client.models.open_pgp_public_subkey_response import OpenPGPPublicSubkeyResponse
|
|
24
|
+
from crc-pulpcore-client.models.paginated_open_pgp_public_subkey_response_list import PaginatedOpenPGPPublicSubkeyResponseList
|
|
25
|
+
from crc-pulpcore-client.models.set_label import SetLabel
|
|
26
|
+
from crc-pulpcore-client.models.set_label_response import SetLabelResponse
|
|
27
|
+
from crc-pulpcore-client.models.unset_label import UnsetLabel
|
|
28
|
+
from crc-pulpcore-client.models.unset_label_response import UnsetLabelResponse
|
|
29
|
+
|
|
30
|
+
from crc-pulpcore-client.api_client import ApiClient, RequestSerialized
|
|
31
|
+
from crc-pulpcore-client.api_response import ApiResponse
|
|
32
|
+
from crc-pulpcore-client.rest import RESTResponseType
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class ContentOpenpgpPublicsubkeyApi:
|
|
36
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
37
|
+
Ref: https://openapi-generator.tech
|
|
38
|
+
|
|
39
|
+
Do not edit the class manually.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
def __init__(self, api_client=None) -> None:
|
|
43
|
+
if api_client is None:
|
|
44
|
+
api_client = ApiClient.get_default()
|
|
45
|
+
self.api_client = api_client
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@validate_call
|
|
49
|
+
def list(
|
|
50
|
+
self,
|
|
51
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
52
|
+
fingerprint: Annotated[Optional[StrictStr], Field(description="Filter results where fingerprint matches value")] = None,
|
|
53
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
54
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
55
|
+
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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
56
|
+
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
57
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
58
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
59
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
60
|
+
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
61
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
62
|
+
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
63
|
+
repository_version_added: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
64
|
+
repository_version_removed: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
65
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
66
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
67
|
+
pulp_domain: StrictStr = "default",
|
|
68
|
+
_request_timeout: Union[
|
|
69
|
+
None,
|
|
70
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
71
|
+
Tuple[
|
|
72
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
73
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
74
|
+
]
|
|
75
|
+
] = None,
|
|
76
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
77
|
+
_content_type: Optional[StrictStr] = None,
|
|
78
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
79
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
80
|
+
) -> PaginatedOpenPGPPublicSubkeyResponseList:
|
|
81
|
+
"""List open pgp public subkeys
|
|
82
|
+
|
|
83
|
+
Content viewset that supports only GET by default.
|
|
84
|
+
|
|
85
|
+
:param pulp_domain: (required)
|
|
86
|
+
:type pulp_domain: str
|
|
87
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
88
|
+
:type x_task_diagnostics: List[str]
|
|
89
|
+
:param fingerprint: Filter results where fingerprint matches value
|
|
90
|
+
:type fingerprint: str
|
|
91
|
+
:param limit: Number of results to return per page.
|
|
92
|
+
:type limit: int
|
|
93
|
+
:param offset: The initial index from which to return the results.
|
|
94
|
+
:type offset: int
|
|
95
|
+
: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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
96
|
+
:type ordering: List[str]
|
|
97
|
+
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
98
|
+
:type orphaned_for: float
|
|
99
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
100
|
+
:type prn__in: List[str]
|
|
101
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
102
|
+
:type pulp_href__in: List[str]
|
|
103
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
104
|
+
:type pulp_id__in: List[str]
|
|
105
|
+
:param pulp_label_select: Filter labels by search string
|
|
106
|
+
:type pulp_label_select: str
|
|
107
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
108
|
+
:type q: str
|
|
109
|
+
:param repository_version: Repository Version referenced by HREF/PRN
|
|
110
|
+
:type repository_version: str
|
|
111
|
+
:param repository_version_added: Repository Version referenced by HREF/PRN
|
|
112
|
+
:type repository_version_added: str
|
|
113
|
+
:param repository_version_removed: Repository Version referenced by HREF/PRN
|
|
114
|
+
:type repository_version_removed: str
|
|
115
|
+
:param fields: A list of fields to include in the response.
|
|
116
|
+
:type fields: List[str]
|
|
117
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
118
|
+
:type exclude_fields: List[str]
|
|
119
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
120
|
+
number provided, it will be total request
|
|
121
|
+
timeout. It can also be a pair (tuple) of
|
|
122
|
+
(connection, read) timeouts.
|
|
123
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
124
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
125
|
+
request; this effectively ignores the
|
|
126
|
+
authentication in the spec for a single request.
|
|
127
|
+
:type _request_auth: dict, optional
|
|
128
|
+
:param _content_type: force content-type for the request.
|
|
129
|
+
:type _content_type: str, Optional
|
|
130
|
+
:param _headers: set to override the headers for a single
|
|
131
|
+
request; this effectively ignores the headers
|
|
132
|
+
in the spec for a single request.
|
|
133
|
+
:type _headers: dict, optional
|
|
134
|
+
:param _host_index: set to override the host_index for a single
|
|
135
|
+
request; this effectively ignores the host_index
|
|
136
|
+
in the spec for a single request.
|
|
137
|
+
:type _host_index: int, optional
|
|
138
|
+
:return: Returns the result object.
|
|
139
|
+
""" # noqa: E501
|
|
140
|
+
|
|
141
|
+
_param = self._list_serialize(
|
|
142
|
+
pulp_domain=pulp_domain,
|
|
143
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
144
|
+
fingerprint=fingerprint,
|
|
145
|
+
limit=limit,
|
|
146
|
+
offset=offset,
|
|
147
|
+
ordering=ordering,
|
|
148
|
+
orphaned_for=orphaned_for,
|
|
149
|
+
prn__in=prn__in,
|
|
150
|
+
pulp_href__in=pulp_href__in,
|
|
151
|
+
pulp_id__in=pulp_id__in,
|
|
152
|
+
pulp_label_select=pulp_label_select,
|
|
153
|
+
q=q,
|
|
154
|
+
repository_version=repository_version,
|
|
155
|
+
repository_version_added=repository_version_added,
|
|
156
|
+
repository_version_removed=repository_version_removed,
|
|
157
|
+
fields=fields,
|
|
158
|
+
exclude_fields=exclude_fields,
|
|
159
|
+
_request_auth=_request_auth,
|
|
160
|
+
_content_type=_content_type,
|
|
161
|
+
_headers=_headers,
|
|
162
|
+
_host_index=_host_index
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
166
|
+
'200': "PaginatedOpenPGPPublicSubkeyResponseList",
|
|
167
|
+
}
|
|
168
|
+
response_data = self.api_client.call_api(
|
|
169
|
+
*_param,
|
|
170
|
+
_request_timeout=_request_timeout
|
|
171
|
+
)
|
|
172
|
+
response_data.read()
|
|
173
|
+
return self.api_client.response_deserialize(
|
|
174
|
+
response_data=response_data,
|
|
175
|
+
response_types_map=_response_types_map,
|
|
176
|
+
).data
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
@validate_call
|
|
180
|
+
def list_with_http_info(
|
|
181
|
+
self,
|
|
182
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
183
|
+
fingerprint: Annotated[Optional[StrictStr], Field(description="Filter results where fingerprint matches value")] = None,
|
|
184
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
185
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
186
|
+
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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
187
|
+
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
188
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
189
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
190
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
191
|
+
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
192
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
193
|
+
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
194
|
+
repository_version_added: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
195
|
+
repository_version_removed: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
196
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
197
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
198
|
+
pulp_domain: StrictStr = "default",
|
|
199
|
+
_request_timeout: Union[
|
|
200
|
+
None,
|
|
201
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
202
|
+
Tuple[
|
|
203
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
204
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
205
|
+
]
|
|
206
|
+
] = None,
|
|
207
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
208
|
+
_content_type: Optional[StrictStr] = None,
|
|
209
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
210
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
211
|
+
) -> ApiResponse[PaginatedOpenPGPPublicSubkeyResponseList]:
|
|
212
|
+
"""List open pgp public subkeys
|
|
213
|
+
|
|
214
|
+
Content viewset that supports only GET by default.
|
|
215
|
+
|
|
216
|
+
:param pulp_domain: (required)
|
|
217
|
+
:type pulp_domain: str
|
|
218
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
219
|
+
:type x_task_diagnostics: List[str]
|
|
220
|
+
:param fingerprint: Filter results where fingerprint matches value
|
|
221
|
+
:type fingerprint: str
|
|
222
|
+
:param limit: Number of results to return per page.
|
|
223
|
+
:type limit: int
|
|
224
|
+
:param offset: The initial index from which to return the results.
|
|
225
|
+
:type offset: int
|
|
226
|
+
: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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
227
|
+
:type ordering: List[str]
|
|
228
|
+
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
229
|
+
:type orphaned_for: float
|
|
230
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
231
|
+
:type prn__in: List[str]
|
|
232
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
233
|
+
:type pulp_href__in: List[str]
|
|
234
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
235
|
+
:type pulp_id__in: List[str]
|
|
236
|
+
:param pulp_label_select: Filter labels by search string
|
|
237
|
+
:type pulp_label_select: str
|
|
238
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
239
|
+
:type q: str
|
|
240
|
+
:param repository_version: Repository Version referenced by HREF/PRN
|
|
241
|
+
:type repository_version: str
|
|
242
|
+
:param repository_version_added: Repository Version referenced by HREF/PRN
|
|
243
|
+
:type repository_version_added: str
|
|
244
|
+
:param repository_version_removed: Repository Version referenced by HREF/PRN
|
|
245
|
+
:type repository_version_removed: str
|
|
246
|
+
:param fields: A list of fields to include in the response.
|
|
247
|
+
:type fields: List[str]
|
|
248
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
249
|
+
:type exclude_fields: List[str]
|
|
250
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
251
|
+
number provided, it will be total request
|
|
252
|
+
timeout. It can also be a pair (tuple) of
|
|
253
|
+
(connection, read) timeouts.
|
|
254
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
255
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
256
|
+
request; this effectively ignores the
|
|
257
|
+
authentication in the spec for a single request.
|
|
258
|
+
:type _request_auth: dict, optional
|
|
259
|
+
:param _content_type: force content-type for the request.
|
|
260
|
+
:type _content_type: str, Optional
|
|
261
|
+
:param _headers: set to override the headers for a single
|
|
262
|
+
request; this effectively ignores the headers
|
|
263
|
+
in the spec for a single request.
|
|
264
|
+
:type _headers: dict, optional
|
|
265
|
+
:param _host_index: set to override the host_index for a single
|
|
266
|
+
request; this effectively ignores the host_index
|
|
267
|
+
in the spec for a single request.
|
|
268
|
+
:type _host_index: int, optional
|
|
269
|
+
:return: Returns the result object.
|
|
270
|
+
""" # noqa: E501
|
|
271
|
+
|
|
272
|
+
_param = self._list_serialize(
|
|
273
|
+
pulp_domain=pulp_domain,
|
|
274
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
275
|
+
fingerprint=fingerprint,
|
|
276
|
+
limit=limit,
|
|
277
|
+
offset=offset,
|
|
278
|
+
ordering=ordering,
|
|
279
|
+
orphaned_for=orphaned_for,
|
|
280
|
+
prn__in=prn__in,
|
|
281
|
+
pulp_href__in=pulp_href__in,
|
|
282
|
+
pulp_id__in=pulp_id__in,
|
|
283
|
+
pulp_label_select=pulp_label_select,
|
|
284
|
+
q=q,
|
|
285
|
+
repository_version=repository_version,
|
|
286
|
+
repository_version_added=repository_version_added,
|
|
287
|
+
repository_version_removed=repository_version_removed,
|
|
288
|
+
fields=fields,
|
|
289
|
+
exclude_fields=exclude_fields,
|
|
290
|
+
_request_auth=_request_auth,
|
|
291
|
+
_content_type=_content_type,
|
|
292
|
+
_headers=_headers,
|
|
293
|
+
_host_index=_host_index
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
297
|
+
'200': "PaginatedOpenPGPPublicSubkeyResponseList",
|
|
298
|
+
}
|
|
299
|
+
response_data = self.api_client.call_api(
|
|
300
|
+
*_param,
|
|
301
|
+
_request_timeout=_request_timeout
|
|
302
|
+
)
|
|
303
|
+
response_data.read()
|
|
304
|
+
return self.api_client.response_deserialize(
|
|
305
|
+
response_data=response_data,
|
|
306
|
+
response_types_map=_response_types_map,
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
@validate_call
|
|
311
|
+
def list_without_preload_content(
|
|
312
|
+
self,
|
|
313
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
314
|
+
fingerprint: Annotated[Optional[StrictStr], Field(description="Filter results where fingerprint matches value")] = None,
|
|
315
|
+
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
316
|
+
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
317
|
+
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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
318
|
+
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
319
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
320
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
321
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
322
|
+
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
323
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
324
|
+
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
325
|
+
repository_version_added: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
326
|
+
repository_version_removed: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
327
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
328
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
329
|
+
pulp_domain: StrictStr = "default",
|
|
330
|
+
_request_timeout: Union[
|
|
331
|
+
None,
|
|
332
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
333
|
+
Tuple[
|
|
334
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
335
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
336
|
+
]
|
|
337
|
+
] = None,
|
|
338
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
339
|
+
_content_type: Optional[StrictStr] = None,
|
|
340
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
341
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
342
|
+
) -> RESTResponseType:
|
|
343
|
+
"""List open pgp public subkeys
|
|
344
|
+
|
|
345
|
+
Content viewset that supports only GET by default.
|
|
346
|
+
|
|
347
|
+
:param pulp_domain: (required)
|
|
348
|
+
:type pulp_domain: str
|
|
349
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
350
|
+
:type x_task_diagnostics: List[str]
|
|
351
|
+
:param fingerprint: Filter results where fingerprint matches value
|
|
352
|
+
:type fingerprint: str
|
|
353
|
+
:param limit: Number of results to return per page.
|
|
354
|
+
:type limit: int
|
|
355
|
+
:param offset: The initial index from which to return the results.
|
|
356
|
+
:type offset: int
|
|
357
|
+
: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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
358
|
+
:type ordering: List[str]
|
|
359
|
+
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
360
|
+
:type orphaned_for: float
|
|
361
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
362
|
+
:type prn__in: List[str]
|
|
363
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
364
|
+
:type pulp_href__in: List[str]
|
|
365
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
366
|
+
:type pulp_id__in: List[str]
|
|
367
|
+
:param pulp_label_select: Filter labels by search string
|
|
368
|
+
:type pulp_label_select: str
|
|
369
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
370
|
+
:type q: str
|
|
371
|
+
:param repository_version: Repository Version referenced by HREF/PRN
|
|
372
|
+
:type repository_version: str
|
|
373
|
+
:param repository_version_added: Repository Version referenced by HREF/PRN
|
|
374
|
+
:type repository_version_added: str
|
|
375
|
+
:param repository_version_removed: Repository Version referenced by HREF/PRN
|
|
376
|
+
:type repository_version_removed: str
|
|
377
|
+
:param fields: A list of fields to include in the response.
|
|
378
|
+
:type fields: List[str]
|
|
379
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
380
|
+
:type exclude_fields: List[str]
|
|
381
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
382
|
+
number provided, it will be total request
|
|
383
|
+
timeout. It can also be a pair (tuple) of
|
|
384
|
+
(connection, read) timeouts.
|
|
385
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
386
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
387
|
+
request; this effectively ignores the
|
|
388
|
+
authentication in the spec for a single request.
|
|
389
|
+
:type _request_auth: dict, optional
|
|
390
|
+
:param _content_type: force content-type for the request.
|
|
391
|
+
:type _content_type: str, Optional
|
|
392
|
+
:param _headers: set to override the headers for a single
|
|
393
|
+
request; this effectively ignores the headers
|
|
394
|
+
in the spec for a single request.
|
|
395
|
+
:type _headers: dict, optional
|
|
396
|
+
:param _host_index: set to override the host_index for a single
|
|
397
|
+
request; this effectively ignores the host_index
|
|
398
|
+
in the spec for a single request.
|
|
399
|
+
:type _host_index: int, optional
|
|
400
|
+
:return: Returns the result object.
|
|
401
|
+
""" # noqa: E501
|
|
402
|
+
|
|
403
|
+
_param = self._list_serialize(
|
|
404
|
+
pulp_domain=pulp_domain,
|
|
405
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
406
|
+
fingerprint=fingerprint,
|
|
407
|
+
limit=limit,
|
|
408
|
+
offset=offset,
|
|
409
|
+
ordering=ordering,
|
|
410
|
+
orphaned_for=orphaned_for,
|
|
411
|
+
prn__in=prn__in,
|
|
412
|
+
pulp_href__in=pulp_href__in,
|
|
413
|
+
pulp_id__in=pulp_id__in,
|
|
414
|
+
pulp_label_select=pulp_label_select,
|
|
415
|
+
q=q,
|
|
416
|
+
repository_version=repository_version,
|
|
417
|
+
repository_version_added=repository_version_added,
|
|
418
|
+
repository_version_removed=repository_version_removed,
|
|
419
|
+
fields=fields,
|
|
420
|
+
exclude_fields=exclude_fields,
|
|
421
|
+
_request_auth=_request_auth,
|
|
422
|
+
_content_type=_content_type,
|
|
423
|
+
_headers=_headers,
|
|
424
|
+
_host_index=_host_index
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
428
|
+
'200': "PaginatedOpenPGPPublicSubkeyResponseList",
|
|
429
|
+
}
|
|
430
|
+
response_data = self.api_client.call_api(
|
|
431
|
+
*_param,
|
|
432
|
+
_request_timeout=_request_timeout
|
|
433
|
+
)
|
|
434
|
+
return response_data.response
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
def _list_serialize(
|
|
438
|
+
self,
|
|
439
|
+
pulp_domain,
|
|
440
|
+
x_task_diagnostics,
|
|
441
|
+
fingerprint,
|
|
442
|
+
limit,
|
|
443
|
+
offset,
|
|
444
|
+
ordering,
|
|
445
|
+
orphaned_for,
|
|
446
|
+
prn__in,
|
|
447
|
+
pulp_href__in,
|
|
448
|
+
pulp_id__in,
|
|
449
|
+
pulp_label_select,
|
|
450
|
+
q,
|
|
451
|
+
repository_version,
|
|
452
|
+
repository_version_added,
|
|
453
|
+
repository_version_removed,
|
|
454
|
+
fields,
|
|
455
|
+
exclude_fields,
|
|
456
|
+
_request_auth,
|
|
457
|
+
_content_type,
|
|
458
|
+
_headers,
|
|
459
|
+
_host_index,
|
|
460
|
+
) -> RequestSerialized:
|
|
461
|
+
|
|
462
|
+
_host = None
|
|
463
|
+
|
|
464
|
+
_collection_formats: Dict[str, str] = {
|
|
465
|
+
'X-Task-Diagnostics': 'csv',
|
|
466
|
+
'ordering': 'csv',
|
|
467
|
+
'prn__in': 'csv',
|
|
468
|
+
'pulp_href__in': 'csv',
|
|
469
|
+
'pulp_id__in': 'csv',
|
|
470
|
+
'fields': 'multi',
|
|
471
|
+
'exclude_fields': 'multi',
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
_path_params: Dict[str, str] = {}
|
|
475
|
+
_query_params: List[Tuple[str, str]] = []
|
|
476
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
477
|
+
_form_params: List[Tuple[str, str]] = []
|
|
478
|
+
_files: Dict[
|
|
479
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
480
|
+
] = {}
|
|
481
|
+
_body_params: Optional[bytes] = None
|
|
482
|
+
|
|
483
|
+
# process the path parameters
|
|
484
|
+
if pulp_domain is not None:
|
|
485
|
+
_path_params['pulp_domain'] = pulp_domain
|
|
486
|
+
# process the query parameters
|
|
487
|
+
if fingerprint is not None:
|
|
488
|
+
|
|
489
|
+
_query_params.append(('fingerprint', fingerprint))
|
|
490
|
+
|
|
491
|
+
if limit is not None:
|
|
492
|
+
|
|
493
|
+
_query_params.append(('limit', limit))
|
|
494
|
+
|
|
495
|
+
if offset is not None:
|
|
496
|
+
|
|
497
|
+
_query_params.append(('offset', offset))
|
|
498
|
+
|
|
499
|
+
if ordering is not None:
|
|
500
|
+
|
|
501
|
+
_query_params.append(('ordering', ordering))
|
|
502
|
+
|
|
503
|
+
if orphaned_for is not None:
|
|
504
|
+
|
|
505
|
+
_query_params.append(('orphaned_for', orphaned_for))
|
|
506
|
+
|
|
507
|
+
if prn__in is not None:
|
|
508
|
+
|
|
509
|
+
_query_params.append(('prn__in', prn__in))
|
|
510
|
+
|
|
511
|
+
if pulp_href__in is not None:
|
|
512
|
+
|
|
513
|
+
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
514
|
+
|
|
515
|
+
if pulp_id__in is not None:
|
|
516
|
+
|
|
517
|
+
_query_params.append(('pulp_id__in', pulp_id__in))
|
|
518
|
+
|
|
519
|
+
if pulp_label_select is not None:
|
|
520
|
+
|
|
521
|
+
_query_params.append(('pulp_label_select', pulp_label_select))
|
|
522
|
+
|
|
523
|
+
if q is not None:
|
|
524
|
+
|
|
525
|
+
_query_params.append(('q', q))
|
|
526
|
+
|
|
527
|
+
if repository_version is not None:
|
|
528
|
+
|
|
529
|
+
_query_params.append(('repository_version', repository_version))
|
|
530
|
+
|
|
531
|
+
if repository_version_added is not None:
|
|
532
|
+
|
|
533
|
+
_query_params.append(('repository_version_added', repository_version_added))
|
|
534
|
+
|
|
535
|
+
if repository_version_removed is not None:
|
|
536
|
+
|
|
537
|
+
_query_params.append(('repository_version_removed', repository_version_removed))
|
|
538
|
+
|
|
539
|
+
if fields is not None:
|
|
540
|
+
|
|
541
|
+
_query_params.append(('fields', fields))
|
|
542
|
+
|
|
543
|
+
if exclude_fields is not None:
|
|
544
|
+
|
|
545
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
546
|
+
|
|
547
|
+
# process the header parameters
|
|
548
|
+
if x_task_diagnostics is not None:
|
|
549
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
550
|
+
# process the form parameters
|
|
551
|
+
# process the body parameter
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
# set the HTTP header `Accept`
|
|
555
|
+
if 'Accept' not in _header_params:
|
|
556
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
557
|
+
[
|
|
558
|
+
'application/json'
|
|
559
|
+
]
|
|
560
|
+
)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
# authentication setting
|
|
564
|
+
_auth_settings: List[str] = [
|
|
565
|
+
'json_header_remote_authentication',
|
|
566
|
+
'basicAuth',
|
|
567
|
+
'cookieAuth'
|
|
568
|
+
]
|
|
569
|
+
|
|
570
|
+
return self.api_client.param_serialize(
|
|
571
|
+
method='GET',
|
|
572
|
+
resource_path='/api/pulp/{pulp_domain}/api/v3/content/core/openpgp_publicsubkey/',
|
|
573
|
+
path_params=_path_params,
|
|
574
|
+
query_params=_query_params,
|
|
575
|
+
header_params=_header_params,
|
|
576
|
+
body=_body_params,
|
|
577
|
+
post_params=_form_params,
|
|
578
|
+
files=_files,
|
|
579
|
+
auth_settings=_auth_settings,
|
|
580
|
+
collection_formats=_collection_formats,
|
|
581
|
+
_host=_host,
|
|
582
|
+
_request_auth=_request_auth
|
|
583
|
+
)
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
@validate_call
|
|
589
|
+
def read(
|
|
590
|
+
self,
|
|
591
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
592
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
593
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
594
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
595
|
+
_request_timeout: Union[
|
|
596
|
+
None,
|
|
597
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
598
|
+
Tuple[
|
|
599
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
600
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
601
|
+
]
|
|
602
|
+
] = None,
|
|
603
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
604
|
+
_content_type: Optional[StrictStr] = None,
|
|
605
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
606
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
607
|
+
) -> OpenPGPPublicSubkeyResponse:
|
|
608
|
+
"""Inspect an open pgp public subkey
|
|
609
|
+
|
|
610
|
+
Content viewset that supports only GET by default.
|
|
611
|
+
|
|
612
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
613
|
+
:type open_p_g_p_public_subkey_href: str
|
|
614
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
615
|
+
:type x_task_diagnostics: List[str]
|
|
616
|
+
:param fields: A list of fields to include in the response.
|
|
617
|
+
:type fields: List[str]
|
|
618
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
619
|
+
:type exclude_fields: List[str]
|
|
620
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
621
|
+
number provided, it will be total request
|
|
622
|
+
timeout. It can also be a pair (tuple) of
|
|
623
|
+
(connection, read) timeouts.
|
|
624
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
625
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
626
|
+
request; this effectively ignores the
|
|
627
|
+
authentication in the spec for a single request.
|
|
628
|
+
:type _request_auth: dict, optional
|
|
629
|
+
:param _content_type: force content-type for the request.
|
|
630
|
+
:type _content_type: str, Optional
|
|
631
|
+
:param _headers: set to override the headers for a single
|
|
632
|
+
request; this effectively ignores the headers
|
|
633
|
+
in the spec for a single request.
|
|
634
|
+
:type _headers: dict, optional
|
|
635
|
+
:param _host_index: set to override the host_index for a single
|
|
636
|
+
request; this effectively ignores the host_index
|
|
637
|
+
in the spec for a single request.
|
|
638
|
+
:type _host_index: int, optional
|
|
639
|
+
:return: Returns the result object.
|
|
640
|
+
""" # noqa: E501
|
|
641
|
+
|
|
642
|
+
_param = self._read_serialize(
|
|
643
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
644
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
645
|
+
fields=fields,
|
|
646
|
+
exclude_fields=exclude_fields,
|
|
647
|
+
_request_auth=_request_auth,
|
|
648
|
+
_content_type=_content_type,
|
|
649
|
+
_headers=_headers,
|
|
650
|
+
_host_index=_host_index
|
|
651
|
+
)
|
|
652
|
+
|
|
653
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
654
|
+
'200': "OpenPGPPublicSubkeyResponse",
|
|
655
|
+
}
|
|
656
|
+
response_data = self.api_client.call_api(
|
|
657
|
+
*_param,
|
|
658
|
+
_request_timeout=_request_timeout
|
|
659
|
+
)
|
|
660
|
+
response_data.read()
|
|
661
|
+
return self.api_client.response_deserialize(
|
|
662
|
+
response_data=response_data,
|
|
663
|
+
response_types_map=_response_types_map,
|
|
664
|
+
).data
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
@validate_call
|
|
668
|
+
def read_with_http_info(
|
|
669
|
+
self,
|
|
670
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
671
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
672
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
673
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
674
|
+
_request_timeout: Union[
|
|
675
|
+
None,
|
|
676
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
677
|
+
Tuple[
|
|
678
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
679
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
680
|
+
]
|
|
681
|
+
] = None,
|
|
682
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
683
|
+
_content_type: Optional[StrictStr] = None,
|
|
684
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
685
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
686
|
+
) -> ApiResponse[OpenPGPPublicSubkeyResponse]:
|
|
687
|
+
"""Inspect an open pgp public subkey
|
|
688
|
+
|
|
689
|
+
Content viewset that supports only GET by default.
|
|
690
|
+
|
|
691
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
692
|
+
:type open_p_g_p_public_subkey_href: str
|
|
693
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
694
|
+
:type x_task_diagnostics: List[str]
|
|
695
|
+
:param fields: A list of fields to include in the response.
|
|
696
|
+
:type fields: List[str]
|
|
697
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
698
|
+
:type exclude_fields: List[str]
|
|
699
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
700
|
+
number provided, it will be total request
|
|
701
|
+
timeout. It can also be a pair (tuple) of
|
|
702
|
+
(connection, read) timeouts.
|
|
703
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
704
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
705
|
+
request; this effectively ignores the
|
|
706
|
+
authentication in the spec for a single request.
|
|
707
|
+
:type _request_auth: dict, optional
|
|
708
|
+
:param _content_type: force content-type for the request.
|
|
709
|
+
:type _content_type: str, Optional
|
|
710
|
+
:param _headers: set to override the headers for a single
|
|
711
|
+
request; this effectively ignores the headers
|
|
712
|
+
in the spec for a single request.
|
|
713
|
+
:type _headers: dict, optional
|
|
714
|
+
:param _host_index: set to override the host_index for a single
|
|
715
|
+
request; this effectively ignores the host_index
|
|
716
|
+
in the spec for a single request.
|
|
717
|
+
:type _host_index: int, optional
|
|
718
|
+
:return: Returns the result object.
|
|
719
|
+
""" # noqa: E501
|
|
720
|
+
|
|
721
|
+
_param = self._read_serialize(
|
|
722
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
723
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
724
|
+
fields=fields,
|
|
725
|
+
exclude_fields=exclude_fields,
|
|
726
|
+
_request_auth=_request_auth,
|
|
727
|
+
_content_type=_content_type,
|
|
728
|
+
_headers=_headers,
|
|
729
|
+
_host_index=_host_index
|
|
730
|
+
)
|
|
731
|
+
|
|
732
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
733
|
+
'200': "OpenPGPPublicSubkeyResponse",
|
|
734
|
+
}
|
|
735
|
+
response_data = self.api_client.call_api(
|
|
736
|
+
*_param,
|
|
737
|
+
_request_timeout=_request_timeout
|
|
738
|
+
)
|
|
739
|
+
response_data.read()
|
|
740
|
+
return self.api_client.response_deserialize(
|
|
741
|
+
response_data=response_data,
|
|
742
|
+
response_types_map=_response_types_map,
|
|
743
|
+
)
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
@validate_call
|
|
747
|
+
def read_without_preload_content(
|
|
748
|
+
self,
|
|
749
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
750
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
751
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
752
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
753
|
+
_request_timeout: Union[
|
|
754
|
+
None,
|
|
755
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
756
|
+
Tuple[
|
|
757
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
758
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
759
|
+
]
|
|
760
|
+
] = None,
|
|
761
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
762
|
+
_content_type: Optional[StrictStr] = None,
|
|
763
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
764
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
765
|
+
) -> RESTResponseType:
|
|
766
|
+
"""Inspect an open pgp public subkey
|
|
767
|
+
|
|
768
|
+
Content viewset that supports only GET by default.
|
|
769
|
+
|
|
770
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
771
|
+
:type open_p_g_p_public_subkey_href: str
|
|
772
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
773
|
+
:type x_task_diagnostics: List[str]
|
|
774
|
+
:param fields: A list of fields to include in the response.
|
|
775
|
+
:type fields: List[str]
|
|
776
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
777
|
+
:type exclude_fields: List[str]
|
|
778
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
779
|
+
number provided, it will be total request
|
|
780
|
+
timeout. It can also be a pair (tuple) of
|
|
781
|
+
(connection, read) timeouts.
|
|
782
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
783
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
784
|
+
request; this effectively ignores the
|
|
785
|
+
authentication in the spec for a single request.
|
|
786
|
+
:type _request_auth: dict, optional
|
|
787
|
+
:param _content_type: force content-type for the request.
|
|
788
|
+
:type _content_type: str, Optional
|
|
789
|
+
:param _headers: set to override the headers for a single
|
|
790
|
+
request; this effectively ignores the headers
|
|
791
|
+
in the spec for a single request.
|
|
792
|
+
:type _headers: dict, optional
|
|
793
|
+
:param _host_index: set to override the host_index for a single
|
|
794
|
+
request; this effectively ignores the host_index
|
|
795
|
+
in the spec for a single request.
|
|
796
|
+
:type _host_index: int, optional
|
|
797
|
+
:return: Returns the result object.
|
|
798
|
+
""" # noqa: E501
|
|
799
|
+
|
|
800
|
+
_param = self._read_serialize(
|
|
801
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
802
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
803
|
+
fields=fields,
|
|
804
|
+
exclude_fields=exclude_fields,
|
|
805
|
+
_request_auth=_request_auth,
|
|
806
|
+
_content_type=_content_type,
|
|
807
|
+
_headers=_headers,
|
|
808
|
+
_host_index=_host_index
|
|
809
|
+
)
|
|
810
|
+
|
|
811
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
812
|
+
'200': "OpenPGPPublicSubkeyResponse",
|
|
813
|
+
}
|
|
814
|
+
response_data = self.api_client.call_api(
|
|
815
|
+
*_param,
|
|
816
|
+
_request_timeout=_request_timeout
|
|
817
|
+
)
|
|
818
|
+
return response_data.response
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
def _read_serialize(
|
|
822
|
+
self,
|
|
823
|
+
open_p_g_p_public_subkey_href,
|
|
824
|
+
x_task_diagnostics,
|
|
825
|
+
fields,
|
|
826
|
+
exclude_fields,
|
|
827
|
+
_request_auth,
|
|
828
|
+
_content_type,
|
|
829
|
+
_headers,
|
|
830
|
+
_host_index,
|
|
831
|
+
) -> RequestSerialized:
|
|
832
|
+
|
|
833
|
+
_host = None
|
|
834
|
+
|
|
835
|
+
_collection_formats: Dict[str, str] = {
|
|
836
|
+
'X-Task-Diagnostics': 'csv',
|
|
837
|
+
'fields': 'multi',
|
|
838
|
+
'exclude_fields': 'multi',
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
_path_params: Dict[str, str] = {}
|
|
842
|
+
_query_params: List[Tuple[str, str]] = []
|
|
843
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
844
|
+
_form_params: List[Tuple[str, str]] = []
|
|
845
|
+
_files: Dict[
|
|
846
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
847
|
+
] = {}
|
|
848
|
+
_body_params: Optional[bytes] = None
|
|
849
|
+
|
|
850
|
+
# process the path parameters
|
|
851
|
+
if open_p_g_p_public_subkey_href is not None:
|
|
852
|
+
_path_params['open_p_g_p_public_subkey_href'] = open_p_g_p_public_subkey_href
|
|
853
|
+
# process the query parameters
|
|
854
|
+
if fields is not None:
|
|
855
|
+
|
|
856
|
+
_query_params.append(('fields', fields))
|
|
857
|
+
|
|
858
|
+
if exclude_fields is not None:
|
|
859
|
+
|
|
860
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
861
|
+
|
|
862
|
+
# process the header parameters
|
|
863
|
+
if x_task_diagnostics is not None:
|
|
864
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
865
|
+
# process the form parameters
|
|
866
|
+
# process the body parameter
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
# set the HTTP header `Accept`
|
|
870
|
+
if 'Accept' not in _header_params:
|
|
871
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
872
|
+
[
|
|
873
|
+
'application/json'
|
|
874
|
+
]
|
|
875
|
+
)
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
# authentication setting
|
|
879
|
+
_auth_settings: List[str] = [
|
|
880
|
+
'json_header_remote_authentication',
|
|
881
|
+
'basicAuth',
|
|
882
|
+
'cookieAuth'
|
|
883
|
+
]
|
|
884
|
+
|
|
885
|
+
return self.api_client.param_serialize(
|
|
886
|
+
method='GET',
|
|
887
|
+
resource_path='{open_p_g_p_public_subkey_href}',
|
|
888
|
+
path_params=_path_params,
|
|
889
|
+
query_params=_query_params,
|
|
890
|
+
header_params=_header_params,
|
|
891
|
+
body=_body_params,
|
|
892
|
+
post_params=_form_params,
|
|
893
|
+
files=_files,
|
|
894
|
+
auth_settings=_auth_settings,
|
|
895
|
+
collection_formats=_collection_formats,
|
|
896
|
+
_host=_host,
|
|
897
|
+
_request_auth=_request_auth
|
|
898
|
+
)
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
@validate_call
|
|
904
|
+
def set_label(
|
|
905
|
+
self,
|
|
906
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
907
|
+
set_label: SetLabel,
|
|
908
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
909
|
+
_request_timeout: Union[
|
|
910
|
+
None,
|
|
911
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
912
|
+
Tuple[
|
|
913
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
914
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
915
|
+
]
|
|
916
|
+
] = None,
|
|
917
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
918
|
+
_content_type: Optional[StrictStr] = None,
|
|
919
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
920
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
921
|
+
) -> SetLabelResponse:
|
|
922
|
+
"""Set a label
|
|
923
|
+
|
|
924
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
925
|
+
|
|
926
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
927
|
+
:type open_p_g_p_public_subkey_href: str
|
|
928
|
+
:param set_label: (required)
|
|
929
|
+
:type set_label: SetLabel
|
|
930
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
931
|
+
:type x_task_diagnostics: List[str]
|
|
932
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
933
|
+
number provided, it will be total request
|
|
934
|
+
timeout. It can also be a pair (tuple) of
|
|
935
|
+
(connection, read) timeouts.
|
|
936
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
937
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
938
|
+
request; this effectively ignores the
|
|
939
|
+
authentication in the spec for a single request.
|
|
940
|
+
:type _request_auth: dict, optional
|
|
941
|
+
:param _content_type: force content-type for the request.
|
|
942
|
+
:type _content_type: str, Optional
|
|
943
|
+
:param _headers: set to override the headers for a single
|
|
944
|
+
request; this effectively ignores the headers
|
|
945
|
+
in the spec for a single request.
|
|
946
|
+
:type _headers: dict, optional
|
|
947
|
+
:param _host_index: set to override the host_index for a single
|
|
948
|
+
request; this effectively ignores the host_index
|
|
949
|
+
in the spec for a single request.
|
|
950
|
+
:type _host_index: int, optional
|
|
951
|
+
:return: Returns the result object.
|
|
952
|
+
""" # noqa: E501
|
|
953
|
+
|
|
954
|
+
_param = self._set_label_serialize(
|
|
955
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
956
|
+
set_label=set_label,
|
|
957
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
958
|
+
_request_auth=_request_auth,
|
|
959
|
+
_content_type=_content_type,
|
|
960
|
+
_headers=_headers,
|
|
961
|
+
_host_index=_host_index
|
|
962
|
+
)
|
|
963
|
+
|
|
964
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
965
|
+
'200': "SetLabelResponse",
|
|
966
|
+
}
|
|
967
|
+
response_data = self.api_client.call_api(
|
|
968
|
+
*_param,
|
|
969
|
+
_request_timeout=_request_timeout
|
|
970
|
+
)
|
|
971
|
+
response_data.read()
|
|
972
|
+
return self.api_client.response_deserialize(
|
|
973
|
+
response_data=response_data,
|
|
974
|
+
response_types_map=_response_types_map,
|
|
975
|
+
).data
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
@validate_call
|
|
979
|
+
def set_label_with_http_info(
|
|
980
|
+
self,
|
|
981
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
982
|
+
set_label: SetLabel,
|
|
983
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
984
|
+
_request_timeout: Union[
|
|
985
|
+
None,
|
|
986
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
987
|
+
Tuple[
|
|
988
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
989
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
990
|
+
]
|
|
991
|
+
] = None,
|
|
992
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
993
|
+
_content_type: Optional[StrictStr] = None,
|
|
994
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
995
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
996
|
+
) -> ApiResponse[SetLabelResponse]:
|
|
997
|
+
"""Set a label
|
|
998
|
+
|
|
999
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
1000
|
+
|
|
1001
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
1002
|
+
:type open_p_g_p_public_subkey_href: str
|
|
1003
|
+
:param set_label: (required)
|
|
1004
|
+
:type set_label: SetLabel
|
|
1005
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1006
|
+
:type x_task_diagnostics: List[str]
|
|
1007
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1008
|
+
number provided, it will be total request
|
|
1009
|
+
timeout. It can also be a pair (tuple) of
|
|
1010
|
+
(connection, read) timeouts.
|
|
1011
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1012
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1013
|
+
request; this effectively ignores the
|
|
1014
|
+
authentication in the spec for a single request.
|
|
1015
|
+
:type _request_auth: dict, optional
|
|
1016
|
+
:param _content_type: force content-type for the request.
|
|
1017
|
+
:type _content_type: str, Optional
|
|
1018
|
+
:param _headers: set to override the headers for a single
|
|
1019
|
+
request; this effectively ignores the headers
|
|
1020
|
+
in the spec for a single request.
|
|
1021
|
+
:type _headers: dict, optional
|
|
1022
|
+
:param _host_index: set to override the host_index for a single
|
|
1023
|
+
request; this effectively ignores the host_index
|
|
1024
|
+
in the spec for a single request.
|
|
1025
|
+
:type _host_index: int, optional
|
|
1026
|
+
:return: Returns the result object.
|
|
1027
|
+
""" # noqa: E501
|
|
1028
|
+
|
|
1029
|
+
_param = self._set_label_serialize(
|
|
1030
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
1031
|
+
set_label=set_label,
|
|
1032
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1033
|
+
_request_auth=_request_auth,
|
|
1034
|
+
_content_type=_content_type,
|
|
1035
|
+
_headers=_headers,
|
|
1036
|
+
_host_index=_host_index
|
|
1037
|
+
)
|
|
1038
|
+
|
|
1039
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1040
|
+
'200': "SetLabelResponse",
|
|
1041
|
+
}
|
|
1042
|
+
response_data = self.api_client.call_api(
|
|
1043
|
+
*_param,
|
|
1044
|
+
_request_timeout=_request_timeout
|
|
1045
|
+
)
|
|
1046
|
+
response_data.read()
|
|
1047
|
+
return self.api_client.response_deserialize(
|
|
1048
|
+
response_data=response_data,
|
|
1049
|
+
response_types_map=_response_types_map,
|
|
1050
|
+
)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
@validate_call
|
|
1054
|
+
def set_label_without_preload_content(
|
|
1055
|
+
self,
|
|
1056
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
1057
|
+
set_label: SetLabel,
|
|
1058
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1059
|
+
_request_timeout: Union[
|
|
1060
|
+
None,
|
|
1061
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1062
|
+
Tuple[
|
|
1063
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1064
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1065
|
+
]
|
|
1066
|
+
] = None,
|
|
1067
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1068
|
+
_content_type: Optional[StrictStr] = None,
|
|
1069
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1070
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1071
|
+
) -> RESTResponseType:
|
|
1072
|
+
"""Set a label
|
|
1073
|
+
|
|
1074
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
1075
|
+
|
|
1076
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
1077
|
+
:type open_p_g_p_public_subkey_href: str
|
|
1078
|
+
:param set_label: (required)
|
|
1079
|
+
:type set_label: SetLabel
|
|
1080
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1081
|
+
:type x_task_diagnostics: List[str]
|
|
1082
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1083
|
+
number provided, it will be total request
|
|
1084
|
+
timeout. It can also be a pair (tuple) of
|
|
1085
|
+
(connection, read) timeouts.
|
|
1086
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1087
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1088
|
+
request; this effectively ignores the
|
|
1089
|
+
authentication in the spec for a single request.
|
|
1090
|
+
:type _request_auth: dict, optional
|
|
1091
|
+
:param _content_type: force content-type for the request.
|
|
1092
|
+
:type _content_type: str, Optional
|
|
1093
|
+
:param _headers: set to override the headers for a single
|
|
1094
|
+
request; this effectively ignores the headers
|
|
1095
|
+
in the spec for a single request.
|
|
1096
|
+
:type _headers: dict, optional
|
|
1097
|
+
:param _host_index: set to override the host_index for a single
|
|
1098
|
+
request; this effectively ignores the host_index
|
|
1099
|
+
in the spec for a single request.
|
|
1100
|
+
:type _host_index: int, optional
|
|
1101
|
+
:return: Returns the result object.
|
|
1102
|
+
""" # noqa: E501
|
|
1103
|
+
|
|
1104
|
+
_param = self._set_label_serialize(
|
|
1105
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
1106
|
+
set_label=set_label,
|
|
1107
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1108
|
+
_request_auth=_request_auth,
|
|
1109
|
+
_content_type=_content_type,
|
|
1110
|
+
_headers=_headers,
|
|
1111
|
+
_host_index=_host_index
|
|
1112
|
+
)
|
|
1113
|
+
|
|
1114
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1115
|
+
'200': "SetLabelResponse",
|
|
1116
|
+
}
|
|
1117
|
+
response_data = self.api_client.call_api(
|
|
1118
|
+
*_param,
|
|
1119
|
+
_request_timeout=_request_timeout
|
|
1120
|
+
)
|
|
1121
|
+
return response_data.response
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
def _set_label_serialize(
|
|
1125
|
+
self,
|
|
1126
|
+
open_p_g_p_public_subkey_href,
|
|
1127
|
+
set_label,
|
|
1128
|
+
x_task_diagnostics,
|
|
1129
|
+
_request_auth,
|
|
1130
|
+
_content_type,
|
|
1131
|
+
_headers,
|
|
1132
|
+
_host_index,
|
|
1133
|
+
) -> RequestSerialized:
|
|
1134
|
+
|
|
1135
|
+
_host = None
|
|
1136
|
+
|
|
1137
|
+
_collection_formats: Dict[str, str] = {
|
|
1138
|
+
'X-Task-Diagnostics': 'csv',
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
_path_params: Dict[str, str] = {}
|
|
1142
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1143
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1144
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1145
|
+
_files: Dict[
|
|
1146
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1147
|
+
] = {}
|
|
1148
|
+
_body_params: Optional[bytes] = None
|
|
1149
|
+
|
|
1150
|
+
# process the path parameters
|
|
1151
|
+
if open_p_g_p_public_subkey_href is not None:
|
|
1152
|
+
_path_params['open_p_g_p_public_subkey_href'] = open_p_g_p_public_subkey_href
|
|
1153
|
+
# process the query parameters
|
|
1154
|
+
# process the header parameters
|
|
1155
|
+
if x_task_diagnostics is not None:
|
|
1156
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1157
|
+
# process the form parameters
|
|
1158
|
+
# process the body parameter
|
|
1159
|
+
if set_label is not None:
|
|
1160
|
+
_body_params = set_label
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
# set the HTTP header `Accept`
|
|
1164
|
+
if 'Accept' not in _header_params:
|
|
1165
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1166
|
+
[
|
|
1167
|
+
'application/json'
|
|
1168
|
+
]
|
|
1169
|
+
)
|
|
1170
|
+
|
|
1171
|
+
# set the HTTP header `Content-Type`
|
|
1172
|
+
if _content_type:
|
|
1173
|
+
_header_params['Content-Type'] = _content_type
|
|
1174
|
+
else:
|
|
1175
|
+
_default_content_type = (
|
|
1176
|
+
self.api_client.select_header_content_type(
|
|
1177
|
+
[
|
|
1178
|
+
'application/json',
|
|
1179
|
+
'application/x-www-form-urlencoded',
|
|
1180
|
+
'multipart/form-data'
|
|
1181
|
+
]
|
|
1182
|
+
)
|
|
1183
|
+
)
|
|
1184
|
+
if _default_content_type is not None:
|
|
1185
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1186
|
+
|
|
1187
|
+
# authentication setting
|
|
1188
|
+
_auth_settings: List[str] = [
|
|
1189
|
+
'json_header_remote_authentication',
|
|
1190
|
+
'basicAuth',
|
|
1191
|
+
'cookieAuth'
|
|
1192
|
+
]
|
|
1193
|
+
|
|
1194
|
+
return self.api_client.param_serialize(
|
|
1195
|
+
method='POST',
|
|
1196
|
+
resource_path='{open_p_g_p_public_subkey_href}set_label/',
|
|
1197
|
+
path_params=_path_params,
|
|
1198
|
+
query_params=_query_params,
|
|
1199
|
+
header_params=_header_params,
|
|
1200
|
+
body=_body_params,
|
|
1201
|
+
post_params=_form_params,
|
|
1202
|
+
files=_files,
|
|
1203
|
+
auth_settings=_auth_settings,
|
|
1204
|
+
collection_formats=_collection_formats,
|
|
1205
|
+
_host=_host,
|
|
1206
|
+
_request_auth=_request_auth
|
|
1207
|
+
)
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
@validate_call
|
|
1213
|
+
def unset_label(
|
|
1214
|
+
self,
|
|
1215
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
1216
|
+
unset_label: UnsetLabel,
|
|
1217
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1218
|
+
_request_timeout: Union[
|
|
1219
|
+
None,
|
|
1220
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1221
|
+
Tuple[
|
|
1222
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1223
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1224
|
+
]
|
|
1225
|
+
] = None,
|
|
1226
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1227
|
+
_content_type: Optional[StrictStr] = None,
|
|
1228
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1229
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1230
|
+
) -> UnsetLabelResponse:
|
|
1231
|
+
"""Unset a label
|
|
1232
|
+
|
|
1233
|
+
Unset a single pulp_label on the object.
|
|
1234
|
+
|
|
1235
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
1236
|
+
:type open_p_g_p_public_subkey_href: str
|
|
1237
|
+
:param unset_label: (required)
|
|
1238
|
+
:type unset_label: UnsetLabel
|
|
1239
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1240
|
+
:type x_task_diagnostics: List[str]
|
|
1241
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1242
|
+
number provided, it will be total request
|
|
1243
|
+
timeout. It can also be a pair (tuple) of
|
|
1244
|
+
(connection, read) timeouts.
|
|
1245
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1246
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1247
|
+
request; this effectively ignores the
|
|
1248
|
+
authentication in the spec for a single request.
|
|
1249
|
+
:type _request_auth: dict, optional
|
|
1250
|
+
:param _content_type: force content-type for the request.
|
|
1251
|
+
:type _content_type: str, Optional
|
|
1252
|
+
:param _headers: set to override the headers for a single
|
|
1253
|
+
request; this effectively ignores the headers
|
|
1254
|
+
in the spec for a single request.
|
|
1255
|
+
:type _headers: dict, optional
|
|
1256
|
+
:param _host_index: set to override the host_index for a single
|
|
1257
|
+
request; this effectively ignores the host_index
|
|
1258
|
+
in the spec for a single request.
|
|
1259
|
+
:type _host_index: int, optional
|
|
1260
|
+
:return: Returns the result object.
|
|
1261
|
+
""" # noqa: E501
|
|
1262
|
+
|
|
1263
|
+
_param = self._unset_label_serialize(
|
|
1264
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
1265
|
+
unset_label=unset_label,
|
|
1266
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1267
|
+
_request_auth=_request_auth,
|
|
1268
|
+
_content_type=_content_type,
|
|
1269
|
+
_headers=_headers,
|
|
1270
|
+
_host_index=_host_index
|
|
1271
|
+
)
|
|
1272
|
+
|
|
1273
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1274
|
+
'200': "UnsetLabelResponse",
|
|
1275
|
+
}
|
|
1276
|
+
response_data = self.api_client.call_api(
|
|
1277
|
+
*_param,
|
|
1278
|
+
_request_timeout=_request_timeout
|
|
1279
|
+
)
|
|
1280
|
+
response_data.read()
|
|
1281
|
+
return self.api_client.response_deserialize(
|
|
1282
|
+
response_data=response_data,
|
|
1283
|
+
response_types_map=_response_types_map,
|
|
1284
|
+
).data
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
@validate_call
|
|
1288
|
+
def unset_label_with_http_info(
|
|
1289
|
+
self,
|
|
1290
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
1291
|
+
unset_label: UnsetLabel,
|
|
1292
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1293
|
+
_request_timeout: Union[
|
|
1294
|
+
None,
|
|
1295
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1296
|
+
Tuple[
|
|
1297
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1298
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1299
|
+
]
|
|
1300
|
+
] = None,
|
|
1301
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1302
|
+
_content_type: Optional[StrictStr] = None,
|
|
1303
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1304
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1305
|
+
) -> ApiResponse[UnsetLabelResponse]:
|
|
1306
|
+
"""Unset a label
|
|
1307
|
+
|
|
1308
|
+
Unset a single pulp_label on the object.
|
|
1309
|
+
|
|
1310
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
1311
|
+
:type open_p_g_p_public_subkey_href: str
|
|
1312
|
+
:param unset_label: (required)
|
|
1313
|
+
:type unset_label: UnsetLabel
|
|
1314
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1315
|
+
:type x_task_diagnostics: List[str]
|
|
1316
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1317
|
+
number provided, it will be total request
|
|
1318
|
+
timeout. It can also be a pair (tuple) of
|
|
1319
|
+
(connection, read) timeouts.
|
|
1320
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1321
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1322
|
+
request; this effectively ignores the
|
|
1323
|
+
authentication in the spec for a single request.
|
|
1324
|
+
:type _request_auth: dict, optional
|
|
1325
|
+
:param _content_type: force content-type for the request.
|
|
1326
|
+
:type _content_type: str, Optional
|
|
1327
|
+
:param _headers: set to override the headers for a single
|
|
1328
|
+
request; this effectively ignores the headers
|
|
1329
|
+
in the spec for a single request.
|
|
1330
|
+
:type _headers: dict, optional
|
|
1331
|
+
:param _host_index: set to override the host_index for a single
|
|
1332
|
+
request; this effectively ignores the host_index
|
|
1333
|
+
in the spec for a single request.
|
|
1334
|
+
:type _host_index: int, optional
|
|
1335
|
+
:return: Returns the result object.
|
|
1336
|
+
""" # noqa: E501
|
|
1337
|
+
|
|
1338
|
+
_param = self._unset_label_serialize(
|
|
1339
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
1340
|
+
unset_label=unset_label,
|
|
1341
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1342
|
+
_request_auth=_request_auth,
|
|
1343
|
+
_content_type=_content_type,
|
|
1344
|
+
_headers=_headers,
|
|
1345
|
+
_host_index=_host_index
|
|
1346
|
+
)
|
|
1347
|
+
|
|
1348
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1349
|
+
'200': "UnsetLabelResponse",
|
|
1350
|
+
}
|
|
1351
|
+
response_data = self.api_client.call_api(
|
|
1352
|
+
*_param,
|
|
1353
|
+
_request_timeout=_request_timeout
|
|
1354
|
+
)
|
|
1355
|
+
response_data.read()
|
|
1356
|
+
return self.api_client.response_deserialize(
|
|
1357
|
+
response_data=response_data,
|
|
1358
|
+
response_types_map=_response_types_map,
|
|
1359
|
+
)
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
@validate_call
|
|
1363
|
+
def unset_label_without_preload_content(
|
|
1364
|
+
self,
|
|
1365
|
+
open_p_g_p_public_subkey_href: StrictStr,
|
|
1366
|
+
unset_label: UnsetLabel,
|
|
1367
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1368
|
+
_request_timeout: Union[
|
|
1369
|
+
None,
|
|
1370
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1371
|
+
Tuple[
|
|
1372
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1373
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1374
|
+
]
|
|
1375
|
+
] = None,
|
|
1376
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1377
|
+
_content_type: Optional[StrictStr] = None,
|
|
1378
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1379
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1380
|
+
) -> RESTResponseType:
|
|
1381
|
+
"""Unset a label
|
|
1382
|
+
|
|
1383
|
+
Unset a single pulp_label on the object.
|
|
1384
|
+
|
|
1385
|
+
:param open_p_g_p_public_subkey_href: (required)
|
|
1386
|
+
:type open_p_g_p_public_subkey_href: str
|
|
1387
|
+
:param unset_label: (required)
|
|
1388
|
+
:type unset_label: UnsetLabel
|
|
1389
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1390
|
+
:type x_task_diagnostics: List[str]
|
|
1391
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1392
|
+
number provided, it will be total request
|
|
1393
|
+
timeout. It can also be a pair (tuple) of
|
|
1394
|
+
(connection, read) timeouts.
|
|
1395
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1396
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1397
|
+
request; this effectively ignores the
|
|
1398
|
+
authentication in the spec for a single request.
|
|
1399
|
+
:type _request_auth: dict, optional
|
|
1400
|
+
:param _content_type: force content-type for the request.
|
|
1401
|
+
:type _content_type: str, Optional
|
|
1402
|
+
:param _headers: set to override the headers for a single
|
|
1403
|
+
request; this effectively ignores the headers
|
|
1404
|
+
in the spec for a single request.
|
|
1405
|
+
:type _headers: dict, optional
|
|
1406
|
+
:param _host_index: set to override the host_index for a single
|
|
1407
|
+
request; this effectively ignores the host_index
|
|
1408
|
+
in the spec for a single request.
|
|
1409
|
+
:type _host_index: int, optional
|
|
1410
|
+
:return: Returns the result object.
|
|
1411
|
+
""" # noqa: E501
|
|
1412
|
+
|
|
1413
|
+
_param = self._unset_label_serialize(
|
|
1414
|
+
open_p_g_p_public_subkey_href=open_p_g_p_public_subkey_href,
|
|
1415
|
+
unset_label=unset_label,
|
|
1416
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1417
|
+
_request_auth=_request_auth,
|
|
1418
|
+
_content_type=_content_type,
|
|
1419
|
+
_headers=_headers,
|
|
1420
|
+
_host_index=_host_index
|
|
1421
|
+
)
|
|
1422
|
+
|
|
1423
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1424
|
+
'200': "UnsetLabelResponse",
|
|
1425
|
+
}
|
|
1426
|
+
response_data = self.api_client.call_api(
|
|
1427
|
+
*_param,
|
|
1428
|
+
_request_timeout=_request_timeout
|
|
1429
|
+
)
|
|
1430
|
+
return response_data.response
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
def _unset_label_serialize(
|
|
1434
|
+
self,
|
|
1435
|
+
open_p_g_p_public_subkey_href,
|
|
1436
|
+
unset_label,
|
|
1437
|
+
x_task_diagnostics,
|
|
1438
|
+
_request_auth,
|
|
1439
|
+
_content_type,
|
|
1440
|
+
_headers,
|
|
1441
|
+
_host_index,
|
|
1442
|
+
) -> RequestSerialized:
|
|
1443
|
+
|
|
1444
|
+
_host = None
|
|
1445
|
+
|
|
1446
|
+
_collection_formats: Dict[str, str] = {
|
|
1447
|
+
'X-Task-Diagnostics': 'csv',
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
_path_params: Dict[str, str] = {}
|
|
1451
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1452
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1453
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1454
|
+
_files: Dict[
|
|
1455
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1456
|
+
] = {}
|
|
1457
|
+
_body_params: Optional[bytes] = None
|
|
1458
|
+
|
|
1459
|
+
# process the path parameters
|
|
1460
|
+
if open_p_g_p_public_subkey_href is not None:
|
|
1461
|
+
_path_params['open_p_g_p_public_subkey_href'] = open_p_g_p_public_subkey_href
|
|
1462
|
+
# process the query parameters
|
|
1463
|
+
# process the header parameters
|
|
1464
|
+
if x_task_diagnostics is not None:
|
|
1465
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1466
|
+
# process the form parameters
|
|
1467
|
+
# process the body parameter
|
|
1468
|
+
if unset_label is not None:
|
|
1469
|
+
_body_params = unset_label
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
# set the HTTP header `Accept`
|
|
1473
|
+
if 'Accept' not in _header_params:
|
|
1474
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1475
|
+
[
|
|
1476
|
+
'application/json'
|
|
1477
|
+
]
|
|
1478
|
+
)
|
|
1479
|
+
|
|
1480
|
+
# set the HTTP header `Content-Type`
|
|
1481
|
+
if _content_type:
|
|
1482
|
+
_header_params['Content-Type'] = _content_type
|
|
1483
|
+
else:
|
|
1484
|
+
_default_content_type = (
|
|
1485
|
+
self.api_client.select_header_content_type(
|
|
1486
|
+
[
|
|
1487
|
+
'application/json',
|
|
1488
|
+
'application/x-www-form-urlencoded',
|
|
1489
|
+
'multipart/form-data'
|
|
1490
|
+
]
|
|
1491
|
+
)
|
|
1492
|
+
)
|
|
1493
|
+
if _default_content_type is not None:
|
|
1494
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1495
|
+
|
|
1496
|
+
# authentication setting
|
|
1497
|
+
_auth_settings: List[str] = [
|
|
1498
|
+
'json_header_remote_authentication',
|
|
1499
|
+
'basicAuth',
|
|
1500
|
+
'cookieAuth'
|
|
1501
|
+
]
|
|
1502
|
+
|
|
1503
|
+
return self.api_client.param_serialize(
|
|
1504
|
+
method='POST',
|
|
1505
|
+
resource_path='{open_p_g_p_public_subkey_href}unset_label/',
|
|
1506
|
+
path_params=_path_params,
|
|
1507
|
+
query_params=_query_params,
|
|
1508
|
+
header_params=_header_params,
|
|
1509
|
+
body=_body_params,
|
|
1510
|
+
post_params=_form_params,
|
|
1511
|
+
files=_files,
|
|
1512
|
+
auth_settings=_auth_settings,
|
|
1513
|
+
collection_formats=_collection_formats,
|
|
1514
|
+
_host=_host,
|
|
1515
|
+
_request_auth=_request_auth
|
|
1516
|
+
)
|
|
1517
|
+
|
|
1518
|
+
|