pulp_python_client 3.0.0b9 → 3.0.0b11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -42
  3. data/docs/ContentPackagesApi.md +54 -56
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsPypiApi.md +108 -60
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/InlineResponse2005.md +3 -3
  13. data/docs/PatchedpythonPythonDistribution.md +23 -0
  14. data/docs/PatchedpythonPythonRemote.md +43 -0
  15. data/docs/PatchedpythonPythonRepository.md +21 -0
  16. data/docs/PolicyEnum.md +16 -0
  17. data/docs/PublicationsPypiApi.md +40 -40
  18. data/docs/PythonBanderRemote.md +19 -0
  19. data/docs/PythonPythonDistribution.md +1 -7
  20. data/docs/{PythonPythonDistributionRead.md → PythonPythonDistributionResponse.md} +2 -2
  21. data/docs/PythonPythonPackageContent.md +61 -0
  22. data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContentResponse.md} +3 -3
  23. data/docs/PythonPythonPublication.md +2 -8
  24. data/docs/{PythonPythonPublicationRead.md → PythonPythonPublicationResponse.md} +2 -2
  25. data/docs/PythonPythonRemote.md +6 -12
  26. data/docs/{PythonPythonRemoteRead.md → PythonPythonRemoteResponse.md} +7 -7
  27. data/docs/PythonPythonRepository.md +4 -10
  28. data/docs/{PythonPythonRepositoryRead.md → PythonPythonRepositoryResponse.md} +5 -3
  29. data/docs/RemotesPythonApi.md +181 -65
  30. data/docs/RepositoriesPythonApi.md +97 -73
  31. data/docs/RepositoriesPythonVersionsApi.md +94 -60
  32. data/docs/RepositoryAddRemoveContent.md +2 -2
  33. data/docs/RepositorySyncURL.md +1 -1
  34. data/docs/RepositoryVersion.md +1 -9
  35. data/docs/{RepositoryVersionRead.md → RepositoryVersionResponse.md} +3 -3
  36. data/lib/pulp_python_client.rb +15 -9
  37. data/lib/pulp_python_client/api/content_packages_api.rb +73 -84
  38. data/lib/pulp_python_client/api/distributions_pypi_api.rb +153 -90
  39. data/lib/pulp_python_client/api/publications_pypi_api.rb +59 -59
  40. data/lib/pulp_python_client/api/remotes_python_api.rb +253 -100
  41. data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
  42. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -89
  43. data/lib/pulp_python_client/api_client.rb +2 -2
  44. data/lib/pulp_python_client/api_error.rb +2 -2
  45. data/lib/pulp_python_client/configuration.rb +3 -3
  46. data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
  47. data/lib/pulp_python_client/models/content_summary.rb +9 -15
  48. data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
  49. data/lib/pulp_python_client/models/inline_response200.rb +3 -13
  50. data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
  51. data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
  52. data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
  53. data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
  54. data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
  55. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
  56. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
  57. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
  58. data/lib/pulp_python_client/models/policy_enum.rb +37 -0
  59. data/lib/pulp_python_client/models/{project_specifier.rb → python_bander_remote.rb} +26 -40
  60. data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
  61. data/lib/pulp_python_client/models/{python_python_distribution_read.rb → python_python_distribution_response.rb} +6 -58
  62. data/lib/pulp_python_client/models/python_python_package_content.rb +433 -0
  63. data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content_response.rb} +6 -89
  64. data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
  65. data/lib/pulp_python_client/models/{python_python_publication_read.rb → python_python_publication_response.rb} +6 -5
  66. data/lib/pulp_python_client/models/python_python_remote.rb +13 -209
  67. data/lib/pulp_python_client/models/{python_python_remote_read.rb → python_python_remote_response.rb} +15 -182
  68. data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
  69. data/lib/pulp_python_client/models/{python_python_repository_read.rb → python_python_repository_response.rb} +21 -44
  70. data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
  71. data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
  72. data/lib/pulp_python_client/models/repository_version.rb +7 -43
  73. data/lib/pulp_python_client/models/{repository_version_read.rb → repository_version_response.rb} +8 -6
  74. data/lib/pulp_python_client/version.rb +3 -3
  75. data/pulp_python_client.gemspec +4 -4
  76. data/spec/api/content_packages_api_spec.rb +24 -25
  77. data/spec/api/distributions_pypi_api_spec.rb +39 -18
  78. data/spec/api/publications_pypi_api_spec.rb +14 -14
  79. data/spec/api/remotes_python_api_spec.rb +61 -21
  80. data/spec/api/repositories_python_api_spec.rb +28 -19
  81. data/spec/api/repositories_python_versions_api_spec.rb +38 -22
  82. data/spec/api_client_spec.rb +2 -2
  83. data/spec/configuration_spec.rb +2 -2
  84. data/spec/models/async_operation_response_spec.rb +2 -2
  85. data/spec/models/content_summary_response_spec.rb +53 -0
  86. data/spec/models/content_summary_spec.rb +2 -2
  87. data/spec/models/inline_response2001_spec.rb +2 -2
  88. data/spec/models/inline_response2002_spec.rb +2 -2
  89. data/spec/models/inline_response2003_spec.rb +2 -2
  90. data/spec/models/inline_response2004_spec.rb +2 -2
  91. data/spec/models/inline_response2005_spec.rb +2 -2
  92. data/spec/models/inline_response200_spec.rb +2 -2
  93. data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
  94. data/spec/models/patchedpython_python_remote_spec.rb +119 -0
  95. data/spec/models/patchedpython_python_repository_spec.rb +53 -0
  96. data/spec/models/policy_enum_spec.rb +35 -0
  97. data/spec/models/{project_specifier_spec.rb → python_bander_remote_spec.rb} +10 -10
  98. data/spec/models/{python_python_distribution_read_spec.rb → python_python_distribution_response_spec.rb} +8 -8
  99. data/spec/models/python_python_distribution_spec.rb +2 -20
  100. data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_response_spec.rb} +8 -8
  101. data/spec/models/python_python_package_content_spec.rb +173 -0
  102. data/spec/models/{python_python_publication_read_spec.rb → python_python_publication_response_spec.rb} +8 -8
  103. data/spec/models/python_python_publication_spec.rb +2 -20
  104. data/spec/models/{python_python_remote_read_spec.rb → python_python_remote_response_spec.rb} +8 -12
  105. data/spec/models/python_python_remote_spec.rb +2 -24
  106. data/spec/models/{python_python_repository_read_spec.rb → python_python_repository_response_spec.rb} +14 -8
  107. data/spec/models/python_python_repository_spec.rb +5 -23
  108. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  109. data/spec/models/repository_sync_url_spec.rb +2 -2
  110. data/spec/models/{repository_version_read_spec.rb → repository_version_response_spec.rb} +8 -8
  111. data/spec/models/repository_version_spec.rb +2 -26
  112. data/spec/spec_helper.rb +2 -2
  113. metadata +70 -46
  114. data/docs/ProjectSpecifier.md +0 -19
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::PythonPythonPackageContentRead
1
+ # PulpPythonClient::PythonPythonPackageContentResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **artifact** | **String** | Artifact file representing the physical content | [optional]
10
- **filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} |
10
+ **filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
11
11
  **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
