pulp_rpm_client 3.12.0 → 3.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +5 -4
- data/build/lib/pulpcore/__init__.py +2 -0
- data/build/lib/pulpcore/client/__init__.py +2 -0
- data/build/lib/pulpcore/client/pulp_rpm/__init__.py +112 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/__init__.py +22 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_advisories_api.py +485 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +307 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +494 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +533 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +307 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +307 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +307 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +307 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packages_api.py +552 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +307 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +830 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +566 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +840 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +840 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +1063 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +614 -0
- data/build/lib/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +156 -0
- data/build/lib/pulpcore/client/pulp_rpm/api_client.py +667 -0
- data/build/lib/pulpcore/client/pulp_rpm/configuration.py +427 -0
- data/build/lib/pulpcore/client/pulp_rpm/exceptions.py +121 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/__init__.py +81 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/addon_response.py +240 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/artifact_response.py +368 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/async_operation_response.py +124 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/checksum_response.py +153 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/content_summary.py +176 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/content_summary_response.py +176 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/copy.py +152 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/image_response.py +207 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +106 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/null_enum.py +100 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +106 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +258 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +682 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +467 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +684 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/policy_enum.py +102 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +179 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_version.py +123 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_version_response.py +257 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +621 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +463 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +295 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +432 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +600 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package.py +208 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +373 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +400 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +457 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +203 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_response.py +1353 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +461 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +207 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +260 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +342 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +301 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +355 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +684 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +631 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +468 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +574 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +688 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +689 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +176 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +204 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record.py +151 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +653 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/skip_types_enum.py +100 -0
- data/build/lib/pulpcore/client/pulp_rpm/models/variant_response.py +375 -0
- data/build/lib/pulpcore/client/pulp_rpm/rest.py +292 -0
- 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/docs/ContentModulemdsApi.md +4 -4
- data/docs/NullEnum.md +16 -0
- data/docs/PatchedrpmRpmRepository.md +2 -2
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemd.md +1 -1
- data/docs/RpmModulemdResponse.md +1 -1
- data/docs/RpmRpmRepository.md +2 -2
- data/docs/RpmRpmRepositoryResponse.md +2 -2
- data/lib/pulp_rpm_client.rb +2 -1
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +7 -11
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +1 -1
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
- data/lib/pulp_rpm_client/api_client.rb +8 -6
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +1 -1
- data/lib/pulp_rpm_client/models/addon_response.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact_response.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum_response.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/image_response.rb +1 -1
- data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/null_enum.rb +35 -0
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/policy_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -6
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -6
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -1
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/variant_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/pulp_rpm_client.egg-info/PKG-INFO +15 -0
- data/pulp_rpm_client.egg-info/SOURCES.txt +179 -0
- data/pulp_rpm_client.egg-info/dependency_links.txt +1 -0
- data/pulp_rpm_client.egg-info/requires.txt +4 -0
- data/pulp_rpm_client.egg-info/top_level.txt +1 -0
- data/pulp_rpm_client.gemspec +1 -1
- data/pulpcore/__init__.py +2 -0
- data/pulpcore/client/__init__.py +2 -0
- data/pulpcore/client/pulp_rpm/__init__.py +112 -0
- data/pulpcore/client/pulp_rpm/api/__init__.py +22 -0
- data/pulpcore/client/pulp_rpm/api/content_advisories_api.py +485 -0
- data/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +307 -0
- data/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +494 -0
- data/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +533 -0
- data/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +307 -0
- data/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +307 -0
- data/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +307 -0
- data/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +307 -0
- data/pulpcore/client/pulp_rpm/api/content_packages_api.py +552 -0
- data/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +307 -0
- data/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +830 -0
- data/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +566 -0
- data/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +840 -0
- data/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +840 -0
- data/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +1063 -0
- data/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +614 -0
- data/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +156 -0
- data/pulpcore/client/pulp_rpm/api_client.py +667 -0
- data/pulpcore/client/pulp_rpm/configuration.py +427 -0
- data/pulpcore/client/pulp_rpm/exceptions.py +121 -0
- data/pulpcore/client/pulp_rpm/models/__init__.py +81 -0
- data/pulpcore/client/pulp_rpm/models/addon_response.py +240 -0
- data/pulpcore/client/pulp_rpm/models/artifact_response.py +368 -0
- data/pulpcore/client/pulp_rpm/models/async_operation_response.py +124 -0
- data/pulpcore/client/pulp_rpm/models/checksum_response.py +153 -0
- data/pulpcore/client/pulp_rpm/models/content_summary.py +176 -0
- data/pulpcore/client/pulp_rpm/models/content_summary_response.py +176 -0
- data/pulpcore/client/pulp_rpm/models/copy.py +152 -0
- data/pulpcore/client/pulp_rpm/models/image_response.py +207 -0
- data/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +106 -0
- data/pulpcore/client/pulp_rpm/models/null_enum.py +100 -0
- data/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +106 -0
- data/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +197 -0
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +258 -0
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +682 -0
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +467 -0
- data/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +684 -0
- data/pulpcore/client/pulp_rpm/models/policy_enum.py +102 -0
- data/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +179 -0
- data/pulpcore/client/pulp_rpm/models/repository_version.py +123 -0
- data/pulpcore/client/pulp_rpm/models/repository_version_response.py +257 -0
- data/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +621 -0
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +463 -0
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +295 -0
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +432 -0
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +600 -0
- data/pulpcore/client/pulp_rpm/models/rpm_package.py +208 -0
- data/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +373 -0
- data/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +400 -0
- data/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +457 -0
- data/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +203 -0
- data/pulpcore/client/pulp_rpm/models/rpm_package_response.py +1353 -0
- data/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +461 -0
- data/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +207 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +260 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +342 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +301 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +355 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +684 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +631 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +468 -0
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +574 -0
- data/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +688 -0
- data/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +689 -0
- data/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +176 -0
- data/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +204 -0
- data/pulpcore/client/pulp_rpm/models/rpm_update_record.py +151 -0
- data/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +653 -0
- data/pulpcore/client/pulp_rpm/models/skip_types_enum.py +100 -0
- data/pulpcore/client/pulp_rpm/models/variant_response.py +375 -0
- data/pulpcore/client/pulp_rpm/rest.py +292 -0
- data/requirements.txt +6 -0
- data/setup.cfg +2 -0
- data/setup.py +42 -0
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +2 -2
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_uln_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/api/rpm_copy_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_response_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/image_response_spec.rb +1 -1
- data/spec/models/metadata_checksum_type_enum_spec.rb +1 -1
- data/spec/models/null_enum_spec.rb +35 -0
- data/spec/models/package_checksum_type_enum_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_modulemd_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_package_group_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_package_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_rpm_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_uln_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_remote_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -1
- data/spec/models/patchedrpm_uln_remote_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_response_spec.rb +1 -1
- data/spec/models/rpm_package_environment_response_spec.rb +1 -1
- data/spec/models/rpm_package_group_response_spec.rb +1 -1
- data/spec/models/rpm_package_langpacks_response_spec.rb +1 -1
- data/spec/models/rpm_package_response_spec.rb +1 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +1 -1
- data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_spec.rb +1 -1
- data/spec/models/rpm_uln_remote_response_spec.rb +1 -1
- data/spec/models/rpm_uln_remote_spec.rb +1 -1
- data/spec/models/rpm_update_collection_response_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_response_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/skip_types_enum_spec.rb +1 -1
- data/spec/models/variant_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/test-requirements.txt +3 -0
- data/test/__init__.py +0 -0
- data/test/test_addon_response.py +62 -0
- data/test/test_artifact_response.py +63 -0
- data/test/test_async_operation_response.py +54 -0
- data/test/test_checksum_response.py +56 -0
- data/test/test_content_advisories_api.py +55 -0
- data/test/test_content_distribution_trees_api.py +48 -0
- data/test/test_content_modulemd_defaults_api.py +55 -0
- data/test/test_content_modulemds_api.py +55 -0
- data/test/test_content_packagecategories_api.py +48 -0
- data/test/test_content_packageenvironments_api.py +48 -0
- data/test/test_content_packagegroups_api.py +48 -0
- data/test/test_content_packagelangpacks_api.py +48 -0
- data/test/test_content_packages_api.py +55 -0
- data/test/test_content_repo_metadata_files_api.py +48 -0
- data/test/test_content_summary.py +70 -0
- data/test/test_content_summary_response.py +70 -0
- data/test/test_copy.py +55 -0
- data/test/test_distributions_rpm_api.py +76 -0
- data/test/test_image_response.py +60 -0
- data/test/test_metadata_checksum_type_enum.py +52 -0
- data/test/test_null_enum.py +52 -0
- data/test/test_package_checksum_type_enum.py +52 -0
- data/test/test_paginated_repository_version_response_list.py +64 -0
- data/test/test_paginatedrpm_distribution_tree_response_list.py +106 -0
- data/test/test_paginatedrpm_modulemd_defaults_response_list.py +70 -0
- data/test/test_paginatedrpm_modulemd_response_list.py +78 -0
- data/test/test_paginatedrpm_package_category_response_list.py +68 -0
- data/test/test_paginatedrpm_package_environment_response_list.py +69 -0
- data/test/test_paginatedrpm_package_group_response_list.py +71 -0
- data/test/test_paginatedrpm_package_langpacks_response_list.py +62 -0
- data/test/test_paginatedrpm_package_response_list.py +103 -0
- data/test/test_paginatedrpm_repo_metadata_file_response_list.py +71 -0
- data/test/test_paginatedrpm_rpm_distribution_response_list.py +67 -0
- data/test/test_paginatedrpm_rpm_publication_response_list.py +67 -0
- data/test/test_paginatedrpm_rpm_remote_response_list.py +79 -0
- data/test/test_paginatedrpm_rpm_repository_response_list.py +75 -0
- data/test/test_paginatedrpm_uln_remote_response_list.py +81 -0
- data/test/test_paginatedrpm_update_record_response_list.py +88 -0
- data/test/test_patchedrpm_rpm_distribution.py +58 -0
- data/test/test_patchedrpm_rpm_remote.py +75 -0
- data/test/test_patchedrpm_rpm_repository.py +65 -0
- data/test/test_patchedrpm_uln_remote.py +75 -0
- data/test/test_policy_enum.py +52 -0
- data/test/test_publications_rpm_api.py +62 -0
- data/test/test_remotes_rpm_api.py +76 -0
- data/test/test_remotes_uln_api.py +76 -0
- data/test/test_repositories_rpm_api.py +90 -0
- data/test/test_repositories_rpm_versions_api.py +61 -0
- data/test/test_repository_add_remove_content.py +59 -0
- data/test/test_repository_version.py +53 -0
- data/test/test_repository_version_response.py +58 -0
- data/test/test_rpm_copy_api.py +41 -0
- data/test/test_rpm_distribution_tree_response.py +147 -0
- data/test/test_rpm_modulemd.py +75 -0
- data/test/test_rpm_modulemd_defaults.py +63 -0
- data/test/test_rpm_modulemd_defaults_response.py +67 -0
- data/test/test_rpm_modulemd_response.py +79 -0
- data/test/test_rpm_package.py +57 -0
- data/test/test_rpm_package_category_response.py +70 -0
- data/test/test_rpm_package_environment_response.py +72 -0
- data/test/test_rpm_package_group_response.py +73 -0
- data/test/test_rpm_package_langpacks_response.py +58 -0
- data/test/test_rpm_package_response.py +97 -0
- data/test/test_rpm_repo_metadata_file_response.py +69 -0
- data/test/test_rpm_repository_sync_url.py +58 -0
- data/test/test_rpm_rpm_distribution.py +60 -0
- data/test/test_rpm_rpm_distribution_response.py +63 -0
- data/test/test_rpm_rpm_publication.py +59 -0
- data/test/test_rpm_rpm_publication_response.py +61 -0
- data/test/test_rpm_rpm_remote.py +77 -0
- data/test/test_rpm_rpm_remote_response.py +75 -0
- data/test/test_rpm_rpm_repository.py +66 -0
- data/test/test_rpm_rpm_repository_response.py +70 -0
- data/test/test_rpm_uln_remote.py +79 -0
- data/test/test_rpm_uln_remote_response.py +79 -0
- data/test/test_rpm_update_collection.py +58 -0
- data/test/test_rpm_update_collection_response.py +61 -0
- data/test/test_rpm_update_record.py +54 -0
- data/test/test_rpm_update_record_response.py +82 -0
- data/test/test_skip_types_enum.py +52 -0
- data/test/test_variant_response.py +72 -0
- data/tox.ini +9 -0
- metadata +341 -63
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9ebae42136adb5650c05a462f23194267a80c23dd0bc4b2b212a2d646f5670d
|
4
|
+
data.tar.gz: 909868caddb0cafc7981816eab5d8787caca0342f7e745f17bc178da34ce36fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 131c740ab6be625936773a7a36e2546a0dcbaddaa9ca0fa0240ad0b61cf92cdad961d8026c843d71ad9f05fe0a2905705eee7937c8eef75f67da17f8d7a74dc6
|
7
|
+
data.tar.gz: ff7c36c85dbd925006771f7d15b2d7ce335af6c76208dafb2178e215b81ee3f7d5f521e6b2e1ebe8767a7ec86fc30dff2107b1eac62287ab68d8eefe765ad84a
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.13.2
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.
|
27
|
+
gem install ./pulp_rpm_client-3.13.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.13.2.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_rpm_client', '~> 3.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.13.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -158,6 +158,7 @@ Class | Method | HTTP request | Description
|
|
158
158
|
- [PulpRpmClient::Copy](docs/Copy.md)
|
159
159
|
- [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
|
160
160
|
- [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
|
161
|
+
- [PulpRpmClient::NullEnum](docs/NullEnum.md)
|
161
162
|
- [PulpRpmClient::PackageChecksumTypeEnum](docs/PackageChecksumTypeEnum.md)
|
162
163
|
- [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
163
164
|
- [PulpRpmClient::PaginatedrpmDistributionTreeResponseList](docs/PaginatedrpmDistributionTreeResponseList.md)
|
@@ -0,0 +1,112 @@
|
|
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
|
+
|
@@ -0,0 +1,22 @@
|
|
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
|
@@ -0,0 +1,485 @@
|
|
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)
|