pulp_python_client 3.0.0b9 → 3.0.0b10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -13
  3. data/docs/ContentPackagesApi.md +4 -6
  4. data/docs/DistributionsPypiApi.md +2 -2
  5. data/docs/InlineResponse200.md +1 -1
  6. data/docs/InlineResponse2001.md +1 -1
  7. data/docs/InlineResponse2002.md +1 -1
  8. data/docs/InlineResponse2003.md +1 -1
  9. data/docs/InlineResponse2004.md +1 -1
  10. data/docs/InlineResponse2005.md +1 -1
  11. data/docs/PublicationsPypiApi.md +2 -2
  12. data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContent.md} +3 -3
  13. data/docs/PythonPythonRemote.md +2 -2
  14. data/docs/RemotesPythonApi.md +60 -4
  15. data/docs/RepositoriesPythonApi.md +4 -4
  16. data/docs/RepositoriesPythonVersionsApi.md +6 -4
  17. data/lib/pulp_python_client/api/content_packages_api.rb +6 -17
  18. data/lib/pulp_python_client/api/distributions_pypi_api.rb +3 -3
  19. data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -3
  20. data/lib/pulp_python_client/api/remotes_python_api.rb +82 -6
  21. data/lib/pulp_python_client/api/repositories_python_api.rb +6 -6
  22. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +9 -6
  23. data/lib/pulp_python_client/models/inline_response200.rb +1 -1
  24. data/lib/pulp_python_client/models/inline_response2001.rb +1 -1
  25. data/lib/pulp_python_client/models/inline_response2002.rb +1 -1
  26. data/lib/pulp_python_client/models/inline_response2003.rb +1 -1
  27. data/lib/pulp_python_client/models/inline_response2004.rb +1 -1
  28. data/lib/pulp_python_client/models/inline_response2005.rb +1 -1
  29. data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content.rb} +6 -15
  30. data/lib/pulp_python_client/models/python_python_remote.rb +6 -10
  31. data/lib/pulp_python_client/version.rb +1 -1
  32. data/lib/pulp_python_client.rb +1 -7
  33. data/spec/api/content_packages_api_spec.rb +1 -2
  34. data/spec/api/distributions_pypi_api_spec.rb +1 -1
  35. data/spec/api/publications_pypi_api_spec.rb +1 -1
  36. data/spec/api/remotes_python_api_spec.rb +15 -2
  37. data/spec/api/repositories_python_api_spec.rb +2 -2
  38. data/spec/api/repositories_python_versions_api_spec.rb +3 -2
  39. data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_spec.rb} +6 -6
  40. metadata +20 -44
  41. data/docs/ProjectSpecifier.md +0 -19
  42. data/docs/PythonPythonDistributionRead.md +0 -29
  43. data/docs/PythonPythonPublicationRead.md +0 -25
  44. data/docs/PythonPythonRemoteRead.md +0 -49
  45. data/docs/PythonPythonRepositoryRead.md +0 -27
  46. data/docs/RepositoryVersionRead.md +0 -25
  47. data/lib/pulp_python_client/models/project_specifier.rb +0 -242
  48. data/lib/pulp_python_client/models/python_python_distribution_read.rb +0 -331
  49. data/lib/pulp_python_client/models/python_python_publication_read.rb +0 -247
  50. data/lib/pulp_python_client/models/python_python_remote_read.rb +0 -565
  51. data/lib/pulp_python_client/models/python_python_repository_read.rb +0 -294
  52. data/lib/pulp_python_client/models/repository_version_read.rb +0 -244
  53. data/spec/models/project_specifier_spec.rb +0 -47
  54. data/spec/models/python_python_distribution_read_spec.rb +0 -77
  55. data/spec/models/python_python_publication_read_spec.rb +0 -65
  56. data/spec/models/python_python_remote_read_spec.rb +0 -141
  57. data/spec/models/python_python_repository_read_spec.rb +0 -71
  58. data/spec/models/repository_version_read_spec.rb +0 -65
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c98736e03484c5fe70401c7c5e09a606c27dca76ad7a8cdf7c4124d843d56f4d
4
- data.tar.gz: 6275263af58ace49041596de5e4e1605d329cec6e056ef255cfc0f099ac3540a
3
+ metadata.gz: a82e82b06dffcd18263da590a12c3fb209b8617aacf18b21a4964fe95254ba3b
4
+ data.tar.gz: 404abfa42bfc05750bed88206a4d3a6b50f0237de7d6c76d6c0cd2eef4c55e6e
5
5
  SHA512:
