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,621 +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 RpmDistributionTreeResponse(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
|
-
'pulp_href': 'str',
|
38
|
-
'header_version': 'str',
|
39
|
-
'release_name': 'str',
|
40
|
-
'release_short': 'str',
|
41
|
-
'release_version': 'str',
|
42
|
-
'release_is_layered': 'bool',
|
43
|
-
'base_product_name': 'str',
|
44
|
-
'base_product_short': 'str',
|
45
|
-
'base_product_version': 'str',
|
46
|
-
'arch': 'str',
|
47
|
-
'build_timestamp': 'float',
|
48
|
-
'instimage': 'str',
|
49
|
-
'mainimage': 'str',
|
50
|
-
'discnum': 'int',
|
51
|
-
'totaldiscs': 'int',
|
52
|
-
'addons': 'list[AddonResponse]',
|
53
|
-
'checksums': 'list[ChecksumResponse]',
|
54
|
-
'images': 'list[ImageResponse]',
|
55
|
-
'variants': 'list[VariantResponse]'
|
56
|
-
}
|
57
|
-
|
58
|
-
attribute_map = {
|
59
|
-
'pulp_href': 'pulp_href',
|
60
|
-
'header_version': 'header_version',
|
61
|
-
'release_name': 'release_name',
|
62
|
-
'release_short': 'release_short',
|
63
|
-
'release_version': 'release_version',
|
64
|
-
'release_is_layered': 'release_is_layered',
|
65
|
-
'base_product_name': 'base_product_name',
|
66
|
-
'base_product_short': 'base_product_short',
|
67
|
-
'base_product_version': 'base_product_version',
|
68
|
-
'arch': 'arch',
|
69
|
-
'build_timestamp': 'build_timestamp',
|
70
|
-
'instimage': 'instimage',
|
71
|
-
'mainimage': 'mainimage',
|
72
|
-
'discnum': 'discnum',
|
73
|
-
'totaldiscs': 'totaldiscs',
|
74
|
-
'addons': 'addons',
|
75
|
-
'checksums': 'checksums',
|
76
|
-
'images': 'images',
|
77
|
-
'variants': 'variants'
|
78
|
-
}
|
79
|
-
|
80
|
-
def __init__(self, pulp_href=None, header_version=None, release_name=None, release_short=None, release_version=None, release_is_layered=None, base_product_name=None, base_product_short=None, base_product_version=None, arch=None, build_timestamp=None, instimage=None, mainimage=None, discnum=None, totaldiscs=None, addons=None, checksums=None, images=None, variants=None, local_vars_configuration=None): # noqa: E501
|
81
|
-
"""RpmDistributionTreeResponse - a model defined in OpenAPI""" # noqa: E501
|
82
|
-
if local_vars_configuration is None:
|
83
|
-
local_vars_configuration = Configuration()
|
84
|
-
self.local_vars_configuration = local_vars_configuration
|
85
|
-
|
86
|
-
self._pulp_href = None
|
87
|
-
self._header_version = None
|
88
|
-
self._release_name = None
|
89
|
-
self._release_short = None
|
90
|
-
self._release_version = None
|
91
|
-
self._release_is_layered = None
|
92
|
-
self._base_product_name = None
|
93
|
-
self._base_product_short = None
|
94
|
-
self._base_product_version = None
|
95
|
-
self._arch = None
|
96
|
-
self._build_timestamp = None
|
97
|
-
self._instimage = None
|
98
|
-
self._mainimage = None
|
99
|
-
self._discnum = None
|
100
|
-
self._totaldiscs = None
|
101
|
-
self._addons = None
|
102
|
-
self._checksums = None
|
103
|
-
self._images = None
|
104
|
-
self._variants = None
|
105
|
-
self.discriminator = None
|
106
|
-
|
107
|
-
if pulp_href is not None:
|
108
|
-
self.pulp_href = pulp_href
|
109
|
-
self.header_version = header_version
|
110
|
-
self.release_name = release_name
|
111
|
-
self.release_short = release_short
|
112
|
-
self.release_version = release_version
|
113
|
-
self.release_is_layered = release_is_layered
|
114
|
-
self.base_product_name = base_product_name
|
115
|
-
self.base_product_short = base_product_short
|
116
|
-
self.base_product_version = base_product_version
|
117
|
-
self.arch = arch
|
118
|
-
self.build_timestamp = build_timestamp
|
119
|
-
self.instimage = instimage
|
120
|
-
self.mainimage = mainimage
|
121
|
-
self.discnum = discnum
|
122
|
-
self.totaldiscs = totaldiscs
|
123
|
-
self.addons = addons
|
124
|
-
self.checksums = checksums
|
125
|
-
self.images = images
|
126
|
-
self.variants = variants
|
127
|
-
|
128
|
-
@property
|
129
|
-
def pulp_href(self):
|
130
|
-
"""Gets the pulp_href of this RpmDistributionTreeResponse. # noqa: E501
|
131
|
-
|
132
|
-
|
133
|
-
:return: The pulp_href of this RpmDistributionTreeResponse. # noqa: E501
|
134
|
-
:rtype: str
|
135
|
-
"""
|
136
|
-
return self._pulp_href
|
137
|
-
|
138
|
-
@pulp_href.setter
|
139
|
-
def pulp_href(self, pulp_href):
|
140
|
-
"""Sets the pulp_href of this RpmDistributionTreeResponse.
|
141
|
-
|
142
|
-
|
143
|
-
:param pulp_href: The pulp_href of this RpmDistributionTreeResponse. # noqa: E501
|
144
|
-
:type: str
|
145
|
-
"""
|
146
|
-
|
147
|
-
self._pulp_href = pulp_href
|
148
|
-
|
149
|
-
@property
|
150
|
-
def header_version(self):
|
151
|
-
"""Gets the header_version of this RpmDistributionTreeResponse. # noqa: E501
|
152
|
-
|
153
|
-
Header Version. # noqa: E501
|
154
|
-
|
155
|
-
:return: The header_version of this RpmDistributionTreeResponse. # noqa: E501
|
156
|
-
:rtype: str
|
157
|
-
"""
|
158
|
-
return self._header_version
|
159
|
-
|
160
|
-
@header_version.setter
|
161
|
-
def header_version(self, header_version):
|
162
|
-
"""Sets the header_version of this RpmDistributionTreeResponse.
|
163
|
-
|
164
|
-
Header Version. # noqa: E501
|
165
|
-
|
166
|
-
:param header_version: The header_version of this RpmDistributionTreeResponse. # noqa: E501
|
167
|
-
:type: str
|
168
|
-
"""
|
169
|
-
if self.local_vars_configuration.client_side_validation and header_version is None: # noqa: E501
|
170
|
-
raise ValueError("Invalid value for `header_version`, must not be `None`") # noqa: E501
|
171
|
-
|
172
|
-
self._header_version = header_version
|
173
|
-
|
174
|
-
@property
|
175
|
-
def release_name(self):
|
176
|
-
"""Gets the release_name of this RpmDistributionTreeResponse. # noqa: E501
|
177
|
-
|
178
|
-
Release name. # noqa: E501
|
179
|
-
|
180
|
-
:return: The release_name of this RpmDistributionTreeResponse. # noqa: E501
|
181
|
-
:rtype: str
|
182
|
-
"""
|
183
|
-
return self._release_name
|
184
|
-
|
185
|
-
@release_name.setter
|
186
|
-
def release_name(self, release_name):
|
187
|
-
"""Sets the release_name of this RpmDistributionTreeResponse.
|
188
|
-
|
189
|
-
Release name. # noqa: E501
|
190
|
-
|
191
|
-
:param release_name: The release_name of this RpmDistributionTreeResponse. # noqa: E501
|
192
|
-
:type: str
|
193
|
-
"""
|
194
|
-
if self.local_vars_configuration.client_side_validation and release_name is None: # noqa: E501
|
195
|
-
raise ValueError("Invalid value for `release_name`, must not be `None`") # noqa: E501
|
196
|
-
|
197
|
-
self._release_name = release_name
|
198
|
-
|
199
|
-
@property
|
200
|
-
def release_short(self):
|
201
|
-
"""Gets the release_short of this RpmDistributionTreeResponse. # noqa: E501
|
202
|
-
|
203
|
-
Release short name. # noqa: E501
|
204
|
-
|
205
|
-
:return: The release_short of this RpmDistributionTreeResponse. # noqa: E501
|
206
|
-
:rtype: str
|
207
|
-
"""
|
208
|
-
return self._release_short
|
209
|
-
|
210
|
-
@release_short.setter
|
211
|
-
def release_short(self, release_short):
|
212
|
-
"""Sets the release_short of this RpmDistributionTreeResponse.
|
213
|
-
|
214
|
-
Release short name. # noqa: E501
|
215
|
-
|
216
|
-
:param release_short: The release_short of this RpmDistributionTreeResponse. # noqa: E501
|
217
|
-
:type: str
|
218
|
-
"""
|
219
|
-
if self.local_vars_configuration.client_side_validation and release_short is None: # noqa: E501
|
220
|
-
raise ValueError("Invalid value for `release_short`, must not be `None`") # noqa: E501
|
221
|
-
|
222
|
-
self._release_short = release_short
|
223
|
-
|
224
|
-
@property
|
225
|
-
def release_version(self):
|
226
|
-
"""Gets the release_version of this RpmDistributionTreeResponse. # noqa: E501
|
227
|
-
|
228
|
-
Release version. # noqa: E501
|
229
|
-
|
230
|
-
:return: The release_version of this RpmDistributionTreeResponse. # noqa: E501
|
231
|
-
:rtype: str
|
232
|
-
"""
|
233
|
-
return self._release_version
|
234
|
-
|
235
|
-
@release_version.setter
|
236
|
-
def release_version(self, release_version):
|
237
|
-
"""Sets the release_version of this RpmDistributionTreeResponse.
|
238
|
-
|
239
|
-
Release version. # noqa: E501
|
240
|
-
|
241
|
-
:param release_version: The release_version of this RpmDistributionTreeResponse. # noqa: E501
|
242
|
-
:type: str
|
243
|
-
"""
|
244
|
-
if self.local_vars_configuration.client_side_validation and release_version is None: # noqa: E501
|
245
|
-
raise ValueError("Invalid value for `release_version`, must not be `None`") # noqa: E501
|
246
|
-
|
247
|
-
self._release_version = release_version
|
248
|
-
|
249
|
-
@property
|
250
|
-
def release_is_layered(self):
|
251
|
-
"""Gets the release_is_layered of this RpmDistributionTreeResponse. # noqa: E501
|
252
|
-
|
253
|
-
Typically False for an operating system, True otherwise. # noqa: E501
|
254
|
-
|
255
|
-
:return: The release_is_layered of this RpmDistributionTreeResponse. # noqa: E501
|
256
|
-
:rtype: bool
|
257
|
-
"""
|
258
|
-
return self._release_is_layered
|
259
|
-
|
260
|
-
@release_is_layered.setter
|
261
|
-
def release_is_layered(self, release_is_layered):
|
262
|
-
"""Sets the release_is_layered of this RpmDistributionTreeResponse.
|
263
|
-
|
264
|
-
Typically False for an operating system, True otherwise. # noqa: E501
|
265
|
-
|
266
|
-
:param release_is_layered: The release_is_layered of this RpmDistributionTreeResponse. # noqa: E501
|
267
|
-
:type: bool
|
268
|
-
"""
|
269
|
-
if self.local_vars_configuration.client_side_validation and release_is_layered is None: # noqa: E501
|
270
|
-
raise ValueError("Invalid value for `release_is_layered`, must not be `None`") # noqa: E501
|
271
|
-
|
272
|
-
self._release_is_layered = release_is_layered
|
273
|
-
|
274
|
-
@property
|
275
|
-
def base_product_name(self):
|
276
|
-
"""Gets the base_product_name of this RpmDistributionTreeResponse. # noqa: E501
|
277
|
-
|
278
|
-
Base Product name. # noqa: E501
|
279
|
-
|
280
|
-
:return: The base_product_name of this RpmDistributionTreeResponse. # noqa: E501
|
281
|
-
:rtype: str
|
282
|
-
"""
|
283
|
-
return self._base_product_name
|
284
|
-
|
285
|
-
@base_product_name.setter
|
286
|
-
def base_product_name(self, base_product_name):
|
287
|
-
"""Sets the base_product_name of this RpmDistributionTreeResponse.
|
288
|
-
|
289
|
-
Base Product name. # noqa: E501
|
290
|
-
|
291
|
-
:param base_product_name: The base_product_name of this RpmDistributionTreeResponse. # noqa: E501
|
292
|
-
:type: str
|
293
|
-
"""
|
294
|
-
|
295
|
-
self._base_product_name = base_product_name
|
296
|
-
|
297
|
-
@property
|
298
|
-
def base_product_short(self):
|
299
|
-
"""Gets the base_product_short of this RpmDistributionTreeResponse. # noqa: E501
|
300
|
-
|
301
|
-
Base Product short name. # noqa: E501
|
302
|
-
|
303
|
-
:return: The base_product_short of this RpmDistributionTreeResponse. # noqa: E501
|
304
|
-
:rtype: str
|
305
|
-
"""
|
306
|
-
return self._base_product_short
|
307
|
-
|
308
|
-
@base_product_short.setter
|
309
|
-
def base_product_short(self, base_product_short):
|
310
|
-
"""Sets the base_product_short of this RpmDistributionTreeResponse.
|
311
|
-
|
312
|
-
Base Product short name. # noqa: E501
|
313
|
-
|
314
|
-
:param base_product_short: The base_product_short of this RpmDistributionTreeResponse. # noqa: E501
|
315
|
-
:type: str
|
316
|
-
"""
|
317
|
-
|
318
|
-
self._base_product_short = base_product_short
|
319
|
-
|
320
|
-
@property
|
321
|
-
def base_product_version(self):
|
322
|
-
"""Gets the base_product_version of this RpmDistributionTreeResponse. # noqa: E501
|
323
|
-
|
324
|
-
Base Product version. # noqa: E501
|
325
|
-
|
326
|
-
:return: The base_product_version of this RpmDistributionTreeResponse. # noqa: E501
|
327
|
-
:rtype: str
|
328
|
-
"""
|
329
|
-
return self._base_product_version
|
330
|
-
|
331
|
-
@base_product_version.setter
|
332
|
-
def base_product_version(self, base_product_version):
|
333
|
-
"""Sets the base_product_version of this RpmDistributionTreeResponse.
|
334
|
-
|
335
|
-
Base Product version. # noqa: E501
|
336
|
-
|
337
|
-
:param base_product_version: The base_product_version of this RpmDistributionTreeResponse. # noqa: E501
|
338
|
-
:type: str
|
339
|
-
"""
|
340
|
-
|
341
|
-
self._base_product_version = base_product_version
|
342
|
-
|
343
|
-
@property
|
344
|
-
def arch(self):
|
345
|
-
"""Gets the arch of this RpmDistributionTreeResponse. # noqa: E501
|
346
|
-
|
347
|
-
Tree architecturerch. # noqa: E501
|
348
|
-
|
349
|
-
:return: The arch of this RpmDistributionTreeResponse. # noqa: E501
|
350
|
-
:rtype: str
|
351
|
-
"""
|
352
|
-
return self._arch
|
353
|
-
|
354
|
-
@arch.setter
|
355
|
-
def arch(self, arch):
|
356
|
-
"""Sets the arch of this RpmDistributionTreeResponse.
|
357
|
-
|
358
|
-
Tree architecturerch. # noqa: E501
|
359
|
-
|
360
|
-
:param arch: The arch of this RpmDistributionTreeResponse. # noqa: E501
|
361
|
-
:type: str
|
362
|
-
"""
|
363
|
-
if self.local_vars_configuration.client_side_validation and arch is None: # noqa: E501
|
364
|
-
raise ValueError("Invalid value for `arch`, must not be `None`") # noqa: E501
|
365
|
-
|
366
|
-
self._arch = arch
|
367
|
-
|
368
|
-
@property
|
369
|
-
def build_timestamp(self):
|
370
|
-
"""Gets the build_timestamp of this RpmDistributionTreeResponse. # noqa: E501
|
371
|
-
|
372
|
-
Tree build time timestamp. # noqa: E501
|
373
|
-
|
374
|
-
:return: The build_timestamp of this RpmDistributionTreeResponse. # noqa: E501
|
375
|
-
:rtype: float
|
376
|
-
"""
|
377
|
-
return self._build_timestamp
|
378
|
-
|
379
|
-
@build_timestamp.setter
|
380
|
-
def build_timestamp(self, build_timestamp):
|
381
|
-
"""Sets the build_timestamp of this RpmDistributionTreeResponse.
|
382
|
-
|
383
|
-
Tree build time timestamp. # noqa: E501
|
384
|
-
|
385
|
-
:param build_timestamp: The build_timestamp of this RpmDistributionTreeResponse. # noqa: E501
|
386
|
-
:type: float
|
387
|
-
"""
|
388
|
-
if self.local_vars_configuration.client_side_validation and build_timestamp is None: # noqa: E501
|
389
|
-
raise ValueError("Invalid value for `build_timestamp`, must not be `None`") # noqa: E501
|
390
|
-
|
391
|
-
self._build_timestamp = build_timestamp
|
392
|
-
|
393
|
-
@property
|
394
|
-
def instimage(self):
|
395
|
-
"""Gets the instimage of this RpmDistributionTreeResponse. # noqa: E501
|
396
|
-
|
397
|
-
Relative path to Anaconda instimage. # noqa: E501
|
398
|
-
|
399
|
-
:return: The instimage of this RpmDistributionTreeResponse. # noqa: E501
|
400
|
-
:rtype: str
|
401
|
-
"""
|
402
|
-
return self._instimage
|
403
|
-
|
404
|
-
@instimage.setter
|
405
|
-
def instimage(self, instimage):
|
406
|
-
"""Sets the instimage of this RpmDistributionTreeResponse.
|
407
|
-
|
408
|
-
Relative path to Anaconda instimage. # noqa: E501
|
409
|
-
|
410
|
-
:param instimage: The instimage of this RpmDistributionTreeResponse. # noqa: E501
|
411
|
-
:type: str
|
412
|
-
"""
|
413
|
-
|
414
|
-
self._instimage = instimage
|
415
|
-
|
416
|
-
@property
|
417
|
-
def mainimage(self):
|
418
|
-
"""Gets the mainimage of this RpmDistributionTreeResponse. # noqa: E501
|
419
|
-
|
420
|
-
Relative path to Anaconda stage2 image. # noqa: E501
|
421
|
-
|
422
|
-
:return: The mainimage of this RpmDistributionTreeResponse. # noqa: E501
|
423
|
-
:rtype: str
|
424
|
-
"""
|
425
|
-
return self._mainimage
|
426
|
-
|
427
|
-
@mainimage.setter
|
428
|
-
def mainimage(self, mainimage):
|
429
|
-
"""Sets the mainimage of this RpmDistributionTreeResponse.
|
430
|
-
|
431
|
-
Relative path to Anaconda stage2 image. # noqa: E501
|
432
|
-
|
433
|
-
:param mainimage: The mainimage of this RpmDistributionTreeResponse. # noqa: E501
|
434
|
-
:type: str
|
435
|
-
"""
|
436
|
-
|
437
|
-
self._mainimage = mainimage
|
438
|
-
|
439
|
-
@property
|
440
|
-
def discnum(self):
|
441
|
-
"""Gets the discnum of this RpmDistributionTreeResponse. # noqa: E501
|
442
|
-
|
443
|
-
Disc number. # noqa: E501
|
444
|
-
|
445
|
-
:return: The discnum of this RpmDistributionTreeResponse. # noqa: E501
|
446
|
-
:rtype: int
|
447
|
-
"""
|
448
|
-
return self._discnum
|
449
|
-
|
450
|
-
@discnum.setter
|
451
|
-
def discnum(self, discnum):
|
452
|
-
"""Sets the discnum of this RpmDistributionTreeResponse.
|
453
|
-
|
454
|
-
Disc number. # noqa: E501
|
455
|
-
|
456
|
-
:param discnum: The discnum of this RpmDistributionTreeResponse. # noqa: E501
|
457
|
-
:type: int
|
458
|
-
"""
|
459
|
-
|
460
|
-
self._discnum = discnum
|
461
|
-
|
462
|
-
@property
|
463
|
-
def totaldiscs(self):
|
464
|
-
"""Gets the totaldiscs of this RpmDistributionTreeResponse. # noqa: E501
|
465
|
-
|
466
|
-
Number of discs in media set. # noqa: E501
|
467
|
-
|
468
|
-
:return: The totaldiscs of this RpmDistributionTreeResponse. # noqa: E501
|
469
|
-
:rtype: int
|
470
|
-
"""
|
471
|
-
return self._totaldiscs
|
472
|
-
|
473
|
-
@totaldiscs.setter
|
474
|
-
def totaldiscs(self, totaldiscs):
|
475
|
-
"""Sets the totaldiscs of this RpmDistributionTreeResponse.
|
476
|
-
|
477
|
-
Number of discs in media set. # noqa: E501
|
478
|
-
|
479
|
-
:param totaldiscs: The totaldiscs of this RpmDistributionTreeResponse. # noqa: E501
|
480
|
-
:type: int
|
481
|
-
"""
|
482
|
-
|
483
|
-
self._totaldiscs = totaldiscs
|
484
|
-
|
485
|
-
@property
|
486
|
-
def addons(self):
|
487
|
-
"""Gets the addons of this RpmDistributionTreeResponse. # noqa: E501
|
488
|
-
|
489
|
-
|
490
|
-
:return: The addons of this RpmDistributionTreeResponse. # noqa: E501
|
491
|
-
:rtype: list[AddonResponse]
|
492
|
-
"""
|
493
|
-
return self._addons
|
494
|
-
|
495
|
-
@addons.setter
|
496
|
-
def addons(self, addons):
|
497
|
-
"""Sets the addons of this RpmDistributionTreeResponse.
|
498
|
-
|
499
|
-
|
500
|
-
:param addons: The addons of this RpmDistributionTreeResponse. # noqa: E501
|
501
|
-
:type: list[AddonResponse]
|
502
|
-
"""
|
503
|
-
if self.local_vars_configuration.client_side_validation and addons is None: # noqa: E501
|
504
|
-
raise ValueError("Invalid value for `addons`, must not be `None`") # noqa: E501
|
505
|
-
|
506
|
-
self._addons = addons
|
507
|
-
|
508
|
-
@property
|
509
|
-
def checksums(self):
|
510
|
-
"""Gets the checksums of this RpmDistributionTreeResponse. # noqa: E501
|
511
|
-
|
512
|
-
|
513
|
-
:return: The checksums of this RpmDistributionTreeResponse. # noqa: E501
|
514
|
-
:rtype: list[ChecksumResponse]
|
515
|
-
"""
|
516
|
-
return self._checksums
|
517
|
-
|
518
|
-
@checksums.setter
|
519
|
-
def checksums(self, checksums):
|
520
|
-
"""Sets the checksums of this RpmDistributionTreeResponse.
|
521
|
-
|
522
|
-
|
523
|
-
:param checksums: The checksums of this RpmDistributionTreeResponse. # noqa: E501
|
524
|
-
:type: list[ChecksumResponse]
|
525
|
-
"""
|
526
|
-
if self.local_vars_configuration.client_side_validation and checksums is None: # noqa: E501
|
527
|
-
raise ValueError("Invalid value for `checksums`, must not be `None`") # noqa: E501
|
528
|
-
|
529
|
-
self._checksums = checksums
|
530
|
-
|
531
|
-
@property
|
532
|
-
def images(self):
|
533
|
-
"""Gets the images of this RpmDistributionTreeResponse. # noqa: E501
|
534
|
-
|
535
|
-
|
536
|
-
:return: The images of this RpmDistributionTreeResponse. # noqa: E501
|
537
|
-
:rtype: list[ImageResponse]
|
538
|
-
"""
|
539
|
-
return self._images
|
540
|
-
|
541
|
-
@images.setter
|
542
|
-
def images(self, images):
|
543
|
-
"""Sets the images of this RpmDistributionTreeResponse.
|
544
|
-
|
545
|
-
|
546
|
-
:param images: The images of this RpmDistributionTreeResponse. # noqa: E501
|
547
|
-
:type: list[ImageResponse]
|
548
|
-
"""
|
549
|
-
if self.local_vars_configuration.client_side_validation and images is None: # noqa: E501
|
550
|
-
raise ValueError("Invalid value for `images`, must not be `None`") # noqa: E501
|
551
|
-
|
552
|
-
self._images = images
|
553
|
-
|
554
|
-
@property
|
555
|
-
def variants(self):
|
556
|
-
"""Gets the variants of this RpmDistributionTreeResponse. # noqa: E501
|
557
|
-
|
558
|
-
|
559
|
-
:return: The variants of this RpmDistributionTreeResponse. # noqa: E501
|
560
|
-
:rtype: list[VariantResponse]
|
561
|
-
"""
|
562
|
-
return self._variants
|
563
|
-
|
564
|
-
@variants.setter
|
565
|
-
def variants(self, variants):
|
566
|
-
"""Sets the variants of this RpmDistributionTreeResponse.
|
567
|
-
|
568
|
-
|
569
|
-
:param variants: The variants of this RpmDistributionTreeResponse. # noqa: E501
|
570
|
-
:type: list[VariantResponse]
|
571
|
-
"""
|
572
|
-
if self.local_vars_configuration.client_side_validation and variants is None: # noqa: E501
|
573
|
-
raise ValueError("Invalid value for `variants`, must not be `None`") # noqa: E501
|
574
|
-
|
575
|
-
self._variants = variants
|
576
|
-
|
577
|
-
def to_dict(self):
|
578
|
-
"""Returns the model properties as a dict"""
|
579
|
-
result = {}
|
580
|
-
|
581
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
582
|
-
value = getattr(self, attr)
|
583
|
-
if isinstance(value, list):
|
584
|
-
result[attr] = list(map(
|
585
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
586
|
-
value
|
587
|
-
))
|
588
|
-
elif hasattr(value, "to_dict"):
|
589
|
-
result[attr] = value.to_dict()
|
590
|
-
elif isinstance(value, dict):
|
591
|
-
result[attr] = dict(map(
|
592
|
-
lambda item: (item[0], item[1].to_dict())
|
593
|
-
if hasattr(item[1], "to_dict") else item,
|
594
|
-
value.items()
|
595
|
-
))
|
596
|
-
else:
|
597
|
-
result[attr] = value
|
598
|
-
|
599
|
-
return result
|
600
|
-
|
601
|
-
def to_str(self):
|
602
|
-
"""Returns the string representation of the model"""
|
603
|
-
return pprint.pformat(self.to_dict())
|
604
|
-
|
605
|
-
def __repr__(self):
|
606
|
-
"""For `print` and `pprint`"""
|
607
|
-
return self.to_str()
|
608
|
-
|
609
|
-
def __eq__(self, other):
|
610
|
-
"""Returns true if both objects are equal"""
|
611
|
-
if not isinstance(other, RpmDistributionTreeResponse):
|
612
|
-
return False
|
613
|
-
|
614
|
-
return self.to_dict() == other.to_dict()
|
615
|
-
|
616
|
-
def __ne__(self, other):
|
617
|
-
"""Returns true if both objects are not equal"""
|
618
|
-
if not isinstance(other, RpmDistributionTreeResponse):
|
619
|
-
return True
|
620
|
-
|
621
|
-
return self.to_dict() != other.to_dict()
|