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,684 +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 PatchedrpmUlnRemote(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
|
-
'name': 'str',
|
38
|
-
'url': 'str',
|
39
|
-
'ca_cert': 'str',
|
40
|
-
'client_cert': 'str',
|
41
|
-
'client_key': 'str',
|
42
|
-
'tls_validation': 'bool',
|
43
|
-
'proxy_url': 'str',
|
44
|
-
'proxy_username': 'str',
|
45
|
-
'proxy_password': 'str',
|
46
|
-
'username': 'str',
|
47
|
-
'password': 'str',
|
48
|
-
'pulp_labels': 'object',
|
49
|
-
'download_concurrency': 'int',
|
50
|
-
'policy': 'PolicyEnum',
|
51
|
-
'total_timeout': 'float',
|
52
|
-
'connect_timeout': 'float',
|
53
|
-
'sock_connect_timeout': 'float',
|
54
|
-
'sock_read_timeout': 'float',
|
55
|
-
'headers': 'list[object]',
|
56
|
-
'rate_limit': 'int',
|
57
|
-
'uln_server_base_url': 'str'
|
58
|
-
}
|
59
|
-
|
60
|
-
attribute_map = {
|
61
|
-
'name': 'name',
|
62
|
-
'url': 'url',
|
63
|
-
'ca_cert': 'ca_cert',
|
64
|
-
'client_cert': 'client_cert',
|
65
|
-
'client_key': 'client_key',
|
66
|
-
'tls_validation': 'tls_validation',
|
67
|
-
'proxy_url': 'proxy_url',
|
68
|
-
'proxy_username': 'proxy_username',
|
69
|
-
'proxy_password': 'proxy_password',
|
70
|
-
'username': 'username',
|
71
|
-
'password': 'password',
|
72
|
-
'pulp_labels': 'pulp_labels',
|
73
|
-
'download_concurrency': 'download_concurrency',
|
74
|
-
'policy': 'policy',
|
75
|
-
'total_timeout': 'total_timeout',
|
76
|
-
'connect_timeout': 'connect_timeout',
|
77
|
-
'sock_connect_timeout': 'sock_connect_timeout',
|
78
|
-
'sock_read_timeout': 'sock_read_timeout',
|
79
|
-
'headers': 'headers',
|
80
|
-
'rate_limit': 'rate_limit',
|
81
|
-
'uln_server_base_url': 'uln_server_base_url'
|
82
|
-
}
|
83
|
-
|
84
|
-
def __init__(self, name=None, url=None, ca_cert=None, client_cert=None, client_key=None, tls_validation=None, proxy_url=None, proxy_username=None, proxy_password=None, username=None, password=None, pulp_labels=None, download_concurrency=None, policy=None, total_timeout=None, connect_timeout=None, sock_connect_timeout=None, sock_read_timeout=None, headers=None, rate_limit=None, uln_server_base_url=None, local_vars_configuration=None): # noqa: E501
|
85
|
-
"""PatchedrpmUlnRemote - a model defined in OpenAPI""" # noqa: E501
|
86
|
-
if local_vars_configuration is None:
|
87
|
-
local_vars_configuration = Configuration()
|
88
|
-
self.local_vars_configuration = local_vars_configuration
|
89
|
-
|
90
|
-
self._name = None
|
91
|
-
self._url = None
|
92
|
-
self._ca_cert = None
|
93
|
-
self._client_cert = None
|
94
|
-
self._client_key = None
|
95
|
-
self._tls_validation = None
|
96
|
-
self._proxy_url = None
|
97
|
-
self._proxy_username = None
|
98
|
-
self._proxy_password = None
|
99
|
-
self._username = None
|
100
|
-
self._password = None
|
101
|
-
self._pulp_labels = None
|
102
|
-
self._download_concurrency = None
|
103
|
-
self._policy = None
|
104
|
-
self._total_timeout = None
|
105
|
-
self._connect_timeout = None
|
106
|
-
self._sock_connect_timeout = None
|
107
|
-
self._sock_read_timeout = None
|
108
|
-
self._headers = None
|
109
|
-
self._rate_limit = None
|
110
|
-
self._uln_server_base_url = None
|
111
|
-
self.discriminator = None
|
112
|
-
|
113
|
-
if name is not None:
|
114
|
-
self.name = name
|
115
|
-
if url is not None:
|
116
|
-
self.url = url
|
117
|
-
self.ca_cert = ca_cert
|
118
|
-
self.client_cert = client_cert
|
119
|
-
self.client_key = client_key
|
120
|
-
if tls_validation is not None:
|
121
|
-
self.tls_validation = tls_validation
|
122
|
-
self.proxy_url = proxy_url
|
123
|
-
self.proxy_username = proxy_username
|
124
|
-
self.proxy_password = proxy_password
|
125
|
-
if username is not None:
|
126
|
-
self.username = username
|
127
|
-
if password is not None:
|
128
|
-
self.password = password
|
129
|
-
if pulp_labels is not None:
|
130
|
-
self.pulp_labels = pulp_labels
|
131
|
-
if download_concurrency is not None:
|
132
|
-
self.download_concurrency = download_concurrency
|
133
|
-
if policy is not None:
|
134
|
-
self.policy = policy
|
135
|
-
self.total_timeout = total_timeout
|
136
|
-
self.connect_timeout = connect_timeout
|
137
|
-
self.sock_connect_timeout = sock_connect_timeout
|
138
|
-
self.sock_read_timeout = sock_read_timeout
|
139
|
-
if headers is not None:
|
140
|
-
self.headers = headers
|
141
|
-
self.rate_limit = rate_limit
|
142
|
-
self.uln_server_base_url = uln_server_base_url
|
143
|
-
|
144
|
-
@property
|
145
|
-
def name(self):
|
146
|
-
"""Gets the name of this PatchedrpmUlnRemote. # noqa: E501
|
147
|
-
|
148
|
-
A unique name for this remote. # noqa: E501
|
149
|
-
|
150
|
-
:return: The name of this PatchedrpmUlnRemote. # noqa: E501
|
151
|
-
:rtype: str
|
152
|
-
"""
|
153
|
-
return self._name
|
154
|
-
|
155
|
-
@name.setter
|
156
|
-
def name(self, name):
|
157
|
-
"""Sets the name of this PatchedrpmUlnRemote.
|
158
|
-
|
159
|
-
A unique name for this remote. # noqa: E501
|
160
|
-
|
161
|
-
:param name: The name of this PatchedrpmUlnRemote. # noqa: E501
|
162
|
-
:type: str
|
163
|
-
"""
|
164
|
-
|
165
|
-
self._name = name
|
166
|
-
|
167
|
-
@property
|
168
|
-
def url(self):
|
169
|
-
"""Gets the url of this PatchedrpmUlnRemote. # noqa: E501
|
170
|
-
|
171
|
-
The ULN repo URL of the remote content source.\"This is \"uln://\" followed by the channel name. E.g.: \"uln://ol7_x86_64_oracle\" # noqa: E501
|
172
|
-
|
173
|
-
:return: The url of this PatchedrpmUlnRemote. # noqa: E501
|
174
|
-
:rtype: str
|
175
|
-
"""
|
176
|
-
return self._url
|
177
|
-
|
178
|
-
@url.setter
|
179
|
-
def url(self, url):
|
180
|
-
"""Sets the url of this PatchedrpmUlnRemote.
|
181
|
-
|
182
|
-
The ULN repo URL of the remote content source.\"This is \"uln://\" followed by the channel name. E.g.: \"uln://ol7_x86_64_oracle\" # noqa: E501
|
183
|
-
|
184
|
-
:param url: The url of this PatchedrpmUlnRemote. # noqa: E501
|
185
|
-
:type: str
|
186
|
-
"""
|
187
|
-
|
188
|
-
self._url = url
|
189
|
-
|
190
|
-
@property
|
191
|
-
def ca_cert(self):
|
192
|
-
"""Gets the ca_cert of this PatchedrpmUlnRemote. # noqa: E501
|
193
|
-
|
194
|
-
A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
|
195
|
-
|
196
|
-
:return: The ca_cert of this PatchedrpmUlnRemote. # noqa: E501
|
197
|
-
:rtype: str
|
198
|
-
"""
|
199
|
-
return self._ca_cert
|
200
|
-
|
201
|
-
@ca_cert.setter
|
202
|
-
def ca_cert(self, ca_cert):
|
203
|
-
"""Sets the ca_cert of this PatchedrpmUlnRemote.
|
204
|
-
|
205
|
-
A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
|
206
|
-
|
207
|
-
:param ca_cert: The ca_cert of this PatchedrpmUlnRemote. # noqa: E501
|
208
|
-
:type: str
|
209
|
-
"""
|
210
|
-
|
211
|
-
self._ca_cert = ca_cert
|
212
|
-
|
213
|
-
@property
|
214
|
-
def client_cert(self):
|
215
|
-
"""Gets the client_cert of this PatchedrpmUlnRemote. # noqa: E501
|
216
|
-
|
217
|
-
A PEM encoded client certificate used for authentication. # noqa: E501
|
218
|
-
|
219
|
-
:return: The client_cert of this PatchedrpmUlnRemote. # noqa: E501
|
220
|
-
:rtype: str
|
221
|
-
"""
|
222
|
-
return self._client_cert
|
223
|
-
|
224
|
-
@client_cert.setter
|
225
|
-
def client_cert(self, client_cert):
|
226
|
-
"""Sets the client_cert of this PatchedrpmUlnRemote.
|
227
|
-
|
228
|
-
A PEM encoded client certificate used for authentication. # noqa: E501
|
229
|
-
|
230
|
-
:param client_cert: The client_cert of this PatchedrpmUlnRemote. # noqa: E501
|
231
|
-
:type: str
|
232
|
-
"""
|
233
|
-
|
234
|
-
self._client_cert = client_cert
|
235
|
-
|
236
|
-
@property
|
237
|
-
def client_key(self):
|
238
|
-
"""Gets the client_key of this PatchedrpmUlnRemote. # noqa: E501
|
239
|
-
|
240
|
-
A PEM encoded private key used for authentication. # noqa: E501
|
241
|
-
|
242
|
-
:return: The client_key of this PatchedrpmUlnRemote. # noqa: E501
|
243
|
-
:rtype: str
|
244
|
-
"""
|
245
|
-
return self._client_key
|
246
|
-
|
247
|
-
@client_key.setter
|
248
|
-
def client_key(self, client_key):
|
249
|
-
"""Sets the client_key of this PatchedrpmUlnRemote.
|
250
|
-
|
251
|
-
A PEM encoded private key used for authentication. # noqa: E501
|
252
|
-
|
253
|
-
:param client_key: The client_key of this PatchedrpmUlnRemote. # noqa: E501
|
254
|
-
:type: str
|
255
|
-
"""
|
256
|
-
|
257
|
-
self._client_key = client_key
|
258
|
-
|
259
|
-
@property
|
260
|
-
def tls_validation(self):
|
261
|
-
"""Gets the tls_validation of this PatchedrpmUlnRemote. # noqa: E501
|
262
|
-
|
263
|
-
If True, TLS peer validation must be performed. # noqa: E501
|
264
|
-
|
265
|
-
:return: The tls_validation of this PatchedrpmUlnRemote. # noqa: E501
|
266
|
-
:rtype: bool
|
267
|
-
"""
|
268
|
-
return self._tls_validation
|
269
|
-
|
270
|
-
@tls_validation.setter
|
271
|
-
def tls_validation(self, tls_validation):
|
272
|
-
"""Sets the tls_validation of this PatchedrpmUlnRemote.
|
273
|
-
|
274
|
-
If True, TLS peer validation must be performed. # noqa: E501
|
275
|
-
|
276
|
-
:param tls_validation: The tls_validation of this PatchedrpmUlnRemote. # noqa: E501
|
277
|
-
:type: bool
|
278
|
-
"""
|
279
|
-
|
280
|
-
self._tls_validation = tls_validation
|
281
|
-
|
282
|
-
@property
|
283
|
-
def proxy_url(self):
|
284
|
-
"""Gets the proxy_url of this PatchedrpmUlnRemote. # noqa: E501
|
285
|
-
|
286
|
-
The proxy URL. Format: scheme://host:port # noqa: E501
|
287
|
-
|
288
|
-
:return: The proxy_url of this PatchedrpmUlnRemote. # noqa: E501
|
289
|
-
:rtype: str
|
290
|
-
"""
|
291
|
-
return self._proxy_url
|
292
|
-
|
293
|
-
@proxy_url.setter
|
294
|
-
def proxy_url(self, proxy_url):
|
295
|
-
"""Sets the proxy_url of this PatchedrpmUlnRemote.
|
296
|
-
|
297
|
-
The proxy URL. Format: scheme://host:port # noqa: E501
|
298
|
-
|
299
|
-
:param proxy_url: The proxy_url of this PatchedrpmUlnRemote. # noqa: E501
|
300
|
-
:type: str
|
301
|
-
"""
|
302
|
-
|
303
|
-
self._proxy_url = proxy_url
|
304
|
-
|
305
|
-
@property
|
306
|
-
def proxy_username(self):
|
307
|
-
"""Gets the proxy_username of this PatchedrpmUlnRemote. # noqa: E501
|
308
|
-
|
309
|
-
The username to authenticte to the proxy. # noqa: E501
|
310
|
-
|
311
|
-
:return: The proxy_username of this PatchedrpmUlnRemote. # noqa: E501
|
312
|
-
:rtype: str
|
313
|
-
"""
|
314
|
-
return self._proxy_username
|
315
|
-
|
316
|
-
@proxy_username.setter
|
317
|
-
def proxy_username(self, proxy_username):
|
318
|
-
"""Sets the proxy_username of this PatchedrpmUlnRemote.
|
319
|
-
|
320
|
-
The username to authenticte to the proxy. # noqa: E501
|
321
|
-
|
322
|
-
:param proxy_username: The proxy_username of this PatchedrpmUlnRemote. # noqa: E501
|
323
|
-
:type: str
|
324
|
-
"""
|
325
|
-
|
326
|
-
self._proxy_username = proxy_username
|
327
|
-
|
328
|
-
@property
|
329
|
-
def proxy_password(self):
|
330
|
-
"""Gets the proxy_password of this PatchedrpmUlnRemote. # noqa: E501
|
331
|
-
|
332
|
-
The password to authenticte to the proxy. # noqa: E501
|
333
|
-
|
334
|
-
:return: The proxy_password of this PatchedrpmUlnRemote. # noqa: E501
|
335
|
-
:rtype: str
|
336
|
-
"""
|
337
|
-
return self._proxy_password
|
338
|
-
|
339
|
-
@proxy_password.setter
|
340
|
-
def proxy_password(self, proxy_password):
|
341
|
-
"""Sets the proxy_password of this PatchedrpmUlnRemote.
|
342
|
-
|
343
|
-
The password to authenticte to the proxy. # noqa: E501
|
344
|
-
|
345
|
-
:param proxy_password: The proxy_password of this PatchedrpmUlnRemote. # noqa: E501
|
346
|
-
:type: str
|
347
|
-
"""
|
348
|
-
|
349
|
-
self._proxy_password = proxy_password
|
350
|
-
|
351
|
-
@property
|
352
|
-
def username(self):
|
353
|
-
"""Gets the username of this PatchedrpmUlnRemote. # noqa: E501
|
354
|
-
|
355
|
-
Your ULN account username. # noqa: E501
|
356
|
-
|
357
|
-
:return: The username of this PatchedrpmUlnRemote. # noqa: E501
|
358
|
-
:rtype: str
|
359
|
-
"""
|
360
|
-
return self._username
|
361
|
-
|
362
|
-
@username.setter
|
363
|
-
def username(self, username):
|
364
|
-
"""Sets the username of this PatchedrpmUlnRemote.
|
365
|
-
|
366
|
-
Your ULN account username. # noqa: E501
|
367
|
-
|
368
|
-
:param username: The username of this PatchedrpmUlnRemote. # noqa: E501
|
369
|
-
:type: str
|
370
|
-
"""
|
371
|
-
|
372
|
-
self._username = username
|
373
|
-
|
374
|
-
@property
|
375
|
-
def password(self):
|
376
|
-
"""Gets the password of this PatchedrpmUlnRemote. # noqa: E501
|
377
|
-
|
378
|
-
Your ULN account password. # noqa: E501
|
379
|
-
|
380
|
-
:return: The password of this PatchedrpmUlnRemote. # noqa: E501
|
381
|
-
:rtype: str
|
382
|
-
"""
|
383
|
-
return self._password
|
384
|
-
|
385
|
-
@password.setter
|
386
|
-
def password(self, password):
|
387
|
-
"""Sets the password of this PatchedrpmUlnRemote.
|
388
|
-
|
389
|
-
Your ULN account password. # noqa: E501
|
390
|
-
|
391
|
-
:param password: The password of this PatchedrpmUlnRemote. # noqa: E501
|
392
|
-
:type: str
|
393
|
-
"""
|
394
|
-
|
395
|
-
self._password = password
|
396
|
-
|
397
|
-
@property
|
398
|
-
def pulp_labels(self):
|
399
|
-
"""Gets the pulp_labels of this PatchedrpmUlnRemote. # noqa: E501
|
400
|
-
|
401
|
-
|
402
|
-
:return: The pulp_labels of this PatchedrpmUlnRemote. # noqa: E501
|
403
|
-
:rtype: object
|
404
|
-
"""
|
405
|
-
return self._pulp_labels
|
406
|
-
|
407
|
-
@pulp_labels.setter
|
408
|
-
def pulp_labels(self, pulp_labels):
|
409
|
-
"""Sets the pulp_labels of this PatchedrpmUlnRemote.
|
410
|
-
|
411
|
-
|
412
|
-
:param pulp_labels: The pulp_labels of this PatchedrpmUlnRemote. # noqa: E501
|
413
|
-
:type: object
|
414
|
-
"""
|
415
|
-
|
416
|
-
self._pulp_labels = pulp_labels
|
417
|
-
|
418
|
-
@property
|
419
|
-
def download_concurrency(self):
|
420
|
-
"""Gets the download_concurrency of this PatchedrpmUlnRemote. # noqa: E501
|
421
|
-
|
422
|
-
Total number of simultaneous connections. # noqa: E501
|
423
|
-
|
424
|
-
:return: The download_concurrency of this PatchedrpmUlnRemote. # noqa: E501
|
425
|
-
:rtype: int
|
426
|
-
"""
|
427
|
-
return self._download_concurrency
|
428
|
-
|
429
|
-
@download_concurrency.setter
|
430
|
-
def download_concurrency(self, download_concurrency):
|
431
|
-
"""Sets the download_concurrency of this PatchedrpmUlnRemote.
|
432
|
-
|
433
|
-
Total number of simultaneous connections. # noqa: E501
|
434
|
-
|
435
|
-
:param download_concurrency: The download_concurrency of this PatchedrpmUlnRemote. # noqa: E501
|
436
|
-
:type: int
|
437
|
-
"""
|
438
|
-
if (self.local_vars_configuration.client_side_validation and
|
439
|
-
download_concurrency is not None and download_concurrency < 1): # noqa: E501
|
440
|
-
raise ValueError("Invalid value for `download_concurrency`, must be a value greater than or equal to `1`") # noqa: E501
|
441
|
-
|
442
|
-
self._download_concurrency = download_concurrency
|
443
|
-
|
444
|
-
@property
|
445
|
-
def policy(self):
|
446
|
-
"""Gets the policy of this PatchedrpmUlnRemote. # noqa: E501
|
447
|
-
|
448
|
-
The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. # noqa: E501
|
449
|
-
|
450
|
-
:return: The policy of this PatchedrpmUlnRemote. # noqa: E501
|
451
|
-
:rtype: PolicyEnum
|
452
|
-
"""
|
453
|
-
return self._policy
|
454
|
-
|
455
|
-
@policy.setter
|
456
|
-
def policy(self, policy):
|
457
|
-
"""Sets the policy of this PatchedrpmUlnRemote.
|
458
|
-
|
459
|
-
The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. # noqa: E501
|
460
|
-
|
461
|
-
:param policy: The policy of this PatchedrpmUlnRemote. # noqa: E501
|
462
|
-
:type: PolicyEnum
|
463
|
-
"""
|
464
|
-
|
465
|
-
self._policy = policy
|
466
|
-
|
467
|
-
@property
|
468
|
-
def total_timeout(self):
|
469
|
-
"""Gets the total_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
470
|
-
|
471
|
-
aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
|
472
|
-
|
473
|
-
:return: The total_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
474
|
-
:rtype: float
|
475
|
-
"""
|
476
|
-
return self._total_timeout
|
477
|
-
|
478
|
-
@total_timeout.setter
|
479
|
-
def total_timeout(self, total_timeout):
|
480
|
-
"""Sets the total_timeout of this PatchedrpmUlnRemote.
|
481
|
-
|
482
|
-
aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
|
483
|
-
|
484
|
-
:param total_timeout: The total_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
485
|
-
:type: float
|
486
|
-
"""
|
487
|
-
if (self.local_vars_configuration.client_side_validation and
|
488
|
-
total_timeout is not None and total_timeout < 0.0): # noqa: E501
|
489
|
-
raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
490
|
-
|
491
|
-
self._total_timeout = total_timeout
|
492
|
-
|
493
|
-
@property
|
494
|
-
def connect_timeout(self):
|
495
|
-
"""Gets the connect_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
496
|
-
|
497
|
-
aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
|
498
|
-
|
499
|
-
:return: The connect_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
500
|
-
:rtype: float
|
501
|
-
"""
|
502
|
-
return self._connect_timeout
|
503
|
-
|
504
|
-
@connect_timeout.setter
|
505
|
-
def connect_timeout(self, connect_timeout):
|
506
|
-
"""Sets the connect_timeout of this PatchedrpmUlnRemote.
|
507
|
-
|
508
|
-
aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
|
509
|
-
|
510
|
-
:param connect_timeout: The connect_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
511
|
-
:type: float
|
512
|
-
"""
|
513
|
-
if (self.local_vars_configuration.client_side_validation and
|
514
|
-
connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
|
515
|
-
raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
516
|
-
|
517
|
-
self._connect_timeout = connect_timeout
|
518
|
-
|
519
|
-
@property
|
520
|
-
def sock_connect_timeout(self):
|
521
|
-
"""Gets the sock_connect_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
522
|
-
|
523
|
-
aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
|
524
|
-
|
525
|
-
:return: The sock_connect_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
526
|
-
:rtype: float
|
527
|
-
"""
|
528
|
-
return self._sock_connect_timeout
|
529
|
-
|
530
|
-
@sock_connect_timeout.setter
|
531
|
-
def sock_connect_timeout(self, sock_connect_timeout):
|
532
|
-
"""Sets the sock_connect_timeout of this PatchedrpmUlnRemote.
|
533
|
-
|
534
|
-
aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
|
535
|
-
|
536
|
-
:param sock_connect_timeout: The sock_connect_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
537
|
-
:type: float
|
538
|
-
"""
|
539
|
-
if (self.local_vars_configuration.client_side_validation and
|
540
|
-
sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
|
541
|
-
raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
542
|
-
|
543
|
-
self._sock_connect_timeout = sock_connect_timeout
|
544
|
-
|
545
|
-
@property
|
546
|
-
def sock_read_timeout(self):
|
547
|
-
"""Gets the sock_read_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
548
|
-
|
549
|
-
aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
|
550
|
-
|
551
|
-
:return: The sock_read_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
552
|
-
:rtype: float
|
553
|
-
"""
|
554
|
-
return self._sock_read_timeout
|
555
|
-
|
556
|
-
@sock_read_timeout.setter
|
557
|
-
def sock_read_timeout(self, sock_read_timeout):
|
558
|
-
"""Sets the sock_read_timeout of this PatchedrpmUlnRemote.
|
559
|
-
|
560
|
-
aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
|
561
|
-
|
562
|
-
:param sock_read_timeout: The sock_read_timeout of this PatchedrpmUlnRemote. # noqa: E501
|
563
|
-
:type: float
|
564
|
-
"""
|
565
|
-
if (self.local_vars_configuration.client_side_validation and
|
566
|
-
sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
|
567
|
-
raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
568
|
-
|
569
|
-
self._sock_read_timeout = sock_read_timeout
|
570
|
-
|
571
|
-
@property
|
572
|
-
def headers(self):
|
573
|
-
"""Gets the headers of this PatchedrpmUlnRemote. # noqa: E501
|
574
|
-
|
575
|
-
Headers for aiohttp.Clientsession # noqa: E501
|
576
|
-
|
577
|
-
:return: The headers of this PatchedrpmUlnRemote. # noqa: E501
|
578
|
-
:rtype: list[object]
|
579
|
-
"""
|
580
|
-
return self._headers
|
581
|
-
|
582
|
-
@headers.setter
|
583
|
-
def headers(self, headers):
|
584
|
-
"""Sets the headers of this PatchedrpmUlnRemote.
|
585
|
-
|
586
|
-
Headers for aiohttp.Clientsession # noqa: E501
|
587
|
-
|
588
|
-
:param headers: The headers of this PatchedrpmUlnRemote. # noqa: E501
|
589
|
-
:type: list[object]
|
590
|
-
"""
|
591
|
-
|
592
|
-
self._headers = headers
|
593
|
-
|
594
|
-
@property
|
595
|
-
def rate_limit(self):
|
596
|
-
"""Gets the rate_limit of this PatchedrpmUlnRemote. # noqa: E501
|
597
|
-
|
598
|
-
Limits total download rate in requests per second # noqa: E501
|
599
|
-
|
600
|
-
:return: The rate_limit of this PatchedrpmUlnRemote. # noqa: E501
|
601
|
-
:rtype: int
|
602
|
-
"""
|
603
|
-
return self._rate_limit
|
604
|
-
|
605
|
-
@rate_limit.setter
|
606
|
-
def rate_limit(self, rate_limit):
|
607
|
-
"""Sets the rate_limit of this PatchedrpmUlnRemote.
|
608
|
-
|
609
|
-
Limits total download rate in requests per second # noqa: E501
|
610
|
-
|
611
|
-
:param rate_limit: The rate_limit of this PatchedrpmUlnRemote. # noqa: E501
|
612
|
-
:type: int
|
613
|
-
"""
|
614
|
-
|
615
|
-
self._rate_limit = rate_limit
|
616
|
-
|
617
|
-
@property
|
618
|
-
def uln_server_base_url(self):
|
619
|
-
"""Gets the uln_server_base_url of this PatchedrpmUlnRemote. # noqa: E501
|
620
|
-
|
621
|
-
Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. # noqa: E501
|
622
|
-
|
623
|
-
:return: The uln_server_base_url of this PatchedrpmUlnRemote. # noqa: E501
|
624
|
-
:rtype: str
|
625
|
-
"""
|
626
|
-
return self._uln_server_base_url
|
627
|
-
|
628
|
-
@uln_server_base_url.setter
|
629
|
-
def uln_server_base_url(self, uln_server_base_url):
|
630
|
-
"""Sets the uln_server_base_url of this PatchedrpmUlnRemote.
|
631
|
-
|
632
|
-
Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. # noqa: E501
|
633
|
-
|
634
|
-
:param uln_server_base_url: The uln_server_base_url of this PatchedrpmUlnRemote. # noqa: E501
|
635
|
-
:type: str
|
636
|
-
"""
|
637
|
-
|
638
|
-
self._uln_server_base_url = uln_server_base_url
|
639
|
-
|
640
|
-
def to_dict(self):
|
641
|
-
"""Returns the model properties as a dict"""
|
642
|
-
result = {}
|
643
|
-
|
644
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
645
|
-
value = getattr(self, attr)
|
646
|
-
if isinstance(value, list):
|
647
|
-
result[attr] = list(map(
|
648
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
649
|
-
value
|
650
|
-
))
|
651
|
-
elif hasattr(value, "to_dict"):
|
652
|
-
result[attr] = value.to_dict()
|
653
|
-
elif isinstance(value, dict):
|
654
|
-
result[attr] = dict(map(
|
655
|
-
lambda item: (item[0], item[1].to_dict())
|
656
|
-
if hasattr(item[1], "to_dict") else item,
|
657
|
-
value.items()
|
658
|
-
))
|
659
|
-
else:
|
660
|
-
result[attr] = value
|
661
|
-
|
662
|
-
return result
|
663
|
-
|
664
|
-
def to_str(self):
|
665
|
-
"""Returns the string representation of the model"""
|
666
|
-
return pprint.pformat(self.to_dict())
|
667
|
-
|
668
|
-
def __repr__(self):
|
669
|
-
"""For `print` and `pprint`"""
|
670
|
-
return self.to_str()
|
671
|
-
|
672
|
-
def __eq__(self, other):
|
673
|
-
"""Returns true if both objects are equal"""
|
674
|
-
if not isinstance(other, PatchedrpmUlnRemote):
|
675
|
-
return False
|
676
|
-
|
677
|
-
return self.to_dict() == other.to_dict()
|
678
|
-
|
679
|
-
def __ne__(self, other):
|
680
|
-
"""Returns true if both objects are not equal"""
|
681
|
-
if not isinstance(other, PatchedrpmUlnRemote):
|
682
|
-
return True
|
683
|
-
|
684
|
-
return self.to_dict() != other.to_dict()
|