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,100 +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
|
-
import pprint
|
15
|
-
import re # noqa: F401
|
16
|
-
|
17
|
-
import six
|
18
|
-
|
19
|
-
from pulpcore.client.pulp_rpm.configuration import Configuration
|
20
|
-
|
21
|
-
|
22
|
-
class SkipTypesEnum(object):
|
23
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
24
|
-
Ref: https://openapi-generator.tech
|
25
|
-
|
26
|
-
Do not edit the class manually.
|
27
|
-
"""
|
28
|
-
|
29
|
-
"""
|
30
|
-
allowed enum values
|
31
|
-
"""
|
32
|
-
SRPM = "srpm"
|
33
|
-
|
34
|
-
allowable_values = [SRPM] # noqa: E501
|
35
|
-
|
36
|
-
"""
|
37
|
-
Attributes:
|
38
|
-
openapi_types (dict): The key is attribute name
|
39
|
-
and the value is attribute type.
|
40
|
-
attribute_map (dict): The key is attribute name
|
41
|
-
and the value is json key in definition.
|
42
|
-
"""
|
43
|
-
openapi_types = {
|
44
|
-
}
|
45
|
-
|
46
|
-
attribute_map = {
|
47
|
-
}
|
48
|
-
|
49
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
50
|
-
"""SkipTypesEnum - a model defined in OpenAPI""" # noqa: E501
|
51
|
-
if local_vars_configuration is None:
|
52
|
-
local_vars_configuration = Configuration()
|
53
|
-
self.local_vars_configuration = local_vars_configuration
|
54
|
-
self.discriminator = None
|
55
|
-
|
56
|
-
def to_dict(self):
|
57
|
-
"""Returns the model properties as a dict"""
|
58
|
-
result = {}
|
59
|
-
|
60
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
61
|
-
value = getattr(self, attr)
|
62
|
-
if isinstance(value, list):
|
63
|
-
result[attr] = list(map(
|
64
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
65
|
-
value
|
66
|
-
))
|
67
|
-
elif hasattr(value, "to_dict"):
|
68
|
-
result[attr] = value.to_dict()
|
69
|
-
elif isinstance(value, dict):
|
70
|
-
result[attr] = dict(map(
|
71
|
-
lambda item: (item[0], item[1].to_dict())
|
72
|
-
if hasattr(item[1], "to_dict") else item,
|
73
|
-
value.items()
|
74
|
-
))
|
75
|
-
else:
|
76
|
-
result[attr] = value
|
77
|
-
|
78
|
-
return result
|
79
|
-
|
80
|
-
def to_str(self):
|
81
|
-
"""Returns the string representation of the model"""
|
82
|
-
return pprint.pformat(self.to_dict())
|
83
|
-
|
84
|
-
def __repr__(self):
|
85
|
-
"""For `print` and `pprint`"""
|
86
|
-
return self.to_str()
|
87
|
-
|
88
|
-
def __eq__(self, other):
|
89
|
-
"""Returns true if both objects are equal"""
|
90
|
-
if not isinstance(other, SkipTypesEnum):
|
91
|
-
return False
|
92
|
-
|
93
|
-
return self.to_dict() == other.to_dict()
|
94
|
-
|
95
|
-
def __ne__(self, other):
|
96
|
-
"""Returns true if both objects are not equal"""
|
97
|
-
if not isinstance(other, SkipTypesEnum):
|
98
|
-
return True
|
99
|
-
|
100
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,375 +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
|
-
import pprint
|
15
|
-
import re # noqa: F401
|
16
|
-
|
17
|
-
import six
|
18
|
-
|
19
|
-
from pulpcore.client.pulp_rpm.configuration import Configuration
|
20
|
-
|
21
|
-
|
22
|
-
class VariantResponse(object):
|
23
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
24
|
-
Ref: https://openapi-generator.tech
|
25
|
-
|
26
|
-
Do not edit the class manually.
|
27
|
-
"""
|
28
|
-
|
29
|
-
"""
|
30
|
-
Attributes:
|
31
|
-
openapi_types (dict): The key is attribute name
|
32
|
-
and the value is attribute type.
|
33
|
-
attribute_map (dict): The key is attribute name
|
34
|
-
and the value is json key in definition.
|
35
|
-
"""
|
36
|
-
openapi_types = {
|
37
|
-
'variant_id': 'str',
|
38
|
-
'uid': 'str',
|
39
|
-
'name': 'str',
|
40
|
-
'type': 'str',
|
41
|
-
'packages': 'str',
|
42
|
-
'source_packages': 'str',
|
43
|
-
'source_repository': 'str',
|
44
|
-
'debug_packages': 'str',
|
45
|
-
'debug_repository': 'str',
|
46
|
-
'identity': 'str'
|
47
|
-
}
|
48
|
-
|
49
|
-
attribute_map = {
|
50
|
-
'variant_id': 'variant_id',
|
51
|
-
'uid': 'uid',
|
52
|
-
'name': 'name',
|
53
|
-
'type': 'type',
|
54
|
-
'packages': 'packages',
|
55
|
-
'source_packages': 'source_packages',
|
56
|
-
'source_repository': 'source_repository',
|
57
|
-
'debug_packages': 'debug_packages',
|
58
|
-
'debug_repository': 'debug_repository',
|
59
|
-
'identity': 'identity'
|
60
|
-
}
|
61
|
-
|
62
|
-
def __init__(self, variant_id=None, uid=None, name=None, type=None, packages=None, source_packages=None, source_repository=None, debug_packages=None, debug_repository=None, identity=None, local_vars_configuration=None): # noqa: E501
|
63
|
-
"""VariantResponse - a model defined in OpenAPI""" # noqa: E501
|
64
|
-
if local_vars_configuration is None:
|
65
|
-
local_vars_configuration = Configuration()
|
66
|
-
self.local_vars_configuration = local_vars_configuration
|
67
|
-
|
68
|
-
self._variant_id = None
|
69
|
-
self._uid = None
|
70
|
-
self._name = None
|
71
|
-
self._type = None
|
72
|
-
self._packages = None
|
73
|
-
self._source_packages = None
|
74
|
-
self._source_repository = None
|
75
|
-
self._debug_packages = None
|
76
|
-
self._debug_repository = None
|
77
|
-
self._identity = None
|
78
|
-
self.discriminator = None
|
79
|
-
|
80
|
-
self.variant_id = variant_id
|
81
|
-
self.uid = uid
|
82
|
-
self.name = name
|
83
|
-
self.type = type
|
84
|
-
self.packages = packages
|
85
|
-
self.source_packages = source_packages
|
86
|
-
self.source_repository = source_repository
|
87
|
-
self.debug_packages = debug_packages
|
88
|
-
self.debug_repository = debug_repository
|
89
|
-
self.identity = identity
|
90
|
-
|
91
|
-
@property
|
92
|
-
def variant_id(self):
|
93
|
-
"""Gets the variant_id of this VariantResponse. # noqa: E501
|
94
|
-
|
95
|
-
Variant id. # noqa: E501
|
96
|
-
|
97
|
-
:return: The variant_id of this VariantResponse. # noqa: E501
|
98
|
-
:rtype: str
|
99
|
-
"""
|
100
|
-
return self._variant_id
|
101
|
-
|
102
|
-
@variant_id.setter
|
103
|
-
def variant_id(self, variant_id):
|
104
|
-
"""Sets the variant_id of this VariantResponse.
|
105
|
-
|
106
|
-
Variant id. # noqa: E501
|
107
|
-
|
108
|
-
:param variant_id: The variant_id of this VariantResponse. # noqa: E501
|
109
|
-
:type: str
|
110
|
-
"""
|
111
|
-
if self.local_vars_configuration.client_side_validation and variant_id is None: # noqa: E501
|
112
|
-
raise ValueError("Invalid value for `variant_id`, must not be `None`") # noqa: E501
|
113
|
-
|
114
|
-
self._variant_id = variant_id
|
115
|
-
|
116
|
-
@property
|
117
|
-
def uid(self):
|
118
|
-
"""Gets the uid of this VariantResponse. # noqa: E501
|
119
|
-
|
120
|
-
Variant uid. # noqa: E501
|
121
|
-
|
122
|
-
:return: The uid of this VariantResponse. # noqa: E501
|
123
|
-
:rtype: str
|
124
|
-
"""
|
125
|
-
return self._uid
|
126
|
-
|
127
|
-
@uid.setter
|
128
|
-
def uid(self, uid):
|
129
|
-
"""Sets the uid of this VariantResponse.
|
130
|
-
|
131
|
-
Variant uid. # noqa: E501
|
132
|
-
|
133
|
-
:param uid: The uid of this VariantResponse. # noqa: E501
|
134
|
-
:type: str
|
135
|
-
"""
|
136
|
-
if self.local_vars_configuration.client_side_validation and uid is None: # noqa: E501
|
137
|
-
raise ValueError("Invalid value for `uid`, must not be `None`") # noqa: E501
|
138
|
-
|
139
|
-
self._uid = uid
|
140
|
-
|
141
|
-
@property
|
142
|
-
def name(self):
|
143
|
-
"""Gets the name of this VariantResponse. # noqa: E501
|
144
|
-
|
145
|
-
Variant name. # noqa: E501
|
146
|
-
|
147
|
-
:return: The name of this VariantResponse. # noqa: E501
|
148
|
-
:rtype: str
|
149
|
-
"""
|
150
|
-
return self._name
|
151
|
-
|
152
|
-
@name.setter
|
153
|
-
def name(self, name):
|
154
|
-
"""Sets the name of this VariantResponse.
|
155
|
-
|
156
|
-
Variant name. # noqa: E501
|
157
|
-
|
158
|
-
:param name: The name of this VariantResponse. # noqa: E501
|
159
|
-
:type: str
|
160
|
-
"""
|
161
|
-
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
162
|
-
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
163
|
-
|
164
|
-
self._name = name
|
165
|
-
|
166
|
-
@property
|
167
|
-
def type(self):
|
168
|
-
"""Gets the type of this VariantResponse. # noqa: E501
|
169
|
-
|
170
|
-
Variant type. # noqa: E501
|
171
|
-
|
172
|
-
:return: The type of this VariantResponse. # noqa: E501
|
173
|
-
:rtype: str
|
174
|
-
"""
|
175
|
-
return self._type
|
176
|
-
|
177
|
-
@type.setter
|
178
|
-
def type(self, type):
|
179
|
-
"""Sets the type of this VariantResponse.
|
180
|
-
|
181
|
-
Variant type. # noqa: E501
|
182
|
-
|
183
|
-
:param type: The type of this VariantResponse. # noqa: E501
|
184
|
-
:type: str
|
185
|
-
"""
|
186
|
-
if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
|
187
|
-
raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
|
188
|
-
|
189
|
-
self._type = type
|
190
|
-
|
191
|
-
@property
|
192
|
-
def packages(self):
|
193
|
-
"""Gets the packages of this VariantResponse. # noqa: E501
|
194
|
-
|
195
|
-
Relative path to directory with binary RPMs. # noqa: E501
|
196
|
-
|
197
|
-
:return: The packages of this VariantResponse. # noqa: E501
|
198
|
-
:rtype: str
|
199
|
-
"""
|
200
|
-
return self._packages
|
201
|
-
|
202
|
-
@packages.setter
|
203
|
-
def packages(self, packages):
|
204
|
-
"""Sets the packages of this VariantResponse.
|
205
|
-
|
206
|
-
Relative path to directory with binary RPMs. # noqa: E501
|
207
|
-
|
208
|
-
:param packages: The packages of this VariantResponse. # noqa: E501
|
209
|
-
:type: str
|
210
|
-
"""
|
211
|
-
if self.local_vars_configuration.client_side_validation and packages is None: # noqa: E501
|
212
|
-
raise ValueError("Invalid value for `packages`, must not be `None`") # noqa: E501
|
213
|
-
|
214
|
-
self._packages = packages
|
215
|
-
|
216
|
-
@property
|
217
|
-
def source_packages(self):
|
218
|
-
"""Gets the source_packages of this VariantResponse. # noqa: E501
|
219
|
-
|
220
|
-
Relative path to directory with source RPMs. # noqa: E501
|
221
|
-
|
222
|
-
:return: The source_packages of this VariantResponse. # noqa: E501
|
223
|
-
:rtype: str
|
224
|
-
"""
|
225
|
-
return self._source_packages
|
226
|
-
|
227
|
-
@source_packages.setter
|
228
|
-
def source_packages(self, source_packages):
|
229
|
-
"""Sets the source_packages of this VariantResponse.
|
230
|
-
|
231
|
-
Relative path to directory with source RPMs. # noqa: E501
|
232
|
-
|
233
|
-
:param source_packages: The source_packages of this VariantResponse. # noqa: E501
|
234
|
-
:type: str
|
235
|
-
"""
|
236
|
-
|
237
|
-
self._source_packages = source_packages
|
238
|
-
|
239
|
-
@property
|
240
|
-
def source_repository(self):
|
241
|
-
"""Gets the source_repository of this VariantResponse. # noqa: E501
|
242
|
-
|
243
|
-
Relative path to YUM repository with source RPMs. # noqa: E501
|
244
|
-
|
245
|
-
:return: The source_repository of this VariantResponse. # noqa: E501
|
246
|
-
:rtype: str
|
247
|
-
"""
|
248
|
-
return self._source_repository
|
249
|
-
|
250
|
-
@source_repository.setter
|
251
|
-
def source_repository(self, source_repository):
|
252
|
-
"""Sets the source_repository of this VariantResponse.
|
253
|
-
|
254
|
-
Relative path to YUM repository with source RPMs. # noqa: E501
|
255
|
-
|
256
|
-
:param source_repository: The source_repository of this VariantResponse. # noqa: E501
|
257
|
-
:type: str
|
258
|
-
"""
|
259
|
-
|
260
|
-
self._source_repository = source_repository
|
261
|
-
|
262
|
-
@property
|
263
|
-
def debug_packages(self):
|
264
|
-
"""Gets the debug_packages of this VariantResponse. # noqa: E501
|
265
|
-
|
266
|
-
Relative path to directory with debug RPMs. # noqa: E501
|
267
|
-
|
268
|
-
:return: The debug_packages of this VariantResponse. # noqa: E501
|
269
|
-
:rtype: str
|
270
|
-
"""
|
271
|
-
return self._debug_packages
|
272
|
-
|
273
|
-
@debug_packages.setter
|
274
|
-
def debug_packages(self, debug_packages):
|
275
|
-
"""Sets the debug_packages of this VariantResponse.
|
276
|
-
|
277
|
-
Relative path to directory with debug RPMs. # noqa: E501
|
278
|
-
|
279
|
-
:param debug_packages: The debug_packages of this VariantResponse. # noqa: E501
|
280
|
-
:type: str
|
281
|
-
"""
|
282
|
-
|
283
|
-
self._debug_packages = debug_packages
|
284
|
-
|
285
|
-
@property
|
286
|
-
def debug_repository(self):
|
287
|
-
"""Gets the debug_repository of this VariantResponse. # noqa: E501
|
288
|
-
|
289
|
-
Relative path to YUM repository with debug RPMs. # noqa: E501
|
290
|
-
|
291
|
-
:return: The debug_repository of this VariantResponse. # noqa: E501
|
292
|
-
:rtype: str
|
293
|
-
"""
|
294
|
-
return self._debug_repository
|
295
|
-
|
296
|
-
@debug_repository.setter
|
297
|
-
def debug_repository(self, debug_repository):
|
298
|
-
"""Sets the debug_repository of this VariantResponse.
|
299
|
-
|
300
|
-
Relative path to YUM repository with debug RPMs. # noqa: E501
|
301
|
-
|
302
|
-
:param debug_repository: The debug_repository of this VariantResponse. # noqa: E501
|
303
|
-
:type: str
|
304
|
-
"""
|
305
|
-
|
306
|
-
self._debug_repository = debug_repository
|
307
|
-
|
308
|
-
@property
|
309
|
-
def identity(self):
|
310
|
-
"""Gets the identity of this VariantResponse. # noqa: E501
|
311
|
-
|
312
|
-
Relative path to a pem file that identifies a product. # noqa: E501
|
313
|
-
|
314
|
-
:return: The identity of this VariantResponse. # noqa: E501
|
315
|
-
:rtype: str
|
316
|
-
"""
|
317
|
-
return self._identity
|
318
|
-
|
319
|
-
@identity.setter
|
320
|
-
def identity(self, identity):
|
321
|
-
"""Sets the identity of this VariantResponse.
|
322
|
-
|
323
|
-
Relative path to a pem file that identifies a product. # noqa: E501
|
324
|
-
|
325
|
-
:param identity: The identity of this VariantResponse. # noqa: E501
|
326
|
-
:type: str
|
327
|
-
"""
|
328
|
-
|
329
|
-
self._identity = identity
|
330
|
-
|
331
|
-
def to_dict(self):
|
332
|
-
"""Returns the model properties as a dict"""
|
333
|
-
result = {}
|
334
|
-
|
335
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
336
|
-
value = getattr(self, attr)
|
337
|
-
if isinstance(value, list):
|
338
|
-
result[attr] = list(map(
|
339
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
340
|
-
value
|
341
|
-
))
|
342
|
-
elif hasattr(value, "to_dict"):
|
343
|
-
result[attr] = value.to_dict()
|
344
|
-
elif isinstance(value, dict):
|
345
|
-
result[attr] = dict(map(
|
346
|
-
lambda item: (item[0], item[1].to_dict())
|
347
|
-
if hasattr(item[1], "to_dict") else item,
|
348
|
-
value.items()
|
349
|
-
))
|
350
|
-
else:
|
351
|
-
result[attr] = value
|
352
|
-
|
353
|
-
return result
|
354
|
-
|
355
|
-
def to_str(self):
|
356
|
-
"""Returns the string representation of the model"""
|
357
|
-
return pprint.pformat(self.to_dict())
|
358
|
-
|
359
|
-
def __repr__(self):
|
360
|
-
"""For `print` and `pprint`"""
|
361
|
-
return self.to_str()
|
362
|
-
|
363
|
-
def __eq__(self, other):
|
364
|
-
"""Returns true if both objects are equal"""
|
365
|
-
if not isinstance(other, VariantResponse):
|
366
|
-
return False
|
367
|
-
|
368
|
-
return self.to_dict() == other.to_dict()
|
369
|
-
|
370
|
-
def __ne__(self, other):
|
371
|
-
"""Returns true if both objects are not equal"""
|
372
|
-
if not isinstance(other, VariantResponse):
|
373
|
-
return True
|
374
|
-
|
375
|
-
return self.to_dict() != other.to_dict()
|