pulp_maven_client 0.2.0b1.dev01596139522 → 0.2.0b1.dev01596225975
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_maven_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +21 -21
- data/docs/ContentArtifactApi.md +5 -5
- data/docs/DistributionsMavenApi.md +20 -20
- data/docs/RemotesMavenApi.md +20 -20
- data/docs/RepositoriesMavenApi.md +20 -20
- data/docs/RepositoriesMavenVersionsApi.md +20 -20
- data/lib/pulp_maven_client/api/content_artifact_api.rb +9 -9
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +36 -36
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +36 -36
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +36 -36
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +36 -36
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/content_artifact_api_spec.rb +1 -1
- data/spec/api/distributions_maven_api_spec.rb +4 -4
- data/spec/api/remotes_maven_api_spec.rb +4 -4
- data/spec/api/repositories_maven_api_spec.rb +4 -4
- data/spec/api/repositories_maven_versions_api_spec.rb +4 -4
- metadata +2 -2
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](RepositoriesMavenVersionsApi.md#delete) | **DELETE** {
|
8
|
-
[**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {
|
9
|
-
[**read**](RepositoriesMavenVersionsApi.md#read) | **GET** {
|
10
|
-
[**repair**](RepositoriesMavenVersionsApi.md#repair) | **POST** {
|
7
|
+
[**delete**](RepositoriesMavenVersionsApi.md#delete) | **DELETE** {maven_maven_repository_version_href} | Delete a repository version
|
8
|
+
[**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {maven_maven_repository_href}versions/ | List repository versions
|
9
|
+
[**read**](RepositoriesMavenVersionsApi.md#read) | **GET** {maven_maven_repository_version_href} | Inspect a repository version
|
10
|
+
[**repair**](RepositoriesMavenVersionsApi.md#repair) | **POST** {maven_maven_repository_version_href}repair/ |
|
11
11
|
|
12
12
|
|
13
13
|
|
14
14
|
## delete
|
15
15
|
|
16
|
-
> AsyncOperationResponse delete(
|
16
|
+
> AsyncOperationResponse delete(maven_maven_repository_version_href, opts)
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
@@ -32,7 +32,7 @@ PulpMavenClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
35
|
-
|
35
|
+
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
36
36
|
opts = {
|
37
37
|
content: 'content_example', # String | content
|
38
38
|
content__in: 'content__in_example', # String | content__in
|
@@ -53,7 +53,7 @@ opts = {
|
|
53
53
|
|
54
54
|
begin
|
55
55
|
#Delete a repository version
|
56
|
-
result = api_instance.delete(
|
56
|
+
result = api_instance.delete(maven_maven_repository_version_href, opts)
|
57
57
|
p result
|
58
58
|
rescue PulpMavenClient::ApiError => e
|
59
59
|
puts "Exception when calling RepositoriesMavenVersionsApi->delete: #{e}"
|
@@ -65,7 +65,7 @@ end
|
|
65
65
|
|
66
66
|
Name | Type | Description | Notes
|
67
67
|
------------- | ------------- | ------------- | -------------
|
68
|
-
**
|
68
|
+
**maven_maven_repository_version_href** | **String**| |
|
69
69
|
**content** | **String**| content | [optional]
|
70
70
|
**content__in** | **String**| content__in | [optional]
|
71
71
|
**number** | **String**| number | [optional]
|
@@ -98,7 +98,7 @@ Name | Type | Description | Notes
|
|
98
98
|
|
99
99
|
## list
|
100
100
|
|
101
|
-
> InlineResponse2004 list(
|
101
|
+
> InlineResponse2004 list(maven_maven_repository_href, opts)
|
102
102
|
|
103
103
|
List repository versions
|
104
104
|
|
@@ -117,7 +117,7 @@ PulpMavenClient.configure do |config|
|
|
117
117
|
end
|
118
118
|
|
119
119
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
120
|
-
|
120
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
121
121
|
opts = {
|
122
122
|
content: 'content_example', # String | content
|
123
123
|
content__in: 'content__in_example', # String | content__in
|
@@ -142,7 +142,7 @@ opts = {
|
|
142
142
|
|
143
143
|
begin
|
144
144
|
#List repository versions
|
145
|
-
result = api_instance.list(
|
145
|
+
result = api_instance.list(maven_maven_repository_href, opts)
|
146
146
|
p result
|
147
147
|
rescue PulpMavenClient::ApiError => e
|
148
148
|
puts "Exception when calling RepositoriesMavenVersionsApi->list: #{e}"
|
@@ -154,7 +154,7 @@ end
|
|
154
154
|
|
155
155
|
Name | Type | Description | Notes
|
156
156
|
------------- | ------------- | ------------- | -------------
|
157
|
-
**
|
157
|
+
**maven_maven_repository_href** | **String**| |
|
158
158
|
**content** | **String**| content | [optional]
|
159
159
|
**content__in** | **String**| content__in | [optional]
|
160
160
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
@@ -191,7 +191,7 @@ Name | Type | Description | Notes
|
|
191
191
|
|
192
192
|
## read
|
193
193
|
|
194
|
-
> RepositoryVersionResponse read(
|
194
|
+
> RepositoryVersionResponse read(maven_maven_repository_version_href, opts)
|
195
195
|
|
196
196
|
Inspect a repository version
|
197
197
|
|
@@ -210,7 +210,7 @@ PulpMavenClient.configure do |config|
|
|
210
210
|
end
|
211
211
|
|
212
212
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
213
|
-
|
213
|
+
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
214
214
|
opts = {
|
215
215
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
216
216
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -218,7 +218,7 @@ opts = {
|
|
218
218
|
|
219
219
|
begin
|
220
220
|
#Inspect a repository version
|
221
|
-
result = api_instance.read(
|
221
|
+
result = api_instance.read(maven_maven_repository_version_href, opts)
|
222
222
|
p result
|
223
223
|
rescue PulpMavenClient::ApiError => e
|
224
224
|
puts "Exception when calling RepositoriesMavenVersionsApi->read: #{e}"
|
@@ -230,7 +230,7 @@ end
|
|
230
230
|
|
231
231
|
Name | Type | Description | Notes
|
232
232
|
------------- | ------------- | ------------- | -------------
|
233
|
-
**
|
233
|
+
**maven_maven_repository_version_href** | **String**| |
|
234
234
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
235
235
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
236
236
|
|
@@ -250,7 +250,7 @@ Name | Type | Description | Notes
|
|
250
250
|
|
251
251
|
## repair
|
252
252
|
|
253
|
-
> AsyncOperationResponse repair(
|
253
|
+
> AsyncOperationResponse repair(maven_maven_repository_version_href, repository_version)
|
254
254
|
|
255
255
|
|
256
256
|
|
@@ -269,11 +269,11 @@ PulpMavenClient.configure do |config|
|
|
269
269
|
end
|
270
270
|
|
271
271
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
272
|
-
|
272
|
+
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
273
273
|
repository_version = PulpMavenClient::RepositoryVersion.new # RepositoryVersion |
|
274
274
|
|
275
275
|
begin
|
276
|
-
result = api_instance.repair(
|
276
|
+
result = api_instance.repair(maven_maven_repository_version_href, repository_version)
|
277
277
|
p result
|
278
278
|
rescue PulpMavenClient::ApiError => e
|
279
279
|
puts "Exception when calling RepositoriesMavenVersionsApi->repair: #{e}"
|
@@ -285,7 +285,7 @@ end
|
|
285
285
|
|
286
286
|
Name | Type | Description | Notes
|
287
287
|
------------- | ------------- | ------------- | -------------
|
288
|
-
**
|
288
|
+
**maven_maven_repository_version_href** | **String**| |
|
289
289
|
**repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
290
290
|
|
291
291
|
### Return type
|
@@ -177,33 +177,33 @@ module PulpMavenClient
|
|
177
177
|
|
178
178
|
# Inspect a maven artifact
|
179
179
|
# A ViewSet for MavenArtifact.
|
180
|
-
# @param
|
180
|
+
# @param maven_maven_artifact_href [String]
|
181
181
|
# @param [Hash] opts the optional parameters
|
182
182
|
# @option opts [String] :fields A list of fields to include in the response.
|
183
183
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
184
184
|
# @return [MavenMavenArtifactResponse]
|
185
|
-
def read(
|
186
|
-
data, _status_code, _headers = read_with_http_info(
|
185
|
+
def read(maven_maven_artifact_href, opts = {})
|
186
|
+
data, _status_code, _headers = read_with_http_info(maven_maven_artifact_href, opts)
|
187
187
|
data
|
188
188
|
end
|
189
189
|
|
190
190
|
# Inspect a maven artifact
|
191
191
|
# A ViewSet for MavenArtifact.
|
192
|
-
# @param
|
192
|
+
# @param maven_maven_artifact_href [String]
|
193
193
|
# @param [Hash] opts the optional parameters
|
194
194
|
# @option opts [String] :fields A list of fields to include in the response.
|
195
195
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
196
196
|
# @return [Array<(MavenMavenArtifactResponse, Integer, Hash)>] MavenMavenArtifactResponse data, response status code and response headers
|
197
|
-
def read_with_http_info(
|
197
|
+
def read_with_http_info(maven_maven_artifact_href, opts = {})
|
198
198
|
if @api_client.config.debugging
|
199
199
|
@api_client.config.logger.debug 'Calling API: ContentArtifactApi.read ...'
|
200
200
|
end
|
201
|
-
# verify the required parameter '
|
202
|
-
if @api_client.config.client_side_validation &&
|
203
|
-
fail ArgumentError, "Missing the required parameter '
|
201
|
+
# verify the required parameter 'maven_maven_artifact_href' is set
|
202
|
+
if @api_client.config.client_side_validation && maven_maven_artifact_href.nil?
|
203
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_artifact_href' when calling ContentArtifactApi.read"
|
204
204
|
end
|
205
205
|
# resource path
|
206
|
-
local_var_path = '{
|
206
|
+
local_var_path = '{maven_maven_artifact_href}'.sub('{' + 'maven_maven_artifact_href' + '}', CGI.escape(maven_maven_artifact_href.to_s).gsub('%2F', '/'))
|
207
207
|
|
208
208
|
# query parameters
|
209
209
|
query_params = opts[:query_params] || {}
|
@@ -85,7 +85,7 @@ module PulpMavenClient
|
|
85
85
|
|
86
86
|
# Delete a maven distribution
|
87
87
|
# Trigger an asynchronous delete task
|
88
|
-
# @param
|
88
|
+
# @param maven_maven_distribution_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @option opts [String] :base_path base_path
|
91
91
|
# @option opts [String] :base_path__contains base_path__contains
|
@@ -95,14 +95,14 @@ module PulpMavenClient
|
|
95
95
|
# @option opts [String] :name__in name__in
|
96
96
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
97
97
|
# @return [AsyncOperationResponse]
|
98
|
-
def delete(
|
99
|
-
data, _status_code, _headers = delete_with_http_info(
|
98
|
+
def delete(maven_maven_distribution_href, opts = {})
|
99
|
+
data, _status_code, _headers = delete_with_http_info(maven_maven_distribution_href, opts)
|
100
100
|
data
|
101
101
|
end
|
102
102
|
|
103
103
|
# Delete a maven distribution
|
104
104
|
# Trigger an asynchronous delete task
|
105
|
-
# @param
|
105
|
+
# @param maven_maven_distribution_href [String]
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
107
|
# @option opts [String] :base_path base_path
|
108
108
|
# @option opts [String] :base_path__contains base_path__contains
|
@@ -112,16 +112,16 @@ module PulpMavenClient
|
|
112
112
|
# @option opts [String] :name__in name__in
|
113
113
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
114
114
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
115
|
-
def delete_with_http_info(
|
115
|
+
def delete_with_http_info(maven_maven_distribution_href, opts = {})
|
116
116
|
if @api_client.config.debugging
|
117
117
|
@api_client.config.logger.debug 'Calling API: DistributionsMavenApi.delete ...'
|
118
118
|
end
|
119
|
-
# verify the required parameter '
|
120
|
-
if @api_client.config.client_side_validation &&
|
121
|
-
fail ArgumentError, "Missing the required parameter '
|
119
|
+
# verify the required parameter 'maven_maven_distribution_href' is set
|
120
|
+
if @api_client.config.client_side_validation && maven_maven_distribution_href.nil?
|
121
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_distribution_href' when calling DistributionsMavenApi.delete"
|
122
122
|
end
|
123
123
|
# resource path
|
124
|
-
local_var_path = '{
|
124
|
+
local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
|
125
125
|
|
126
126
|
# query parameters
|
127
127
|
query_params = opts[:query_params] || {}
|
@@ -257,7 +257,7 @@ module PulpMavenClient
|
|
257
257
|
|
258
258
|
# Update a maven distribution
|
259
259
|
# Trigger an asynchronous partial update task
|
260
|
-
# @param
|
260
|
+
# @param maven_maven_distribution_href [String]
|
261
261
|
# @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
|
262
262
|
# @param [Hash] opts the optional parameters
|
263
263
|
# @option opts [String] :base_path base_path
|
@@ -268,14 +268,14 @@ module PulpMavenClient
|
|
268
268
|
# @option opts [String] :name__in name__in
|
269
269
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
270
270
|
# @return [AsyncOperationResponse]
|
271
|
-
def partial_update(
|
272
|
-
data, _status_code, _headers = partial_update_with_http_info(
|
271
|
+
def partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
|
272
|
+
data, _status_code, _headers = partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
273
273
|
data
|
274
274
|
end
|
275
275
|
|
276
276
|
# Update a maven distribution
|
277
277
|
# Trigger an asynchronous partial update task
|
278
|
-
# @param
|
278
|
+
# @param maven_maven_distribution_href [String]
|
279
279
|
# @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
|
280
280
|
# @param [Hash] opts the optional parameters
|
281
281
|
# @option opts [String] :base_path base_path
|
@@ -286,20 +286,20 @@ module PulpMavenClient
|
|
286
286
|
# @option opts [String] :name__in name__in
|
287
287
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
288
288
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
289
|
-
def partial_update_with_http_info(
|
289
|
+
def partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
|
290
290
|
if @api_client.config.debugging
|
291
291
|
@api_client.config.logger.debug 'Calling API: DistributionsMavenApi.partial_update ...'
|
292
292
|
end
|
293
|
-
# verify the required parameter '
|
294
|
-
if @api_client.config.client_side_validation &&
|
295
|
-
fail ArgumentError, "Missing the required parameter '
|
293
|
+
# verify the required parameter 'maven_maven_distribution_href' is set
|
294
|
+
if @api_client.config.client_side_validation && maven_maven_distribution_href.nil?
|
295
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_distribution_href' when calling DistributionsMavenApi.partial_update"
|
296
296
|
end
|
297
297
|
# verify the required parameter 'patchedmaven_maven_distribution' is set
|
298
298
|
if @api_client.config.client_side_validation && patchedmaven_maven_distribution.nil?
|
299
299
|
fail ArgumentError, "Missing the required parameter 'patchedmaven_maven_distribution' when calling DistributionsMavenApi.partial_update"
|
300
300
|
end
|
301
301
|
# resource path
|
302
|
-
local_var_path = '{
|
302
|
+
local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
|
303
303
|
|
304
304
|
# query parameters
|
305
305
|
query_params = opts[:query_params] || {}
|
@@ -348,33 +348,33 @@ module PulpMavenClient
|
|
348
348
|
|
349
349
|
# Inspect a maven distribution
|
350
350
|
# ViewSet for Maven Distributions.
|
351
|
-
# @param
|
351
|
+
# @param maven_maven_distribution_href [String]
|
352
352
|
# @param [Hash] opts the optional parameters
|
353
353
|
# @option opts [String] :fields A list of fields to include in the response.
|
354
354
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
355
355
|
# @return [MavenMavenDistributionResponse]
|
356
|
-
def read(
|
357
|
-
data, _status_code, _headers = read_with_http_info(
|
356
|
+
def read(maven_maven_distribution_href, opts = {})
|
357
|
+
data, _status_code, _headers = read_with_http_info(maven_maven_distribution_href, opts)
|
358
358
|
data
|
359
359
|
end
|
360
360
|
|
361
361
|
# Inspect a maven distribution
|
362
362
|
# ViewSet for Maven Distributions.
|
363
|
-
# @param
|
363
|
+
# @param maven_maven_distribution_href [String]
|
364
364
|
# @param [Hash] opts the optional parameters
|
365
365
|
# @option opts [String] :fields A list of fields to include in the response.
|
366
366
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
367
367
|
# @return [Array<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
|
368
|
-
def read_with_http_info(
|
368
|
+
def read_with_http_info(maven_maven_distribution_href, opts = {})
|
369
369
|
if @api_client.config.debugging
|
370
370
|
@api_client.config.logger.debug 'Calling API: DistributionsMavenApi.read ...'
|
371
371
|
end
|
372
|
-
# verify the required parameter '
|
373
|
-
if @api_client.config.client_side_validation &&
|
374
|
-
fail ArgumentError, "Missing the required parameter '
|
372
|
+
# verify the required parameter 'maven_maven_distribution_href' is set
|
373
|
+
if @api_client.config.client_side_validation && maven_maven_distribution_href.nil?
|
374
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_distribution_href' when calling DistributionsMavenApi.read"
|
375
375
|
end
|
376
376
|
# resource path
|
377
|
-
local_var_path = '{
|
377
|
+
local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
|
378
378
|
|
379
379
|
# query parameters
|
380
380
|
query_params = opts[:query_params] || {}
|
@@ -416,7 +416,7 @@ module PulpMavenClient
|
|
416
416
|
|
417
417
|
# Update a maven distribution
|
418
418
|
# Trigger an asynchronous update task
|
419
|
-
# @param
|
419
|
+
# @param maven_maven_distribution_href [String]
|
420
420
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
421
421
|
# @param [Hash] opts the optional parameters
|
422
422
|
# @option opts [String] :base_path base_path
|
@@ -427,14 +427,14 @@ module PulpMavenClient
|
|
427
427
|
# @option opts [String] :name__in name__in
|
428
428
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
429
429
|
# @return [AsyncOperationResponse]
|
430
|
-
def update(
|
431
|
-
data, _status_code, _headers = update_with_http_info(
|
430
|
+
def update(maven_maven_distribution_href, maven_maven_distribution, opts = {})
|
431
|
+
data, _status_code, _headers = update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
432
432
|
data
|
433
433
|
end
|
434
434
|
|
435
435
|
# Update a maven distribution
|
436
436
|
# Trigger an asynchronous update task
|
437
|
-
# @param
|
437
|
+
# @param maven_maven_distribution_href [String]
|
438
438
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
439
439
|
# @param [Hash] opts the optional parameters
|
440
440
|
# @option opts [String] :base_path base_path
|
@@ -445,20 +445,20 @@ module PulpMavenClient
|
|
445
445
|
# @option opts [String] :name__in name__in
|
446
446
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
447
447
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
448
|
-
def update_with_http_info(
|
448
|
+
def update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts = {})
|
449
449
|
if @api_client.config.debugging
|
450
450
|
@api_client.config.logger.debug 'Calling API: DistributionsMavenApi.update ...'
|
451
451
|
end
|
452
|
-
# verify the required parameter '
|
453
|
-
if @api_client.config.client_side_validation &&
|
454
|
-
fail ArgumentError, "Missing the required parameter '
|
452
|
+
# verify the required parameter 'maven_maven_distribution_href' is set
|
453
|
+
if @api_client.config.client_side_validation && maven_maven_distribution_href.nil?
|
454
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_distribution_href' when calling DistributionsMavenApi.update"
|
455
455
|
end
|
456
456
|
# verify the required parameter 'maven_maven_distribution' is set
|
457
457
|
if @api_client.config.client_side_validation && maven_maven_distribution.nil?
|
458
458
|
fail ArgumentError, "Missing the required parameter 'maven_maven_distribution' when calling DistributionsMavenApi.update"
|
459
459
|
end
|
460
460
|
# resource path
|
461
|
-
local_var_path = '{
|
461
|
+
local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
|
462
462
|
|
463
463
|
# query parameters
|
464
464
|
query_params = opts[:query_params] || {}
|
@@ -85,7 +85,7 @@ module PulpMavenClient
|
|
85
85
|
|
86
86
|
# Delete a maven remote
|
87
87
|
# Trigger an asynchronous delete task
|
88
|
-
# @param
|
88
|
+
# @param maven_maven_remote_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @option opts [String] :name name
|
91
91
|
# @option opts [String] :name__in name__in
|
@@ -97,14 +97,14 @@ module PulpMavenClient
|
|
97
97
|
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
98
98
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
99
99
|
# @return [AsyncOperationResponse]
|
100
|
-
def delete(
|
101
|
-
data, _status_code, _headers = delete_with_http_info(
|
100
|
+
def delete(maven_maven_remote_href, opts = {})
|
101
|
+
data, _status_code, _headers = delete_with_http_info(maven_maven_remote_href, opts)
|
102
102
|
data
|
103
103
|
end
|
104
104
|
|
105
105
|
# Delete a maven remote
|
106
106
|
# Trigger an asynchronous delete task
|
107
|
-
# @param
|
107
|
+
# @param maven_maven_remote_href [String]
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
109
|
# @option opts [String] :name name
|
110
110
|
# @option opts [String] :name__in name__in
|
@@ -116,16 +116,16 @@ module PulpMavenClient
|
|
116
116
|
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
117
117
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
118
118
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
119
|
-
def delete_with_http_info(
|
119
|
+
def delete_with_http_info(maven_maven_remote_href, opts = {})
|
120
120
|
if @api_client.config.debugging
|
121
121
|
@api_client.config.logger.debug 'Calling API: RemotesMavenApi.delete ...'
|
122
122
|
end
|
123
|
-
# verify the required parameter '
|
124
|
-
if @api_client.config.client_side_validation &&
|
125
|
-
fail ArgumentError, "Missing the required parameter '
|
123
|
+
# verify the required parameter 'maven_maven_remote_href' is set
|
124
|
+
if @api_client.config.client_side_validation && maven_maven_remote_href.nil?
|
125
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_remote_href' when calling RemotesMavenApi.delete"
|
126
126
|
end
|
127
127
|
# resource path
|
128
|
-
local_var_path = '{
|
128
|
+
local_var_path = '{maven_maven_remote_href}'.sub('{' + 'maven_maven_remote_href' + '}', CGI.escape(maven_maven_remote_href.to_s).gsub('%2F', '/'))
|
129
129
|
|
130
130
|
# query parameters
|
131
131
|
query_params = opts[:query_params] || {}
|
@@ -269,7 +269,7 @@ module PulpMavenClient
|
|
269
269
|
|
270
270
|
# Update a maven remote
|
271
271
|
# Trigger an asynchronous partial update task
|
272
|
-
# @param
|
272
|
+
# @param maven_maven_remote_href [String]
|
273
273
|
# @param patchedmaven_maven_remote [PatchedmavenMavenRemote]
|
274
274
|
# @param [Hash] opts the optional parameters
|
275
275
|
# @option opts [String] :name name
|
@@ -282,14 +282,14 @@ module PulpMavenClient
|
|
282
282
|
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
283
283
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
284
284
|
# @return [AsyncOperationResponse]
|
285
|
-
def partial_update(
|
286
|
-
data, _status_code, _headers = partial_update_with_http_info(
|
285
|
+
def partial_update(maven_maven_remote_href, patchedmaven_maven_remote, opts = {})
|
286
|
+
data, _status_code, _headers = partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
|
287
287
|
data
|
288
288
|
end
|
289
289
|
|
290
290
|
# Update a maven remote
|
291
291
|
# Trigger an asynchronous partial update task
|
292
|
-
# @param
|
292
|
+
# @param maven_maven_remote_href [String]
|
293
293
|
# @param patchedmaven_maven_remote [PatchedmavenMavenRemote]
|
294
294
|
# @param [Hash] opts the optional parameters
|
295
295
|
# @option opts [String] :name name
|
@@ -302,20 +302,20 @@ module PulpMavenClient
|
|
302
302
|
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
303
303
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
304
304
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
305
|
-
def partial_update_with_http_info(
|
305
|
+
def partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts = {})
|
306
306
|
if @api_client.config.debugging
|
307
307
|
@api_client.config.logger.debug 'Calling API: RemotesMavenApi.partial_update ...'
|
308
308
|
end
|
309
|
-
# verify the required parameter '
|
310
|
-
if @api_client.config.client_side_validation &&
|
311
|
-
fail ArgumentError, "Missing the required parameter '
|
309
|
+
# verify the required parameter 'maven_maven_remote_href' is set
|
310
|
+
if @api_client.config.client_side_validation && maven_maven_remote_href.nil?
|
311
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_remote_href' when calling RemotesMavenApi.partial_update"
|
312
312
|
end
|
313
313
|
# verify the required parameter 'patchedmaven_maven_remote' is set
|
314
314
|
if @api_client.config.client_side_validation && patchedmaven_maven_remote.nil?
|
315
315
|
fail ArgumentError, "Missing the required parameter 'patchedmaven_maven_remote' when calling RemotesMavenApi.partial_update"
|
316
316
|
end
|
317
317
|
# resource path
|
318
|
-
local_var_path = '{
|
318
|
+
local_var_path = '{maven_maven_remote_href}'.sub('{' + 'maven_maven_remote_href' + '}', CGI.escape(maven_maven_remote_href.to_s).gsub('%2F', '/'))
|
319
319
|
|
320
320
|
# query parameters
|
321
321
|
query_params = opts[:query_params] || {}
|
@@ -366,33 +366,33 @@ module PulpMavenClient
|
|
366
366
|
|
367
367
|
# Inspect a maven remote
|
368
368
|
# A ViewSet for MavenRemote.
|
369
|
-
# @param
|
369
|
+
# @param maven_maven_remote_href [String]
|
370
370
|
# @param [Hash] opts the optional parameters
|
371
371
|
# @option opts [String] :fields A list of fields to include in the response.
|
372
372
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
373
373
|
# @return [MavenMavenRemoteResponse]
|
374
|
-
def read(
|
375
|
-
data, _status_code, _headers = read_with_http_info(
|
374
|
+
def read(maven_maven_remote_href, opts = {})
|
375
|
+
data, _status_code, _headers = read_with_http_info(maven_maven_remote_href, opts)
|
376
376
|
data
|
377
377
|
end
|
378
378
|
|
379
379
|
# Inspect a maven remote
|
380
380
|
# A ViewSet for MavenRemote.
|
381
|
-
# @param
|
381
|
+
# @param maven_maven_remote_href [String]
|
382
382
|
# @param [Hash] opts the optional parameters
|
383
383
|
# @option opts [String] :fields A list of fields to include in the response.
|
384
384
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
385
385
|
# @return [Array<(MavenMavenRemoteResponse, Integer, Hash)>] MavenMavenRemoteResponse data, response status code and response headers
|
386
|
-
def read_with_http_info(
|
386
|
+
def read_with_http_info(maven_maven_remote_href, opts = {})
|
387
387
|
if @api_client.config.debugging
|
388
388
|
@api_client.config.logger.debug 'Calling API: RemotesMavenApi.read ...'
|
389
389
|
end
|
390
|
-
# verify the required parameter '
|
391
|
-
if @api_client.config.client_side_validation &&
|
392
|
-
fail ArgumentError, "Missing the required parameter '
|
390
|
+
# verify the required parameter 'maven_maven_remote_href' is set
|
391
|
+
if @api_client.config.client_side_validation && maven_maven_remote_href.nil?
|
392
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_remote_href' when calling RemotesMavenApi.read"
|
393
393
|
end
|
394
394
|
# resource path
|
395
|
-
local_var_path = '{
|
395
|
+
local_var_path = '{maven_maven_remote_href}'.sub('{' + 'maven_maven_remote_href' + '}', CGI.escape(maven_maven_remote_href.to_s).gsub('%2F', '/'))
|
396
396
|
|
397
397
|
# query parameters
|
398
398
|
query_params = opts[:query_params] || {}
|
@@ -434,7 +434,7 @@ module PulpMavenClient
|
|
434
434
|
|
435
435
|
# Update a maven remote
|
436
436
|
# Trigger an asynchronous update task
|
437
|
-
# @param
|
437
|
+
# @param maven_maven_remote_href [String]
|
438
438
|
# @param maven_maven_remote [MavenMavenRemote]
|
439
439
|
# @param [Hash] opts the optional parameters
|
440
440
|
# @option opts [String] :name name
|
@@ -447,14 +447,14 @@ module PulpMavenClient
|
|
447
447
|
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
448
448
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
449
449
|
# @return [AsyncOperationResponse]
|
450
|
-
def update(
|
451
|
-
data, _status_code, _headers = update_with_http_info(
|
450
|
+
def update(maven_maven_remote_href, maven_maven_remote, opts = {})
|
451
|
+
data, _status_code, _headers = update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
|
452
452
|
data
|
453
453
|
end
|
454
454
|
|
455
455
|
# Update a maven remote
|
456
456
|
# Trigger an asynchronous update task
|
457
|
-
# @param
|
457
|
+
# @param maven_maven_remote_href [String]
|
458
458
|
# @param maven_maven_remote [MavenMavenRemote]
|
459
459
|
# @param [Hash] opts the optional parameters
|
460
460
|
# @option opts [String] :name name
|
@@ -467,20 +467,20 @@ module PulpMavenClient
|
|
467
467
|
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
468
468
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
469
469
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
470
|
-
def update_with_http_info(
|
470
|
+
def update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts = {})
|
471
471
|
if @api_client.config.debugging
|
472
472
|
@api_client.config.logger.debug 'Calling API: RemotesMavenApi.update ...'
|
473
473
|
end
|
474
|
-
# verify the required parameter '
|
475
|
-
if @api_client.config.client_side_validation &&
|
476
|
-
fail ArgumentError, "Missing the required parameter '
|
474
|
+
# verify the required parameter 'maven_maven_remote_href' is set
|
475
|
+
if @api_client.config.client_side_validation && maven_maven_remote_href.nil?
|
476
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_remote_href' when calling RemotesMavenApi.update"
|
477
477
|
end
|
478
478
|
# verify the required parameter 'maven_maven_remote' is set
|
479
479
|
if @api_client.config.client_side_validation && maven_maven_remote.nil?
|
480
480
|
fail ArgumentError, "Missing the required parameter 'maven_maven_remote' when calling RemotesMavenApi.update"
|
481
481
|
end
|
482
482
|
# resource path
|
483
|
-
local_var_path = '{
|
483
|
+
local_var_path = '{maven_maven_remote_href}'.sub('{' + 'maven_maven_remote_href' + '}', CGI.escape(maven_maven_remote_href.to_s).gsub('%2F', '/'))
|
484
484
|
|
485
485
|
# query parameters
|
486
486
|
query_params = opts[:query_params] || {}
|