pulp_python_client 3.8.0 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentPackagesApi.md +10 -0
- data/docs/DistributionsPypiApi.md +4 -0
- data/docs/PatchedpythonPythonRemote.md +2 -2
- data/docs/PatchedpythonPythonRepository.md +1 -1
- data/docs/PypiSimpleApi.md +17 -17
- data/docs/PythonPythonRemote.md +2 -2
- data/docs/PythonPythonRemoteResponse.md +2 -2
- data/docs/PythonPythonRepository.md +1 -1
- data/docs/PythonPythonRepositoryResponse.md +1 -1
- data/docs/RepositoriesPythonApi.md +16 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +6 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +28 -28
- data/lib/pulp_python_client/api/repositories_python_api.rb +24 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +10 -6
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote.rb +10 -6
- data/lib/pulp_python_client/models/python_python_remote_response.rb +10 -6
- 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 +2 -2
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/distributions_pypi_api_spec.rb +2 -0
- data/spec/api/pypi_simple_api_spec.rb +9 -9
- data/spec/api/repositories_python_api_spec.rb +8 -0
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e04a4a07de038a6c36a9fa5fef50500dedb26a6cbee877742fb804f46afa6f24
|
4
|
+
data.tar.gz: 2e4b8f7f7aefecaa3367dcdda0d0c804f5ca9fc83d3941a6dc4808d56eb1d4f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f0299556aa839fe8c32664cdd3fdb8c65433c96fc8ecaba12018b1bd5e98e0148a983d185859845d8c002fa64f82018ce0e971017c6f133991379270b4c735a
|
7
|
+
data.tar.gz: 53db61b5189ad04a9dc5cd09d038416ae6844f4b8e2e1c012ac0c557a9391793ae3703db46ec7e7a20c463e18a451ae82081c2057dd3b204523ad2cb78584b85
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
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.
|
10
|
+
- Package version: 3.9.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_python_client-3.
|
27
|
+
gem install ./pulp_python_client-3.9.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.9.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_python_client', '~> 3.
|
36
|
+
gem 'pulp_python_client', '~> 3.9.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -128,8 +128,8 @@ Class | Method | HTTP request | Description
|
|
128
128
|
*PulpPythonClient::PypiLegacyApi* | [**create**](docs/PypiLegacyApi.md#create) | **POST** /pypi/{path}/legacy/ | Upload a package
|
129
129
|
*PulpPythonClient::PypiMetadataApi* | [**read**](docs/PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata
|
130
130
|
*PulpPythonClient::PypiSimpleApi* | [**create**](docs/PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package
|
131
|
+
*PulpPythonClient::PypiSimpleApi* | [**pypi_simple_package_read**](docs/PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
|
131
132
|
*PulpPythonClient::PypiSimpleApi* | [**read**](docs/PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page
|
132
|
-
*PulpPythonClient::PypiSimpleApi* | [**read_0**](docs/PypiSimpleApi.md#read_0) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
|
133
133
|
*PulpPythonClient::RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
|
134
134
|
*PulpPythonClient::RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
|
135
135
|
*PulpPythonClient::RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -161,6 +161,11 @@ opts = {
|
|
161
161
|
requires_python__in: ['requires_python__in_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
|
162
162
|
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
163
163
|
sha256__in: ['sha256__in_example'], # Array<String> | Filter results where sha256 is in a comma-separated list of values
|
164
|
+
version: 'version_example', # String | Filter results where version matches value
|
165
|
+
version__gt: 'version__gt_example', # String | Filter results where version is greater than value
|
166
|
+
version__gte: 'version__gte_example', # String | Filter results where version is greater than or equal to value
|
167
|
+
version__lt: 'version__lt_example', # String | Filter results where version is less than value
|
168
|
+
version__lte: 'version__lte_example', # String | Filter results where version is less than or equal to value
|
164
169
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
165
170
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
166
171
|
}
|
@@ -201,6 +206,11 @@ Name | Type | Description | Notes
|
|
201
206
|
**requires_python__in** | [**Array<String>**](String.md)| Filter results where requires_python is in a comma-separated list of values | [optional]
|
202
207
|
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
203
208
|
**sha256__in** | [**Array<String>**](String.md)| Filter results where sha256 is in a comma-separated list of values | [optional]
|
209
|
+
**version** | **String**| Filter results where version matches value | [optional]
|
210
|
+
**version__gt** | **String**| Filter results where version is greater than value | [optional]
|
211
|
+
**version__gte** | **String**| Filter results where version is greater than or equal to value | [optional]
|
212
|
+
**version__lt** | **String**| Filter results where version is less than value | [optional]
|
213
|
+
**version__lte** | **String**| Filter results where version is less than or equal to value | [optional]
|
204
214
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
205
215
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
206
216
|
|
@@ -154,6 +154,8 @@ opts = {
|
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
155
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
|
+
repository: 'repository_example', # String | Filter results where repository matches value
|
158
|
+
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
157
159
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
158
160
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
159
161
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
@@ -186,6 +188,8 @@ Name | Type | Description | Notes
|
|
186
188
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
187
189
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
188
190
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
191
|
+
**repository** | **String**| Filter results where repository matches value | [optional]
|
192
|
+
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
189
193
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
190
194
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
191
195
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
@@ -25,8 +25,8 @@ Name | Type | Description | Notes
|
|
25
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
26
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
27
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
28
|
-
**includes** |
|
29
|
-
**excludes** |
|
28
|
+
**includes** | **Array<String>** | A list containing project specifiers for Python packages to include. | [optional]
|
29
|
+
**excludes** | **Array<String>** | A list containing project specifiers for Python packages to exclude. | [optional]
|
30
30
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
31
31
|
**package_types** | [**Array<PackageTypesEnum>**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
32
32
|
**keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions.
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
13
13
|
|
data/docs/PypiSimpleApi.md
CHANGED
@@ -5,8 +5,8 @@ All URIs are relative to *https://pulp*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package
|
8
|
+
[**pypi_simple_package_read**](PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
|
8
9
|
[**read**](PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page
|
9
|
-
[**read_0**](PypiSimpleApi.md#read_0) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -71,13 +71,13 @@ Name | Type | Description | Notes
|
|
71
71
|
- **Accept**: application/json
|
72
72
|
|
73
73
|
|
74
|
-
##
|
74
|
+
## pypi_simple_package_read
|
75
75
|
|
76
|
-
>
|
76
|
+
> pypi_simple_package_read(package, path, opts)
|
77
77
|
|
78
|
-
Get
|
78
|
+
Get package simple page
|
79
79
|
|
80
|
-
|
80
|
+
Retrieves the simple api html page for a package.
|
81
81
|
|
82
82
|
### Example
|
83
83
|
|
@@ -92,6 +92,7 @@ PulpPythonClient.configure do |config|
|
|
92
92
|
end
|
93
93
|
|
94
94
|
api_instance = PulpPythonClient::PypiSimpleApi.new
|
95
|
+
package = 'package_example' # String |
|
95
96
|
path = 'path_example' # String |
|
96
97
|
opts = {
|
97
98
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -99,10 +100,10 @@ opts = {
|
|
99
100
|
}
|
100
101
|
|
101
102
|
begin
|
102
|
-
#Get
|
103
|
-
api_instance.
|
103
|
+
#Get package simple page
|
104
|
+
api_instance.pypi_simple_package_read(package, path, opts)
|
104
105
|
rescue PulpPythonClient::ApiError => e
|
105
|
-
puts "Exception when calling PypiSimpleApi->
|
106
|
+
puts "Exception when calling PypiSimpleApi->pypi_simple_package_read: #{e}"
|
106
107
|
end
|
107
108
|
```
|
108
109
|
|
@@ -111,6 +112,7 @@ end
|
|
111
112
|
|
112
113
|
Name | Type | Description | Notes
|
113
114
|
------------- | ------------- | ------------- | -------------
|
115
|
+
**package** | **String**| |
|
114
116
|
**path** | **String**| |
|
115
117
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
116
118
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
@@ -129,13 +131,13 @@ nil (empty response body)
|
|
129
131
|
- **Accept**: Not defined
|
130
132
|
|
131
133
|
|
132
|
-
##
|
134
|
+
## read
|
133
135
|
|
134
|
-
>
|
136
|
+
> read(path, opts)
|
135
137
|
|
136
|
-
Get
|
138
|
+
Get index simple page
|
137
139
|
|
138
|
-
|
140
|
+
Gets the simple api html page for the index.
|
139
141
|
|
140
142
|
### Example
|
141
143
|
|
@@ -150,7 +152,6 @@ PulpPythonClient.configure do |config|
|
|
150
152
|
end
|
151
153
|
|
152
154
|
api_instance = PulpPythonClient::PypiSimpleApi.new
|
153
|
-
package = 'package_example' # String |
|
154
155
|
path = 'path_example' # String |
|
155
156
|
opts = {
|
156
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -158,10 +159,10 @@ opts = {
|
|
158
159
|
}
|
159
160
|
|
160
161
|
begin
|
161
|
-
#Get
|
162
|
-
api_instance.
|
162
|
+
#Get index simple page
|
163
|
+
api_instance.read(path, opts)
|
163
164
|
rescue PulpPythonClient::ApiError => e
|
164
|
-
puts "Exception when calling PypiSimpleApi->
|
165
|
+
puts "Exception when calling PypiSimpleApi->read: #{e}"
|
165
166
|
end
|
166
167
|
```
|
167
168
|
|
@@ -170,7 +171,6 @@ end
|
|
170
171
|
|
171
172
|
Name | Type | Description | Notes
|
172
173
|
------------- | ------------- | ------------- | -------------
|
173
|
-
**package** | **String**| |
|
174
174
|
**path** | **String**| |
|
175
175
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
176
176
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
data/docs/PythonPythonRemote.md
CHANGED
@@ -25,8 +25,8 @@ Name | Type | Description | Notes
|
|
25
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
26
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
27
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
28
|
-
**includes** |
|
29
|
-
**excludes** |
|
28
|
+
**includes** | **Array<String>** | A list containing project specifiers for Python packages to include. | [optional]
|
29
|
+
**excludes** | **Array<String>** | A list containing project specifiers for Python packages to exclude. | [optional]
|
30
30
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
31
31
|
**package_types** | [**Array<PackageTypesEnum>**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
32
32
|
**keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
@@ -24,8 +24,8 @@ Name | Type | Description | Notes
|
|
24
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
26
26
|
**hidden_fields** | [**Array<PythonPythonRemoteResponseHiddenFields>**](PythonPythonRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
27
|
-
**includes** |
|
28
|
-
**excludes** |
|
27
|
+
**includes** | **Array<String>** | A list containing project specifiers for Python packages to include. | [optional]
|
28
|
+
**excludes** | **Array<String>** | A list containing project specifiers for Python packages to exclude. | [optional]
|
29
29
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
30
30
|
**package_types** | [**Array<PackageTypesEnum>**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
31
31
|
**keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions.
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
13
13
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions.
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
15
15
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
16
|
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
17
17
|
|
@@ -153,6 +153,14 @@ opts = {
|
|
153
153
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
154
154
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
155
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
156
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
157
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
158
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
159
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
160
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
161
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
162
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
163
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
156
164
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
157
165
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
158
166
|
}
|
@@ -181,6 +189,14 @@ Name | Type | Description | Notes
|
|
181
189
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
182
190
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
183
191
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
192
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
193
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
194
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
195
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
196
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
197
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
198
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
199
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
184
200
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
185
201
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
186
202
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**add_content_units** |
|
8
|
-
**remove_content_units** |
|
7
|
+
**add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
8
|
+
**remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
|
9
9
|
**base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -195,6 +195,11 @@ module PulpPythonClient
|
|
195
195
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
196
196
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
197
197
|
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
198
|
+
# @option opts [String] :version Filter results where version matches value
|
199
|
+
# @option opts [String] :version__gt Filter results where version is greater than value
|
200
|
+
# @option opts [String] :version__gte Filter results where version is greater than or equal to value
|
201
|
+
# @option opts [String] :version__lt Filter results where version is less than value
|
202
|
+
# @option opts [String] :version__lte Filter results where version is less than or equal to value
|
198
203
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
199
204
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
200
205
|
# @return [PaginatedpythonPythonPackageContentResponseList]
|
@@ -228,6 +233,11 @@ module PulpPythonClient
|
|
228
233
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
229
234
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
230
235
|
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
236
|
+
# @option opts [String] :version Filter results where version matches value
|
237
|
+
# @option opts [String] :version__gt Filter results where version is greater than value
|
238
|
+
# @option opts [String] :version__gte Filter results where version is greater than or equal to value
|
239
|
+
# @option opts [String] :version__lt Filter results where version is less than value
|
240
|
+
# @option opts [String] :version__lte Filter results where version is less than or equal to value
|
231
241
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
232
242
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
233
243
|
# @return [Array<(PaginatedpythonPythonPackageContentResponseList, Integer, Hash)>] PaginatedpythonPythonPackageContentResponseList data, response status code and response headers
|
@@ -270,6 +280,11 @@ module PulpPythonClient
|
|
270
280
|
query_params[:'requires_python__in'] = @api_client.build_collection_param(opts[:'requires_python__in'], :csv) if !opts[:'requires_python__in'].nil?
|
271
281
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
272
282
|
query_params[:'sha256__in'] = @api_client.build_collection_param(opts[:'sha256__in'], :csv) if !opts[:'sha256__in'].nil?
|
283
|
+
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
284
|
+
query_params[:'version__gt'] = opts[:'version__gt'] if !opts[:'version__gt'].nil?
|
285
|
+
query_params[:'version__gte'] = opts[:'version__gte'] if !opts[:'version__gte'].nil?
|
286
|
+
query_params[:'version__lt'] = opts[:'version__lt'] if !opts[:'version__lt'].nil?
|
287
|
+
query_params[:'version__lte'] = opts[:'version__lte'] if !opts[:'version__lte'].nil?
|
273
288
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
274
289
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
275
290
|
|
@@ -161,6 +161,8 @@ module PulpPythonClient
|
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
|
+
# @option opts [String] :repository Filter results where repository matches value
|
165
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
164
166
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
165
167
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
168
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -186,6 +188,8 @@ module PulpPythonClient
|
|
186
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
187
189
|
# @option opts [Array<String>] :ordering Ordering
|
188
190
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
191
|
+
# @option opts [String] :repository Filter results where repository matches value
|
192
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
189
193
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
190
194
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
195
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -216,6 +220,8 @@ module PulpPythonClient
|
|
216
220
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
217
221
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
218
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
224
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
219
225
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
226
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
227
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -112,35 +112,41 @@ module PulpPythonClient
|
|
112
112
|
return data, status_code, headers
|
113
113
|
end
|
114
114
|
|
115
|
-
# Get
|
116
|
-
#
|
115
|
+
# Get package simple page
|
116
|
+
# Retrieves the simple api html page for a package.
|
117
|
+
# @param package [String]
|
117
118
|
# @param path [String]
|
118
119
|
# @param [Hash] opts the optional parameters
|
119
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
120
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
121
122
|
# @return [nil]
|
122
|
-
def
|
123
|
-
|
123
|
+
def pypi_simple_package_read(package, path, opts = {})
|
124
|
+
pypi_simple_package_read_with_http_info(package, path, opts)
|
124
125
|
nil
|
125
126
|
end
|
126
127
|
|
127
|
-
# Get
|
128
|
-
#
|
128
|
+
# Get package simple page
|
129
|
+
# Retrieves the simple api html page for a package.
|
130
|
+
# @param package [String]
|
129
131
|
# @param path [String]
|
130
132
|
# @param [Hash] opts the optional parameters
|
131
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
132
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
133
135
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
134
|
-
def
|
136
|
+
def pypi_simple_package_read_with_http_info(package, path, opts = {})
|
135
137
|
if @api_client.config.debugging
|
136
|
-
@api_client.config.logger.debug 'Calling API: PypiSimpleApi.
|
138
|
+
@api_client.config.logger.debug 'Calling API: PypiSimpleApi.pypi_simple_package_read ...'
|
139
|
+
end
|
140
|
+
# verify the required parameter 'package' is set
|
141
|
+
if @api_client.config.client_side_validation && package.nil?
|
142
|
+
fail ArgumentError, "Missing the required parameter 'package' when calling PypiSimpleApi.pypi_simple_package_read"
|
137
143
|
end
|
138
144
|
# verify the required parameter 'path' is set
|
139
145
|
if @api_client.config.client_side_validation && path.nil?
|
140
|
-
fail ArgumentError, "Missing the required parameter 'path' when calling PypiSimpleApi.
|
146
|
+
fail ArgumentError, "Missing the required parameter 'path' when calling PypiSimpleApi.pypi_simple_package_read"
|
141
147
|
end
|
142
148
|
# resource path
|
143
|
-
local_var_path = '/pypi/{path}/simple/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
149
|
+
local_var_path = '/pypi/{path}/simple/{package}/'.sub('{' + 'package' + '}', CGI.escape(package.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
144
150
|
|
145
151
|
# query parameters
|
146
152
|
query_params = opts[:query_params] || {}
|
@@ -173,46 +179,40 @@ module PulpPythonClient
|
|
173
179
|
|
174
180
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
175
181
|
if @api_client.config.debugging
|
176
|
-
@api_client.config.logger.debug "API called: PypiSimpleApi#
|
182
|
+
@api_client.config.logger.debug "API called: PypiSimpleApi#pypi_simple_package_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
177
183
|
end
|
178
184
|
return data, status_code, headers
|
179
185
|
end
|
180
186
|
|
181
|
-
# Get
|
182
|
-
#
|
183
|
-
# @param package [String]
|
187
|
+
# Get index simple page
|
188
|
+
# Gets the simple api html page for the index.
|
184
189
|
# @param path [String]
|
185
190
|
# @param [Hash] opts the optional parameters
|
186
191
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
192
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
193
|
# @return [nil]
|
189
|
-
def
|
190
|
-
|
194
|
+
def read(path, opts = {})
|
195
|
+
read_with_http_info(path, opts)
|
191
196
|
nil
|
192
197
|
end
|
193
198
|
|
194
|
-
# Get
|
195
|
-
#
|
196
|
-
# @param package [String]
|
199
|
+
# Get index simple page
|
200
|
+
# Gets the simple api html page for the index.
|
197
201
|
# @param path [String]
|
198
202
|
# @param [Hash] opts the optional parameters
|
199
203
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
200
204
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
201
205
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
202
|
-
def
|
206
|
+
def read_with_http_info(path, opts = {})
|
203
207
|
if @api_client.config.debugging
|
204
|
-
@api_client.config.logger.debug 'Calling API: PypiSimpleApi.
|
205
|
-
end
|
206
|
-
# verify the required parameter 'package' is set
|
207
|
-
if @api_client.config.client_side_validation && package.nil?
|
208
|
-
fail ArgumentError, "Missing the required parameter 'package' when calling PypiSimpleApi.read_0"
|
208
|
+
@api_client.config.logger.debug 'Calling API: PypiSimpleApi.read ...'
|
209
209
|
end
|
210
210
|
# verify the required parameter 'path' is set
|
211
211
|
if @api_client.config.client_side_validation && path.nil?
|
212
|
-
fail ArgumentError, "Missing the required parameter 'path' when calling PypiSimpleApi.
|
212
|
+
fail ArgumentError, "Missing the required parameter 'path' when calling PypiSimpleApi.read"
|
213
213
|
end
|
214
214
|
# resource path
|
215
|
-
local_var_path = '/pypi/{path}/simple/
|
215
|
+
local_var_path = '/pypi/{path}/simple/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
216
216
|
|
217
217
|
# query parameters
|
218
218
|
query_params = opts[:query_params] || {}
|
@@ -245,7 +245,7 @@ module PulpPythonClient
|
|
245
245
|
|
246
246
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
247
247
|
if @api_client.config.debugging
|
248
|
-
@api_client.config.logger.debug "API called: PypiSimpleApi#
|
248
|
+
@api_client.config.logger.debug "API called: PypiSimpleApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
249
249
|
end
|
250
250
|
return data, status_code, headers
|
251
251
|
end
|
@@ -158,6 +158,14 @@ module PulpPythonClient
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
161
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
162
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
163
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
164
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
165
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
166
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
167
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
168
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
161
169
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
162
170
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
171
|
# @return [PaginatedpythonPythonRepositoryResponseList]
|
@@ -179,6 +187,14 @@ module PulpPythonClient
|
|
179
187
|
# @option opts [Array<String>] :ordering Ordering
|
180
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
189
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
190
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
191
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
192
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
193
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
194
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
195
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
196
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
197
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
182
198
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
183
199
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
184
200
|
# @return [Array<(PaginatedpythonPythonRepositoryResponseList, Integer, Hash)>] PaginatedpythonPythonRepositoryResponseList data, response status code and response headers
|
@@ -205,6 +221,14 @@ module PulpPythonClient
|
|
205
221
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
206
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
223
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
224
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
225
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
226
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
227
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
228
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
229
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
230
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
231
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
208
232
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
209
233
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
234
|
|
@@ -77,10 +77,10 @@ module PulpPythonClient
|
|
77
77
|
# Limits requests per second for each concurrent downloader
|
78
78
|
attr_accessor :rate_limit
|
79
79
|
|
80
|
-
# A
|
80
|
+
# A list containing project specifiers for Python packages to include.
|
81
81
|
attr_accessor :includes
|
82
82
|
|
83
|
-
# A
|
83
|
+
# A list containing project specifiers for Python packages to exclude.
|
84
84
|
attr_accessor :excludes
|
85
85
|
|
86
86
|
# Whether or not to include pre-release packages in the sync.
|
@@ -152,8 +152,8 @@ module PulpPythonClient
|
|
152
152
|
:'sock_read_timeout' => :'Float',
|
153
153
|
:'headers' => :'Array<Object>',
|
154
154
|
:'rate_limit' => :'Integer',
|
155
|
-
:'includes' => :'
|
156
|
-
:'excludes' => :'
|
155
|
+
:'includes' => :'Array<String>',
|
156
|
+
:'excludes' => :'Array<String>',
|
157
157
|
:'prereleases' => :'Boolean',
|
158
158
|
:'package_types' => :'Array<PackageTypesEnum>',
|
159
159
|
:'keep_latest_packages' => :'Integer',
|
@@ -286,11 +286,15 @@ module PulpPythonClient
|
|
286
286
|
end
|
287
287
|
|
288
288
|
if attributes.key?(:'includes')
|
289
|
-
|
289
|
+
if (value = attributes[:'includes']).is_a?(Array)
|
290
|
+
self.includes = value
|
291
|
+
end
|
290
292
|
end
|
291
293
|
|
292
294
|
if attributes.key?(:'excludes')
|
293
|
-
|
295
|
+
if (value = attributes[:'excludes']).is_a?(Array)
|
296
|
+
self.excludes = value
|
297
|
+
end
|
294
298
|
end
|
295
299
|
|
296
300
|
if attributes.key?(:'prereleases')
|
@@ -23,7 +23,7 @@ module PulpPythonClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -77,10 +77,10 @@ module PulpPythonClient
|
|
77
77
|
# Limits requests per second for each concurrent downloader
|
78
78
|
attr_accessor :rate_limit
|
79
79
|
|
80
|
-
# A
|
80
|
+
# A list containing project specifiers for Python packages to include.
|
81
81
|
attr_accessor :includes
|
82
82
|
|
83
|
-
# A
|
83
|
+
# A list containing project specifiers for Python packages to exclude.
|
84
84
|
attr_accessor :excludes
|
85
85
|
|
86
86
|
# Whether or not to include pre-release packages in the sync.
|
@@ -152,8 +152,8 @@ module PulpPythonClient
|
|
152
152
|
:'sock_read_timeout' => :'Float',
|
153
153
|
:'headers' => :'Array<Object>',
|
154
154
|
:'rate_limit' => :'Integer',
|
155
|
-
:'includes' => :'
|
156
|
-
:'excludes' => :'
|
155
|
+
:'includes' => :'Array<String>',
|
156
|
+
:'excludes' => :'Array<String>',
|
157
157
|
:'prereleases' => :'Boolean',
|
158
158
|
:'package_types' => :'Array<PackageTypesEnum>',
|
159
159
|
:'keep_latest_packages' => :'Integer',
|
@@ -286,11 +286,15 @@ module PulpPythonClient
|
|
286
286
|
end
|
287
287
|
|
288
288
|
if attributes.key?(:'includes')
|
289
|
-
|
289
|
+
if (value = attributes[:'includes']).is_a?(Array)
|
290
|
+
self.includes = value
|
291
|
+
end
|
290
292
|
end
|
291
293
|
|
292
294
|
if attributes.key?(:'excludes')
|
293
|
-
|
295
|
+
if (value = attributes[:'excludes']).is_a?(Array)
|
296
|
+
self.excludes = value
|
297
|
+
end
|
294
298
|
end
|
295
299
|
|
296
300
|
if attributes.key?(:'prereleases')
|
@@ -73,10 +73,10 @@ module PulpPythonClient
|
|
73
73
|
# List of hidden (write only) fields
|
74
74
|
attr_accessor :hidden_fields
|
75
75
|
|
76
|
-
# A
|
76
|
+
# A list containing project specifiers for Python packages to include.
|
77
77
|
attr_accessor :includes
|
78
78
|
|
79
|
-
# A
|
79
|
+
# A list containing project specifiers for Python packages to exclude.
|
80
80
|
attr_accessor :excludes
|
81
81
|
|
82
82
|
# Whether or not to include pre-release packages in the sync.
|
@@ -146,8 +146,8 @@ module PulpPythonClient
|
|
146
146
|
:'headers' => :'Array<Object>',
|
147
147
|
:'rate_limit' => :'Integer',
|
148
148
|
:'hidden_fields' => :'Array<PythonPythonRemoteResponseHiddenFields>',
|
149
|
-
:'includes' => :'
|
150
|
-
:'excludes' => :'
|
149
|
+
:'includes' => :'Array<String>',
|
150
|
+
:'excludes' => :'Array<String>',
|
151
151
|
:'prereleases' => :'Boolean',
|
152
152
|
:'package_types' => :'Array<PackageTypesEnum>',
|
153
153
|
:'keep_latest_packages' => :'Integer',
|
@@ -273,11 +273,15 @@ module PulpPythonClient
|
|
273
273
|
end
|
274
274
|
|
275
275
|
if attributes.key?(:'includes')
|
276
|
-
|
276
|
+
if (value = attributes[:'includes']).is_a?(Array)
|
277
|
+
self.includes = value
|
278
|
+
end
|
277
279
|
end
|
278
280
|
|
279
281
|
if attributes.key?(:'excludes')
|
280
|
-
|
282
|
+
if (value = attributes[:'excludes']).is_a?(Array)
|
283
|
+
self.excludes = value
|
284
|
+
end
|
281
285
|
end
|
282
286
|
|
283
287
|
if attributes.key?(:'prereleases')
|
@@ -23,7 +23,7 @@ module PulpPythonClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -32,7 +32,7 @@ module PulpPythonClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -36,8 +36,8 @@ module PulpPythonClient
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'add_content_units' => :'Array<
|
40
|
-
:'remove_content_units' => :'Array<
|
39
|
+
:'add_content_units' => :'Array<String>',
|
40
|
+
:'remove_content_units' => :'Array<String>',
|
41
41
|
:'base_version' => :'String'
|
42
42
|
}
|
43
43
|
end
|
@@ -96,6 +96,11 @@ describe 'ContentPackagesApi' do
|
|
96
96
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
97
97
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
98
98
|
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
99
|
+
# @option opts [String] :version Filter results where version matches value
|
100
|
+
# @option opts [String] :version__gt Filter results where version is greater than value
|
101
|
+
# @option opts [String] :version__gte Filter results where version is greater than or equal to value
|
102
|
+
# @option opts [String] :version__lt Filter results where version is less than value
|
103
|
+
# @option opts [String] :version__lte Filter results where version is less than or equal to value
|
99
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
106
|
# @return [PaginatedpythonPythonPackageContentResponseList]
|
@@ -73,6 +73,8 @@ describe 'DistributionsPypiApi' do
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
|
+
# @option opts [String] :repository Filter results where repository matches value
|
77
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
76
78
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
77
79
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
78
80
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -47,30 +47,30 @@ describe 'PypiSimpleApi' do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
# unit tests for
|
51
|
-
# Get
|
52
|
-
#
|
50
|
+
# unit tests for pypi_simple_package_read
|
51
|
+
# Get package simple page
|
52
|
+
# Retrieves the simple api html page for a package.
|
53
|
+
# @param package
|
53
54
|
# @param path
|
54
55
|
# @param [Hash] opts the optional parameters
|
55
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
56
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
57
58
|
# @return [nil]
|
58
|
-
describe '
|
59
|
+
describe 'pypi_simple_package_read test' do
|
59
60
|
it 'should work' do
|
60
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
62
|
end
|
62
63
|
end
|
63
64
|
|
64
|
-
# unit tests for
|
65
|
-
# Get
|
66
|
-
#
|
67
|
-
# @param package
|
65
|
+
# unit tests for read
|
66
|
+
# Get index simple page
|
67
|
+
# Gets the simple api html page for the index.
|
68
68
|
# @param path
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
71
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
72
72
|
# @return [nil]
|
73
|
-
describe '
|
73
|
+
describe 'read test' do
|
74
74
|
it 'should work' do
|
75
75
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
76
|
end
|
@@ -70,6 +70,14 @@ describe 'RepositoriesPythonApi' do
|
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
74
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
75
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
76
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
77
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
78
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
79
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
80
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
73
81
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
82
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
83
|
# @return [PaginatedpythonPythonRepositoryResponseList]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_python_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -245,50 +245,50 @@ signing_key:
|
|
245
245
|
specification_version: 4
|
246
246
|
summary: Pulp 3 API Ruby Gem
|
247
247
|
test_files:
|
248
|
+
- spec/api/content_packages_api_spec.rb
|
248
249
|
- spec/api/pypi_simple_api_spec.rb
|
249
|
-
- spec/api/
|
250
|
+
- spec/api/repositories_python_api_spec.rb
|
250
251
|
- spec/api/pypi_metadata_api_spec.rb
|
251
|
-
- spec/api/
|
252
|
-
- spec/api/pypi_api_spec.rb
|
252
|
+
- spec/api/distributions_pypi_api_spec.rb
|
253
253
|
- spec/api/repositories_python_versions_api_spec.rb
|
254
|
-
- spec/api/
|
254
|
+
- spec/api/publications_pypi_api_spec.rb
|
255
|
+
- spec/api/pypi_api_spec.rb
|
255
256
|
- spec/api/remotes_python_api_spec.rb
|
256
257
|
- spec/api/pypi_legacy_api_spec.rb
|
257
|
-
- spec/api/distributions_pypi_api_spec.rb
|
258
258
|
- spec/api_client_spec.rb
|
259
259
|
- spec/configuration_spec.rb
|
260
|
+
- spec/models/repository_version_response_spec.rb
|
261
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
262
|
+
- spec/models/summary_response_spec.rb
|
263
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
264
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
265
|
+
- spec/models/python_bander_remote_spec.rb
|
260
266
|
- spec/models/repository_sync_url_spec.rb
|
267
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
268
|
+
- spec/models/python_python_repository_spec.rb
|
269
|
+
- spec/models/package_metadata_response_spec.rb
|
270
|
+
- spec/models/python_python_publication_response_spec.rb
|
261
271
|
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
262
|
-
- spec/models/python_python_package_content_spec.rb
|
263
|
-
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
264
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
265
|
-
- spec/models/python_python_package_content_response_spec.rb
|
266
|
-
- spec/models/async_operation_response_spec.rb
|
267
|
-
- spec/models/patchedpython_python_remote_spec.rb
|
268
|
-
- spec/models/python_python_publication_spec.rb
|
269
|
-
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
270
272
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
271
|
-
- spec/models/
|
272
|
-
- spec/models/package_types_enum_spec.rb
|
273
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
273
|
+
- spec/models/repository_add_remove_content_spec.rb
|
274
274
|
- spec/models/repair_spec.rb
|
275
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
275
276
|
- spec/models/package_upload_spec.rb
|
276
|
-
- spec/models/policy_enum_spec.rb
|
277
|
-
- spec/models/repository_version_response_spec.rb
|
278
|
-
- spec/models/python_bander_remote_spec.rb
|
279
|
-
- spec/models/summary_response_spec.rb
|
280
|
-
- spec/models/repository_add_remove_content_spec.rb
|
281
|
-
- spec/models/package_upload_task_response_spec.rb
|
282
277
|
- spec/models/patchedpython_python_distribution_spec.rb
|
283
|
-
- spec/models/
|
284
|
-
- spec/models/
|
278
|
+
- spec/models/package_upload_task_response_spec.rb
|
279
|
+
- spec/models/async_operation_response_spec.rb
|
280
|
+
- spec/models/python_python_package_content_spec.rb
|
285
281
|
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
286
|
-
- spec/models/
|
287
|
-
- spec/models/
|
282
|
+
- spec/models/package_types_enum_spec.rb
|
283
|
+
- spec/models/policy_enum_spec.rb
|
284
|
+
- spec/models/python_python_remote_response_spec.rb
|
285
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
286
|
+
- spec/models/content_summary_response_spec.rb
|
288
287
|
- spec/models/python_python_remote_spec.rb
|
288
|
+
- spec/models/python_python_package_content_response_spec.rb
|
289
289
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
290
|
+
- spec/models/python_python_publication_spec.rb
|
291
|
+
- spec/models/python_python_distribution_response_spec.rb
|
290
292
|
- spec/models/python_python_repository_response_spec.rb
|
291
|
-
- spec/models/
|
292
|
-
- spec/models/content_summary_response_spec.rb
|
293
|
-
- spec/models/python_python_publication_response_spec.rb
|
293
|
+
- spec/models/python_python_distribution_spec.rb
|
294
294
|
- spec/spec_helper.rb
|