12
12
  **name** | **String** | The name of the python project. | [optional] [readonly]
13
13
  **version** | **String** | The packages version number. | [optional] [readonly]
@@ -37,7 +37,7 @@ Name | Type | Description | Notes
37
37
  ```ruby
38
38
  require 'PulpPythonClient'
39
39
 
40
- instance = PulpPythonClient::PythonPythonPackageContentRead.new(pulp_href: null,
40
+ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(pulp_href: null,
41
41
  pulp_created: null,
42
42
  artifact: null,
43
43
  filename: null,
@@ -4,22 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **repository_version** | **String** | | [optional]
10
8
  **repository** | **String** | A URI of the repository to be published. | [optional]
11
- **distributions** | **Array<String>** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
12
9
 
13
10
  ## Code Sample
14
11
 
15
12
  ```ruby
16
13
  require 'PulpPythonClient'
17
14
 
18
- instance = PulpPythonClient::PythonPythonPublication.new(pulp_href: null,
19
- pulp_created: null,
20
- repository_version: null,
21
- repository: null,
22
- distributions: null)
15
+ instance = PulpPythonClient::PythonPythonPublication.new(repository_version: null,
16
+ repository: null)
23
17
  ```
24
18
 
25
19
 
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::PythonPythonPublicationRead
1
+ # PulpPythonClient::PythonPythonPublicationResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpPythonClient'
17
17
 
18
- instance = PulpPythonClient::PythonPythonPublicationRead.new(pulp_href: null,
18
+ instance = PulpPythonClient::PythonPythonPublicationResponse.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  repository_version: null,
21
21
  repository: null,
@@ -4,22 +4,19 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **name** | **String** | A unique name for this remote. |
10
8
  **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
9
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
11
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
12
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
14
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
- **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional] [default to 'immediate']
21
- **includes** | [**Array<ProjectSpecifier>**](ProjectSpecifier.md) | AKA \"Whitelist\". A list of dictionaries, expand for more information. Example: [{\"name\": \"django\", \"version_specifier\":\"~=2.0\"}] | [optional]
22
- **excludes** | [**Array<ProjectSpecifier>**](ProjectSpecifier.md) | \"AKA \"Blacklist\". A list of dictionaries, expand for more information. Example: [{\"name\": \"django\", \"version_specifier\":\"~=2.0\"}] | [optional]
17
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
18
+ **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
19
+ **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
23
20
  **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
24
21
 
25
22
  ## Code Sample
@@ -27,9 +24,7 @@ Name | Type | Description | Notes
27
24
  ```ruby