6
- metadata.gz: 121f2f4166796d8fce07f097ae13dd43d7d1d96e2276e7b8f1a0b30f014cdb000546ea4319589e042daddb845d4b68aec9b6698114216090feb22b3f32860301
7
- data.tar.gz: '051638c51f8d2a376c9fa6393fcd0f9274fe78ff09bbf579325d28064bbbd8e8cf03dcb0d0f27875cf7dc6d753e3ca3c0383c40db0f3841c271097e55253cdf4'
6
+ metadata.gz: a76cc6a44929a33b1d29d2ba2819b52555cdde6e18414eca3669a98bfdc39eb0a39be2c8987c89a2ddd6dae6e63b362f4512462e4858e455882b7bc02b6f88a7
7
+ data.tar.gz: 8046c1f3c9a844aee03264d02825cdb2883317a670c549373746d7e65eabdaaeed31570b8ea2d771cdbf56ee5c72c6abc5c95b48070a999790af977720735eb7
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.0.0b9
10
+ - Package version: 3.0.0b10
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_python_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_python_client-3.0.0b9.gem
26
+ gem install ./pulp_python_client-3.0.0b10.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_python_client-3.0.0b9.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_python_client-3.0.0b10.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_python_client', '~> 3.0.0b9'
35
+ gem 'pulp_python_client', '~> 3.0.0b10'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -65,7 +65,6 @@ end
65
65
 
66
66
  api_instance = PulpPythonClient::ContentPackagesApi.new
67
67
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
68
- filename = 'filename_example' # String | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
69
68
  opts = {
70
69
  artifact: 'artifact_example', # String | Artifact file representing the physical content
71
70
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
@@ -93,7 +92,7 @@ opts = {
93
92
 
94
93
  begin
95
94
  #Create a python package content
96
- result = api_instance.create(relative_path, filename, opts)
95
+ result = api_instance.create(relative_path, opts)
97
96
  p result
98
97
  rescue PulpPythonClient::ApiError => e
99
98
  puts "Exception when calling ContentPackagesApi->create: #{e}"
@@ -122,6 +121,7 @@ Class | Method | HTTP request | Description
122
121
  *PulpPythonClient::PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_publication_href} | Inspect a python publication
123
122
  *PulpPythonClient::RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
124
123
  *PulpPythonClient::RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_remote_href} | Delete a python remote
124
+ *PulpPythonClient::RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
125
125
  *PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
126
126
  *PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
127
127
  *PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
@@ -150,20 +150,14 @@ Class | Method | HTTP request | Description
150
150
  - [PulpPythonClient::InlineResponse2003](docs/InlineResponse2003.md)
151
151
  - [PulpPythonClient::InlineResponse2004](docs/InlineResponse2004.md)
152
152
  - [PulpPythonClient::InlineResponse2005](docs/InlineResponse2005.md)
153
- - [PulpPythonClient::ProjectSpecifier](docs/ProjectSpecifier.md)
154
153
  - [PulpPythonClient::PythonPythonDistribution](docs/PythonPythonDistribution.md)
155
- - [PulpPythonClient::PythonPythonDistributionRead](docs/PythonPythonDistributionRead.md)
156
- - [PulpPythonClient::PythonPythonPackageContentRead](docs/PythonPythonPackageContentRead.md)
154
+ - [PulpPythonClient::PythonPythonPackageContent](docs/PythonPythonPackageContent.md)
157
155
  - [PulpPythonClient::PythonPythonPublication](docs/PythonPythonPublication.md)
158
- - [PulpPythonClient::PythonPythonPublicationRead](docs/PythonPythonPublicationRead.md)
159
156
  - [PulpPythonClient::PythonPythonRemote](docs/PythonPythonRemote.md)
160
- - [PulpPythonClient::PythonPythonRemoteRead](docs/PythonPythonRemoteRead.md)
161
157
  - [PulpPythonClient::PythonPythonRepository](docs/PythonPythonRepository.md)
