pulp_python_client 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +4 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +7 -1
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/publications_pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_simple_api.rb +1 -1
- data/lib/pulp_python_client/api/remotes_python_api.rb +1 -1
- data/lib/pulp_python_client/api/repositories_python_api.rb +1 -1
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +1 -1
- data/lib/pulp_python_client/api_client.rb +12 -8
- data/lib/pulp_python_client/api_error.rb +1 -1
- data/lib/pulp_python_client/configuration.rb +8 -1
- data/lib/pulp_python_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_python_client/models/content_summary.rb +1 -1
- data/lib/pulp_python_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_python_client/models/exclude_platforms_enum.rb +1 -1
- data/lib/pulp_python_client/models/package_metadata_response.rb +1 -1
- data/lib/pulp_python_client/models/package_types_enum.rb +1 -1
- data/lib/pulp_python_client/models/package_upload.rb +1 -1
- data/lib/pulp_python_client/models/package_upload_task_response.rb +1 -1
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +1 -1
- data/lib/pulp_python_client/models/policy_enum.rb +1 -1
- data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +1 -1
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_publication.rb +1 -1
- data/lib/pulp_python_client/models/python_python_publication_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_repository.rb +1 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +1 -1
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_python_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_python_client/models/repository_version.rb +1 -1
- data/lib/pulp_python_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_python_client/models/summary_response.rb +1 -1
- data/lib/pulp_python_client/version.rb +2 -2
- data/lib/pulp_python_client.rb +1 -1
- data/pulp_python_client.gemspec +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -1
- data/spec/api/distributions_pypi_api_spec.rb +1 -1
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/pypi_api_spec.rb +1 -1
- data/spec/api/pypi_legacy_api_spec.rb +1 -1
- data/spec/api/pypi_metadata_api_spec.rb +1 -1
- data/spec/api/pypi_simple_api_spec.rb +1 -1
- data/spec/api/remotes_python_api_spec.rb +1 -1
- data/spec/api/repositories_python_api_spec.rb +1 -1
- data/spec/api/repositories_python_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/exclude_platforms_enum_spec.rb +1 -1
- data/spec/models/package_metadata_response_spec.rb +1 -1
- data/spec/models/package_types_enum_spec.rb +1 -1
- data/spec/models/package_upload_spec.rb +1 -1
- data/spec/models/package_upload_task_response_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_publication_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_repository_response_list_spec.rb +1 -1
- data/spec/models/patchedpython_python_distribution_spec.rb +1 -1
- data/spec/models/patchedpython_python_remote_spec.rb +1 -1
- data/spec/models/patchedpython_python_repository_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/python_bander_remote_spec.rb +1 -1
- data/spec/models/python_python_distribution_response_spec.rb +1 -1
- data/spec/models/python_python_distribution_spec.rb +1 -1
- data/spec/models/python_python_package_content_response_spec.rb +1 -1
- data/spec/models/python_python_package_content_spec.rb +1 -1
- data/spec/models/python_python_publication_response_spec.rb +1 -1
- data/spec/models/python_python_publication_spec.rb +1 -1
- data/spec/models/python_python_remote_response_spec.rb +1 -1
- data/spec/models/python_python_remote_spec.rb +1 -1
- data/spec/models/python_python_repository_response_spec.rb +1 -1
- data/spec/models/python_python_repository_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/summary_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +33 -196
- data/build/lib/pulpcore/__init__.py +0 -2
- data/build/lib/pulpcore/client/__init__.py +0 -2
- data/build/lib/pulpcore/client/pulp_python/__init__.py +0 -75
- data/build/lib/pulpcore/client/pulp_python/api/__init__.py +0 -15
- data/build/lib/pulpcore/client/pulp_python/api/content_packages_api.py +0 -626
- data/build/lib/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -830
- data/build/lib/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -566
- data/build/lib/pulpcore/client/pulp_python/api/pypi_api.py +0 -162
- data/build/lib/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -185
- data/build/lib/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -171
- data/build/lib/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -434
- data/build/lib/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -972
- data/build/lib/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -1063
- data/build/lib/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -614
- data/build/lib/pulpcore/client/pulp_python/api_client.py +0 -667
- data/build/lib/pulpcore/client/pulp_python/configuration.py +0 -427
- data/build/lib/pulpcore/client/pulp_python/exceptions.py +0 -121
- data/build/lib/pulpcore/client/pulp_python/models/__init__.py +0 -51
- data/build/lib/pulpcore/client/pulp_python/models/async_operation_response.py +0 -124
- data/build/lib/pulpcore/client/pulp_python/models/content_summary.py +0 -176
- data/build/lib/pulpcore/client/pulp_python/models/content_summary_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -103
- data/build/lib/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -209
- data/build/lib/pulpcore/client/pulp_python/models/package_types_enum.py +0 -107
- data/build/lib/pulpcore/client/pulp_python/models/package_upload.py +0 -187
- data/build/lib/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -286
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -823
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -259
- data/build/lib/pulpcore/client/pulp_python/models/policy_enum.py +0 -102
- data/build/lib/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -181
- data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -288
- data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -368
- data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content.py +0 -824
- data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content_response.py +0 -933
- data/build/lib/pulpcore/client/pulp_python/models/python_python_publication.py +0 -149
- data/build/lib/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -231
- data/build/lib/pulpcore/client/pulp_python/models/python_python_remote.py +0 -825
- data/build/lib/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -772
- data/build/lib/pulpcore/client/pulp_python/models/python_python_repository.py +0 -260
- data/build/lib/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -366
- data/build/lib/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -179
- data/build/lib/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -151
- data/build/lib/pulpcore/client/pulp_python/models/repository_version.py +0 -123
- data/build/lib/pulpcore/client/pulp_python/models/repository_version_response.py +0 -257
- data/build/lib/pulpcore/client/pulp_python/models/summary_response.py +0 -182
- data/build/lib/pulpcore/client/pulp_python/rest.py +0 -292
- data/dist/pulp_python-client-3.4.0.tar.gz +0 -0
- data/dist/pulp_python_client-3.4.0-py3-none-any.whl +0 -0
- data/pulp_python_client.egg-info/PKG-INFO +0 -15
- data/pulp_python_client.egg-info/SOURCES.txt +0 -105
- data/pulp_python_client.egg-info/dependency_links.txt +0 -1
- data/pulp_python_client.egg-info/requires.txt +0 -4
- data/pulp_python_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_python/__init__.py +0 -75
- data/pulpcore/client/pulp_python/api/__init__.py +0 -15
- data/pulpcore/client/pulp_python/api/content_packages_api.py +0 -626
- data/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -830
- data/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -566
- data/pulpcore/client/pulp_python/api/pypi_api.py +0 -162
- data/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -185
- data/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -171
- data/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -434
- data/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -972
- data/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -1063
- data/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -614
- data/pulpcore/client/pulp_python/api_client.py +0 -667
- data/pulpcore/client/pulp_python/configuration.py +0 -427
- data/pulpcore/client/pulp_python/exceptions.py +0 -121
- data/pulpcore/client/pulp_python/models/__init__.py +0 -51
- data/pulpcore/client/pulp_python/models/async_operation_response.py +0 -124
- data/pulpcore/client/pulp_python/models/content_summary.py +0 -176
- data/pulpcore/client/pulp_python/models/content_summary_response.py +0 -176
- data/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -103
- data/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -209
- data/pulpcore/client/pulp_python/models/package_types_enum.py +0 -107
- data/pulpcore/client/pulp_python/models/package_upload.py +0 -187
- data/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -176
- data/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -286
- data/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -823
- data/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -259
- data/pulpcore/client/pulp_python/models/policy_enum.py +0 -102
- data/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -181
- data/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -288
- data/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -368
- data/pulpcore/client/pulp_python/models/python_python_package_content.py +0 -824
- data/pulpcore/client/pulp_python/models/python_python_package_content_response.py +0 -933
- data/pulpcore/client/pulp_python/models/python_python_publication.py +0 -149
- data/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -231
- data/pulpcore/client/pulp_python/models/python_python_remote.py +0 -825
- data/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -772
- data/pulpcore/client/pulp_python/models/python_python_repository.py +0 -260
- data/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -366
- data/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -179
- data/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -151
- data/pulpcore/client/pulp_python/models/repository_version.py +0 -123
- data/pulpcore/client/pulp_python/models/repository_version_response.py +0 -257
- data/pulpcore/client/pulp_python/models/summary_response.py +0 -182
- data/pulpcore/client/pulp_python/rest.py +0 -292
- data/requirements.txt +0 -6
- data/setup.cfg +0 -2
- data/setup.py +0 -42
- data/test/__init__.py +0 -0
- data/test/test_async_operation_response.py +0 -54
- data/test/test_content_packages_api.py +0 -55
- data/test/test_content_summary.py +0 -70
- data/test/test_content_summary_response.py +0 -70
- data/test/test_distributions_pypi_api.py +0 -76
- data/test/test_exclude_platforms_enum.py +0 -52
- data/test/test_package_metadata_response.py +0 -60
- data/test/test_package_types_enum.py +0 -52
- data/test/test_package_upload.py +0 -57
- data/test/test_package_upload_task_response.py +0 -58
- data/test/test_paginated_repository_version_response_list.py +0 -64
- data/test/test_paginatedpython_python_distribution_response_list.py +0 -68
- data/test/test_paginatedpython_python_package_content_response_list.py +0 -88
- data/test/test_paginatedpython_python_publication_response_list.py +0 -65
- data/test/test_paginatedpython_python_remote_response_list.py +0 -88
- data/test/test_paginatedpython_python_repository_response_list.py +0 -68
- data/test/test_patchedpython_python_distribution.py +0 -59
- data/test/test_patchedpython_python_remote.py +0 -84
- data/test/test_patchedpython_python_repository.py +0 -58
- data/test/test_policy_enum.py +0 -52
- data/test/test_publications_pypi_api.py +0 -62
- data/test/test_pypi_api.py +0 -41
- data/test/test_pypi_legacy_api.py +0 -41
- data/test/test_pypi_metadata_api.py +0 -41
- data/test/test_pypi_simple_api.py +0 -55
- data/test/test_python_bander_remote.py +0 -57
- data/test/test_python_python_distribution.py +0 -61
- data/test/test_python_python_distribution_response.py +0 -64
- data/test/test_python_python_package_content.py +0 -79
- data/test/test_python_python_package_content_response.py +0 -82
- data/test/test_python_python_publication.py +0 -54
- data/test/test_python_python_publication_response.py +0 -59
- data/test/test_python_python_remote.py +0 -86
- data/test/test_python_python_remote_response.py +0 -84
- data/test/test_python_python_repository.py +0 -59
- data/test/test_python_python_repository_response.py +0 -63
- data/test/test_remotes_python_api.py +0 -83
- data/test/test_repositories_python_api.py +0 -90
- data/test/test_repositories_python_versions_api.py +0 -61
- data/test/test_repository_add_remove_content.py +0 -59
- data/test/test_repository_sync_url.py +0 -54
- data/test/test_repository_version.py +0 -53
- data/test/test_repository_version_response.py +0 -58
- data/test/test_summary_response.py +0 -58
- data/test-requirements.txt +0 -3
- data/tox.ini +0 -9
@@ -1,823 +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_python.configuration import Configuration
|
20
|
-
|
21
|
-
|
22
|
-
class PatchedpythonPythonRemote(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
|
-
'includes': 'object',
|
58
|
-
'excludes': 'object',
|
59
|
-
'prereleases': 'bool',
|
60
|
-
'package_types': 'list[PackageTypesEnum]',
|
61
|
-
'keep_latest_packages': 'int',
|
62
|
-
'exclude_platforms': 'list[ExcludePlatformsEnum]'
|
63
|
-
}
|
64
|
-
|
65
|
-
attribute_map = {
|
66
|
-
'name': 'name',
|
67
|
-
'url': 'url',
|
68
|
-
'ca_cert': 'ca_cert',
|
69
|
-
'client_cert': 'client_cert',
|
70
|
-
'client_key': 'client_key',
|
71
|
-
'tls_validation': 'tls_validation',
|
72
|
-
'proxy_url': 'proxy_url',
|
73
|
-
'proxy_username': 'proxy_username',
|
74
|
-
'proxy_password': 'proxy_password',
|
75
|
-
'username': 'username',
|
76
|
-
'password': 'password',
|
77
|
-
'pulp_labels': 'pulp_labels',
|
78
|
-
'download_concurrency': 'download_concurrency',
|
79
|
-
'policy': 'policy',
|
80
|
-
'total_timeout': 'total_timeout',
|
81
|
-
'connect_timeout': 'connect_timeout',
|
82
|
-
'sock_connect_timeout': 'sock_connect_timeout',
|
83
|
-
'sock_read_timeout': 'sock_read_timeout',
|
84
|
-
'headers': 'headers',
|
85
|
-
'rate_limit': 'rate_limit',
|
86
|
-
'includes': 'includes',
|
87
|
-
'excludes': 'excludes',
|
88
|
-
'prereleases': 'prereleases',
|
89
|
-
'package_types': 'package_types',
|
90
|
-
'keep_latest_packages': 'keep_latest_packages',
|
91
|
-
'exclude_platforms': 'exclude_platforms'
|
92
|
-
}
|
93
|
-
|
94
|
-
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, includes=None, excludes=None, prereleases=None, package_types=None, keep_latest_packages=0, exclude_platforms=None, local_vars_configuration=None): # noqa: E501
|
95
|
-
"""PatchedpythonPythonRemote - a model defined in OpenAPI""" # noqa: E501
|
96
|
-
if local_vars_configuration is None:
|
97
|
-
local_vars_configuration = Configuration()
|
98
|
-
self.local_vars_configuration = local_vars_configuration
|
99
|
-
|
100
|
-
self._name = None
|
101
|
-
self._url = None
|
102
|
-
self._ca_cert = None
|
103
|
-
self._client_cert = None
|
104
|
-
self._client_key = None
|
105
|
-
self._tls_validation = None
|
106
|
-
self._proxy_url = None
|
107
|
-
self._proxy_username = None
|
108
|
-
self._proxy_password = None
|
109
|
-
self._username = None
|
110
|
-
self._password = None
|
111
|
-
self._pulp_labels = None
|
112
|
-
self._download_concurrency = None
|
113
|
-
self._policy = None
|
114
|
-
self._total_timeout = None
|
115
|
-
self._connect_timeout = None
|
116
|
-
self._sock_connect_timeout = None
|
117
|
-
self._sock_read_timeout = None
|
118
|
-
self._headers = None
|
119
|
-
self._rate_limit = None
|
120
|
-
self._includes = None
|
121
|
-
self._excludes = None
|
122
|
-
self._prereleases = None
|
123
|
-
self._package_types = None
|
124
|
-
self._keep_latest_packages = None
|
125
|
-
self._exclude_platforms = None
|
126
|
-
self.discriminator = None
|
127
|
-
|
128
|
-
if name is not None:
|
129
|
-
self.name = name
|
130
|
-
if url is not None:
|
131
|
-
self.url = url
|
132
|
-
self.ca_cert = ca_cert
|
133
|
-
self.client_cert = client_cert
|
134
|
-
self.client_key = client_key
|
135
|
-
if tls_validation is not None:
|
136
|
-
self.tls_validation = tls_validation
|
137
|
-
self.proxy_url = proxy_url
|
138
|
-
self.proxy_username = proxy_username
|
139
|
-
self.proxy_password = proxy_password
|
140
|
-
self.username = username
|
141
|
-
self.password = password
|
142
|
-
if pulp_labels is not None:
|
143
|
-
self.pulp_labels = pulp_labels
|
144
|
-
if download_concurrency is not None:
|
145
|
-
self.download_concurrency = download_concurrency
|
146
|
-
if policy is not None:
|
147
|
-
self.policy = policy
|
148
|
-
self.total_timeout = total_timeout
|
149
|
-
self.connect_timeout = connect_timeout
|
150
|
-
self.sock_connect_timeout = sock_connect_timeout
|
151
|
-
self.sock_read_timeout = sock_read_timeout
|
152
|
-
if headers is not None:
|
153
|
-
self.headers = headers
|
154
|
-
self.rate_limit = rate_limit
|
155
|
-
if includes is not None:
|
156
|
-
self.includes = includes
|
157
|
-
if excludes is not None:
|
158
|
-
self.excludes = excludes
|
159
|
-
if prereleases is not None:
|
160
|
-
self.prereleases = prereleases
|
161
|
-
if package_types is not None:
|
162
|
-
self.package_types = package_types
|
163
|
-
if keep_latest_packages is not None:
|
164
|
-
self.keep_latest_packages = keep_latest_packages
|
165
|
-
if exclude_platforms is not None:
|
166
|
-
self.exclude_platforms = exclude_platforms
|
167
|
-
|
168
|
-
@property
|
169
|
-
def name(self):
|
170
|
-
"""Gets the name of this PatchedpythonPythonRemote. # noqa: E501
|
171
|
-
|
172
|
-
A unique name for this remote. # noqa: E501
|
173
|
-
|
174
|
-
:return: The name of this PatchedpythonPythonRemote. # noqa: E501
|
175
|
-
:rtype: str
|
176
|
-
"""
|
177
|
-
return self._name
|
178
|
-
|
179
|
-
@name.setter
|
180
|
-
def name(self, name):
|
181
|
-
"""Sets the name of this PatchedpythonPythonRemote.
|
182
|
-
|
183
|
-
A unique name for this remote. # noqa: E501
|
184
|
-
|
185
|
-
:param name: The name of this PatchedpythonPythonRemote. # noqa: E501
|
186
|
-
:type: str
|
187
|
-
"""
|
188
|
-
|
189
|
-
self._name = name
|
190
|
-
|
191
|
-
@property
|
192
|
-
def url(self):
|
193
|
-
"""Gets the url of this PatchedpythonPythonRemote. # noqa: E501
|
194
|
-
|
195
|
-
The URL of an external content source. # noqa: E501
|
196
|
-
|
197
|
-
:return: The url of this PatchedpythonPythonRemote. # noqa: E501
|
198
|
-
:rtype: str
|
199
|
-
"""
|
200
|
-
return self._url
|
201
|
-
|
202
|
-
@url.setter
|
203
|
-
def url(self, url):
|
204
|
-
"""Sets the url of this PatchedpythonPythonRemote.
|
205
|
-
|
206
|
-
The URL of an external content source. # noqa: E501
|
207
|
-
|
208
|
-
:param url: The url of this PatchedpythonPythonRemote. # noqa: E501
|
209
|
-
:type: str
|
210
|
-
"""
|
211
|
-
|
212
|
-
self._url = url
|
213
|
-
|
214
|
-
@property
|
215
|
-
def ca_cert(self):
|
216
|
-
"""Gets the ca_cert of this PatchedpythonPythonRemote. # noqa: E501
|
217
|
-
|
218
|
-
A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
|
219
|
-
|
220
|
-
:return: The ca_cert of this PatchedpythonPythonRemote. # noqa: E501
|
221
|
-
:rtype: str
|
222
|
-
"""
|
223
|
-
return self._ca_cert
|
224
|
-
|
225
|
-
@ca_cert.setter
|
226
|
-
def ca_cert(self, ca_cert):
|
227
|
-
"""Sets the ca_cert of this PatchedpythonPythonRemote.
|
228
|
-
|
229
|
-
A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
|
230
|
-
|
231
|
-
:param ca_cert: The ca_cert of this PatchedpythonPythonRemote. # noqa: E501
|
232
|
-
:type: str
|
233
|
-
"""
|
234
|
-
|
235
|
-
self._ca_cert = ca_cert
|
236
|
-
|
237
|
-
@property
|
238
|
-
def client_cert(self):
|
239
|
-
"""Gets the client_cert of this PatchedpythonPythonRemote. # noqa: E501
|
240
|
-
|
241
|
-
A PEM encoded client certificate used for authentication. # noqa: E501
|
242
|
-
|
243
|
-
:return: The client_cert of this PatchedpythonPythonRemote. # noqa: E501
|
244
|
-
:rtype: str
|
245
|
-
"""
|
246
|
-
return self._client_cert
|
247
|
-
|
248
|
-
@client_cert.setter
|
249
|
-
def client_cert(self, client_cert):
|
250
|
-
"""Sets the client_cert of this PatchedpythonPythonRemote.
|
251
|
-
|
252
|
-
A PEM encoded client certificate used for authentication. # noqa: E501
|
253
|
-
|
254
|
-
:param client_cert: The client_cert of this PatchedpythonPythonRemote. # noqa: E501
|
255
|
-
:type: str
|
256
|
-
"""
|
257
|
-
|
258
|
-
self._client_cert = client_cert
|
259
|
-
|
260
|
-
@property
|
261
|
-
def client_key(self):
|
262
|
-
"""Gets the client_key of this PatchedpythonPythonRemote. # noqa: E501
|
263
|
-
|
264
|
-
A PEM encoded private key used for authentication. # noqa: E501
|
265
|
-
|
266
|
-
:return: The client_key of this PatchedpythonPythonRemote. # noqa: E501
|
267
|
-
:rtype: str
|
268
|
-
"""
|
269
|
-
return self._client_key
|
270
|
-
|
271
|
-
@client_key.setter
|
272
|
-
def client_key(self, client_key):
|
273
|
-
"""Sets the client_key of this PatchedpythonPythonRemote.
|
274
|
-
|
275
|
-
A PEM encoded private key used for authentication. # noqa: E501
|
276
|
-
|
277
|
-
:param client_key: The client_key of this PatchedpythonPythonRemote. # noqa: E501
|
278
|
-
:type: str
|
279
|
-
"""
|
280
|
-
|
281
|
-
self._client_key = client_key
|
282
|
-
|
283
|
-
@property
|
284
|
-
def tls_validation(self):
|
285
|
-
"""Gets the tls_validation of this PatchedpythonPythonRemote. # noqa: E501
|
286
|
-
|
287
|
-
If True, TLS peer validation must be performed. # noqa: E501
|
288
|
-
|
289
|
-
:return: The tls_validation of this PatchedpythonPythonRemote. # 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 PatchedpythonPythonRemote.
|
297
|
-
|
298
|
-
If True, TLS peer validation must be performed. # noqa: E501
|
299
|
-
|
300
|
-
:param tls_validation: The tls_validation of this PatchedpythonPythonRemote. # 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 PatchedpythonPythonRemote. # noqa: E501
|
309
|
-
|
310
|
-
The proxy URL. Format: scheme://host:port # noqa: E501
|
311
|
-
|
312
|
-
:return: The proxy_url of this PatchedpythonPythonRemote. # 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 PatchedpythonPythonRemote.
|
320
|
-
|
321
|
-
The proxy URL. Format: scheme://host:port # noqa: E501
|
322
|
-
|
323
|
-
:param proxy_url: The proxy_url of this PatchedpythonPythonRemote. # noqa: E501
|
324
|
-
:type: str
|
325
|
-
"""
|
326
|
-
|
327
|
-
self._proxy_url = proxy_url
|
328
|
-
|
329
|
-
@property
|
330
|
-
def proxy_username(self):
|
331
|
-
"""Gets the proxy_username of this PatchedpythonPythonRemote. # noqa: E501
|
332
|
-
|
333
|
-
The username to authenticte to the proxy. # noqa: E501
|
334
|
-
|
335
|
-
:return: The proxy_username of this PatchedpythonPythonRemote. # noqa: E501
|
336
|
-
:rtype: str
|
337
|
-
"""
|
338
|
-
return self._proxy_username
|
339
|
-
|
340
|
-
@proxy_username.setter
|
341
|
-
def proxy_username(self, proxy_username):
|
342
|
-
"""Sets the proxy_username of this PatchedpythonPythonRemote.
|
343
|
-
|
344
|
-
The username to authenticte to the proxy. # noqa: E501
|
345
|
-
|
346
|
-
:param proxy_username: The proxy_username of this PatchedpythonPythonRemote. # noqa: E501
|
347
|
-
:type: str
|
348
|
-
"""
|
349
|
-
|
350
|
-
self._proxy_username = proxy_username
|
351
|
-
|
352
|
-
@property
|
353
|
-
def proxy_password(self):
|
354
|
-
"""Gets the proxy_password of this PatchedpythonPythonRemote. # noqa: E501
|
355
|
-
|
356
|
-
The password to authenticte to the proxy. # noqa: E501
|
357
|
-
|
358
|
-
:return: The proxy_password of this PatchedpythonPythonRemote. # noqa: E501
|
359
|
-
:rtype: str
|
360
|
-
"""
|
361
|
-
return self._proxy_password
|
362
|
-
|
363
|
-
@proxy_password.setter
|
364
|
-
def proxy_password(self, proxy_password):
|
365
|
-
"""Sets the proxy_password of this PatchedpythonPythonRemote.
|
366
|
-
|
367
|
-
The password to authenticte to the proxy. # noqa: E501
|
368
|
-
|
369
|
-
:param proxy_password: The proxy_password of this PatchedpythonPythonRemote. # noqa: E501
|
370
|
-
:type: str
|
371
|
-
"""
|
372
|
-
|
373
|
-
self._proxy_password = proxy_password
|
374
|
-
|
375
|
-
@property
|
376
|
-
def username(self):
|
377
|
-
"""Gets the username of this PatchedpythonPythonRemote. # noqa: E501
|
378
|
-
|
379
|
-
The username to be used for authentication when syncing. # noqa: E501
|
380
|
-
|
381
|
-
:return: The username of this PatchedpythonPythonRemote. # noqa: E501
|
382
|
-
:rtype: str
|
383
|
-
"""
|
384
|
-
return self._username
|
385
|
-
|
386
|
-
@username.setter
|
387
|
-
def username(self, username):
|
388
|
-
"""Sets the username of this PatchedpythonPythonRemote.
|
389
|
-
|
390
|
-
The username to be used for authentication when syncing. # noqa: E501
|
391
|
-
|
392
|
-
:param username: The username of this PatchedpythonPythonRemote. # noqa: E501
|
393
|
-
:type: str
|
394
|
-
"""
|
395
|
-
|
396
|
-
self._username = username
|
397
|
-
|
398
|
-
@property
|
399
|
-
def password(self):
|
400
|
-
"""Gets the password of this PatchedpythonPythonRemote. # noqa: E501
|
401
|
-
|
402
|
-
The password to be used for authentication when syncing. # noqa: E501
|
403
|
-
|
404
|
-
:return: The password of this PatchedpythonPythonRemote. # noqa: E501
|
405
|
-
:rtype: str
|
406
|
-
"""
|
407
|
-
return self._password
|
408
|
-
|
409
|
-
@password.setter
|
410
|
-
def password(self, password):
|
411
|
-
"""Sets the password of this PatchedpythonPythonRemote.
|
412
|
-
|
413
|
-
The password to be used for authentication when syncing. # noqa: E501
|
414
|
-
|
415
|
-
:param password: The password of this PatchedpythonPythonRemote. # noqa: E501
|
416
|
-
:type: str
|
417
|
-
"""
|
418
|
-
|
419
|
-
self._password = password
|
420
|
-
|
421
|
-
@property
|
422
|
-
def pulp_labels(self):
|
423
|
-
"""Gets the pulp_labels of this PatchedpythonPythonRemote. # noqa: E501
|
424
|
-
|
425
|
-
|
426
|
-
:return: The pulp_labels of this PatchedpythonPythonRemote. # noqa: E501
|
427
|
-
:rtype: object
|
428
|
-
"""
|
429
|
-
return self._pulp_labels
|
430
|
-
|
431
|
-
@pulp_labels.setter
|
432
|
-
def pulp_labels(self, pulp_labels):
|
433
|
-
"""Sets the pulp_labels of this PatchedpythonPythonRemote.
|
434
|
-
|
435
|
-
|
436
|
-
:param pulp_labels: The pulp_labels of this PatchedpythonPythonRemote. # noqa: E501
|
437
|
-
:type: object
|
438
|
-
"""
|
439
|
-
|
440
|
-
self._pulp_labels = pulp_labels
|
441
|
-
|
442
|
-
@property
|
443
|
-
def download_concurrency(self):
|
444
|
-
"""Gets the download_concurrency of this PatchedpythonPythonRemote. # noqa: E501
|
445
|
-
|
446
|
-
Total number of simultaneous connections. # noqa: E501
|
447
|
-
|
448
|
-
:return: The download_concurrency of this PatchedpythonPythonRemote. # noqa: E501
|
449
|
-
:rtype: int
|
450
|
-
"""
|
451
|
-
return self._download_concurrency
|
452
|
-
|
453
|
-
@download_concurrency.setter
|
454
|
-
def download_concurrency(self, download_concurrency):
|
455
|
-
"""Sets the download_concurrency of this PatchedpythonPythonRemote.
|
456
|
-
|
457
|
-
Total number of simultaneous connections. # noqa: E501
|
458
|
-
|
459
|
-
:param download_concurrency: The download_concurrency of this PatchedpythonPythonRemote. # noqa: E501
|
460
|
-
:type: int
|
461
|
-
"""
|
462
|
-
if (self.local_vars_configuration.client_side_validation and
|
463
|
-
download_concurrency is not None and download_concurrency < 1): # noqa: E501
|
464
|
-
raise ValueError("Invalid value for `download_concurrency`, must be a value greater than or equal to `1`") # noqa: E501
|
465
|
-
|
466
|
-
self._download_concurrency = download_concurrency
|
467
|
-
|
468
|
-
@property
|
469
|
-
def policy(self):
|
470
|
-
"""Gets the policy of this PatchedpythonPythonRemote. # noqa: E501
|
471
|
-
|
472
|
-
The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. # noqa: E501
|
473
|
-
|
474
|
-
:return: The policy of this PatchedpythonPythonRemote. # noqa: E501
|
475
|
-
:rtype: PolicyEnum
|
476
|
-
"""
|
477
|
-
return self._policy
|
478
|
-
|
479
|
-
@policy.setter
|
480
|
-
def policy(self, policy):
|
481
|
-
"""Sets the policy of this PatchedpythonPythonRemote.
|
482
|
-
|
483
|
-
The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. # noqa: E501
|
484
|
-
|
485
|
-
:param policy: The policy of this PatchedpythonPythonRemote. # noqa: E501
|
486
|
-
:type: PolicyEnum
|
487
|
-
"""
|
488
|
-
|
489
|
-
self._policy = policy
|
490
|
-
|
491
|
-
@property
|
492
|
-
def total_timeout(self):
|
493
|
-
"""Gets the total_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
494
|
-
|
495
|
-
aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
|
496
|
-
|
497
|
-
:return: The total_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
498
|
-
:rtype: float
|
499
|
-
"""
|
500
|
-
return self._total_timeout
|
501
|
-
|
502
|
-
@total_timeout.setter
|
503
|
-
def total_timeout(self, total_timeout):
|
504
|
-
"""Sets the total_timeout of this PatchedpythonPythonRemote.
|
505
|
-
|
506
|
-
aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
|
507
|
-
|
508
|
-
:param total_timeout: The total_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
509
|
-
:type: float
|
510
|
-
"""
|
511
|
-
if (self.local_vars_configuration.client_side_validation and
|
512
|
-
total_timeout is not None and total_timeout < 0.0): # noqa: E501
|
513
|
-
raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
514
|
-
|
515
|
-
self._total_timeout = total_timeout
|
516
|
-
|
517
|
-
@property
|
518
|
-
def connect_timeout(self):
|
519
|
-
"""Gets the connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
520
|
-
|
521
|
-
aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
|
522
|
-
|
523
|
-
:return: The connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
524
|
-
:rtype: float
|
525
|
-
"""
|
526
|
-
return self._connect_timeout
|
527
|
-
|
528
|
-
@connect_timeout.setter
|
529
|
-
def connect_timeout(self, connect_timeout):
|
530
|
-
"""Sets the connect_timeout of this PatchedpythonPythonRemote.
|
531
|
-
|
532
|
-
aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
|
533
|
-
|
534
|
-
:param connect_timeout: The connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
535
|
-
:type: float
|
536
|
-
"""
|
537
|
-
if (self.local_vars_configuration.client_side_validation and
|
538
|
-
connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
|
539
|
-
raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
540
|
-
|
541
|
-
self._connect_timeout = connect_timeout
|
542
|
-
|
543
|
-
@property
|
544
|
-
def sock_connect_timeout(self):
|
545
|
-
"""Gets the sock_connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
546
|
-
|
547
|
-
aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
|
548
|
-
|
549
|
-
:return: The sock_connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
550
|
-
:rtype: float
|
551
|
-
"""
|
552
|
-
return self._sock_connect_timeout
|
553
|
-
|
554
|
-
@sock_connect_timeout.setter
|
555
|
-
def sock_connect_timeout(self, sock_connect_timeout):
|
556
|
-
"""Sets the sock_connect_timeout of this PatchedpythonPythonRemote.
|
557
|
-
|
558
|
-
aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
|
559
|
-
|
560
|
-
:param sock_connect_timeout: The sock_connect_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
561
|
-
:type: float
|
562
|
-
"""
|
563
|
-
if (self.local_vars_configuration.client_side_validation and
|
564
|
-
sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
|
565
|
-
raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
566
|
-
|
567
|
-
self._sock_connect_timeout = sock_connect_timeout
|
568
|
-
|
569
|
-
@property
|
570
|
-
def sock_read_timeout(self):
|
571
|
-
"""Gets the sock_read_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
572
|
-
|
573
|
-
aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
|
574
|
-
|
575
|
-
:return: The sock_read_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
576
|
-
:rtype: float
|
577
|
-
"""
|
578
|
-
return self._sock_read_timeout
|
579
|
-
|
580
|
-
@sock_read_timeout.setter
|
581
|
-
def sock_read_timeout(self, sock_read_timeout):
|
582
|
-
"""Sets the sock_read_timeout of this PatchedpythonPythonRemote.
|
583
|
-
|
584
|
-
aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
|
585
|
-
|
586
|
-
:param sock_read_timeout: The sock_read_timeout of this PatchedpythonPythonRemote. # noqa: E501
|
587
|
-
:type: float
|
588
|
-
"""
|
589
|
-
if (self.local_vars_configuration.client_side_validation and
|
590
|
-
sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
|
591
|
-
raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
|
592
|
-
|
593
|
-
self._sock_read_timeout = sock_read_timeout
|
594
|
-
|
595
|
-
@property
|
596
|
-
def headers(self):
|
597
|
-
"""Gets the headers of this PatchedpythonPythonRemote. # noqa: E501
|
598
|
-
|
599
|
-
Headers for aiohttp.Clientsession # noqa: E501
|
600
|
-
|
601
|
-
:return: The headers of this PatchedpythonPythonRemote. # noqa: E501
|
602
|
-
:rtype: list[object]
|
603
|
-
"""
|
604
|
-
return self._headers
|
605
|
-
|
606
|
-
@headers.setter
|
607
|
-
def headers(self, headers):
|
608
|
-
"""Sets the headers of this PatchedpythonPythonRemote.
|
609
|
-
|
610
|
-
Headers for aiohttp.Clientsession # noqa: E501
|
611
|
-
|
612
|
-
:param headers: The headers of this PatchedpythonPythonRemote. # noqa: E501
|
613
|
-
:type: list[object]
|
614
|
-
"""
|
615
|
-
|
616
|
-
self._headers = headers
|
617
|
-
|
618
|
-
@property
|
619
|
-
def rate_limit(self):
|
620
|
-
"""Gets the rate_limit of this PatchedpythonPythonRemote. # noqa: E501
|
621
|
-
|
622
|
-
Limits total download rate in requests per second # noqa: E501
|
623
|
-
|
624
|
-
:return: The rate_limit of this PatchedpythonPythonRemote. # noqa: E501
|
625
|
-
:rtype: int
|
626
|
-
"""
|
627
|
-
return self._rate_limit
|
628
|
-
|
629
|
-
@rate_limit.setter
|
630
|
-
def rate_limit(self, rate_limit):
|
631
|
-
"""Sets the rate_limit of this PatchedpythonPythonRemote.
|
632
|
-
|
633
|
-
Limits total download rate in requests per second # noqa: E501
|
634
|
-
|
635
|
-
:param rate_limit: The rate_limit of this PatchedpythonPythonRemote. # noqa: E501
|
636
|
-
:type: int
|
637
|
-
"""
|
638
|
-
|
639
|
-
self._rate_limit = rate_limit
|
640
|
-
|
641
|
-
@property
|
642
|
-
def includes(self):
|
643
|
-
"""Gets the includes of this PatchedpythonPythonRemote. # noqa: E501
|
644
|
-
|
645
|
-
A JSON list containing project specifiers for Python packages to include. # noqa: E501
|
646
|
-
|
647
|
-
:return: The includes of this PatchedpythonPythonRemote. # noqa: E501
|
648
|
-
:rtype: object
|
649
|
-
"""
|
650
|
-
return self._includes
|
651
|
-
|
652
|
-
@includes.setter
|
653
|
-
def includes(self, includes):
|
654
|
-
"""Sets the includes of this PatchedpythonPythonRemote.
|
655
|
-
|
656
|
-
A JSON list containing project specifiers for Python packages to include. # noqa: E501
|
657
|
-
|
658
|
-
:param includes: The includes of this PatchedpythonPythonRemote. # noqa: E501
|
659
|
-
:type: object
|
660
|
-
"""
|
661
|
-
|
662
|
-
self._includes = includes
|
663
|
-
|
664
|
-
@property
|
665
|
-
def excludes(self):
|
666
|
-
"""Gets the excludes of this PatchedpythonPythonRemote. # noqa: E501
|
667
|
-
|
668
|
-
A JSON list containing project specifiers for Python packages to exclude. # noqa: E501
|
669
|
-
|
670
|
-
:return: The excludes of this PatchedpythonPythonRemote. # noqa: E501
|
671
|
-
:rtype: object
|
672
|
-
"""
|
673
|
-
return self._excludes
|
674
|
-
|
675
|
-
@excludes.setter
|
676
|
-
def excludes(self, excludes):
|
677
|
-
"""Sets the excludes of this PatchedpythonPythonRemote.
|
678
|
-
|
679
|
-
A JSON list containing project specifiers for Python packages to exclude. # noqa: E501
|
680
|
-
|
681
|
-
:param excludes: The excludes of this PatchedpythonPythonRemote. # noqa: E501
|
682
|
-
:type: object
|
683
|
-
"""
|
684
|
-
|
685
|
-
self._excludes = excludes
|
686
|
-
|
687
|
-
@property
|
688
|
-
def prereleases(self):
|
689
|
-
"""Gets the prereleases of this PatchedpythonPythonRemote. # noqa: E501
|
690
|
-
|
691
|
-
Whether or not to include pre-release packages in the sync. # noqa: E501
|
692
|
-
|
693
|
-
:return: The prereleases of this PatchedpythonPythonRemote. # noqa: E501
|
694
|
-
:rtype: bool
|
695
|
-
"""
|
696
|
-
return self._prereleases
|
697
|
-
|
698
|
-
@prereleases.setter
|
699
|
-
def prereleases(self, prereleases):
|
700
|
-
"""Sets the prereleases of this PatchedpythonPythonRemote.
|
701
|
-
|
702
|
-
Whether or not to include pre-release packages in the sync. # noqa: E501
|
703
|
-
|
704
|
-
:param prereleases: The prereleases of this PatchedpythonPythonRemote. # noqa: E501
|
705
|
-
:type: bool
|
706
|
-
"""
|
707
|
-
|
708
|
-
self._prereleases = prereleases
|
709
|
-
|
710
|
-
@property
|
711
|
-
def package_types(self):
|
712
|
-
"""Gets the package_types of this PatchedpythonPythonRemote. # noqa: E501
|
713
|
-
|
714
|
-
The package types to sync for Python content. Leave blank to get everypackage type. # noqa: E501
|
715
|
-
|
716
|
-
:return: The package_types of this PatchedpythonPythonRemote. # noqa: E501
|
717
|
-
:rtype: list[PackageTypesEnum]
|
718
|
-
"""
|
719
|
-
return self._package_types
|
720
|
-
|
721
|
-
@package_types.setter
|
722
|
-
def package_types(self, package_types):
|
723
|
-
"""Sets the package_types of this PatchedpythonPythonRemote.
|
724
|
-
|
725
|
-
The package types to sync for Python content. Leave blank to get everypackage type. # noqa: E501
|
726
|
-
|
727
|
-
:param package_types: The package_types of this PatchedpythonPythonRemote. # noqa: E501
|
728
|
-
:type: list[PackageTypesEnum]
|
729
|
-
"""
|
730
|
-
|
731
|
-
self._package_types = package_types
|
732
|
-
|
733
|
-
@property
|
734
|
-
def keep_latest_packages(self):
|
735
|
-
"""Gets the keep_latest_packages of this PatchedpythonPythonRemote. # noqa: E501
|
736
|
-
|
737
|
-
The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. # noqa: E501
|
738
|
-
|
739
|
-
:return: The keep_latest_packages of this PatchedpythonPythonRemote. # noqa: E501
|
740
|
-
:rtype: int
|
741
|
-
"""
|
742
|
-
return self._keep_latest_packages
|
743
|
-
|
744
|
-
@keep_latest_packages.setter
|
745
|
-
def keep_latest_packages(self, keep_latest_packages):
|
746
|
-
"""Sets the keep_latest_packages of this PatchedpythonPythonRemote.
|
747
|
-
|
748
|
-
The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. # noqa: E501
|
749
|
-
|
750
|
-
:param keep_latest_packages: The keep_latest_packages of this PatchedpythonPythonRemote. # noqa: E501
|
751
|
-
:type: int
|
752
|
-
"""
|
753
|
-
|
754
|
-
self._keep_latest_packages = keep_latest_packages
|
755
|
-
|
756
|
-
@property
|
757
|
-
def exclude_platforms(self):
|
758
|
-
"""Gets the exclude_platforms of this PatchedpythonPythonRemote. # noqa: E501
|
759
|
-
|
760
|
-
List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. # noqa: E501
|
761
|
-
|
762
|
-
:return: The exclude_platforms of this PatchedpythonPythonRemote. # noqa: E501
|
763
|
-
:rtype: list[ExcludePlatformsEnum]
|
764
|
-
"""
|
765
|
-
return self._exclude_platforms
|
766
|
-
|
767
|
-
@exclude_platforms.setter
|
768
|
-
def exclude_platforms(self, exclude_platforms):
|
769
|
-
"""Sets the exclude_platforms of this PatchedpythonPythonRemote.
|
770
|
-
|
771
|
-
List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. # noqa: E501
|
772
|
-
|
773
|
-
:param exclude_platforms: The exclude_platforms of this PatchedpythonPythonRemote. # noqa: E501
|
774
|
-
:type: list[ExcludePlatformsEnum]
|
775
|
-
"""
|
776
|
-
|
777
|
-
self._exclude_platforms = exclude_platforms
|
778
|
-
|
779
|
-
def to_dict(self):
|
780
|
-
"""Returns the model properties as a dict"""
|
781
|
-
result = {}
|
782
|
-
|
783
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
784
|
-
value = getattr(self, attr)
|
785
|
-
if isinstance(value, list):
|
786
|
-
result[attr] = list(map(
|
787
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
788
|
-
value
|
789
|
-
))
|
790
|
-
elif hasattr(value, "to_dict"):
|
791
|
-
result[attr] = value.to_dict()
|
792
|
-
elif isinstance(value, dict):
|
793
|
-
result[attr] = dict(map(
|
794
|
-
lambda item: (item[0], item[1].to_dict())
|
795
|
-
if hasattr(item[1], "to_dict") else item,
|
796
|
-
value.items()
|
797
|
-
))
|
798
|
-
else:
|
799
|
-
result[attr] = value
|
800
|
-
|
801
|
-
return result
|
802
|
-
|
803
|
-
def to_str(self):
|
804
|
-
"""Returns the string representation of the model"""
|
805
|
-
return pprint.pformat(self.to_dict())
|
806
|
-
|
807
|
-
def __repr__(self):
|
808
|
-
"""For `print` and `pprint`"""
|
809
|
-
return self.to_str()
|
810
|
-
|
811
|
-
def __eq__(self, other):
|
812
|
-
"""Returns true if both objects are equal"""
|
813
|
-
if not isinstance(other, PatchedpythonPythonRemote):
|
814
|
-
return False
|
815
|
-
|
816
|
-
return self.to_dict() == other.to_dict()
|
817
|
-
|
818
|
-
def __ne__(self, other):
|
819
|
-
"""Returns true if both objects are not equal"""
|
820
|
-
if not isinstance(other, PatchedpythonPythonRemote):
|
821
|
-
return True
|
822
|
-
|
823
|
-
return self.to_dict() != other.to_dict()
|