pulp_rpm_client 3.13.2 → 3.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/pulp_rpm_client/api_client.rb +4 -2
- data/lib/pulp_rpm_client/configuration.rb +7 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- metadata +65 -339
- data/build/lib/pulpcore/__init__.py +0 -2
- data/build/lib/pulpcore/client/__init__.py +0 -2
- data/build/lib/pulpcore/client/pulp_rpm/__init__.py +0 -112
- data/build/lib/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
- data/build/lib/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
- data/build/lib/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
- data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
- data/build/lib/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
- data/build/lib/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
- data/build/lib/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
- data/build/lib/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
- data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
- data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
- data/build/lib/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
- data/build/lib/pulpcore/client/pulp_rpm/api_client.py +0 -667
- data/build/lib/pulpcore/client/pulp_rpm/configuration.py +0 -427
- data/build/lib/pulpcore/client/pulp_rpm/exceptions.py +0 -121
- data/build/lib/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
- data/build/lib/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
- data/build/lib/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
- data/build/lib/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
- data/build/lib/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
- data/build/lib/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
- data/build/lib/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_rpm/models/copy.py +0 -152
- data/build/lib/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
- data/build/lib/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
- data/build/lib/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
- data/build/lib/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
- data/build/lib/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
- data/build/lib/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
- data/build/lib/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
- data/build/lib/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
- data/build/lib/pulpcore/client/pulp_rpm/rest.py +0 -292
- data/dist/pulp_rpm-client-3.13.2.tar.gz +0 -0
- data/dist/pulp_rpm_client-3.13.2-py3-none-any.whl +0 -0
- data/pulp_rpm_client.egg-info/PKG-INFO +0 -15
- data/pulp_rpm_client.egg-info/SOURCES.txt +0 -179
- data/pulp_rpm_client.egg-info/dependency_links.txt +0 -1
- data/pulp_rpm_client.egg-info/requires.txt +0 -4
- data/pulp_rpm_client.egg-info/top_level.txt +0 -1
- data/pulpcore/__init__.py +0 -2
- data/pulpcore/client/__init__.py +0 -2
- data/pulpcore/client/pulp_rpm/__init__.py +0 -112
- data/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
- data/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
- data/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
- data/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
- data/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
- data/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
- data/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
- data/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
- data/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
- data/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
- data/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
- data/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
- data/pulpcore/client/pulp_rpm/api_client.py +0 -667
- data/pulpcore/client/pulp_rpm/configuration.py +0 -427
- data/pulpcore/client/pulp_rpm/exceptions.py +0 -121
- data/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
- data/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
- data/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
- data/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
- data/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
- data/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
- data/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
- data/pulpcore/client/pulp_rpm/models/copy.py +0 -152
- data/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
- data/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
- data/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
- data/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
- data/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
- data/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
- data/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
- data/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
- data/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
- data/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
- data/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
- data/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
- data/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
- data/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
- data/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
- data/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
- data/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
- data/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
- data/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
- data/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
- data/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
- data/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
- data/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
- data/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
- data/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
- data/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
- data/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
- data/pulpcore/client/pulp_rpm/rest.py +0 -292
- data/requirements.txt +0 -6
- data/setup.cfg +0 -2
- data/setup.py +0 -42
- data/test-requirements.txt +0 -3
- data/test/__init__.py +0 -0
- data/test/test_addon_response.py +0 -62
- data/test/test_artifact_response.py +0 -63
- data/test/test_async_operation_response.py +0 -54
- data/test/test_checksum_response.py +0 -56
- data/test/test_content_advisories_api.py +0 -55
- data/test/test_content_distribution_trees_api.py +0 -48
- data/test/test_content_modulemd_defaults_api.py +0 -55
- data/test/test_content_modulemds_api.py +0 -55
- data/test/test_content_packagecategories_api.py +0 -48
- data/test/test_content_packageenvironments_api.py +0 -48
- data/test/test_content_packagegroups_api.py +0 -48
- data/test/test_content_packagelangpacks_api.py +0 -48
- data/test/test_content_packages_api.py +0 -55
- data/test/test_content_repo_metadata_files_api.py +0 -48
- data/test/test_content_summary.py +0 -70
- data/test/test_content_summary_response.py +0 -70
- data/test/test_copy.py +0 -55
- data/test/test_distributions_rpm_api.py +0 -76
- data/test/test_image_response.py +0 -60
- data/test/test_metadata_checksum_type_enum.py +0 -52
- data/test/test_null_enum.py +0 -52
- data/test/test_package_checksum_type_enum.py +0 -52
- data/test/test_paginated_repository_version_response_list.py +0 -64
- data/test/test_paginatedrpm_distribution_tree_response_list.py +0 -106
- data/test/test_paginatedrpm_modulemd_defaults_response_list.py +0 -70
- data/test/test_paginatedrpm_modulemd_response_list.py +0 -78
- data/test/test_paginatedrpm_package_category_response_list.py +0 -68
- data/test/test_paginatedrpm_package_environment_response_list.py +0 -69
- data/test/test_paginatedrpm_package_group_response_list.py +0 -71
- data/test/test_paginatedrpm_package_langpacks_response_list.py +0 -62
- data/test/test_paginatedrpm_package_response_list.py +0 -103
- data/test/test_paginatedrpm_repo_metadata_file_response_list.py +0 -71
- data/test/test_paginatedrpm_rpm_distribution_response_list.py +0 -67
- data/test/test_paginatedrpm_rpm_publication_response_list.py +0 -67
- data/test/test_paginatedrpm_rpm_remote_response_list.py +0 -79
- data/test/test_paginatedrpm_rpm_repository_response_list.py +0 -75
- data/test/test_paginatedrpm_uln_remote_response_list.py +0 -81
- data/test/test_paginatedrpm_update_record_response_list.py +0 -88
- data/test/test_patchedrpm_rpm_distribution.py +0 -58
- data/test/test_patchedrpm_rpm_remote.py +0 -75
- data/test/test_patchedrpm_rpm_repository.py +0 -65
- data/test/test_patchedrpm_uln_remote.py +0 -75
- data/test/test_policy_enum.py +0 -52
- data/test/test_publications_rpm_api.py +0 -62
- data/test/test_remotes_rpm_api.py +0 -76
- data/test/test_remotes_uln_api.py +0 -76
- data/test/test_repositories_rpm_api.py +0 -90
- data/test/test_repositories_rpm_versions_api.py +0 -61
- data/test/test_repository_add_remove_content.py +0 -59
- data/test/test_repository_version.py +0 -53
- data/test/test_repository_version_response.py +0 -58
- data/test/test_rpm_copy_api.py +0 -41
- data/test/test_rpm_distribution_tree_response.py +0 -147
- data/test/test_rpm_modulemd.py +0 -75
- data/test/test_rpm_modulemd_defaults.py +0 -63
- data/test/test_rpm_modulemd_defaults_response.py +0 -67
- data/test/test_rpm_modulemd_response.py +0 -79
- data/test/test_rpm_package.py +0 -57
- data/test/test_rpm_package_category_response.py +0 -70
- data/test/test_rpm_package_environment_response.py +0 -72
- data/test/test_rpm_package_group_response.py +0 -73
- data/test/test_rpm_package_langpacks_response.py +0 -58
- data/test/test_rpm_package_response.py +0 -97
- data/test/test_rpm_repo_metadata_file_response.py +0 -69
- data/test/test_rpm_repository_sync_url.py +0 -58
- data/test/test_rpm_rpm_distribution.py +0 -60
- data/test/test_rpm_rpm_distribution_response.py +0 -63
- data/test/test_rpm_rpm_publication.py +0 -59
- data/test/test_rpm_rpm_publication_response.py +0 -61
- data/test/test_rpm_rpm_remote.py +0 -77
- data/test/test_rpm_rpm_remote_response.py +0 -75
- data/test/test_rpm_rpm_repository.py +0 -66
- data/test/test_rpm_rpm_repository_response.py +0 -70
- data/test/test_rpm_uln_remote.py +0 -79
- data/test/test_rpm_uln_remote_response.py +0 -79
- data/test/test_rpm_update_collection.py +0 -58
- data/test/test_rpm_update_collection_response.py +0 -61
- data/test/test_rpm_update_record.py +0 -54
- data/test/test_rpm_update_record_response.py +0 -82
- data/test/test_skip_types_enum.py +0 -52
- data/test/test_variant_response.py +0 -72
- data/tox.ini +0 -9
@@ -1,112 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
# flake8: noqa
|
4
|
-
|
5
|
-
"""
|
6
|
-
Pulp 3 API
|
7
|
-
|
8
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
9
|
-
|
10
|
-
The version of the OpenAPI document: v3
|
11
|
-
Contact: pulp-list@redhat.com
|
12
|
-
Generated by: https://openapi-generator.tech
|
13
|
-
"""
|
14
|
-
|
15
|
-
|
16
|
-
from __future__ import absolute_import
|
17
|
-
|
18
|
-
__version__ = "3.13.2"
|
19
|
-
|
20
|
-
# import apis into sdk package
|
21
|
-
from pulpcore.client.pulp_rpm.api.content_advisories_api import ContentAdvisoriesApi
|
22
|
-
from pulpcore.client.pulp_rpm.api.content_distribution_trees_api import ContentDistributionTreesApi
|
23
|
-
from pulpcore.client.pulp_rpm.api.content_modulemd_defaults_api import ContentModulemdDefaultsApi
|
24
|
-
from pulpcore.client.pulp_rpm.api.content_modulemds_api import ContentModulemdsApi
|
25
|
-
from pulpcore.client.pulp_rpm.api.content_packagecategories_api import ContentPackagecategoriesApi
|
26
|
-
from pulpcore.client.pulp_rpm.api.content_packageenvironments_api import ContentPackageenvironmentsApi
|
27
|
-
from pulpcore.client.pulp_rpm.api.content_packagegroups_api import ContentPackagegroupsApi
|
28
|
-
from pulpcore.client.pulp_rpm.api.content_packagelangpacks_api import ContentPackagelangpacksApi
|
29
|
-
from pulpcore.client.pulp_rpm.api.content_packages_api import ContentPackagesApi
|
30
|
-
from pulpcore.client.pulp_rpm.api.content_repo_metadata_files_api import ContentRepoMetadataFilesApi
|
31
|
-
from pulpcore.client.pulp_rpm.api.distributions_rpm_api import DistributionsRpmApi
|
32
|
-
from pulpcore.client.pulp_rpm.api.publications_rpm_api import PublicationsRpmApi
|
33
|
-
from pulpcore.client.pulp_rpm.api.remotes_rpm_api import RemotesRpmApi
|
34
|
-
from pulpcore.client.pulp_rpm.api.remotes_uln_api import RemotesUlnApi
|
35
|
-
from pulpcore.client.pulp_rpm.api.repositories_rpm_api import RepositoriesRpmApi
|
36
|
-
from pulpcore.client.pulp_rpm.api.repositories_rpm_versions_api import RepositoriesRpmVersionsApi
|
37
|
-
from pulpcore.client.pulp_rpm.api.rpm_copy_api import RpmCopyApi
|
38
|
-
|
39
|
-
# import ApiClient
|
40
|
-
from pulpcore.client.pulp_rpm.api_client import ApiClient
|
41
|
-
from pulpcore.client.pulp_rpm.configuration import Configuration
|
42
|
-
from pulpcore.client.pulp_rpm.exceptions import OpenApiException
|
43
|
-
from pulpcore.client.pulp_rpm.exceptions import ApiTypeError
|
44
|
-
from pulpcore.client.pulp_rpm.exceptions import ApiValueError
|
45
|
-
from pulpcore.client.pulp_rpm.exceptions import ApiKeyError
|
46
|
-
from pulpcore.client.pulp_rpm.exceptions import ApiException
|
47
|
-
# import models into sdk package
|
48
|
-
from pulpcore.client.pulp_rpm.models.addon_response import AddonResponse
|
49
|
-
from pulpcore.client.pulp_rpm.models.artifact_response import ArtifactResponse
|
50
|
-
from pulpcore.client.pulp_rpm.models.async_operation_response import AsyncOperationResponse
|
51
|
-
from pulpcore.client.pulp_rpm.models.checksum_response import ChecksumResponse
|
52
|
-
from pulpcore.client.pulp_rpm.models.content_summary import ContentSummary
|
53
|
-
from pulpcore.client.pulp_rpm.models.content_summary_response import ContentSummaryResponse
|
54
|
-
from pulpcore.client.pulp_rpm.models.copy import Copy
|
55
|
-
from pulpcore.client.pulp_rpm.models.image_response import ImageResponse
|
56
|
-
from pulpcore.client.pulp_rpm.models.metadata_checksum_type_enum import MetadataChecksumTypeEnum
|
57
|
-
from pulpcore.client.pulp_rpm.models.null_enum import NullEnum
|
58
|
-
from pulpcore.client.pulp_rpm.models.package_checksum_type_enum import PackageChecksumTypeEnum
|
59
|
-
from pulpcore.client.pulp_rpm.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
60
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_distribution_tree_response_list import PaginatedrpmDistributionTreeResponseList
|
61
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_modulemd_defaults_response_list import PaginatedrpmModulemdDefaultsResponseList
|
62
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_modulemd_response_list import PaginatedrpmModulemdResponseList
|
63
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_category_response_list import PaginatedrpmPackageCategoryResponseList
|
64
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_environment_response_list import PaginatedrpmPackageEnvironmentResponseList
|
65
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_group_response_list import PaginatedrpmPackageGroupResponseList
|
66
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_langpacks_response_list import PaginatedrpmPackageLangpacksResponseList
|
67
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_response_list import PaginatedrpmPackageResponseList
|
68
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_repo_metadata_file_response_list import PaginatedrpmRepoMetadataFileResponseList
|
69
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_distribution_response_list import PaginatedrpmRpmDistributionResponseList
|
70
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_publication_response_list import PaginatedrpmRpmPublicationResponseList
|
71
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_remote_response_list import PaginatedrpmRpmRemoteResponseList
|
72
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_repository_response_list import PaginatedrpmRpmRepositoryResponseList
|
73
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_uln_remote_response_list import PaginatedrpmUlnRemoteResponseList
|
74
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_update_record_response_list import PaginatedrpmUpdateRecordResponseList
|
75
|
-
from pulpcore.client.pulp_rpm.models.patchedrpm_rpm_distribution import PatchedrpmRpmDistribution
|
76
|
-
from pulpcore.client.pulp_rpm.models.patchedrpm_rpm_remote import PatchedrpmRpmRemote
|
77
|
-
from pulpcore.client.pulp_rpm.models.patchedrpm_rpm_repository import PatchedrpmRpmRepository
|
78
|
-
from pulpcore.client.pulp_rpm.models.patchedrpm_uln_remote import PatchedrpmUlnRemote
|
79
|
-
from pulpcore.client.pulp_rpm.models.policy_enum import PolicyEnum
|
80
|
-
from pulpcore.client.pulp_rpm.models.repository_add_remove_content import RepositoryAddRemoveContent
|
81
|
-
from pulpcore.client.pulp_rpm.models.repository_version import RepositoryVersion
|
82
|
-
from pulpcore.client.pulp_rpm.models.repository_version_response import RepositoryVersionResponse
|
83
|
-
from pulpcore.client.pulp_rpm.models.rpm_distribution_tree_response import RpmDistributionTreeResponse
|
84
|
-
from pulpcore.client.pulp_rpm.models.rpm_modulemd import RpmModulemd
|
85
|
-
from pulpcore.client.pulp_rpm.models.rpm_modulemd_defaults import RpmModulemdDefaults
|
86
|
-
from pulpcore.client.pulp_rpm.models.rpm_modulemd_defaults_response import RpmModulemdDefaultsResponse
|
87
|
-
from pulpcore.client.pulp_rpm.models.rpm_modulemd_response import RpmModulemdResponse
|
88
|
-
from pulpcore.client.pulp_rpm.models.rpm_package import RpmPackage
|
89
|
-
from pulpcore.client.pulp_rpm.models.rpm_package_category_response import RpmPackageCategoryResponse
|
90
|
-
from pulpcore.client.pulp_rpm.models.rpm_package_environment_response import RpmPackageEnvironmentResponse
|
91
|
-
from pulpcore.client.pulp_rpm.models.rpm_package_group_response import RpmPackageGroupResponse
|
92
|
-
from pulpcore.client.pulp_rpm.models.rpm_package_langpacks_response import RpmPackageLangpacksResponse
|
93
|
-
from pulpcore.client.pulp_rpm.models.rpm_package_response import RpmPackageResponse
|
94
|
-
from pulpcore.client.pulp_rpm.models.rpm_repo_metadata_file_response import RpmRepoMetadataFileResponse
|
95
|
-
from pulpcore.client.pulp_rpm.models.rpm_repository_sync_url import RpmRepositorySyncURL
|
96
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_distribution import RpmRpmDistribution
|
97
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_distribution_response import RpmRpmDistributionResponse
|
98
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_publication import RpmRpmPublication
|
99
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_publication_response import RpmRpmPublicationResponse
|
100
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_remote import RpmRpmRemote
|
101
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_remote_response import RpmRpmRemoteResponse
|
102
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_repository import RpmRpmRepository
|
103
|
-
from pulpcore.client.pulp_rpm.models.rpm_rpm_repository_response import RpmRpmRepositoryResponse
|
104
|
-
from pulpcore.client.pulp_rpm.models.rpm_uln_remote import RpmUlnRemote
|
105
|
-
from pulpcore.client.pulp_rpm.models.rpm_uln_remote_response import RpmUlnRemoteResponse
|
106
|
-
from pulpcore.client.pulp_rpm.models.rpm_update_collection import RpmUpdateCollection
|
107
|
-
from pulpcore.client.pulp_rpm.models.rpm_update_collection_response import RpmUpdateCollectionResponse
|
108
|
-
from pulpcore.client.pulp_rpm.models.rpm_update_record import RpmUpdateRecord
|
109
|
-
from pulpcore.client.pulp_rpm.models.rpm_update_record_response import RpmUpdateRecordResponse
|
110
|
-
from pulpcore.client.pulp_rpm.models.skip_types_enum import SkipTypesEnum
|
111
|
-
from pulpcore.client.pulp_rpm.models.variant_response import VariantResponse
|
112
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
from __future__ import absolute_import
|
2
|
-
|
3
|
-
# flake8: noqa
|
4
|
-
|
5
|
-
# import apis into api package
|
6
|
-
from pulpcore.client.pulp_rpm.api.content_advisories_api import ContentAdvisoriesApi
|
7
|
-
from pulpcore.client.pulp_rpm.api.content_distribution_trees_api import ContentDistributionTreesApi
|
8
|
-
from pulpcore.client.pulp_rpm.api.content_modulemd_defaults_api import ContentModulemdDefaultsApi
|
9
|
-
from pulpcore.client.pulp_rpm.api.content_modulemds_api import ContentModulemdsApi
|
10
|
-
from pulpcore.client.pulp_rpm.api.content_packagecategories_api import ContentPackagecategoriesApi
|
11
|
-
from pulpcore.client.pulp_rpm.api.content_packageenvironments_api import ContentPackageenvironmentsApi
|
12
|
-
from pulpcore.client.pulp_rpm.api.content_packagegroups_api import ContentPackagegroupsApi
|
13
|
-
from pulpcore.client.pulp_rpm.api.content_packagelangpacks_api import ContentPackagelangpacksApi
|
14
|
-
from pulpcore.client.pulp_rpm.api.content_packages_api import ContentPackagesApi
|
15
|
-
from pulpcore.client.pulp_rpm.api.content_repo_metadata_files_api import ContentRepoMetadataFilesApi
|
16
|
-
from pulpcore.client.pulp_rpm.api.distributions_rpm_api import DistributionsRpmApi
|
17
|
-
from pulpcore.client.pulp_rpm.api.publications_rpm_api import PublicationsRpmApi
|
18
|
-
from pulpcore.client.pulp_rpm.api.remotes_rpm_api import RemotesRpmApi
|
19
|
-
from pulpcore.client.pulp_rpm.api.remotes_uln_api import RemotesUlnApi
|
20
|
-
from pulpcore.client.pulp_rpm.api.repositories_rpm_api import RepositoriesRpmApi
|
21
|
-
from pulpcore.client.pulp_rpm.api.repositories_rpm_versions_api import RepositoriesRpmVersionsApi
|
22
|
-
from pulpcore.client.pulp_rpm.api.rpm_copy_api import RpmCopyApi
|
@@ -1,485 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import re # noqa: F401
|
17
|
-
|
18
|
-
# python 2 and python 3 compatibility library
|
19
|
-
import six
|
20
|
-
|
21
|
-
from pulpcore.client.pulp_rpm.api_client import ApiClient
|
22
|
-
from pulpcore.client.pulp_rpm.exceptions import ( # noqa: F401
|
23
|
-
ApiTypeError,
|
24
|
-
ApiValueError
|
25
|
-
)
|
26
|
-
|
27
|
-
|
28
|
-
class ContentAdvisoriesApi(object):
|
29
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
30
|
-
Ref: https://openapi-generator.tech
|
31
|
-
|
32
|
-
Do not edit the class manually.
|
33
|
-
"""
|
34
|
-
|
35
|
-
def __init__(self, api_client=None):
|
36
|
-
if api_client is None:
|
37
|
-
api_client = ApiClient()
|
38
|
-
self.api_client = api_client
|
39
|
-
|
40
|
-
def create(self, **kwargs): # noqa: E501
|
41
|
-
"""Create an update record # noqa: E501
|
42
|
-
|
43
|
-
Trigger an asynchronous task to create content,optionally create new repository version. # noqa: E501
|
44
|
-
This method makes a synchronous HTTP request by default. To make an
|
45
|
-
asynchronous HTTP request, please pass async_req=True
|
46
|
-
>>> thread = api.create(async_req=True)
|
47
|
-
>>> result = thread.get()
|
48
|
-
|
49
|
-
:param async_req bool: execute request asynchronously
|
50
|
-
:param file file: An uploaded file that may be turned into the artifact of the content unit.
|
51
|
-
:param str repository: A URI of a repository the new content unit should be associated with.
|
52
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
53
|
-
be returned without reading/decoding response
|
54
|
-
data. Default is True.
|
55
|
-
:param _request_timeout: timeout setting for this request. If one
|
56
|
-
number provided, it will be total request
|
57
|
-
timeout. It can also be a pair (tuple) of
|
58
|
-
(connection, read) timeouts.
|
59
|
-
:return: AsyncOperationResponse
|
60
|
-
If the method is called asynchronously,
|
61
|
-
returns the request thread.
|
62
|
-
"""
|
63
|
-
kwargs['_return_http_data_only'] = True
|
64
|
-
return self.create_with_http_info(**kwargs) # noqa: E501
|
65
|
-
|
66
|
-
def create_with_http_info(self, **kwargs): # noqa: E501
|
67
|
-
"""Create an update record # noqa: E501
|
68
|
-
|
69
|
-
Trigger an asynchronous task to create content,optionally create new repository version. # noqa: E501
|
70
|
-
This method makes a synchronous HTTP request by default. To make an
|
71
|
-
asynchronous HTTP request, please pass async_req=True
|
72
|
-
>>> thread = api.create_with_http_info(async_req=True)
|
73
|
-
>>> result = thread.get()
|
74
|
-
|
75
|
-
:param async_req bool: execute request asynchronously
|
76
|
-
:param file file: An uploaded file that may be turned into the artifact of the content unit.
|
77
|
-
:param str repository: A URI of a repository the new content unit should be associated with.
|
78
|
-
:param _return_http_data_only: response data without head status code
|
79
|
-
and headers
|
80
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
81
|
-
be returned without reading/decoding response
|
82
|
-
data. Default is True.
|
83
|
-
:param _request_timeout: timeout setting for this request. If one
|
84
|
-
number provided, it will be total request
|
85
|
-
timeout. It can also be a pair (tuple) of
|
86
|
-
(connection, read) timeouts.
|
87
|
-
:return: tuple(AsyncOperationResponse, status_code(int), headers(HTTPHeaderDict))
|
88
|
-
If the method is called asynchronously,
|
89
|
-
returns the request thread.
|
90
|
-
"""
|
91
|
-
|
92
|
-
local_var_params = locals()
|
93
|
-
|
94
|
-
all_params = [
|
95
|
-
'file',
|
96
|
-
'repository'
|
97
|
-
]
|
98
|
-
all_params.extend(
|
99
|
-
[
|
100
|
-
'async_req',
|
101
|
-
'_return_http_data_only',
|
102
|
-
'_preload_content',
|
103
|
-
'_request_timeout'
|
104
|
-
]
|
105
|
-
)
|
106
|
-
|
107
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
108
|
-
if key not in all_params:
|
109
|
-
raise ApiTypeError(
|
110
|
-
"Got an unexpected keyword argument '%s'"
|
111
|
-
" to method create" % key
|
112
|
-
)
|
113
|
-
local_var_params[key] = val
|
114
|
-
del local_var_params['kwargs']
|
115
|
-
|
116
|
-
collection_formats = {}
|
117
|
-
|
118
|
-
path_params = {}
|
119
|
-
|
120
|
-
query_params = []
|
121
|
-
|
122
|
-
header_params = {}
|
123
|
-
|
124
|
-
form_params = []
|
125
|
-
local_var_files = {}
|
126
|
-
if 'file' in local_var_params:
|
127
|
-
local_var_files['file'] = local_var_params['file'] # noqa: E501
|
128
|
-
if 'repository' in local_var_params:
|
129
|
-
form_params.append(('repository', local_var_params['repository'])) # noqa: E501
|
130
|
-
|
131
|
-
body_params = None
|
132
|
-
# HTTP header `Accept`
|
133
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
134
|
-
['application/json']) # noqa: E501
|
135
|
-
|
136
|
-
# HTTP header `Content-Type`
|
137
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
138
|
-
['multipart/form-data', 'application/x-www-form-urlencoded']) # noqa: E501
|
139
|
-
|
140
|
-
# Authentication setting
|
141
|
-
auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501
|
142
|
-
|
143
|
-
return self.api_client.call_api(
|
144
|
-
'/pulp/api/v3/content/rpm/advisories/', 'POST',
|
145
|
-
path_params,
|
146
|
-
query_params,
|
147
|
-
header_params,
|
148
|
-
body=body_params,
|
149
|
-
post_params=form_params,
|
150
|
-
files=local_var_files,
|
151
|
-
response_type='AsyncOperationResponse', # noqa: E501
|
152
|
-
auth_settings=auth_settings,
|
153
|
-
async_req=local_var_params.get('async_req'),
|
154
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
155
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
156
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
157
|
-
collection_formats=collection_formats)
|
158
|
-
|
159
|
-
def list(self, **kwargs): # noqa: E501
|
160
|
-
"""List update records # noqa: E501
|
161
|
-
|
162
|
-
A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
|
163
|
-
This method makes a synchronous HTTP request by default. To make an
|
164
|
-
asynchronous HTTP request, please pass async_req=True
|
165
|
-
>>> thread = api.list(async_req=True)
|
166
|
-
>>> result = thread.get()
|
167
|
-
|
168
|
-
:param async_req bool: execute request asynchronously
|
169
|
-
:param str id: Filter results where id matches value
|
170
|
-
:param list[str] id__in: Filter results where id is in a comma-separated list of values
|
171
|
-
:param int limit: Number of results to return per page.
|
172
|
-
:param int offset: The initial index from which to return the results.
|
173
|
-
:param str ordering: Which field to use when ordering the results.
|
174
|
-
:param str repository_version: Repository Version referenced by HREF
|
175
|
-
:param str repository_version_added: Repository Version referenced by HREF
|
176
|
-
:param str repository_version_removed: Repository Version referenced by HREF
|
177
|
-
:param str severity: Filter results where severity matches value
|
178
|
-
:param list[str] severity__in: Filter results where severity is in a comma-separated list of values
|
179
|
-
:param str severity__ne: Filter results where severity not equal to value
|
180
|
-
:param str status: Filter results where status matches value
|
181
|
-
:param list[str] status__in: Filter results where status is in a comma-separated list of values
|
182
|
-
:param str status__ne: Filter results where status not equal to value
|
183
|
-
:param str type: Filter results where type matches value
|
184
|
-
:param list[str] type__in: Filter results where type is in a comma-separated list of values
|
185
|
-
:param str type__ne: Filter results where type not equal to value
|
186
|
-
:param str fields: A list of fields to include in the response.
|
187
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
188
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
189
|
-
be returned without reading/decoding response
|
190
|
-
data. Default is True.
|
191
|
-
:param _request_timeout: timeout setting for this request. If one
|
192
|
-
number provided, it will be total request
|
193
|
-
timeout. It can also be a pair (tuple) of
|
194
|
-
(connection, read) timeouts.
|
195
|
-
:return: PaginatedrpmUpdateRecordResponseList
|
196
|
-
If the method is called asynchronously,
|
197
|
-
returns the request thread.
|
198
|
-
"""
|
199
|
-
kwargs['_return_http_data_only'] = True
|
200
|
-
return self.list_with_http_info(**kwargs) # noqa: E501
|
201
|
-
|
202
|
-
def list_with_http_info(self, **kwargs): # noqa: E501
|
203
|
-
"""List update records # noqa: E501
|
204
|
-
|
205
|
-
A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
|
206
|
-
This method makes a synchronous HTTP request by default. To make an
|
207
|
-
asynchronous HTTP request, please pass async_req=True
|
208
|
-
>>> thread = api.list_with_http_info(async_req=True)
|
209
|
-
>>> result = thread.get()
|
210
|
-
|
211
|
-
:param async_req bool: execute request asynchronously
|
212
|
-
:param str id: Filter results where id matches value
|
213
|
-
:param list[str] id__in: Filter results where id is in a comma-separated list of values
|
214
|
-
:param int limit: Number of results to return per page.
|
215
|
-
:param int offset: The initial index from which to return the results.
|
216
|
-
:param str ordering: Which field to use when ordering the results.
|
217
|
-
:param str repository_version: Repository Version referenced by HREF
|
218
|
-
:param str repository_version_added: Repository Version referenced by HREF
|
219
|
-
:param str repository_version_removed: Repository Version referenced by HREF
|
220
|
-
:param str severity: Filter results where severity matches value
|
221
|
-
:param list[str] severity__in: Filter results where severity is in a comma-separated list of values
|
222
|
-
:param str severity__ne: Filter results where severity not equal to value
|
223
|
-
:param str status: Filter results where status matches value
|
224
|
-
:param list[str] status__in: Filter results where status is in a comma-separated list of values
|
225
|
-
:param str status__ne: Filter results where status not equal to value
|
226
|
-
:param str type: Filter results where type matches value
|
227
|
-
:param list[str] type__in: Filter results where type is in a comma-separated list of values
|
228
|
-
:param str type__ne: Filter results where type not equal to value
|
229
|
-
:param str fields: A list of fields to include in the response.
|
230
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
231
|
-
:param _return_http_data_only: response data without head status code
|
232
|
-
and headers
|
233
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
234
|
-
be returned without reading/decoding response
|
235
|
-
data. Default is True.
|
236
|
-
:param _request_timeout: timeout setting for this request. If one
|
237
|
-
number provided, it will be total request
|
238
|
-
timeout. It can also be a pair (tuple) of
|
239
|
-
(connection, read) timeouts.
|
240
|
-
:return: tuple(PaginatedrpmUpdateRecordResponseList, status_code(int), headers(HTTPHeaderDict))
|
241
|
-
If the method is called asynchronously,
|
242
|
-
returns the request thread.
|
243
|
-
"""
|
244
|
-
|
245
|
-
local_var_params = locals()
|
246
|
-
|
247
|
-
all_params = [
|
248
|
-
'id',
|
249
|
-
'id__in',
|
250
|
-
'limit',
|
251
|
-
'offset',
|
252
|
-
'ordering',
|
253
|
-
'repository_version',
|
254
|
-
'repository_version_added',
|
255
|
-
'repository_version_removed',
|
256
|
-
'severity',
|
257
|
-
'severity__in',
|
258
|
-
'severity__ne',
|
259
|
-
'status',
|
260
|
-
'status__in',
|
261
|
-
'status__ne',
|
262
|
-
'type',
|
263
|
-
'type__in',
|
264
|
-
'type__ne',
|
265
|
-
'fields',
|
266
|
-
'exclude_fields'
|
267
|
-
]
|
268
|
-
all_params.extend(
|
269
|
-
[
|
270
|
-
'async_req',
|
271
|
-
'_return_http_data_only',
|
272
|
-
'_preload_content',
|
273
|
-
'_request_timeout'
|
274
|
-
]
|
275
|
-
)
|
276
|
-
|
277
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
278
|
-
if key not in all_params:
|
279
|
-
raise ApiTypeError(
|
280
|
-
"Got an unexpected keyword argument '%s'"
|
281
|
-
" to method list" % key
|
282
|
-
)
|
283
|
-
local_var_params[key] = val
|
284
|
-
del local_var_params['kwargs']
|
285
|
-
|
286
|
-
collection_formats = {}
|
287
|
-
|
288
|
-
path_params = {}
|
289
|
-
|
290
|
-
query_params = []
|
291
|
-
if 'id' in local_var_params and local_var_params['id'] is not None: # noqa: E501
|
292
|
-
query_params.append(('id', local_var_params['id'])) # noqa: E501
|
293
|
-
if 'id__in' in local_var_params and local_var_params['id__in'] is not None: # noqa: E501
|
294
|
-
query_params.append(('id__in', local_var_params['id__in'])) # noqa: E501
|
295
|
-
collection_formats['id__in'] = 'csv' # noqa: E501
|
296
|
-
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
297
|
-
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
298
|
-
if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501
|
299
|
-
query_params.append(('offset', local_var_params['offset'])) # noqa: E501
|
300
|
-
if 'ordering' in local_var_params and local_var_params['ordering'] is not None: # noqa: E501
|
301
|
-
query_params.append(('ordering', local_var_params['ordering'])) # noqa: E501
|
302
|
-
if 'repository_version' in local_var_params and local_var_params['repository_version'] is not None: # noqa: E501
|
303
|
-
query_params.append(('repository_version', local_var_params['repository_version'])) # noqa: E501
|
304
|
-
if 'repository_version_added' in local_var_params and local_var_params['repository_version_added'] is not None: # noqa: E501
|
305
|
-
query_params.append(('repository_version_added', local_var_params['repository_version_added'])) # noqa: E501
|
306
|
-
if 'repository_version_removed' in local_var_params and local_var_params['repository_version_removed'] is not None: # noqa: E501
|
307
|
-
query_params.append(('repository_version_removed', local_var_params['repository_version_removed'])) # noqa: E501
|
308
|
-
if 'severity' in local_var_params and local_var_params['severity'] is not None: # noqa: E501
|
309
|
-
query_params.append(('severity', local_var_params['severity'])) # noqa: E501
|
310
|
-
if 'severity__in' in local_var_params and local_var_params['severity__in'] is not None: # noqa: E501
|
311
|
-
query_params.append(('severity__in', local_var_params['severity__in'])) # noqa: E501
|
312
|
-
collection_formats['severity__in'] = 'csv' # noqa: E501
|
313
|
-
if 'severity__ne' in local_var_params and local_var_params['severity__ne'] is not None: # noqa: E501
|
314
|
-
query_params.append(('severity__ne', local_var_params['severity__ne'])) # noqa: E501
|
315
|
-
if 'status' in local_var_params and local_var_params['status'] is not None: # noqa: E501
|
316
|
-
query_params.append(('status', local_var_params['status'])) # noqa: E501
|
317
|
-
if 'status__in' in local_var_params and local_var_params['status__in'] is not None: # noqa: E501
|
318
|
-
query_params.append(('status__in', local_var_params['status__in'])) # noqa: E501
|
319
|
-
collection_formats['status__in'] = 'csv' # noqa: E501
|
320
|
-
if 'status__ne' in local_var_params and local_var_params['status__ne'] is not None: # noqa: E501
|
321
|
-
query_params.append(('status__ne', local_var_params['status__ne'])) # noqa: E501
|
322
|
-
if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501
|
323
|
-
query_params.append(('type', local_var_params['type'])) # noqa: E501
|
324
|
-
if 'type__in' in local_var_params and local_var_params['type__in'] is not None: # noqa: E501
|
325
|
-
query_params.append(('type__in', local_var_params['type__in'])) # noqa: E501
|
326
|
-
collection_formats['type__in'] = 'csv' # noqa: E501
|
327
|
-
if 'type__ne' in local_var_params and local_var_params['type__ne'] is not None: # noqa: E501
|
328
|
-
query_params.append(('type__ne', local_var_params['type__ne'])) # noqa: E501
|
329
|
-
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
330
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
331
|
-
if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
|
332
|
-
query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
|
333
|
-
|
334
|
-
header_params = {}
|
335
|
-
|
336
|
-
form_params = []
|
337
|
-
local_var_files = {}
|
338
|
-
|
339
|
-
body_params = None
|
340
|
-
# HTTP header `Accept`
|
341
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
342
|
-
['application/json']) # noqa: E501
|
343
|
-
|
344
|
-
# Authentication setting
|
345
|
-
auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501
|
346
|
-
|
347
|
-
return self.api_client.call_api(
|
348
|
-
'/pulp/api/v3/content/rpm/advisories/', 'GET',
|
349
|
-
path_params,
|
350
|
-
query_params,
|
351
|
-
header_params,
|
352
|
-
body=body_params,
|
353
|
-
post_params=form_params,
|
354
|
-
files=local_var_files,
|
355
|
-
response_type='PaginatedrpmUpdateRecordResponseList', # noqa: E501
|
356
|
-
auth_settings=auth_settings,
|
357
|
-
async_req=local_var_params.get('async_req'),
|
358
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
359
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
360
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
361
|
-
collection_formats=collection_formats)
|
362
|
-
|
363
|
-
def read(self, rpm_update_record_href, **kwargs): # noqa: E501
|
364
|
-
"""Inspect an update record # noqa: E501
|
365
|
-
|
366
|
-
A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
|
367
|
-
This method makes a synchronous HTTP request by default. To make an
|
368
|
-
asynchronous HTTP request, please pass async_req=True
|
369
|
-
>>> thread = api.read(rpm_update_record_href, async_req=True)
|
370
|
-
>>> result = thread.get()
|
371
|
-
|
372
|
-
:param async_req bool: execute request asynchronously
|
373
|
-
:param str rpm_update_record_href: (required)
|
374
|
-
:param str fields: A list of fields to include in the response.
|
375
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
376
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
377
|
-
be returned without reading/decoding response
|
378
|
-
data. Default is True.
|
379
|
-
:param _request_timeout: timeout setting for this request. If one
|
380
|
-
number provided, it will be total request
|
381
|
-
timeout. It can also be a pair (tuple) of
|
382
|
-
(connection, read) timeouts.
|
383
|
-
:return: RpmUpdateRecordResponse
|
384
|
-
If the method is called asynchronously,
|
385
|
-
returns the request thread.
|
386
|
-
"""
|
387
|
-
kwargs['_return_http_data_only'] = True
|
388
|
-
return self.read_with_http_info(rpm_update_record_href, **kwargs) # noqa: E501
|
389
|
-
|
390
|
-
def read_with_http_info(self, rpm_update_record_href, **kwargs): # noqa: E501
|
391
|
-
"""Inspect an update record # noqa: E501
|
392
|
-
|
393
|
-
A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
|
394
|
-
This method makes a synchronous HTTP request by default. To make an
|
395
|
-
asynchronous HTTP request, please pass async_req=True
|
396
|
-
>>> thread = api.read_with_http_info(rpm_update_record_href, async_req=True)
|
397
|
-
>>> result = thread.get()
|
398
|
-
|
399
|
-
:param async_req bool: execute request asynchronously
|
400
|
-
:param str rpm_update_record_href: (required)
|
401
|
-
:param str fields: A list of fields to include in the response.
|
402
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
403
|
-
:param _return_http_data_only: response data without head status code
|
404
|
-
and headers
|
405
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
406
|
-
be returned without reading/decoding response
|
407
|
-
data. Default is True.
|
408
|
-
:param _request_timeout: timeout setting for this request. If one
|
409
|
-
number provided, it will be total request
|
410
|
-
timeout. It can also be a pair (tuple) of
|
411
|
-
(connection, read) timeouts.
|
412
|
-
:return: tuple(RpmUpdateRecordResponse, status_code(int), headers(HTTPHeaderDict))
|
413
|
-
If the method is called asynchronously,
|
414
|
-
returns the request thread.
|
415
|
-
"""
|
416
|
-
|
417
|
-
local_var_params = locals()
|
418
|
-
|
419
|
-
all_params = [
|
420
|
-
'rpm_update_record_href',
|
421
|
-
'fields',
|
422
|
-
'exclude_fields'
|
423
|
-
]
|
424
|
-
all_params.extend(
|
425
|
-
[
|
426
|
-
'async_req',
|
427
|
-
'_return_http_data_only',
|
428
|
-
'_preload_content',
|
429
|
-
'_request_timeout'
|
430
|
-
]
|
431
|
-
)
|
432
|
-
|
433
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
434
|
-
if key not in all_params:
|
435
|
-
raise ApiTypeError(
|
436
|
-
"Got an unexpected keyword argument '%s'"
|
437
|
-
" to method read" % key
|
438
|
-
)
|
439
|
-
local_var_params[key] = val
|
440
|
-
del local_var_params['kwargs']
|
441
|
-
# verify the required parameter 'rpm_update_record_href' is set
|
442
|
-
if self.api_client.client_side_validation and ('rpm_update_record_href' not in local_var_params or # noqa: E501
|
443
|
-
local_var_params['rpm_update_record_href'] is None): # noqa: E501
|
444
|
-
raise ApiValueError("Missing the required parameter `rpm_update_record_href` when calling `read`") # noqa: E501
|
445
|
-
|
446
|
-
collection_formats = {}
|
447
|
-
|
448
|
-
path_params = {}
|
449
|
-
if 'rpm_update_record_href' in local_var_params:
|
450
|
-
path_params['rpm_update_record_href'] = local_var_params['rpm_update_record_href'] # noqa: E501
|
451
|
-
|
452
|
-
query_params = []
|
453
|
-
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
454
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
455
|
-
if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
|
456
|
-
query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
|
457
|
-
|
458
|
-
header_params = {}
|
459
|
-
|
460
|
-
form_params = []
|
461
|
-
local_var_files = {}
|
462
|
-
|
463
|
-
body_params = None
|
464
|
-
# HTTP header `Accept`
|
465
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
466
|
-
['application/json']) # noqa: E501
|
467
|
-
|
468
|
-
# Authentication setting
|
469
|
-
auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501
|
470
|
-
|
471
|
-
return self.api_client.call_api(
|
472
|
-
'{rpm_update_record_href}', 'GET',
|
473
|
-
path_params,
|
474
|
-
query_params,
|
475
|
-
header_params,
|
476
|
-
body=body_params,
|
477
|
-
post_params=form_params,
|
478
|
-
files=local_var_files,
|
479
|
-
response_type='RpmUpdateRecordResponse', # noqa: E501
|
480
|
-
auth_settings=auth_settings,
|
481
|
-
async_req=local_var_params.get('async_req'),
|
482
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
483
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
484
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
485
|
-
collection_formats=collection_formats)
|