28
25
  require 'PulpPythonClient'
29
26
 
30
- instance = PulpPythonClient::PythonPythonRemote.new(pulp_href: null,
31
- pulp_created: null,
32
- name: null,
27
+ instance = PulpPythonClient::PythonPythonRemote.new(name: null,
33
28
  url: null,
34
29
  ca_cert: null,
35
30
  client_cert: null,
@@ -38,7 +33,6 @@ instance = PulpPythonClient::PythonPythonRemote.new(pulp_href: null,
38
33
  proxy_url: null,
39
34
  username: null,
40
35
  password: null,
41
- pulp_last_updated: null,
42
36
  download_concurrency: null,
43
37
  policy: null,
44
38
  includes: null,
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::PythonPythonRemoteRead
1
+ # PulpPythonClient::PythonPythonRemoteResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | A unique name for this remote. |
10
10
  **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
11
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
13
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
14
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
17
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
18
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
- **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional] [default to 'immediate']
21
- **includes** | [**Array<ProjectSpecifier>**](ProjectSpecifier.md) | AKA \"Whitelist\". A list of dictionaries, expand for more information. Example: [{\"name\": \"django\", \"version_specifier\":\"~=2.0\"}] | [optional]
22
- **excludes** | [**Array<ProjectSpecifier>**](ProjectSpecifier.md) | \"AKA \"Blacklist\". A list of dictionaries, expand for more information. Example: [{\"name\": \"django\", \"version_specifier\":\"~=2.0\"}] | [optional]
20
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
21
+ **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
22
+ **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
23
23
  **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
24
24
 
25
25
  ## Code Sample
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
27
27
  ```ruby
28
28
  require 'PulpPythonClient'
29
29
 
30
- instance = PulpPythonClient::PythonPythonRemoteRead.new(pulp_href: null,
30
+ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
31
31
  pulp_created: null,
32
32
  name: null,
33
33
  url: null,
@@ -4,24 +4,18 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **versions_href** | **String** | | [optional] [readonly]
10
- **latest_version_href** | **String** | | [optional] [readonly]
11
7
  **name** | **String** | A unique name for this repository. |
12
8
  **description** | **String** | An optional description. | [optional]
9
+ **remote** | **String** | | [optional]
13
10
 
14
11
  ## Code Sample
15
12
 
16
13
  ```ruby
17
14
  require 'PulpPythonClient'
18
15
 
19
- instance = PulpPythonClient::PythonPythonRepository.new(pulp_href: null,
20
- pulp_created: null,
21
- versions_href: null,
22
- latest_version_href: null,
23
- name: null,
24
- description: null)
16
+ instance = PulpPythonClient::PythonPythonRepository.new(name: null,
17
+ description: null,
18
+ remote: null)
25
19
  ```
26
20
 
27
21
 
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::PythonPythonRepositoryRead
1
+ # PulpPythonClient::PythonPythonRepositoryResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,18 +10,20 @@ Name | Type | Description | Notes
10
10
  **latest_version_href** | **String** | | [optional] [readonly]
11
11
  **name** | **String** | A unique name for this repository. |
12
12
  **description** | **String** | An optional description. | [optional]
13
+ **remote** | **String** | | [optional]
13
14
 
14
15
  ## Code Sample
15
16
 
16
17
  ```ruby
17
18
  require 'PulpPythonClient'
18
19
 
19
- instance = PulpPythonClient::PythonPythonRepositoryRead.new(pulp_href: null,
20
+ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
20
21
  pulp_created: null,
21
22
  versions_href: null,
22
23
  latest_version_href: null,
23
24
  name: null,
24
- description: null)
25
+ description: null,
26
+ remote: null)
25
27
  ```
26
28
 
27
29
 
@@ -5,17 +5,18 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
8
- [**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_remote_href} | Delete a python remote
8
+ [**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
9
+ [**from_bandersnatch**](RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
9
10
  [**list**](RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
10
- [**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
11
- [**read**](RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
12
- [**update**](RemotesPythonApi.md#update) | **PUT** {python_remote_href} | Update a python remote
11
+ [**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
12
+ [**read**](RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
13
+ [**update**](RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
13
14
 
14
15
 
15
16
 
16
17
  ## create
17
18
 
18
- > PythonPythonRemoteRead create(data)
19
+ > PythonPythonRemoteResponse create(python_python_remote)
19
20
 
20
21
  Create a python remote
21
22
 
@@ -28,17 +29,17 @@ Create a python remote
28
29
  require 'pulp_python_client'
29
30
  # setup authorization
30
31
  PulpPythonClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
32
+ # Configure HTTP basic authorization: basicAuth
32
33
  config.username = 'YOUR USERNAME'
33
34
  config.password = 'YOUR PASSWORD'
34
35
  end
35
36
 
36
37
  api_instance = PulpPythonClient::RemotesPythonApi.new
37
- data = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
38
+ python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
38
39
 
39
40
  begin
40
41
  #Create a python remote
41
- result = api_instance.create(data)
42
+ result = api_instance.create(python_python_remote)
42
43
  p result
43
44
  rescue PulpPythonClient::ApiError => e
44
45
  puts "Exception when calling RemotesPythonApi->create: #{e}"
@@ -50,25 +51,25 @@ end
50
51
 
51
52
  Name | Type | Description | Notes
52
53
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
54
+ **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
54
55
 
55
56
  ### Return type
56
57
 
57
- [**PythonPythonRemoteRead**](PythonPythonRemoteRead.md)
58
+ [**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
58
59
 
59
60
  ### Authorization
60
61
 
61
- [Basic](../README.md#Basic)
62
+ [basicAuth](../README.md#basicAuth)
62
63
 
63
64
  ### HTTP request headers
64
65
 
65
- - **Content-Type**: application/json
66
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
67
  - **Accept**: application/json
67
68
 
68
69
 
69
70
  ## delete
70
71
 
71
- > AsyncOperationResponse delete(python_remote_href)
72
+ > AsyncOperationResponse delete(python_python_remote_href, opts)
72
73
 
73
74
  Delete a python remote
74
75
 
@@ -81,17 +82,28 @@ Trigger an asynchronous delete task
81
82
  require 'pulp_python_client'
82
83
  # setup authorization
83
84
  PulpPythonClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
85
+ # Configure HTTP basic authorization: basicAuth
85
86
  config.username = 'YOUR USERNAME'
86
87
  config.password = 'YOUR PASSWORD'
87
88
  end
88
89
 
89
90
  api_instance = PulpPythonClient::RemotesPythonApi.new
90
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
91
+ python_python_remote_href = 'python_python_remote_href_example' # String |
92
+ opts = {
93
+ name: 'name_example', # String | name
94
+ name__in: 'name__in_example', # String | name__in
95
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
96
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
97
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
98
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
99
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
100
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
101
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
102
+ }
91
103
 
92
104
  begin
93
105
  #Delete a python remote
94
- result = api_instance.delete(python_remote_href)
106
+ result = api_instance.delete(python_python_remote_href, opts)
95
107
  p result
96
108
  rescue PulpPythonClient::ApiError => e
97
109
  puts "Exception when calling RemotesPythonApi->delete: #{e}"
@@ -103,7 +115,16 @@ end
103
115
 
104
116
  Name | Type | Description | Notes
105
117
  ------------- | ------------- | ------------- | -------------
106
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
118
+ **python_python_remote_href** | **String**| |
119
+ **name** | **String**| name | [optional]
120
+ **name__in** | **String**| name__in | [optional]
121
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
122
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
123
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
124
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
125
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
126
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
127
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
107
128
 
108
129
  ### Return type
109
130
 
@@ -111,7 +132,7 @@ Name | Type | Description | Notes
111
132
 
112
133
  ### Authorization
113
134
 
114
- [Basic](../README.md#Basic)
135
+ [basicAuth](../README.md#basicAuth)
115
136
 
116
137
  ### HTTP request headers
117
138
 
@@ -119,6 +140,61 @@ Name | Type | Description | Notes
119
140
  - **Accept**: application/json
120
141
 
121
142
 
143
+ ## from_bandersnatch
144
+
145
+ > PythonPythonRemoteResponse from_bandersnatch(config, name)
146
+
147
+ Create from Bandersnatch
148
+
149
+ Create a remote from a Bandersnatch config
150
+
151
+ ### Example
152
+
153
+ ```ruby
154
+ # load the gem
155
+ require 'pulp_python_client'
156
+ # setup authorization
157
+ PulpPythonClient.configure do |config|
158
+ # Configure HTTP basic authorization: basicAuth
159
+ config.username = 'YOUR USERNAME'
160
+ config.password = 'YOUR PASSWORD'
161
+ end
162
+
163
+ api_instance = PulpPythonClient::RemotesPythonApi.new
164
+ config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
165
+ name = 'name_example' # String | A unique name for this remote
166
+
167
+ begin
168
+ #Create from Bandersnatch
169
+ result = api_instance.from_bandersnatch(config, name)
170
+ p result
171
+ rescue PulpPythonClient::ApiError => e
172
+ puts "Exception when calling RemotesPythonApi->from_bandersnatch: #{e}"
173
+ end
174
+ ```
175
+
176
+ ### Parameters
177
+
178
+
179
+ Name | Type | Description | Notes
180
+ ------------- | ------------- | ------------- | -------------
181
+ **config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
182
+ **name** | **String**| A unique name for this remote |
183
+
184
+ ### Return type
185
+
186
+ [**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
187
+
188
+ ### Authorization
189
+
190
+ [basicAuth](../README.md#basicAuth)
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
195
+ - **Accept**: application/json
196
+
197
+
122
198
  ## list
123
199
 
124
200
  > InlineResponse2003 list(opts)
@@ -134,24 +210,24 @@ List python remotes
134
210
  require 'pulp_python_client'
135
211
  # setup authorization
136
212
  PulpPythonClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
213
+ # Configure HTTP basic authorization: basicAuth
138
214
  config.username = 'YOUR USERNAME'
139
215
  config.password = 'YOUR PASSWORD'
140
216
  end
141
217
 
142
218
  api_instance = PulpPythonClient::RemotesPythonApi.new
143
219
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
148
- pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
149
- pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
150
- pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
151
- pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
152
- pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
153
220
  limit: 56, # Integer | Number of results to return per page.
221
+ name: 'name_example', # String | name
222
+ name__in: 'name__in_example', # String | name__in
154
223
  offset: 56, # Integer | The initial index from which to return the results.
224
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
225
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
226
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
227
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
228
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
229
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
230
+ pulp_last_updated__range: 'pulp_last_updated__range_example', # String | pulp_last_updated__range
155
231
  fields: 'fields_example', # String | A list of fields to include in the response.
156
232
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
233
  }
@@ -170,17 +246,17 @@ end
170
246
 
171
247
  Name | Type | Description | Notes
172
248
  ------------- | ------------- | ------------- | -------------
173
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
174
- **name** | **String**| | [optional]
175
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
176
- **pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
177
- **pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
178
- **pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
179
- **pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
180
- **pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
181
- **pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
182
249
  **limit** | **Integer**| Number of results to return per page. | [optional]
250
+ **name** | **String**| name | [optional]
251
+ **name__in** | **String**| name__in | [optional]
183
252
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
253
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
254
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
255
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
256
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
257
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
258
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
259
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
184
260
  **fields** | **String**| A list of fields to include in the response. | [optional]
185
261
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
186
262
 
@@ -190,7 +266,7 @@ Name | Type | Description | Notes
190
266
 
191
267
  ### Authorization
192
268
 
193
- [Basic](../README.md#Basic)
269
+ [basicAuth](../README.md#basicAuth)
194
270
 
195
271
  ### HTTP request headers
196
272
 
@@ -200,9 +276,9 @@ Name | Type | Description | Notes
200
276
 
201
277
  ## partial_update
202
278
 
203
- > AsyncOperationResponse partial_update(python_remote_href, data)
279
+ > AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote, opts)
204
280
 
205
- Partially update a python remote
281
+ Update a python remote
206
282
 
207
283
  Trigger an asynchronous partial update task
208
284
 
@@ -213,18 +289,29 @@ Trigger an asynchronous partial update task
213
289
  require 'pulp_python_client'
214
290
  # setup authorization
215
291
  PulpPythonClient.configure do |config|
216
- # Configure HTTP basic authorization: Basic
292
+ # Configure HTTP basic authorization: basicAuth
217
293
  config.username = 'YOUR USERNAME'
218
294
  config.password = 'YOUR PASSWORD'
219
295
  end
220
296
 
221
297
  api_instance = PulpPythonClient::RemotesPythonApi.new
222
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
223
- data = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
298
+ python_python_remote_href = 'python_python_remote_href_example' # String |
299
+ patchedpython_python_remote = PulpPythonClient::PatchedpythonPythonRemote.new # PatchedpythonPythonRemote |
300
+ opts = {
301
+ name: 'name_example', # String | name
302
+ name__in: 'name__in_example', # String | name__in
303
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
304
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
305
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
306
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
307
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
308
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
309
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
310
+ }
224
311
 
225
312
  begin
226
- #Partially update a python remote
227
- result = api_instance.partial_update(python_remote_href, data)
313
+ #Update a python remote
314
+ result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote, opts)
228
315
  p result
229
316
  rescue PulpPythonClient::ApiError => e
230
317
  puts "Exception when calling RemotesPythonApi->partial_update: #{e}"
@@ -236,8 +323,17 @@ end
236
323
 
237
324
  Name | Type | Description | Notes
238
325
  ------------- | ------------- | ------------- | -------------
239
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
240
- **data** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
326
+ **python_python_remote_href** | **String**| |
327
+ **patchedpython_python_remote** | [**PatchedpythonPythonRemote**](PatchedpythonPythonRemote.md)| |
328
+ **name** | **String**| name | [optional]
329
+ **name__in** | **String**| name__in | [optional]
330
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
331
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
332
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
333
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
334
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
335
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
336
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
241
337
 
242
338
  ### Return type
243
339
 
@@ -245,17 +341,17 @@ Name | Type | Description | Notes
245
341
 
246
342
  ### Authorization
247
343
 
248
- [Basic](../README.md#Basic)
344
+ [basicAuth](../README.md#basicAuth)
249
345
 
250
346
  ### HTTP request headers
251
347
 
252
- - **Content-Type**: application/json
348
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
253
349
  - **Accept**: application/json
254
350
 
255
351
 
256
352
  ## read
257
353
 
258
- > PythonPythonRemoteRead read(python_remote_href, opts)
354
+ > PythonPythonRemoteResponse read(python_python_remote_href, opts)
259
355
 
260
356
  Inspect a python remote
261
357
 
@@ -268,13 +364,13 @@ Inspect a python remote
268
364
  require 'pulp_python_client'
269
365
  # setup authorization
270
366
  PulpPythonClient.configure do |config|
271
- # Configure HTTP basic authorization: Basic
367
+ # Configure HTTP basic authorization: basicAuth
272
368
  config.username = 'YOUR USERNAME'
273
369
  config.password = 'YOUR PASSWORD'
274
370
  end
275
371
 
276
372
  api_instance = PulpPythonClient::RemotesPythonApi.new
277
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
373
+ python_python_remote_href = 'python_python_remote_href_example' # String |
278
374
  opts = {
279
375
  fields: 'fields_example', # String | A list of fields to include in the response.
280
376
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -282,7 +378,7 @@ opts = {
282
378
 
283
379
  begin
284
380
  #Inspect a python remote
285
- result = api_instance.read(python_remote_href, opts)
381
+ result = api_instance.read(python_python_remote_href, opts)
286
382
  p result
287
383
  rescue PulpPythonClient::ApiError => e
288
384
  puts "Exception when calling RemotesPythonApi->read: #{e}"
@@ -294,17 +390,17 @@ end
294
390
 
295
391
  Name | Type | Description | Notes
296
392
  ------------- | ------------- | ------------- | -------------
297
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
393
+ **python_python_remote_href** | **String**| |
298
394
  **fields** | **String**| A list of fields to include in the response. | [optional]
299
395
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
300
396
 
301
397
  ### Return type
302
398
 
303
- [**PythonPythonRemoteRead**](PythonPythonRemoteRead.md)
399
+ [**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
304
400
 
305
401
  ### Authorization
306
402
 
307
- [Basic](../README.md#Basic)
403
+ [basicAuth](../README.md#basicAuth)
308
404
 
309
405
  ### HTTP request headers
310
406
 
@@ -314,7 +410,7 @@ Name | Type | Description | Notes
314
410
 
315
411
  ## update
316
412
 
317
- > AsyncOperationResponse update(python_remote_href, data)
413
+ > AsyncOperationResponse update(python_python_remote_href, python_python_remote, opts)
318
414
 
319
415
  Update a python remote
320
416
 
@@ -327,18 +423,29 @@ Trigger an asynchronous update task
327
423
  require 'pulp_python_client'
328
424
  # setup authorization
329
425
  PulpPythonClient.configure do |config|
330
- # Configure HTTP basic authorization: Basic
426
+ # Configure HTTP basic authorization: basicAuth
331
427
  config.username = 'YOUR USERNAME'
332
428
  config.password = 'YOUR PASSWORD'
333
429
  end
334
430
 
335
431
  api_instance = PulpPythonClient::RemotesPythonApi.new
336
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
337
- data = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
432
+ python_python_remote_href = 'python_python_remote_href_example' # String |
433
+ python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
434
+ opts = {
435
+ name: 'name_example', # String | name
436
+ name__in: 'name__in_example', # String | name__in
437
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
438
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
439
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
440
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
441
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
442
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
443
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
444
+ }
338
445
 
339
446
  begin
340
447
  #Update a python remote
341
- result = api_instance.update(python_remote_href, data)
448
+ result = api_instance.update(python_python_remote_href, python_python_remote, opts)
342
449
  p result
343
450
  rescue PulpPythonClient::ApiError => e
344
451
  puts "Exception when calling RemotesPythonApi->update: #{e}"
@@ -350,8 +457,17 @@ end
350
457
 
351
458
  Name | Type | Description | Notes
352
459
  ------------- | ------------- | ------------- | -------------
353
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
354
- **data** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
460
+ **python_python_remote_href** | **String**| |
461
+ **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
462
+ **name** | **String**| name | [optional]
463
+ **name__in** | **String**| name__in | [optional]
464
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
465
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
466
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
467
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
468
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
469
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
470
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
355
471
 
356
472
  ### Return type
357
473
 
@@ -359,10 +475,10 @@ Name | Type | Description | Notes
359
475
 
360
476
  ### Authorization
361
477
 
362
- [Basic](../README.md#Basic)
478
+ [basicAuth](../README.md#basicAuth)
363
479
 
364
480
  ### HTTP request headers
365
481
 
366
- - **Content-Type**: application/json
482
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
367
483
  - **Accept**: application/json
368
484