162
- - [PulpPythonClient::PythonPythonRepositoryRead](docs/PythonPythonRepositoryRead.md)
163
158
  - [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
164
159
  - [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
165
160
  - [PulpPythonClient::RepositoryVersion](docs/RepositoryVersion.md)
166
- - [PulpPythonClient::RepositoryVersionRead](docs/RepositoryVersionRead.md)
167
161
 
168
162
 
169
163
  ## Documentation for Authorization
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(relative_path, filename, opts)
15
+ > AsyncOperationResponse create(relative_path, opts)
16
16
 
17
17
  Create a python package content
18
18
 
@@ -32,7 +32,6 @@ end
32
32
 
33
33
  api_instance = PulpPythonClient::ContentPackagesApi.new
34
34
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
- filename = 'filename_example' # String | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
36
35
  opts = {
37
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
37
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
@@ -60,7 +59,7 @@ opts = {
60
59
 
61
60
  begin
62
61
  #Create a python package content
63
- result = api_instance.create(relative_path, filename, opts)
62
+ result = api_instance.create(relative_path, opts)
64
63
  p result
65
64
  rescue PulpPythonClient::ApiError => e
66
65
  puts "Exception when calling ContentPackagesApi->create: #{e}"
@@ -73,7 +72,6 @@ end
73
72
  Name | Type | Description | Notes
74
73
  ------------- | ------------- | ------------- | -------------
75
74
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
76
- **filename** | **String**| The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} |
77
75
  **artifact** | **String**| Artifact file representing the physical content | [optional]
78
76
  **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
79
77
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
@@ -204,7 +202,7 @@ Name | Type | Description | Notes
204
202
 
205
203
  ## read
206
204
 
207
- > PythonPythonPackageContentRead read(python_package_content_href, opts)
205
+ > PythonPythonPackageContent read(python_package_content_href, opts)
208
206
 
209
207
  Inspect a python package content
210
208
 
@@ -249,7 +247,7 @@ Name | Type | Description | Notes
249
247
 
250
248
  ### Return type
251
249
 
252
- [**PythonPythonPackageContentRead**](PythonPythonPackageContentRead.md)
250
+ [**PythonPythonPackageContent**](PythonPythonPackageContent.md)
253
251
 
254
252
  ### Authorization
255
253
 
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
251
251
 
252
252
  ## read
253
253
 
254
- > PythonPythonDistributionRead read(python_distribution_href, opts)
254
+ > PythonPythonDistribution read(python_distribution_href, opts)
255
255
 
256
256
  Inspect a python distribution
257
257
 
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
296
296
 
297
297
  ### Return type
298
298
 
299
- [**PythonPythonDistributionRead**](PythonPythonDistributionRead.md)
299
+ [**PythonPythonDistribution**](PythonPythonDistribution.md)
300
300
 
301
301
  ### Authorization
302
302
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonPackageContentRead>**](PythonPythonPackageContentRead.md) | |
10
+ **results** | [**Array<PythonPythonPackageContent>**](PythonPythonPackageContent.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonDistributionRead>**](PythonPythonDistributionRead.md) | |
10
+ **results** | [**Array<PythonPythonDistribution>**](PythonPythonDistribution.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonPublicationRead>**](PythonPythonPublicationRead.md) | |
10
+ **results** | [**Array<PythonPythonPublication>**](PythonPythonPublication.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonRemoteRead>**](PythonPythonRemoteRead.md) | |
10
+ **results** | [**Array<PythonPythonRemote>**](PythonPythonRemote.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonRepositoryRead>**](PythonPythonRepositoryRead.md) | |
10
+ **results** | [**Array<PythonPythonRepository>**](PythonPythonRepository.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersionRead>**](RepositoryVersionRead.md) | |
10
+ **results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
195
195
 
196
196
  ## read
197
197
 
198
- > PythonPythonPublicationRead read(python_publication_href, opts)
198
+ > PythonPythonPublication read(python_publication_href, opts)
199
199
 
200
200
  Inspect a python publication
201
201
 
@@ -240,7 +240,7 @@ Name | Type | Description | Notes
240
240
 
241
241
  ### Return type
242
242
 
243
- [**PythonPythonPublicationRead**](PythonPythonPublicationRead.md)
243
+ [**PythonPythonPublication**](PythonPythonPublication.md)
244
244
 
245
245
  ### Authorization
246
246
 
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::PythonPythonPackageContentRead
1
+ # PulpPythonClient::PythonPythonPackageContent
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::PythonPythonPackageContent.new(pulp_href: null,
41
41
  pulp_created: null,
42
42
  artifact: null,
43
43
  filename: null,
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
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
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]
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
@@ -6,6 +6,7 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
8
8
  [**delete**](RemotesPythonApi.md#delete) | **DELETE** {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
11
  [**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
11
12
  [**read**](RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
@@ -15,7 +16,7 @@ Method | HTTP request | Description
15
16
 
16
17
  ## create
17
18
 
18
- > PythonPythonRemoteRead create(data)
19
+ > PythonPythonRemote create(data)
19
20
 
20
21
  Create a python remote
21
22
 
@@ -54,7 +55,7 @@ Name | Type | Description | Notes
54
55
 
55
56
  ### Return type
56
57
 
57
- [**PythonPythonRemoteRead**](PythonPythonRemoteRead.md)
58
+ [**PythonPythonRemote**](PythonPythonRemote.md)
58
59
 
59
60
  ### Authorization
60
61
 
@@ -119,6 +120,61 @@ Name | Type | Description | Notes
119
120
  - **Accept**: application/json
120
121
 
121
122
 
123
+ ## from_bandersnatch
124
+
125
+ > PythonPythonRemote from_bandersnatch(config, name)
126
+
127
+ Create from Bandersnatch
128
+
129
+ Create a remote from a Bandersnatch config
130
+
131
+ ### Example
132
+
133
+ ```ruby
134
+ # load the gem
135
+ require 'pulp_python_client'
136
+ # setup authorization
137
+ PulpPythonClient.configure do |config|
138
+ # Configure HTTP basic authorization: Basic
139
+ config.username = 'YOUR USERNAME'
140
+ config.password = 'YOUR PASSWORD'
141
+ end
142
+
143
+ api_instance = PulpPythonClient::RemotesPythonApi.new
144
+ config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
145
+ name = 'name_example' # String | A unique name for this remote
146
+
147
+ begin
148
+ #Create from Bandersnatch
149
+ result = api_instance.from_bandersnatch(config, name)
150
+ p result
151
+ rescue PulpPythonClient::ApiError => e
152
+ puts "Exception when calling RemotesPythonApi->from_bandersnatch: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+
159
+ Name | Type | Description | Notes
160
+ ------------- | ------------- | ------------- | -------------
161
+ **config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
162
+ **name** | **String**| A unique name for this remote |
163
+
164
+ ### Return type
165
+
166
+ [**PythonPythonRemote**](PythonPythonRemote.md)
167
+
168
+ ### Authorization
169
+
170
+ [Basic](../README.md#Basic)
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
175
+ - **Accept**: application/json
176
+
177
+
122
178
  ## list
123
179
 
124
180
  > InlineResponse2003 list(opts)
@@ -255,7 +311,7 @@ Name | Type | Description | Notes
255
311
 
256
312
  ## read
257
313
 
258
- > PythonPythonRemoteRead read(python_remote_href, opts)
314
+ > PythonPythonRemote read(python_remote_href, opts)
259
315
 
260
316
  Inspect a python remote
261
317
 
@@ -300,7 +356,7 @@ Name | Type | Description | Notes
300
356
 
301
357
  ### Return type
302
358
 
303
- [**PythonPythonRemoteRead**](PythonPythonRemoteRead.md)
359
+ [**PythonPythonRemote**](PythonPythonRemote.md)
304
360
 
305
361
  ### Authorization
306
362
 
@@ -17,7 +17,7 @@ Method | HTTP request | Description
17
17
 
18
18
  ## create
19
19
 
20
- > PythonPythonRepositoryRead create(data)
20
+ > PythonPythonRepository create(data)
21
21
 
22
22
  Create a python repository
23
23
 
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
56
56
 
57
57
  ### Return type
58
58
 
59
- [**PythonPythonRepositoryRead**](PythonPythonRepositoryRead.md)
59
+ [**PythonPythonRepository**](PythonPythonRepository.md)
60
60
 
61
61
  ### Authorization
62
62
 
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
300
300
 
301
301
  ## read
302
302
 
303
- > PythonPythonRepositoryRead read(python_repository_href, opts)
303
+ > PythonPythonRepository read(python_repository_href, opts)
304
304
 
305
305
  Inspect a python repository
306
306
 
@@ -345,7 +345,7 @@ Name | Type | Description | Notes
345
345
 
346
346
  ### Return type
347
347
 
348
- [**PythonPythonRepositoryRead**](PythonPythonRepositoryRead.md)
348
+ [**PythonPythonRepository**](PythonPythonRepository.md)
349
349
 
350
350
  ### Authorization
351
351
 
@@ -99,8 +99,9 @@ opts = {
99
99
  pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
100
100
  pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
101
101
  pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
102
- content: 'content_example', # String | Content Unit referenced by HREF
103
102
  pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
103
+ content: 'content_example', # String | Content Unit referenced by HREF
104
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
104
105
  limit: 56, # Integer | Number of results to return per page.
105
106
  offset: 56, # Integer | The initial index from which to return the results.
106
107
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -134,8 +135,9 @@ Name | Type | Description | Notes
134
135
  **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
135
136
  **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
136
137
  **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
137
- **content** | **String**| Content Unit referenced by HREF | [optional]
138
138
  **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
139
+ **content** | **String**| Content Unit referenced by HREF | [optional]
140
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
139
141
  **limit** | **Integer**| Number of results to return per page. | [optional]
140
142
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
141
143
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -157,7 +159,7 @@ Name | Type | Description | Notes
157
159
 
158
160
  ## read
159
161
 
160
- > RepositoryVersionRead read(python_repository_version_href, opts)
162
+ > RepositoryVersion read(python_repository_version_href, opts)
161
163
 
162
164
  Inspect a repository version
163
165
 
@@ -202,7 +204,7 @@ Name | Type | Description | Notes
202
204
 
203
205
  ### Return type
204
206
 
205
- [**RepositoryVersionRead**](RepositoryVersionRead.md)
207
+ [**RepositoryVersion**](RepositoryVersion.md)
206
208
 
207
209
  ### Authorization
208
210
 
@@ -22,7 +22,6 @@ module PulpPythonClient
22
22
  # Create a python package content
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
- # @param filename [String] The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
26
25
  # @param [Hash] opts the optional parameters
27
26
  # @option opts [String] :artifact Artifact file representing the physical content
28
27
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
@@ -47,15 +46,14 @@ module PulpPythonClient
47
46
  # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
48
47
  # @option opts [String] :classifiers A JSON list containing classification values for a Python package.
49
48
  # @return [AsyncOperationResponse]
50
- def create(relative_path, filename, opts = {})
51
- data, _status_code, _headers = create_with_http_info(relative_path, filename, opts)
49
+ def create(relative_path, opts = {})
50
+ data, _status_code, _headers = create_with_http_info(relative_path, opts)
52
51
  data
53
52
  end
54
53
 
55
54
  # Create a python package content
56
55
  # Trigger an asynchronous task to create content,optionally create new repository version.
57
56
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
58
- # @param filename [String] The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
59
57
  # @param [Hash] opts the optional parameters
60
58
  # @option opts [String] :artifact Artifact file representing the physical content
61
59
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
@@ -80,7 +78,7 @@ module PulpPythonClient
80
78
  # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
81
79
  # @option opts [String] :classifiers A JSON list containing classification values for a Python package.
82
80
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
83
- def create_with_http_info(relative_path, filename, opts = {})
81
+ def create_with_http_info(relative_path, opts = {})
84
82
  if @api_client.config.debugging
85
83
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.create ...'
86
84
  end
@@ -92,14 +90,6 @@ module PulpPythonClient
92
90
  fail ArgumentError, 'invalid value for "relative_path" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
93
91
  end
94
92
 
95
- # verify the required parameter 'filename' is set
96
- if @api_client.config.client_side_validation && filename.nil?
97
- fail ArgumentError, "Missing the required parameter 'filename' when calling ContentPackagesApi.create"
98
- end
99
- if @api_client.config.client_side_validation && filename.to_s.length < 1
100
- fail ArgumentError, 'invalid value for "filename" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
101
- end
102
-
103
93
  # resource path
104
94
  local_var_path = '/pulp/api/v3/content/python/packages/'
105
95
 
@@ -116,7 +106,6 @@ module PulpPythonClient
116
106
  # form parameters
117
107
  form_params = opts[:form_params] || {}
118
108
  form_params['relative_path'] = relative_path
119
- form_params['filename'] = filename
120
109
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
121
110
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
122
111
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
@@ -284,7 +273,7 @@ module PulpPythonClient
284
273
  # @param [Hash] opts the optional parameters
285
274
  # @option opts [String] :fields A list of fields to include in the response.
286
275
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
287
- # @return [PythonPythonPackageContentRead]
276
+ # @return [PythonPythonPackageContent]
288
277
  def read(python_package_content_href, opts = {})
289
278
  data, _status_code, _headers = read_with_http_info(python_package_content_href, opts)
290
279
  data
@@ -296,7 +285,7 @@ module PulpPythonClient
296
285
  # @param [Hash] opts the optional parameters
297
286
  # @option opts [String] :fields A list of fields to include in the response.
298
287
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
299
- # @return [Array<(PythonPythonPackageContentRead, Integer, Hash)>] PythonPythonPackageContentRead data, response status code and response headers
288
+ # @return [Array<(PythonPythonPackageContent, Integer, Hash)>] PythonPythonPackageContent data, response status code and response headers
300
289
  def read_with_http_info(python_package_content_href, opts = {})
301
290
  if @api_client.config.debugging
302
291
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
@@ -325,7 +314,7 @@ module PulpPythonClient
325
314
  post_body = opts[:body]
326
315
 
327
316
  # return_type
328
- return_type = opts[:return_type] || 'PythonPythonPackageContentRead'
317
+ return_type = opts[:return_type] || 'PythonPythonPackageContent'
329
318
 
330
319
  # auth_names
331
320
  auth_names = opts[:auth_names] || ['Basic']
@@ -310,7 +310,7 @@ module PulpPythonClient
310
310
  # @param [Hash] opts the optional parameters
311
311
  # @option opts [String] :fields A list of fields to include in the response.
312
312
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
313
- # @return [PythonPythonDistributionRead]
313
+ # @return [PythonPythonDistribution]
314
314
  def read(python_distribution_href, opts = {})
315
315
  data, _status_code, _headers = read_with_http_info(python_distribution_href, opts)
316
316
  data
@@ -322,7 +322,7 @@ module PulpPythonClient
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :fields A list of fields to include in the response.
324
324
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
325
- # @return [Array<(PythonPythonDistributionRead, Integer, Hash)>] PythonPythonDistributionRead data, response status code and response headers
325
+ # @return [Array<(PythonPythonDistribution, Integer, Hash)>] PythonPythonDistribution data, response status code and response headers
326
326
  def read_with_http_info(python_distribution_href, opts = {})
327
327
  if @api_client.config.debugging
328
328
  @api_client.config.logger.debug 'Calling API: DistributionsPypiApi.read ...'
@@ -351,7 +351,7 @@ module PulpPythonClient
351
351
  post_body = opts[:body]
352
352
 
353
353
  # return_type
354
- return_type = opts[:return_type] || 'PythonPythonDistributionRead'
354
+ return_type = opts[:return_type] || 'PythonPythonDistribution'
355
355
 
356
356
  # auth_names
357
357
  auth_names = opts[:auth_names] || ['Basic']
@@ -241,7 +241,7 @@ module PulpPythonClient
241
241
  # @param [Hash] opts the optional parameters
242
242
  # @option opts [String] :fields A list of fields to include in the response.
243
243
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
244
- # @return [PythonPythonPublicationRead]
244
+ # @return [PythonPythonPublication]
245
245
  def read(python_publication_href, opts = {})
246
246
  data, _status_code, _headers = read_with_http_info(python_publication_href, opts)
247
247
  data
@@ -253,7 +253,7 @@ module PulpPythonClient
253
253
  # @param [Hash] opts the optional parameters
254
254
  # @option opts [String] :fields A list of fields to include in the response.
255
255
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
256
- # @return [Array<(PythonPythonPublicationRead, Integer, Hash)>] PythonPythonPublicationRead data, response status code and response headers
256
+ # @return [Array<(PythonPythonPublication, Integer, Hash)>] PythonPythonPublication data, response status code and response headers
257
257
  def read_with_http_info(python_publication_href, opts = {})
258
258
  if @api_client.config.debugging
259
259
  @api_client.config.logger.debug 'Calling API: PublicationsPypiApi.read ...'
@@ -282,7 +282,7 @@ module PulpPythonClient
282
282
  post_body = opts[:body]
283
283
 
284
284
  # return_type
285
- return_type = opts[:return_type] || 'PythonPythonPublicationRead'
285
+ return_type = opts[:return_type] || 'PythonPythonPublication'
286
286
 
287
287
  # auth_names
288
288
  auth_names = opts[:auth_names] || ['Basic']