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,295 +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 RpmModulemdDefaults(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
|
-
'artifact': 'str',
|
38
|
-
'relative_path': 'str',
|
39
|
-
'file': 'file',
|
40
|
-
'repository': 'str',
|
41
|
-
'module': 'str',
|
42
|
-
'stream': 'str',
|
43
|
-
'profiles': 'object'
|
44
|
-
}
|
45
|
-
|
46
|
-
attribute_map = {
|
47
|
-
'artifact': 'artifact',
|
48
|
-
'relative_path': 'relative_path',
|
49
|
-
'file': 'file',
|
50
|
-
'repository': 'repository',
|
51
|
-
'module': 'module',
|
52
|
-
'stream': 'stream',
|
53
|
-
'profiles': 'profiles'
|
54
|
-
}
|
55
|
-
|
56
|
-
def __init__(self, artifact=None, relative_path=None, file=None, repository=None, module=None, stream=None, profiles=None, local_vars_configuration=None): # noqa: E501
|
57
|
-
"""RpmModulemdDefaults - a model defined in OpenAPI""" # noqa: E501
|
58
|
-
if local_vars_configuration is None:
|
59
|
-
local_vars_configuration = Configuration()
|
60
|
-
self.local_vars_configuration = local_vars_configuration
|
61
|
-
|
62
|
-
self._artifact = None
|
63
|
-
self._relative_path = None
|
64
|
-
self._file = None
|
65
|
-
self._repository = None
|
66
|
-
self._module = None
|
67
|
-
self._stream = None
|
68
|
-
self._profiles = None
|
69
|
-
self.discriminator = None
|
70
|
-
|
71
|
-
if artifact is not None:
|
72
|
-
self.artifact = artifact
|
73
|
-
self.relative_path = relative_path
|
74
|
-
if file is not None:
|
75
|
-
self.file = file
|
76
|
-
if repository is not None:
|
77
|
-
self.repository = repository
|
78
|
-
self.module = module
|
79
|
-
self.stream = stream
|
80
|
-
self.profiles = profiles
|
81
|
-
|
82
|
-
@property
|
83
|
-
def artifact(self):
|
84
|
-
"""Gets the artifact of this RpmModulemdDefaults. # noqa: E501
|
85
|
-
|
86
|
-
Artifact file representing the physical content # noqa: E501
|
87
|
-
|
88
|
-
:return: The artifact of this RpmModulemdDefaults. # noqa: E501
|
89
|
-
:rtype: str
|
90
|
-
"""
|
91
|
-
return self._artifact
|
92
|
-
|
93
|
-
@artifact.setter
|
94
|
-
def artifact(self, artifact):
|
95
|
-
"""Sets the artifact of this RpmModulemdDefaults.
|
96
|
-
|
97
|
-
Artifact file representing the physical content # noqa: E501
|
98
|
-
|
99
|
-
:param artifact: The artifact of this RpmModulemdDefaults. # noqa: E501
|
100
|
-
:type: str
|
101
|
-
"""
|
102
|
-
|
103
|
-
self._artifact = artifact
|
104
|
-
|
105
|
-
@property
|
106
|
-
def relative_path(self):
|
107
|
-
"""Gets the relative_path of this RpmModulemdDefaults. # noqa: E501
|
108
|
-
|
109
|
-
Path where the artifact is located relative to distributions base_path # noqa: E501
|
110
|
-
|
111
|
-
:return: The relative_path of this RpmModulemdDefaults. # noqa: E501
|
112
|
-
:rtype: str
|
113
|
-
"""
|
114
|
-
return self._relative_path
|
115
|
-
|
116
|
-
@relative_path.setter
|
117
|
-
def relative_path(self, relative_path):
|
118
|
-
"""Sets the relative_path of this RpmModulemdDefaults.
|
119
|
-
|
120
|
-
Path where the artifact is located relative to distributions base_path # noqa: E501
|
121
|
-
|
122
|
-
:param relative_path: The relative_path of this RpmModulemdDefaults. # noqa: E501
|
123
|
-
:type: str
|
124
|
-
"""
|
125
|
-
if self.local_vars_configuration.client_side_validation and relative_path is None: # noqa: E501
|
126
|
-
raise ValueError("Invalid value for `relative_path`, must not be `None`") # noqa: E501
|
127
|
-
|
128
|
-
self._relative_path = relative_path
|
129
|
-
|
130
|
-
@property
|
131
|
-
def file(self):
|
132
|
-
"""Gets the file of this RpmModulemdDefaults. # noqa: E501
|
133
|
-
|
134
|
-
An uploaded file that may be turned into the artifact of the content unit. # noqa: E501
|
135
|
-
|
136
|
-
:return: The file of this RpmModulemdDefaults. # noqa: E501
|
137
|
-
:rtype: file
|
138
|
-
"""
|
139
|
-
return self._file
|
140
|
-
|
141
|
-
@file.setter
|
142
|
-
def file(self, file):
|
143
|
-
"""Sets the file of this RpmModulemdDefaults.
|
144
|
-
|
145
|
-
An uploaded file that may be turned into the artifact of the content unit. # noqa: E501
|
146
|
-
|
147
|
-
:param file: The file of this RpmModulemdDefaults. # noqa: E501
|
148
|
-
:type: file
|
149
|
-
"""
|
150
|
-
|
151
|
-
self._file = file
|
152
|
-
|
153
|
-
@property
|
154
|
-
def repository(self):
|
155
|
-
"""Gets the repository of this RpmModulemdDefaults. # noqa: E501
|
156
|
-
|
157
|
-
A URI of a repository the new content unit should be associated with. # noqa: E501
|
158
|
-
|
159
|
-
:return: The repository of this RpmModulemdDefaults. # noqa: E501
|
160
|
-
:rtype: str
|
161
|
-
"""
|
162
|
-
return self._repository
|
163
|
-
|
164
|
-
@repository.setter
|
165
|
-
def repository(self, repository):
|
166
|
-
"""Sets the repository of this RpmModulemdDefaults.
|
167
|
-
|
168
|
-
A URI of a repository the new content unit should be associated with. # noqa: E501
|
169
|
-
|
170
|
-
:param repository: The repository of this RpmModulemdDefaults. # noqa: E501
|
171
|
-
:type: str
|
172
|
-
"""
|
173
|
-
|
174
|
-
self._repository = repository
|
175
|
-
|
176
|
-
@property
|
177
|
-
def module(self):
|
178
|
-
"""Gets the module of this RpmModulemdDefaults. # noqa: E501
|
179
|
-
|
180
|
-
Modulemd name. # noqa: E501
|
181
|
-
|
182
|
-
:return: The module of this RpmModulemdDefaults. # noqa: E501
|
183
|
-
:rtype: str
|
184
|
-
"""
|
185
|
-
return self._module
|
186
|
-
|
187
|
-
@module.setter
|
188
|
-
def module(self, module):
|
189
|
-
"""Sets the module of this RpmModulemdDefaults.
|
190
|
-
|
191
|
-
Modulemd name. # noqa: E501
|
192
|
-
|
193
|
-
:param module: The module of this RpmModulemdDefaults. # noqa: E501
|
194
|
-
:type: str
|
195
|
-
"""
|
196
|
-
if self.local_vars_configuration.client_side_validation and module is None: # noqa: E501
|
197
|
-
raise ValueError("Invalid value for `module`, must not be `None`") # noqa: E501
|
198
|
-
|
199
|
-
self._module = module
|
200
|
-
|
201
|
-
@property
|
202
|
-
def stream(self):
|
203
|
-
"""Gets the stream of this RpmModulemdDefaults. # noqa: E501
|
204
|
-
|
205
|
-
Modulemd default stream. # noqa: E501
|
206
|
-
|
207
|
-
:return: The stream of this RpmModulemdDefaults. # noqa: E501
|
208
|
-
:rtype: str
|
209
|
-
"""
|
210
|
-
return self._stream
|
211
|
-
|
212
|
-
@stream.setter
|
213
|
-
def stream(self, stream):
|
214
|
-
"""Sets the stream of this RpmModulemdDefaults.
|
215
|
-
|
216
|
-
Modulemd default stream. # noqa: E501
|
217
|
-
|
218
|
-
:param stream: The stream of this RpmModulemdDefaults. # noqa: E501
|
219
|
-
:type: str
|
220
|
-
"""
|
221
|
-
if self.local_vars_configuration.client_side_validation and stream is None: # noqa: E501
|
222
|
-
raise ValueError("Invalid value for `stream`, must not be `None`") # noqa: E501
|
223
|
-
|
224
|
-
self._stream = stream
|
225
|
-
|
226
|
-
@property
|
227
|
-
def profiles(self):
|
228
|
-
"""Gets the profiles of this RpmModulemdDefaults. # noqa: E501
|
229
|
-
|
230
|
-
Default profiles for modulemd streams. # noqa: E501
|
231
|
-
|
232
|
-
:return: The profiles of this RpmModulemdDefaults. # noqa: E501
|
233
|
-
:rtype: object
|
234
|
-
"""
|
235
|
-
return self._profiles
|
236
|
-
|
237
|
-
@profiles.setter
|
238
|
-
def profiles(self, profiles):
|
239
|
-
"""Sets the profiles of this RpmModulemdDefaults.
|
240
|
-
|
241
|
-
Default profiles for modulemd streams. # noqa: E501
|
242
|
-
|
243
|
-
:param profiles: The profiles of this RpmModulemdDefaults. # noqa: E501
|
244
|
-
:type: object
|
245
|
-
"""
|
246
|
-
if self.local_vars_configuration.client_side_validation and profiles is None: # noqa: E501
|
247
|
-
raise ValueError("Invalid value for `profiles`, must not be `None`") # noqa: E501
|
248
|
-
|
249
|
-
self._profiles = profiles
|
250
|
-
|
251
|
-
def to_dict(self):
|
252
|
-
"""Returns the model properties as a dict"""
|
253
|
-
result = {}
|
254
|
-
|
255
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
256
|
-
value = getattr(self, attr)
|
257
|
-
if isinstance(value, list):
|
258
|
-
result[attr] = list(map(
|
259
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
260
|
-
value
|
261
|
-
))
|
262
|
-
elif hasattr(value, "to_dict"):
|
263
|
-
result[attr] = value.to_dict()
|
264
|
-
elif isinstance(value, dict):
|
265
|
-
result[attr] = dict(map(
|
266
|
-
lambda item: (item[0], item[1].to_dict())
|
267
|
-
if hasattr(item[1], "to_dict") else item,
|
268
|
-
value.items()
|
269
|
-
))
|
270
|
-
else:
|
271
|
-
result[attr] = value
|
272
|
-
|
273
|
-
return result
|
274
|
-
|
275
|
-
def to_str(self):
|
276
|
-
"""Returns the string representation of the model"""
|
277
|
-
return pprint.pformat(self.to_dict())
|
278
|
-
|
279
|
-
def __repr__(self):
|
280
|
-
"""For `print` and `pprint`"""
|
281
|
-
return self.to_str()
|
282
|
-
|
283
|
-
def __eq__(self, other):
|
284
|
-
"""Returns true if both objects are equal"""
|
285
|
-
if not isinstance(other, RpmModulemdDefaults):
|
286
|
-
return False
|
287
|
-
|
288
|
-
return self.to_dict() == other.to_dict()
|
289
|
-
|
290
|
-
def __ne__(self, other):
|
291
|
-
"""Returns true if both objects are not equal"""
|
292
|
-
if not isinstance(other, RpmModulemdDefaults):
|
293
|
-
return True
|
294
|
-
|
295
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,432 +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 RpmModulemdDefaultsResponse(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
|
-
'pulp_created': 'datetime',
|
39
|
-
'md5': 'str',
|
40
|
-
'sha1': 'str',
|
41
|
-
'sha224': 'str',
|
42
|
-
'sha256': 'str',
|
43
|
-
'sha384': 'str',
|
44
|
-
'sha512': 'str',
|
45
|
-
'artifact': 'str',
|
46
|
-
'module': 'str',
|
47
|
-
'stream': 'str',
|
48
|
-
'profiles': 'object'
|
49
|
-
}
|
50
|
-
|
51
|
-
attribute_map = {
|
52
|
-
'pulp_href': 'pulp_href',
|
53
|
-
'pulp_created': 'pulp_created',
|
54
|
-
'md5': 'md5',
|
55
|
-
'sha1': 'sha1',
|
56
|
-
'sha224': 'sha224',
|
57
|
-
'sha256': 'sha256',
|
58
|
-
'sha384': 'sha384',
|
59
|
-
'sha512': 'sha512',
|
60
|
-
'artifact': 'artifact',
|
61
|
-
'module': 'module',
|
62
|
-
'stream': 'stream',
|
63
|
-
'profiles': 'profiles'
|
64
|
-
}
|
65
|
-
|
66
|
-
def __init__(self, pulp_href=None, pulp_created=None, md5=None, sha1=None, sha224=None, sha256=None, sha384=None, sha512=None, artifact=None, module=None, stream=None, profiles=None, local_vars_configuration=None): # noqa: E501
|
67
|
-
"""RpmModulemdDefaultsResponse - a model defined in OpenAPI""" # noqa: E501
|
68
|
-
if local_vars_configuration is None:
|
69
|
-
local_vars_configuration = Configuration()
|
70
|
-
self.local_vars_configuration = local_vars_configuration
|
71
|
-
|
72
|
-
self._pulp_href = None
|
73
|
-
self._pulp_created = None
|
74
|
-
self._md5 = None
|
75
|
-
self._sha1 = None
|
76
|
-
self._sha224 = None
|
77
|
-
self._sha256 = None
|
78
|
-
self._sha384 = None
|
79
|
-
self._sha512 = None
|
80
|
-
self._artifact = None
|
81
|
-
self._module = None
|
82
|
-
self._stream = None
|
83
|
-
self._profiles = None
|
84
|
-
self.discriminator = None
|
85
|
-
|
86
|
-
if pulp_href is not None:
|
87
|
-
self.pulp_href = pulp_href
|
88
|
-
if pulp_created is not None:
|
89
|
-
self.pulp_created = pulp_created
|
90
|
-
if md5 is not None:
|
91
|
-
self.md5 = md5
|
92
|
-
if sha1 is not None:
|
93
|
-
self.sha1 = sha1
|
94
|
-
if sha224 is not None:
|
95
|
-
self.sha224 = sha224
|
96
|
-
if sha256 is not None:
|
97
|
-
self.sha256 = sha256
|
98
|
-
if sha384 is not None:
|
99
|
-
self.sha384 = sha384
|
100
|
-
if sha512 is not None:
|
101
|
-
self.sha512 = sha512
|
102
|
-
if artifact is not None:
|
103
|
-
self.artifact = artifact
|
104
|
-
self.module = module
|
105
|
-
self.stream = stream
|
106
|
-
self.profiles = profiles
|
107
|
-
|
108
|
-
@property
|
109
|
-
def pulp_href(self):
|
110
|
-
"""Gets the pulp_href of this RpmModulemdDefaultsResponse. # noqa: E501
|
111
|
-
|
112
|
-
|
113
|
-
:return: The pulp_href of this RpmModulemdDefaultsResponse. # noqa: E501
|
114
|
-
:rtype: str
|
115
|
-
"""
|
116
|
-
return self._pulp_href
|
117
|
-
|
118
|
-
@pulp_href.setter
|
119
|
-
def pulp_href(self, pulp_href):
|
120
|
-
"""Sets the pulp_href of this RpmModulemdDefaultsResponse.
|
121
|
-
|
122
|
-
|
123
|
-
:param pulp_href: The pulp_href of this RpmModulemdDefaultsResponse. # noqa: E501
|
124
|
-
:type: str
|
125
|
-
"""
|
126
|
-
|
127
|
-
self._pulp_href = pulp_href
|
128
|
-
|
129
|
-
@property
|
130
|
-
def pulp_created(self):
|
131
|
-
"""Gets the pulp_created of this RpmModulemdDefaultsResponse. # noqa: E501
|
132
|
-
|
133
|
-
Timestamp of creation. # noqa: E501
|
134
|
-
|
135
|
-
:return: The pulp_created of this RpmModulemdDefaultsResponse. # noqa: E501
|
136
|
-
:rtype: datetime
|
137
|
-
"""
|
138
|
-
return self._pulp_created
|
139
|
-
|
140
|
-
@pulp_created.setter
|
141
|
-
def pulp_created(self, pulp_created):
|
142
|
-
"""Sets the pulp_created of this RpmModulemdDefaultsResponse.
|
143
|
-
|
144
|
-
Timestamp of creation. # noqa: E501
|
145
|
-
|
146
|
-
:param pulp_created: The pulp_created of this RpmModulemdDefaultsResponse. # noqa: E501
|
147
|
-
:type: datetime
|
148
|
-
"""
|
149
|
-
|
150
|
-
self._pulp_created = pulp_created
|
151
|
-
|
152
|
-
@property
|
153
|
-
def md5(self):
|
154
|
-
"""Gets the md5 of this RpmModulemdDefaultsResponse. # noqa: E501
|
155
|
-
|
156
|
-
The MD5 checksum if available. # noqa: E501
|
157
|
-
|
158
|
-
:return: The md5 of this RpmModulemdDefaultsResponse. # noqa: E501
|
159
|
-
:rtype: str
|
160
|
-
"""
|
161
|
-
return self._md5
|
162
|
-
|
163
|
-
@md5.setter
|
164
|
-
def md5(self, md5):
|
165
|
-
"""Sets the md5 of this RpmModulemdDefaultsResponse.
|
166
|
-
|
167
|
-
The MD5 checksum if available. # noqa: E501
|
168
|
-
|
169
|
-
:param md5: The md5 of this RpmModulemdDefaultsResponse. # noqa: E501
|
170
|
-
:type: str
|
171
|
-
"""
|
172
|
-
|
173
|
-
self._md5 = md5
|
174
|
-
|
175
|
-
@property
|
176
|
-
def sha1(self):
|
177
|
-
"""Gets the sha1 of this RpmModulemdDefaultsResponse. # noqa: E501
|
178
|
-
|
179
|
-
The SHA-1 checksum if available. # noqa: E501
|
180
|
-
|
181
|
-
:return: The sha1 of this RpmModulemdDefaultsResponse. # noqa: E501
|
182
|
-
:rtype: str
|
183
|
-
"""
|
184
|
-
return self._sha1
|
185
|
-
|
186
|
-
@sha1.setter
|
187
|
-
def sha1(self, sha1):
|
188
|
-
"""Sets the sha1 of this RpmModulemdDefaultsResponse.
|
189
|
-
|
190
|
-
The SHA-1 checksum if available. # noqa: E501
|
191
|
-
|
192
|
-
:param sha1: The sha1 of this RpmModulemdDefaultsResponse. # noqa: E501
|
193
|
-
:type: str
|
194
|
-
"""
|
195
|
-
|
196
|
-
self._sha1 = sha1
|
197
|
-
|
198
|
-
@property
|
199
|
-
def sha224(self):
|
200
|
-
"""Gets the sha224 of this RpmModulemdDefaultsResponse. # noqa: E501
|
201
|
-
|
202
|
-
The SHA-224 checksum if available. # noqa: E501
|
203
|
-
|
204
|
-
:return: The sha224 of this RpmModulemdDefaultsResponse. # noqa: E501
|
205
|
-
:rtype: str
|
206
|
-
"""
|
207
|
-
return self._sha224
|
208
|
-
|
209
|
-
@sha224.setter
|
210
|
-
def sha224(self, sha224):
|
211
|
-
"""Sets the sha224 of this RpmModulemdDefaultsResponse.
|
212
|
-
|
213
|
-
The SHA-224 checksum if available. # noqa: E501
|
214
|
-
|
215
|
-
:param sha224: The sha224 of this RpmModulemdDefaultsResponse. # noqa: E501
|
216
|
-
:type: str
|
217
|
-
"""
|
218
|
-
|
219
|
-
self._sha224 = sha224
|
220
|
-
|
221
|
-
@property
|
222
|
-
def sha256(self):
|
223
|
-
"""Gets the sha256 of this RpmModulemdDefaultsResponse. # noqa: E501
|
224
|
-
|
225
|
-
The SHA-256 checksum if available. # noqa: E501
|
226
|
-
|
227
|
-
:return: The sha256 of this RpmModulemdDefaultsResponse. # noqa: E501
|
228
|
-
:rtype: str
|
229
|
-
"""
|
230
|
-
return self._sha256
|
231
|
-
|
232
|
-
@sha256.setter
|
233
|
-
def sha256(self, sha256):
|
234
|
-
"""Sets the sha256 of this RpmModulemdDefaultsResponse.
|
235
|
-
|
236
|
-
The SHA-256 checksum if available. # noqa: E501
|
237
|
-
|
238
|
-
:param sha256: The sha256 of this RpmModulemdDefaultsResponse. # noqa: E501
|
239
|
-
:type: str
|
240
|
-
"""
|
241
|
-
|
242
|
-
self._sha256 = sha256
|
243
|
-
|
244
|
-
@property
|
245
|
-
def sha384(self):
|
246
|
-
"""Gets the sha384 of this RpmModulemdDefaultsResponse. # noqa: E501
|
247
|
-
|
248
|
-
The SHA-384 checksum if available. # noqa: E501
|
249
|
-
|
250
|
-
:return: The sha384 of this RpmModulemdDefaultsResponse. # noqa: E501
|
251
|
-
:rtype: str
|
252
|
-
"""
|
253
|
-
return self._sha384
|
254
|
-
|
255
|
-
@sha384.setter
|
256
|
-
def sha384(self, sha384):
|
257
|
-
"""Sets the sha384 of this RpmModulemdDefaultsResponse.
|
258
|
-
|
259
|
-
The SHA-384 checksum if available. # noqa: E501
|
260
|
-
|
261
|
-
:param sha384: The sha384 of this RpmModulemdDefaultsResponse. # noqa: E501
|
262
|
-
:type: str
|
263
|
-
"""
|
264
|
-
|
265
|
-
self._sha384 = sha384
|
266
|
-
|
267
|
-
@property
|
268
|
-
def sha512(self):
|
269
|
-
"""Gets the sha512 of this RpmModulemdDefaultsResponse. # noqa: E501
|
270
|
-
|
271
|
-
The SHA-512 checksum if available. # noqa: E501
|
272
|
-
|
273
|
-
:return: The sha512 of this RpmModulemdDefaultsResponse. # noqa: E501
|
274
|
-
:rtype: str
|
275
|
-
"""
|
276
|
-
return self._sha512
|
277
|
-
|
278
|
-
@sha512.setter
|
279
|
-
def sha512(self, sha512):
|
280
|
-
"""Sets the sha512 of this RpmModulemdDefaultsResponse.
|
281
|
-
|
282
|
-
The SHA-512 checksum if available. # noqa: E501
|
283
|
-
|
284
|
-
:param sha512: The sha512 of this RpmModulemdDefaultsResponse. # noqa: E501
|
285
|
-
:type: str
|
286
|
-
"""
|
287
|
-
|
288
|
-
self._sha512 = sha512
|
289
|
-
|
290
|
-
@property
|
291
|
-
def artifact(self):
|
292
|
-
"""Gets the artifact of this RpmModulemdDefaultsResponse. # noqa: E501
|
293
|
-
|
294
|
-
Artifact file representing the physical content # noqa: E501
|
295
|
-
|
296
|
-
:return: The artifact of this RpmModulemdDefaultsResponse. # noqa: E501
|
297
|
-
:rtype: str
|
298
|
-
"""
|
299
|
-
return self._artifact
|
300
|
-
|
301
|
-
@artifact.setter
|
302
|
-
def artifact(self, artifact):
|
303
|
-
"""Sets the artifact of this RpmModulemdDefaultsResponse.
|
304
|
-
|
305
|
-
Artifact file representing the physical content # noqa: E501
|
306
|
-
|
307
|
-
:param artifact: The artifact of this RpmModulemdDefaultsResponse. # noqa: E501
|
308
|
-
:type: str
|
309
|
-
"""
|
310
|
-
|
311
|
-
self._artifact = artifact
|
312
|
-
|
313
|
-
@property
|
314
|
-
def module(self):
|
315
|
-
"""Gets the module of this RpmModulemdDefaultsResponse. # noqa: E501
|
316
|
-
|
317
|
-
Modulemd name. # noqa: E501
|
318
|
-
|
319
|
-
:return: The module of this RpmModulemdDefaultsResponse. # noqa: E501
|
320
|
-
:rtype: str
|
321
|
-
"""
|
322
|
-
return self._module
|
323
|
-
|
324
|
-
@module.setter
|
325
|
-
def module(self, module):
|
326
|
-
"""Sets the module of this RpmModulemdDefaultsResponse.
|
327
|
-
|
328
|
-
Modulemd name. # noqa: E501
|
329
|
-
|
330
|
-
:param module: The module of this RpmModulemdDefaultsResponse. # noqa: E501
|
331
|
-
:type: str
|
332
|
-
"""
|
333
|
-
if self.local_vars_configuration.client_side_validation and module is None: # noqa: E501
|
334
|
-
raise ValueError("Invalid value for `module`, must not be `None`") # noqa: E501
|
335
|
-
|
336
|
-
self._module = module
|
337
|
-
|
338
|
-
@property
|
339
|
-
def stream(self):
|
340
|
-
"""Gets the stream of this RpmModulemdDefaultsResponse. # noqa: E501
|
341
|
-
|
342
|
-
Modulemd default stream. # noqa: E501
|
343
|
-
|
344
|
-
:return: The stream of this RpmModulemdDefaultsResponse. # noqa: E501
|
345
|
-
:rtype: str
|
346
|
-
"""
|
347
|
-
return self._stream
|
348
|
-
|
349
|
-
@stream.setter
|
350
|
-
def stream(self, stream):
|
351
|
-
"""Sets the stream of this RpmModulemdDefaultsResponse.
|
352
|
-
|
353
|
-
Modulemd default stream. # noqa: E501
|
354
|
-
|
355
|
-
:param stream: The stream of this RpmModulemdDefaultsResponse. # noqa: E501
|
356
|
-
:type: str
|
357
|
-
"""
|
358
|
-
if self.local_vars_configuration.client_side_validation and stream is None: # noqa: E501
|
359
|
-
raise ValueError("Invalid value for `stream`, must not be `None`") # noqa: E501
|
360
|
-
|
361
|
-
self._stream = stream
|
362
|
-
|
363
|
-
@property
|
364
|
-
def profiles(self):
|
365
|
-
"""Gets the profiles of this RpmModulemdDefaultsResponse. # noqa: E501
|
366
|
-
|
367
|
-
Default profiles for modulemd streams. # noqa: E501
|
368
|
-
|
369
|
-
:return: The profiles of this RpmModulemdDefaultsResponse. # noqa: E501
|
370
|
-
:rtype: object
|
371
|
-
"""
|
372
|
-
return self._profiles
|
373
|
-
|
374
|
-
@profiles.setter
|
375
|
-
def profiles(self, profiles):
|
376
|
-
"""Sets the profiles of this RpmModulemdDefaultsResponse.
|
377
|
-
|
378
|
-
Default profiles for modulemd streams. # noqa: E501
|
379
|
-
|
380
|
-
:param profiles: The profiles of this RpmModulemdDefaultsResponse. # noqa: E501
|
381
|
-
:type: object
|
382
|
-
"""
|
383
|
-
if self.local_vars_configuration.client_side_validation and profiles is None: # noqa: E501
|
384
|
-
raise ValueError("Invalid value for `profiles`, must not be `None`") # noqa: E501
|
385
|
-
|
386
|
-
self._profiles = profiles
|
387
|
-
|
388
|
-
def to_dict(self):
|
389
|
-
"""Returns the model properties as a dict"""
|
390
|
-
result = {}
|
391
|
-
|
392
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
393
|
-
value = getattr(self, attr)
|
394
|
-
if isinstance(value, list):
|
395
|
-
result[attr] = list(map(
|
396
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
397
|
-
value
|
398
|
-
))
|
399
|
-
elif hasattr(value, "to_dict"):
|
400
|
-
result[attr] = value.to_dict()
|
401
|
-
elif isinstance(value, dict):
|
402
|
-
result[attr] = dict(map(
|
403
|
-
lambda item: (item[0], item[1].to_dict())
|
404
|
-
if hasattr(item[1], "to_dict") else item,
|
405
|
-
value.items()
|
406
|
-
))
|
407
|
-
else:
|
408
|
-
result[attr] = value
|
409
|
-
|
410
|
-
return result
|
411
|
-
|
412
|
-
def to_str(self):
|
413
|
-
"""Returns the string representation of the model"""
|
414
|
-
return pprint.pformat(self.to_dict())
|
415
|
-
|
416
|
-
def __repr__(self):
|
417
|
-
"""For `print` and `pprint`"""
|
418
|
-
return self.to_str()
|
419
|
-
|
420
|
-
def __eq__(self, other):
|
421
|
-
"""Returns true if both objects are equal"""
|
422
|
-
if not isinstance(other, RpmModulemdDefaultsResponse):
|
423
|
-
return False
|
424
|
-
|
425
|
-
return self.to_dict() == other.to_dict()
|
426
|
-
|
427
|
-
def __ne__(self, other):
|
428
|
-
"""Returns true if both objects are not equal"""
|
429
|
-
if not isinstance(other, RpmModulemdDefaultsResponse):
|
430
|
-
return True
|
431
|
-
|
432
|
-
return self.to_dict() != other.to_dict()
|