pulp_python_client 3.0.0b11 → 3.0.0b12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/DistributionsPypiApi.md +8 -56
- data/docs/{InlineResponse2005.md → PaginatedRepositoryVersionResponseList.md} +4 -4
- data/docs/{InlineResponse2001.md → PaginatedpythonPythonDistributionResponseList.md} +4 -4
- data/docs/{InlineResponse200.md → PaginatedpythonPythonPackageContentResponseList.md} +4 -4
- data/docs/{InlineResponse2002.md → PaginatedpythonPythonPublicationResponseList.md} +4 -4
- data/docs/{InlineResponse2003.md → PaginatedpythonPythonRemoteResponseList.md} +4 -4
- data/docs/{InlineResponse2004.md → PaginatedpythonPythonRepositoryResponseList.md} +4 -4
- data/docs/PublicationsPypiApi.md +2 -2
- data/docs/PythonBanderRemote.md +3 -1
- data/docs/RemotesPythonApi.md +14 -70
- data/docs/RepositoriesPythonApi.md +8 -32
- data/docs/RepositoriesPythonVersionsApi.md +4 -36
- data/lib/pulp_python_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +3 -66
- data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -3
- data/lib/pulp_python_client/api/remotes_python_api.rb +6 -84
- data/lib/pulp_python_client/api/repositories_python_api.rb +3 -30
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -48
- data/lib/pulp_python_client/models/{inline_response2005.rb → paginated_repository_version_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2001.rb → paginatedpython_python_distribution_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response200.rb → paginatedpython_python_package_content_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2002.rb → paginatedpython_python_publication_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2003.rb → paginatedpython_python_remote_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2004.rb → paginatedpython_python_repository_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/python_bander_remote.rb +14 -4
- data/lib/pulp_python_client/models/repository_sync_url.rb +1 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +6 -6
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/distributions_pypi_api_spec.rb +1 -22
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/remotes_python_api_spec.rb +2 -28
- data/spec/api/repositories_python_api_spec.rb +1 -10
- data/spec/api/repositories_python_versions_api_spec.rb +1 -16
- data/spec/models/{inline_response2001_spec.rb → paginated_repository_version_response_list_spec.rb} +6 -6
- data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2004_spec.rb → paginatedpython_python_publication_response_list_spec.rb} +6 -6
- data/spec/models/{inline_response2002_spec.rb → paginatedpython_python_remote_response_list_spec.rb} +6 -6
- data/spec/models/{inline_response2003_spec.rb → paginatedpython_python_repository_response_list_spec.rb} +6 -6
- data/spec/models/python_bander_remote_spec.rb +6 -0
- metadata +26 -26
- data/spec/models/inline_response2005_spec.rb +0 -59
- data/spec/models/inline_response200_spec.rb +0 -59
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
|
|
70
70
|
|
71
71
|
## delete
|
72
72
|
|
73
|
-
> AsyncOperationResponse delete(python_python_repository_href
|
73
|
+
> AsyncOperationResponse delete(python_python_repository_href)
|
74
74
|
|
75
75
|
Delete a python repository
|
76
76
|
|
@@ -90,15 +90,10 @@ end
|
|
90
90
|
|
91
91
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
92
92
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
93
|
-
opts = {
|
94
|
-
name: 'name_example', # String | name
|
95
|
-
name__in: 'name__in_example', # String | name__in
|
96
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
97
|
-
}
|
98
93
|
|
99
94
|
begin
|
100
95
|
#Delete a python repository
|
101
|
-
result = api_instance.delete(python_python_repository_href
|
96
|
+
result = api_instance.delete(python_python_repository_href)
|
102
97
|
p result
|
103
98
|
rescue PulpPythonClient::ApiError => e
|
104
99
|
puts "Exception when calling RepositoriesPythonApi->delete: #{e}"
|
@@ -111,9 +106,6 @@ end
|
|
111
106
|
Name | Type | Description | Notes
|
112
107
|
------------- | ------------- | ------------- | -------------
|
113
108
|
**python_python_repository_href** | **String**| |
|
114
|
-
**name** | **String**| name | [optional]
|
115
|
-
**name__in** | **String**| name__in | [optional]
|
116
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
117
109
|
|
118
110
|
### Return type
|
119
111
|
|
@@ -131,7 +123,7 @@ Name | Type | Description | Notes
|
|
131
123
|
|
132
124
|
## list
|
133
125
|
|
134
|
-
>
|
126
|
+
> PaginatedpythonPythonRepositoryResponseList list(opts)
|
135
127
|
|
136
128
|
List python repositorys
|
137
129
|
|
@@ -184,7 +176,7 @@ Name | Type | Description | Notes
|
|
184
176
|
|
185
177
|
### Return type
|
186
178
|
|
187
|
-
[**
|
179
|
+
[**PaginatedpythonPythonRepositoryResponseList**](PaginatedpythonPythonRepositoryResponseList.md)
|
188
180
|
|
189
181
|
### Authorization
|
190
182
|
|
@@ -253,7 +245,7 @@ Name | Type | Description | Notes
|
|
253
245
|
|
254
246
|
## partial_update
|
255
247
|
|
256
|
-
> AsyncOperationResponse partial_update(python_python_repository_href, patchedpython_python_repository
|
248
|
+
> AsyncOperationResponse partial_update(python_python_repository_href, patchedpython_python_repository)
|
257
249
|
|
258
250
|
Update a python repository
|
259
251
|
|
@@ -274,15 +266,10 @@ end
|
|
274
266
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
275
267
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
276
268
|
patchedpython_python_repository = PulpPythonClient::PatchedpythonPythonRepository.new # PatchedpythonPythonRepository |
|
277
|
-
opts = {
|
278
|
-
name: 'name_example', # String | name
|
279
|
-
name__in: 'name__in_example', # String | name__in
|
280
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
281
|
-
}
|
282
269
|
|
283
270
|
begin
|
284
271
|
#Update a python repository
|
285
|
-
result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository
|
272
|
+
result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository)
|
286
273
|
p result
|
287
274
|
rescue PulpPythonClient::ApiError => e
|
288
275
|
puts "Exception when calling RepositoriesPythonApi->partial_update: #{e}"
|
@@ -296,9 +283,6 @@ Name | Type | Description | Notes
|
|
296
283
|
------------- | ------------- | ------------- | -------------
|
297
284
|
**python_python_repository_href** | **String**| |
|
298
285
|
**patchedpython_python_repository** | [**PatchedpythonPythonRepository**](PatchedpythonPythonRepository.md)| |
|
299
|
-
**name** | **String**| name | [optional]
|
300
|
-
**name__in** | **String**| name__in | [optional]
|
301
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
302
286
|
|
303
287
|
### Return type
|
304
288
|
|
@@ -430,7 +414,7 @@ Name | Type | Description | Notes
|
|
430
414
|
|
431
415
|
## update
|
432
416
|
|
433
|
-
> AsyncOperationResponse update(python_python_repository_href, python_python_repository
|
417
|
+
> AsyncOperationResponse update(python_python_repository_href, python_python_repository)
|
434
418
|
|
435
419
|
Update a python repository
|
436
420
|
|
@@ -451,15 +435,10 @@ end
|
|
451
435
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
452
436
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
453
437
|
python_python_repository = PulpPythonClient::PythonPythonRepository.new # PythonPythonRepository |
|
454
|
-
opts = {
|
455
|
-
name: 'name_example', # String | name
|
456
|
-
name__in: 'name__in_example', # String | name__in
|
457
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
458
|
-
}
|
459
438
|
|
460
439
|
begin
|
461
440
|
#Update a python repository
|
462
|
-
result = api_instance.update(python_python_repository_href, python_python_repository
|
441
|
+
result = api_instance.update(python_python_repository_href, python_python_repository)
|
463
442
|
p result
|
464
443
|
rescue PulpPythonClient::ApiError => e
|
465
444
|
puts "Exception when calling RepositoriesPythonApi->update: #{e}"
|
@@ -473,9 +452,6 @@ Name | Type | Description | Notes
|
|
473
452
|
------------- | ------------- | ------------- | -------------
|
474
453
|
**python_python_repository_href** | **String**| |
|
475
454
|
**python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md)| |
|
476
|
-
**name** | **String**| name | [optional]
|
477
|
-
**name__in** | **String**| name__in | [optional]
|
478
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
479
455
|
|
480
456
|
### Return type
|
481
457
|
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
## delete
|
15
15
|
|
16
|
-
> AsyncOperationResponse delete(python_python_repository_version_href
|
16
|
+
> AsyncOperationResponse delete(python_python_repository_version_href)
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
@@ -33,27 +33,10 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
35
35
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
36
|
-
opts = {
|
37
|
-
content: 'content_example', # String | content
|
38
|
-
content__in: 'content__in_example', # String | content__in
|
39
|
-
number: 'number_example', # String | number
|
40
|
-
number__gt: 'number__gt_example', # String | number__gt
|
41
|
-
number__gte: 'number__gte_example', # String | number__gte
|
42
|
-
number__lt: 'number__lt_example', # String | number__lt
|
43
|
-
number__lte: 'number__lte_example', # String | number__lte
|
44
|
-
number__range: 'number__range_example', # String | number__range
|
45
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
46
|
-
pulp_created: 'pulp_created_example', # String | pulp_created
|
47
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
48
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
49
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
50
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
51
|
-
pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
|
52
|
-
}
|
53
36
|
|
54
37
|
begin
|
55
38
|
#Delete a repository version
|
56
|
-
result = api_instance.delete(python_python_repository_version_href
|
39
|
+
result = api_instance.delete(python_python_repository_version_href)
|
57
40
|
p result
|
58
41
|
rescue PulpPythonClient::ApiError => e
|
59
42
|
puts "Exception when calling RepositoriesPythonVersionsApi->delete: #{e}"
|
@@ -66,21 +49,6 @@ end
|
|
66
49
|
Name | Type | Description | Notes
|
67
50
|
------------- | ------------- | ------------- | -------------
|
68
51
|
**python_python_repository_version_href** | **String**| |
|
69
|
-
**content** | **String**| content | [optional]
|
70
|
-
**content__in** | **String**| content__in | [optional]
|
71
|
-
**number** | **String**| number | [optional]
|
72
|
-
**number__gt** | **String**| number__gt | [optional]
|
73
|
-
**number__gte** | **String**| number__gte | [optional]
|
74
|
-
**number__lt** | **String**| number__lt | [optional]
|
75
|
-
**number__lte** | **String**| number__lte | [optional]
|
76
|
-
**number__range** | **String**| number__range | [optional]
|
77
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
78
|
-
**pulp_created** | **String**| pulp_created | [optional]
|
79
|
-
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
80
|
-
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
81
|
-
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
82
|
-
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
83
|
-
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
84
52
|
|
85
53
|
### Return type
|
86
54
|
|
@@ -98,7 +66,7 @@ Name | Type | Description | Notes
|
|
98
66
|
|
99
67
|
## list
|
100
68
|
|
101
|
-
>
|
69
|
+
> PaginatedRepositoryVersionResponseList list(python_python_repository_href, opts)
|
102
70
|
|
103
71
|
List repository versions
|
104
72
|
|
@@ -177,7 +145,7 @@ Name | Type | Description | Notes
|
|
177
145
|
|
178
146
|
### Return type
|
179
147
|
|
180
|
-
[**
|
148
|
+
[**PaginatedRepositoryVersionResponseList**](PaginatedRepositoryVersionResponseList.md)
|
181
149
|
|
182
150
|
### Authorization
|
183
151
|
|
@@ -172,7 +172,7 @@ module PulpPythonClient
|
|
172
172
|
# @option opts [String] :repository_version_removed repository_version_removed
|
173
173
|
# @option opts [String] :fields A list of fields to include in the response.
|
174
174
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
175
|
-
# @return [
|
175
|
+
# @return [PaginatedpythonPythonPackageContentResponseList]
|
176
176
|
def list(opts = {})
|
177
177
|
data, _status_code, _headers = list_with_http_info(opts)
|
178
178
|
data
|
@@ -200,7 +200,7 @@ module PulpPythonClient
|
|
200
200
|
# @option opts [String] :repository_version_removed repository_version_removed
|
201
201
|
# @option opts [String] :fields A list of fields to include in the response.
|
202
202
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
203
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(PaginatedpythonPythonPackageContentResponseList, Integer, Hash)>] PaginatedpythonPythonPackageContentResponseList data, response status code and response headers
|
204
204
|
def list_with_http_info(opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
@@ -246,7 +246,7 @@ module PulpPythonClient
|
|
246
246
|
post_body = opts[:body]
|
247
247
|
|
248
248
|
# return_type
|
249
|
-
return_type = opts[:return_type] || '
|
249
|
+
return_type = opts[:return_type] || 'PaginatedpythonPythonPackageContentResponseList'
|
250
250
|
|
251
251
|
# auth_names
|
252
252
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -87,13 +87,6 @@ module PulpPythonClient
|
|
87
87
|
# Trigger an asynchronous delete task
|
88
88
|
# @param python_python_distribution_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @option opts [String] :base_path base_path
|
91
|
-
# @option opts [String] :base_path__contains base_path__contains
|
92
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
93
|
-
# @option opts [String] :base_path__in base_path__in
|
94
|
-
# @option opts [String] :name name
|
95
|
-
# @option opts [String] :name__in name__in
|
96
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
97
90
|
# @return [AsyncOperationResponse]
|
98
91
|
def delete(python_python_distribution_href, opts = {})
|
99
92
|
data, _status_code, _headers = delete_with_http_info(python_python_distribution_href, opts)
|
@@ -104,13 +97,6 @@ module PulpPythonClient
|
|
104
97
|
# Trigger an asynchronous delete task
|
105
98
|
# @param python_python_distribution_href [String]
|
106
99
|
# @param [Hash] opts the optional parameters
|
107
|
-
# @option opts [String] :base_path base_path
|
108
|
-
# @option opts [String] :base_path__contains base_path__contains
|
109
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
110
|
-
# @option opts [String] :base_path__in base_path__in
|
111
|
-
# @option opts [String] :name name
|
112
|
-
# @option opts [String] :name__in name__in
|
113
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
114
100
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
115
101
|
def delete_with_http_info(python_python_distribution_href, opts = {})
|
116
102
|
if @api_client.config.debugging
|
@@ -125,13 +111,6 @@ module PulpPythonClient
|
|
125
111
|
|
126
112
|
# query parameters
|
127
113
|
query_params = opts[:query_params] || {}
|
128
|
-
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
129
|
-
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
130
|
-
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
131
|
-
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
132
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
133
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
134
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
135
114
|
|
136
115
|
# header parameters
|
137
116
|
header_params = opts[:header_params] || {}
|
@@ -180,7 +159,7 @@ module PulpPythonClient
|
|
180
159
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
181
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
182
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
183
|
-
# @return [
|
162
|
+
# @return [PaginatedpythonPythonDistributionResponseList]
|
184
163
|
def list(opts = {})
|
185
164
|
data, _status_code, _headers = list_with_http_info(opts)
|
186
165
|
data
|
@@ -200,7 +179,7 @@ module PulpPythonClient
|
|
200
179
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
201
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
202
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
203
|
-
# @return [Array<(
|
182
|
+
# @return [Array<(PaginatedpythonPythonDistributionResponseList, Integer, Hash)>] PaginatedpythonPythonDistributionResponseList data, response status code and response headers
|
204
183
|
def list_with_http_info(opts = {})
|
205
184
|
if @api_client.config.debugging
|
206
185
|
@api_client.config.logger.debug 'Calling API: DistributionsPypiApi.list ...'
|
@@ -234,7 +213,7 @@ module PulpPythonClient
|
|
234
213
|
post_body = opts[:body]
|
235
214
|
|
236
215
|
# return_type
|
237
|
-
return_type = opts[:return_type] || '
|
216
|
+
return_type = opts[:return_type] || 'PaginatedpythonPythonDistributionResponseList'
|
238
217
|
|
239
218
|
# auth_names
|
240
219
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -260,13 +239,6 @@ module PulpPythonClient
|
|
260
239
|
# @param python_python_distribution_href [String]
|
261
240
|
# @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
|
262
241
|
# @param [Hash] opts the optional parameters
|
263
|
-
# @option opts [String] :base_path base_path
|
264
|
-
# @option opts [String] :base_path__contains base_path__contains
|
265
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
266
|
-
# @option opts [String] :base_path__in base_path__in
|
267
|
-
# @option opts [String] :name name
|
268
|
-
# @option opts [String] :name__in name__in
|
269
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
270
242
|
# @return [AsyncOperationResponse]
|
271
243
|
def partial_update(python_python_distribution_href, patchedpython_python_distribution, opts = {})
|
272
244
|
data, _status_code, _headers = partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
|
@@ -278,13 +250,6 @@ module PulpPythonClient
|
|
278
250
|
# @param python_python_distribution_href [String]
|
279
251
|
# @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
|
280
252
|
# @param [Hash] opts the optional parameters
|
281
|
-
# @option opts [String] :base_path base_path
|
282
|
-
# @option opts [String] :base_path__contains base_path__contains
|
283
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
284
|
-
# @option opts [String] :base_path__in base_path__in
|
285
|
-
# @option opts [String] :name name
|
286
|
-
# @option opts [String] :name__in name__in
|
287
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
288
253
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
289
254
|
def partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts = {})
|
290
255
|
if @api_client.config.debugging
|
@@ -303,13 +268,6 @@ module PulpPythonClient
|
|
303
268
|
|
304
269
|
# query parameters
|
305
270
|
query_params = opts[:query_params] || {}
|
306
|
-
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
307
|
-
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
308
|
-
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
309
|
-
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
310
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
311
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
312
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
313
271
|
|
314
272
|
# header parameters
|
315
273
|
header_params = opts[:header_params] || {}
|
@@ -419,13 +377,6 @@ module PulpPythonClient
|
|
419
377
|
# @param python_python_distribution_href [String]
|
420
378
|
# @param python_python_distribution [PythonPythonDistribution]
|
421
379
|
# @param [Hash] opts the optional parameters
|
422
|
-
# @option opts [String] :base_path base_path
|
423
|
-
# @option opts [String] :base_path__contains base_path__contains
|
424
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
425
|
-
# @option opts [String] :base_path__in base_path__in
|
426
|
-
# @option opts [String] :name name
|
427
|
-
# @option opts [String] :name__in name__in
|
428
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
429
380
|
# @return [AsyncOperationResponse]
|
430
381
|
def update(python_python_distribution_href, python_python_distribution, opts = {})
|
431
382
|
data, _status_code, _headers = update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
|
@@ -437,13 +388,6 @@ module PulpPythonClient
|
|
437
388
|
# @param python_python_distribution_href [String]
|
438
389
|
# @param python_python_distribution [PythonPythonDistribution]
|
439
390
|
# @param [Hash] opts the optional parameters
|
440
|
-
# @option opts [String] :base_path base_path
|
441
|
-
# @option opts [String] :base_path__contains base_path__contains
|
442
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
443
|
-
# @option opts [String] :base_path__in base_path__in
|
444
|
-
# @option opts [String] :name name
|
445
|
-
# @option opts [String] :name__in name__in
|
446
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
447
391
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
448
392
|
def update_with_http_info(python_python_distribution_href, python_python_distribution, opts = {})
|
449
393
|
if @api_client.config.debugging
|
@@ -462,13 +406,6 @@ module PulpPythonClient
|
|
462
406
|
|
463
407
|
# query parameters
|
464
408
|
query_params = opts[:query_params] || {}
|
465
|
-
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
466
|
-
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
467
|
-
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
468
|
-
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
469
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
470
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
471
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
472
409
|
|
473
410
|
# header parameters
|
474
411
|
header_params = opts[:header_params] || {}
|
@@ -158,7 +158,7 @@ module PulpPythonClient
|
|
158
158
|
# @option opts [String] :repository_version repository_version
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
|
-
# @return [
|
161
|
+
# @return [PaginatedpythonPythonPublicationResponseList]
|
162
162
|
def list(opts = {})
|
163
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
164
164
|
data
|
@@ -179,7 +179,7 @@ module PulpPythonClient
|
|
179
179
|
# @option opts [String] :repository_version repository_version
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
|
-
# @return [Array<(
|
182
|
+
# @return [Array<(PaginatedpythonPythonPublicationResponseList, Integer, Hash)>] PaginatedpythonPythonPublicationResponseList data, response status code and response headers
|
183
183
|
def list_with_http_info(opts = {})
|
184
184
|
if @api_client.config.debugging
|
185
185
|
@api_client.config.logger.debug 'Calling API: PublicationsPypiApi.list ...'
|
@@ -214,7 +214,7 @@ module PulpPythonClient
|
|
214
214
|
post_body = opts[:body]
|
215
215
|
|
216
216
|
# return_type
|
217
|
-
return_type = opts[:return_type] || '
|
217
|
+
return_type = opts[:return_type] || 'PaginatedpythonPythonPublicationResponseList'
|
218
218
|
|
219
219
|
# auth_names
|
220
220
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -87,15 +87,6 @@ module PulpPythonClient
|
|
87
87
|
# Trigger an asynchronous delete task
|
88
88
|
# @param python_python_remote_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @option opts [String] :name name
|
91
|
-
# @option opts [String] :name__in name__in
|
92
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
93
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
94
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
95
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
96
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
97
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
98
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
99
90
|
# @return [AsyncOperationResponse]
|
100
91
|
def delete(python_python_remote_href, opts = {})
|
101
92
|
data, _status_code, _headers = delete_with_http_info(python_python_remote_href, opts)
|
@@ -106,15 +97,6 @@ module PulpPythonClient
|
|
106
97
|
# Trigger an asynchronous delete task
|
107
98
|
# @param python_python_remote_href [String]
|
108
99
|
# @param [Hash] opts the optional parameters
|
109
|
-
# @option opts [String] :name name
|
110
|
-
# @option opts [String] :name__in name__in
|
111
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
112
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
113
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
114
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
115
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
116
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
117
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
118
100
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
119
101
|
def delete_with_http_info(python_python_remote_href, opts = {})
|
120
102
|
if @api_client.config.debugging
|
@@ -129,15 +111,6 @@ module PulpPythonClient
|
|
129
111
|
|
130
112
|
# query parameters
|
131
113
|
query_params = opts[:query_params] || {}
|
132
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
133
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
134
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
135
|
-
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
136
|
-
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
137
|
-
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
138
|
-
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
139
|
-
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
140
|
-
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
141
114
|
|
142
115
|
# header parameters
|
143
116
|
header_params = opts[:header_params] || {}
|
@@ -177,6 +150,7 @@ module PulpPythonClient
|
|
177
150
|
# @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
|
178
151
|
# @param name [String] A unique name for this remote
|
179
152
|
# @param [Hash] opts the optional parameters
|
153
|
+
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.
|
180
154
|
# @return [PythonPythonRemoteResponse]
|
181
155
|
def from_bandersnatch(config, name, opts = {})
|
182
156
|
data, _status_code, _headers = from_bandersnatch_with_http_info(config, name, opts)
|
@@ -188,6 +162,7 @@ module PulpPythonClient
|
|
188
162
|
# @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
|
189
163
|
# @param name [String] A unique name for this remote
|
190
164
|
# @param [Hash] opts the optional parameters
|
165
|
+
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.
|
191
166
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
192
167
|
def from_bandersnatch_with_http_info(config, name, opts = {})
|
193
168
|
if @api_client.config.debugging
|
@@ -218,6 +193,7 @@ module PulpPythonClient
|
|
218
193
|
form_params = opts[:form_params] || {}
|
219
194
|
form_params['config'] = config
|
220
195
|
form_params['name'] = name
|
196
|
+
form_params['policy'] = opts[:'policy'] if !opts[:'policy'].nil?
|
221
197
|
|
222
198
|
# http body (model)
|
223
199
|
post_body = opts[:body]
|
@@ -260,7 +236,7 @@ module PulpPythonClient
|
|
260
236
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
261
237
|
# @option opts [String] :fields A list of fields to include in the response.
|
262
238
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
263
|
-
# @return [
|
239
|
+
# @return [PaginatedpythonPythonRemoteResponseList]
|
264
240
|
def list(opts = {})
|
265
241
|
data, _status_code, _headers = list_with_http_info(opts)
|
266
242
|
data
|
@@ -282,7 +258,7 @@ module PulpPythonClient
|
|
282
258
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
283
259
|
# @option opts [String] :fields A list of fields to include in the response.
|
284
260
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
285
|
-
# @return [Array<(
|
261
|
+
# @return [Array<(PaginatedpythonPythonRemoteResponseList, Integer, Hash)>] PaginatedpythonPythonRemoteResponseList data, response status code and response headers
|
286
262
|
def list_with_http_info(opts = {})
|
287
263
|
if @api_client.config.debugging
|
288
264
|
@api_client.config.logger.debug 'Calling API: RemotesPythonApi.list ...'
|
@@ -318,7 +294,7 @@ module PulpPythonClient
|
|
318
294
|
post_body = opts[:body]
|
319
295
|
|
320
296
|
# return_type
|
321
|
-
return_type = opts[:return_type] || '
|
297
|
+
return_type = opts[:return_type] || 'PaginatedpythonPythonRemoteResponseList'
|
322
298
|
|
323
299
|
# auth_names
|
324
300
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -344,15 +320,6 @@ module PulpPythonClient
|
|
344
320
|
# @param python_python_remote_href [String]
|
345
321
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
346
322
|
# @param [Hash] opts the optional parameters
|
347
|
-
# @option opts [String] :name name
|
348
|
-
# @option opts [String] :name__in name__in
|
349
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
350
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
351
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
352
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
353
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
354
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
355
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
356
323
|
# @return [AsyncOperationResponse]
|
357
324
|
def partial_update(python_python_remote_href, patchedpython_python_remote, opts = {})
|
358
325
|
data, _status_code, _headers = partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
@@ -364,15 +331,6 @@ module PulpPythonClient
|
|
364
331
|
# @param python_python_remote_href [String]
|
365
332
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
366
333
|
# @param [Hash] opts the optional parameters
|
367
|
-
# @option opts [String] :name name
|
368
|
-
# @option opts [String] :name__in name__in
|
369
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
370
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
371
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
372
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
373
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
374
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
375
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
376
334
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
377
335
|
def partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts = {})
|
378
336
|
if @api_client.config.debugging
|
@@ -391,15 +349,6 @@ module PulpPythonClient
|
|
391
349
|
|
392
350
|
# query parameters
|
393
351
|
query_params = opts[:query_params] || {}
|
394
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
395
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
396
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
397
|
-
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
398
|
-
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
399
|
-
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
400
|
-
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
401
|
-
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
402
|
-
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
403
352
|
|
404
353
|
# header parameters
|
405
354
|
header_params = opts[:header_params] || {}
|
@@ -509,15 +458,6 @@ module PulpPythonClient
|
|
509
458
|
# @param python_python_remote_href [String]
|
510
459
|
# @param python_python_remote [PythonPythonRemote]
|
511
460
|
# @param [Hash] opts the optional parameters
|
512
|
-
# @option opts [String] :name name
|
513
|
-
# @option opts [String] :name__in name__in
|
514
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
515
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
516
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
517
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
518
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
519
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
520
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
521
461
|
# @return [AsyncOperationResponse]
|
522
462
|
def update(python_python_remote_href, python_python_remote, opts = {})
|
523
463
|
data, _status_code, _headers = update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
@@ -529,15 +469,6 @@ module PulpPythonClient
|
|
529
469
|
# @param python_python_remote_href [String]
|
530
470
|
# @param python_python_remote [PythonPythonRemote]
|
531
471
|
# @param [Hash] opts the optional parameters
|
532
|
-
# @option opts [String] :name name
|
533
|
-
# @option opts [String] :name__in name__in
|
534
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
535
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
536
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
537
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
538
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
539
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
540
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
541
472
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
542
473
|
def update_with_http_info(python_python_remote_href, python_python_remote, opts = {})
|
543
474
|
if @api_client.config.debugging
|
@@ -556,15 +487,6 @@ module PulpPythonClient
|
|
556
487
|
|
557
488
|
# query parameters
|
558
489
|
query_params = opts[:query_params] || {}
|
559
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
560
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
561
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
562
|
-
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
563
|
-
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
564
|
-
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
565
|
-
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
566
|
-
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
567
|
-
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
568
490
|
|
569
491
|
# header parameters
|
570
492
|
header_params = opts[:header_params] || {}
|