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