pulp_maven_client 0.2.0b1.dev01595707310 → 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.

@@ -4,12 +4,12 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ |
8
- [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_repository_href} |
9
- [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ |
10
- [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_repository_href} |
11
- [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_repository_href} |
12
- [**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_repository_href} |
7
+ [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
8
+ [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
9
+ [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
10
+ [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
11
+ [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
12
+ [**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository
13
13
 
14
14
 
15
15
 
@@ -17,7 +17,7 @@ Method | HTTP request | Description
17
17
 
18
18
  > MavenMavenRepositoryResponse create(maven_maven_repository)
19
19
 
20
-
20
+ Create a maven repository
21
21
 
22
22
  A ViewSet for MavenRemote.
23
23
 
@@ -37,6 +37,7 @@ api_instance = PulpMavenClient::RepositoriesMavenApi.new
37
37
  maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
38
38
 
39
39
  begin
40
+ #Create a maven repository
40
41
  result = api_instance.create(maven_maven_repository)
41
42
  p result
42
43
  rescue PulpMavenClient::ApiError => e
@@ -67,9 +68,9 @@ Name | Type | Description | Notes
67
68
 
68
69
  ## delete
69
70
 
70
- > AsyncOperationResponse delete(maven_repository_href, opts)
71
-
71
+ > AsyncOperationResponse delete(maven_maven_repository_href, opts)
72
72
 
73
+ Delete a maven repository
73
74
 
74
75
  Trigger an asynchronous delete task
75
76
 
@@ -86,7 +87,7 @@ PulpMavenClient.configure do |config|
86
87
  end
87
88
 
88
89
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
89
- maven_repository_href = 'maven_repository_href_example' # String |
90
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
90
91
  opts = {
91
92
  name: 'name_example', # String | name
92
93
  name__in: 'name__in_example', # String | name__in
@@ -94,7 +95,8 @@ opts = {
94
95
  }
95
96
 
96
97
  begin
97
- result = api_instance.delete(maven_repository_href, opts)
98
+ #Delete a maven repository
99
+ result = api_instance.delete(maven_maven_repository_href, opts)
98
100
  p result
99
101
  rescue PulpMavenClient::ApiError => e
100
102
  puts "Exception when calling RepositoriesMavenApi->delete: #{e}"
@@ -106,7 +108,7 @@ end
106
108
 
107
109
  Name | Type | Description | Notes
108
110
  ------------- | ------------- | ------------- | -------------
109
- **maven_repository_href** | **String**| |
111
+ **maven_maven_repository_href** | **String**| |
110
112
  **name** | **String**| name | [optional]
111
113
  **name__in** | **String**| name__in | [optional]
112
114
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -129,7 +131,7 @@ Name | Type | Description | Notes
129
131
 
130
132
  > InlineResponse2003 list(opts)
131
133
 
132
-
134
+ List maven repositorys
133
135
 
134
136
  A ViewSet for MavenRemote.
135
137
 
@@ -157,6 +159,7 @@ opts = {
157
159
  }
158
160
 
159
161
  begin
162
+ #List maven repositorys
160
163
  result = api_instance.list(opts)
161
164
  p result
162
165
  rescue PulpMavenClient::ApiError => e
@@ -193,9 +196,9 @@ Name | Type | Description | Notes
193
196
 
194
197
  ## partial_update
195
198
 
196
- > AsyncOperationResponse partial_update(maven_repository_href, patchedmaven_maven_repository, opts)
197
-
199
+ > AsyncOperationResponse partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
198
200
 
201
+ Update a maven repository
199
202
 
200
203
  Trigger an asynchronous partial update task
201
204
 
@@ -212,7 +215,7 @@ PulpMavenClient.configure do |config|
212
215
  end
213
216
 
214
217
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
215
- maven_repository_href = 'maven_repository_href_example' # String |
218
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
216
219
  patchedmaven_maven_repository = PulpMavenClient::PatchedmavenMavenRepository.new # PatchedmavenMavenRepository |
217
220
  opts = {
218
221
  name: 'name_example', # String | name
@@ -221,7 +224,8 @@ opts = {
221
224
  }
222
225
 
223
226
  begin
224
- result = api_instance.partial_update(maven_repository_href, patchedmaven_maven_repository, opts)
227
+ #Update a maven repository
228
+ result = api_instance.partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
225
229
  p result
226
230
  rescue PulpMavenClient::ApiError => e
227
231
  puts "Exception when calling RepositoriesMavenApi->partial_update: #{e}"
@@ -233,7 +237,7 @@ end
233
237
 
234
238
  Name | Type | Description | Notes
235
239
  ------------- | ------------- | ------------- | -------------
236
- **maven_repository_href** | **String**| |
240
+ **maven_maven_repository_href** | **String**| |
237
241
  **patchedmaven_maven_repository** | [**PatchedmavenMavenRepository**](PatchedmavenMavenRepository.md)| |
238
242
  **name** | **String**| name | [optional]
239
243
  **name__in** | **String**| name__in | [optional]
@@ -255,9 +259,9 @@ Name | Type | Description | Notes
255
259
 
256
260
  ## read
257
261
 
258
- > MavenMavenRepositoryResponse read(maven_repository_href, opts)
259
-
262
+ > MavenMavenRepositoryResponse read(maven_maven_repository_href, opts)
260
263
 
264
+ Inspect a maven repository
261
265
 
262
266
  A ViewSet for MavenRemote.
263
267
 
@@ -274,14 +278,15 @@ PulpMavenClient.configure do |config|
274
278
  end
275
279
 
276
280
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
277
- maven_repository_href = 'maven_repository_href_example' # String |
281
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
278
282
  opts = {
279
283
  fields: 'fields_example', # String | A list of fields to include in the response.
280
284
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
281
285
  }
282
286
 
283
287
  begin
284
- result = api_instance.read(maven_repository_href, opts)
288
+ #Inspect a maven repository
289
+ result = api_instance.read(maven_maven_repository_href, opts)
285
290
  p result
286
291
  rescue PulpMavenClient::ApiError => e
287
292
  puts "Exception when calling RepositoriesMavenApi->read: #{e}"
@@ -293,7 +298,7 @@ end
293
298
 
294
299
  Name | Type | Description | Notes
295
300
  ------------- | ------------- | ------------- | -------------
296
- **maven_repository_href** | **String**| |
301
+ **maven_maven_repository_href** | **String**| |
297
302
  **fields** | **String**| A list of fields to include in the response. | [optional]
298
303
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
299
304
 
@@ -313,9 +318,9 @@ Name | Type | Description | Notes
313
318
 
314
319
  ## update
315
320
 
316
- > AsyncOperationResponse update(maven_repository_href, maven_maven_repository, opts)
317
-
321
+ > AsyncOperationResponse update(maven_maven_repository_href, maven_maven_repository, opts)
318
322
 
323
+ Update a maven repository
319
324
 
320
325
  Trigger an asynchronous update task
321
326
 
@@ -332,7 +337,7 @@ PulpMavenClient.configure do |config|
332
337
  end
333
338
 
334
339
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
335
- maven_repository_href = 'maven_repository_href_example' # String |
340
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
336
341
  maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
337
342
  opts = {
338
343
  name: 'name_example', # String | name
@@ -341,7 +346,8 @@ opts = {
341
346
  }
342
347
 
343
348
  begin
344
- result = api_instance.update(maven_repository_href, maven_maven_repository, opts)
349
+ #Update a maven repository
350
+ result = api_instance.update(maven_maven_repository_href, maven_maven_repository, opts)
345
351
  p result
346
352
  rescue PulpMavenClient::ApiError => e
347
353
  puts "Exception when calling RepositoriesMavenApi->update: #{e}"
@@ -353,7 +359,7 @@ end
353
359
 
354
360
  Name | Type | Description | Notes
355
361
  ------------- | ------------- | ------------- | -------------
356
- **maven_repository_href** | **String**| |
362
+ **maven_maven_repository_href** | **String**| |
357
363
  **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
358
364
  **name** | **String**| name | [optional]
359
365
  **name__in** | **String**| name__in | [optional]
@@ -4,18 +4,18 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete**](RepositoriesMavenVersionsApi.md#delete) | **DELETE** {maven_repository_version_href} |
8
- [**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {maven_repository_version_href}versions/ |
9
- [**read**](RepositoriesMavenVersionsApi.md#read) | **GET** {maven_repository_version_href} |
10
- [**repair**](RepositoriesMavenVersionsApi.md#repair) | **POST** {maven_repository_version_href}repair/ |
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(maven_repository_version_href, opts)
17
-
16
+ > AsyncOperationResponse delete(maven_maven_repository_version_href, opts)
18
17
 
18
+ Delete a repository version
19
19
 
20
20
  Trigger an asynchronous task to delete a repositroy version.
21
21
 
@@ -32,7 +32,7 @@ PulpMavenClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
35
- maven_repository_version_href = 'maven_repository_version_href_example' # String |
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
@@ -52,7 +52,8 @@ opts = {
52
52
  }
53
53
 
54
54
  begin
55
- result = api_instance.delete(maven_repository_version_href, opts)
55
+ #Delete a repository version
56
+ result = api_instance.delete(maven_maven_repository_version_href, opts)
56
57
  p result
57
58
  rescue PulpMavenClient::ApiError => e
58
59
  puts "Exception when calling RepositoriesMavenVersionsApi->delete: #{e}"
@@ -64,7 +65,7 @@ end
64
65
 
65
66
  Name | Type | Description | Notes
66
67
  ------------- | ------------- | ------------- | -------------
67
- **maven_repository_version_href** | **String**| |
68
+ **maven_maven_repository_version_href** | **String**| |
68
69
  **content** | **String**| content | [optional]
69
70
  **content__in** | **String**| content__in | [optional]
70
71
  **number** | **String**| number | [optional]
@@ -97,9 +98,9 @@ Name | Type | Description | Notes
97
98
 
98
99
  ## list
99
100
 
100
- > InlineResponse2004 list(maven_repository_version_href, opts)
101
-
101
+ > InlineResponse2004 list(maven_maven_repository_href, opts)
102
102
 
103
+ List repository versions
103
104
 
104
105
  MavenRepositoryVersion represents a single Maven repository version.
105
106
 
@@ -116,7 +117,7 @@ PulpMavenClient.configure do |config|
116
117
  end
117
118
 
118
119
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
119
- maven_repository_version_href = 'maven_repository_version_href_example' # String |
120
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
120
121
  opts = {
121
122
  content: 'content_example', # String | content
122
123
  content__in: 'content__in_example', # String | content__in
@@ -140,7 +141,8 @@ opts = {
140
141
  }
141
142
 
142
143
  begin
143
- result = api_instance.list(maven_repository_version_href, opts)
144
+ #List repository versions
145
+ result = api_instance.list(maven_maven_repository_href, opts)
144
146
  p result
145
147
  rescue PulpMavenClient::ApiError => e
146
148
  puts "Exception when calling RepositoriesMavenVersionsApi->list: #{e}"
@@ -152,7 +154,7 @@ end
152
154
 
153
155
  Name | Type | Description | Notes
154
156
  ------------- | ------------- | ------------- | -------------
155
- **maven_repository_version_href** | **String**| |
157
+ **maven_maven_repository_href** | **String**| |
156
158
  **content** | **String**| content | [optional]
157
159
  **content__in** | **String**| content__in | [optional]
158
160
  **limit** | **Integer**| Number of results to return per page. | [optional]
@@ -189,9 +191,9 @@ Name | Type | Description | Notes
189
191
 
190
192
  ## read
191
193
 
192
- > RepositoryVersionResponse read(maven_repository_version_href, opts)
193
-
194
+ > RepositoryVersionResponse read(maven_maven_repository_version_href, opts)
194
195
 
196
+ Inspect a repository version
195
197
 
196
198
  MavenRepositoryVersion represents a single Maven repository version.
197
199
 
@@ -208,14 +210,15 @@ PulpMavenClient.configure do |config|
208
210
  end
209
211
 
210
212
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
211
- maven_repository_version_href = 'maven_repository_version_href_example' # String |
213
+ maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
212
214
  opts = {
213
215
  fields: 'fields_example', # String | A list of fields to include in the response.
214
216
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
215
217
  }
216
218
 
217
219
  begin
218
- result = api_instance.read(maven_repository_version_href, opts)
220
+ #Inspect a repository version
221
+ result = api_instance.read(maven_maven_repository_version_href, opts)
219
222
  p result
220
223
  rescue PulpMavenClient::ApiError => e
221
224
  puts "Exception when calling RepositoriesMavenVersionsApi->read: #{e}"
@@ -227,7 +230,7 @@ end
227
230
 
228
231
  Name | Type | Description | Notes
229
232
  ------------- | ------------- | ------------- | -------------
230
- **maven_repository_version_href** | **String**| |
233
+ **maven_maven_repository_version_href** | **String**| |
231
234
  **fields** | **String**| A list of fields to include in the response. | [optional]
232
235
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
233
236
 
@@ -247,7 +250,7 @@ Name | Type | Description | Notes
247
250
 
248
251
  ## repair
249
252
 
250
- > AsyncOperationResponse repair(maven_repository_version_href, repository_version)
253
+ > AsyncOperationResponse repair(maven_maven_repository_version_href, repository_version)
251
254
 
252
255
 
253
256
 
@@ -266,11 +269,11 @@ PulpMavenClient.configure do |config|
266
269
  end
267
270
 
268
271
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
269
- maven_repository_version_href = 'maven_repository_version_href_example' # String |
272
+ maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
270
273
  repository_version = PulpMavenClient::RepositoryVersion.new # RepositoryVersion |
271
274
 
272
275
  begin
273
- result = api_instance.repair(maven_repository_version_href, repository_version)
276
+ result = api_instance.repair(maven_maven_repository_version_href, repository_version)
274
277
  p result
275
278
  rescue PulpMavenClient::ApiError => e
276
279
  puts "Exception when calling RepositoriesMavenVersionsApi->repair: #{e}"
@@ -282,7 +285,7 @@ end
282
285
 
283
286
  Name | Type | Description | Notes
284
287
  ------------- | ------------- | ------------- | -------------
285
- **maven_repository_version_href** | **String**| |
288
+ **maven_maven_repository_version_href** | **String**| |
286
289
  **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
287
290
 
288
291
  ### Return type
@@ -19,6 +19,7 @@ module PulpMavenClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Create a maven artifact
22
23
  # A ViewSet for MavenArtifact.
23
24
  # @param maven_maven_artifact [MavenMavenArtifact]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module PulpMavenClient
28
29
  data
29
30
  end
30
31
 
32
+ # Create a maven artifact
31
33
  # A ViewSet for MavenArtifact.
32
34
  # @param maven_maven_artifact [MavenMavenArtifact]
33
35
  # @param [Hash] opts the optional parameters
@@ -81,6 +83,7 @@ module PulpMavenClient
81
83
  return data, status_code, headers
82
84
  end
83
85
 
86
+ # List maven artifacts
84
87
  # A ViewSet for MavenArtifact.
85
88
  # @param [Hash] opts the optional parameters
86
89
  # @option opts [String] :artifact_id artifact_id
@@ -101,6 +104,7 @@ module PulpMavenClient
101
104
  data
102
105
  end
103
106
 
107
+ # List maven artifacts
104
108
  # A ViewSet for MavenArtifact.
105
109
  # @param [Hash] opts the optional parameters
106
110
  # @option opts [String] :artifact_id artifact_id
@@ -171,33 +175,35 @@ module PulpMavenClient
171
175
  return data, status_code, headers
172
176
  end
173
177
 
178
+ # Inspect a maven artifact
174
179
  # A ViewSet for MavenArtifact.
175
- # @param maven_artifact_href [String]
180
+ # @param maven_maven_artifact_href [String]
176
181
  # @param [Hash] opts the optional parameters
177
182
  # @option opts [String] :fields A list of fields to include in the response.
178
183
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
179
184
  # @return [MavenMavenArtifactResponse]
180
- def read(maven_artifact_href, opts = {})
181
- data, _status_code, _headers = read_with_http_info(maven_artifact_href, opts)
185
+ def read(maven_maven_artifact_href, opts = {})
186
+ data, _status_code, _headers = read_with_http_info(maven_maven_artifact_href, opts)
182
187
  data
183
188
  end
184
189
 
190
+ # Inspect a maven artifact
185
191
  # A ViewSet for MavenArtifact.
186
- # @param maven_artifact_href [String]
192
+ # @param maven_maven_artifact_href [String]
187
193
  # @param [Hash] opts the optional parameters
188
194
  # @option opts [String] :fields A list of fields to include in the response.
189
195
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
190
196
  # @return [Array<(MavenMavenArtifactResponse, Integer, Hash)>] MavenMavenArtifactResponse data, response status code and response headers
191
- def read_with_http_info(maven_artifact_href, opts = {})
197
+ def read_with_http_info(maven_maven_artifact_href, opts = {})
192
198
  if @api_client.config.debugging
193
199
  @api_client.config.logger.debug 'Calling API: ContentArtifactApi.read ...'
194
200
  end
195
- # verify the required parameter 'maven_artifact_href' is set
196
- if @api_client.config.client_side_validation && maven_artifact_href.nil?
197
- fail ArgumentError, "Missing the required parameter 'maven_artifact_href' when calling ContentArtifactApi.read"
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"
198
204
  end
199
205
  # resource path
200
- local_var_path = '{maven_artifact_href}'.sub('{' + 'maven_artifact_href' + '}', CGI.escape(maven_artifact_href.to_s).gsub('%2F', '/'))
206
+ local_var_path = '{maven_maven_artifact_href}'.sub('{' + 'maven_maven_artifact_href' + '}', CGI.escape(maven_maven_artifact_href.to_s).gsub('%2F', '/'))
201
207
 
202
208
  # query parameters
203
209
  query_params = opts[:query_params] || {}
@@ -19,6 +19,7 @@ module PulpMavenClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Create a maven distribution
22
23
  # Trigger an asynchronous create task
23
24
  # @param maven_maven_distribution [MavenMavenDistribution]
24
25
  # @param [Hash] opts the optional parameters
@@ -28,6 +29,7 @@ module PulpMavenClient
28
29
  data
29
30
  end
30
31
 
32
+ # Create a maven distribution
31
33
  # Trigger an asynchronous create task
32
34
  # @param maven_maven_distribution [MavenMavenDistribution]
33
35
  # @param [Hash] opts the optional parameters
@@ -81,8 +83,9 @@ module PulpMavenClient
81
83
  return data, status_code, headers
82
84
  end
83
85
 
86
+ # Delete a maven distribution
84
87
  # Trigger an asynchronous delete task
85
- # @param maven_distribution_href [String]
88
+ # @param maven_maven_distribution_href [String]
86
89
  # @param [Hash] opts the optional parameters
87
90
  # @option opts [String] :base_path base_path
88
91
  # @option opts [String] :base_path__contains base_path__contains
@@ -92,13 +95,14 @@ module PulpMavenClient
92
95
  # @option opts [String] :name__in name__in
93
96
  # @option opts [String] :ordering Which field to use when ordering the results.
94
97
  # @return [AsyncOperationResponse]
95
- def delete(maven_distribution_href, opts = {})
96
- data, _status_code, _headers = delete_with_http_info(maven_distribution_href, opts)
98
+ def delete(maven_maven_distribution_href, opts = {})
99
+ data, _status_code, _headers = delete_with_http_info(maven_maven_distribution_href, opts)
97
100
  data
98
101
  end
99
102
 
103
+ # Delete a maven distribution
100
104
  # Trigger an asynchronous delete task
101
- # @param maven_distribution_href [String]
105
+ # @param maven_maven_distribution_href [String]
102
106
  # @param [Hash] opts the optional parameters
103
107
  # @option opts [String] :base_path base_path
104
108
  # @option opts [String] :base_path__contains base_path__contains
@@ -108,16 +112,16 @@ module PulpMavenClient
108
112
  # @option opts [String] :name__in name__in
109
113
  # @option opts [String] :ordering Which field to use when ordering the results.
110
114
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
111
- def delete_with_http_info(maven_distribution_href, opts = {})
115
+ def delete_with_http_info(maven_maven_distribution_href, opts = {})
112
116
  if @api_client.config.debugging
113
117
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.delete ...'
114
118
  end
115
- # verify the required parameter 'maven_distribution_href' is set
116
- if @api_client.config.client_side_validation && maven_distribution_href.nil?
117
- fail ArgumentError, "Missing the required parameter 'maven_distribution_href' when calling DistributionsMavenApi.delete"
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"
118
122
  end
119
123
  # resource path
120
- local_var_path = '{maven_distribution_href}'.sub('{' + 'maven_distribution_href' + '}', CGI.escape(maven_distribution_href.to_s).gsub('%2F', '/'))
124
+ local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
121
125
 
122
126
  # query parameters
123
127
  query_params = opts[:query_params] || {}
@@ -162,6 +166,7 @@ module PulpMavenClient
162
166
  return data, status_code, headers
163
167
  end
164
168
 
169
+ # List maven distributions
165
170
  # ViewSet for Maven Distributions.
166
171
  # @param [Hash] opts the optional parameters
167
172
  # @option opts [String] :base_path base_path
@@ -181,6 +186,7 @@ module PulpMavenClient
181
186
  data
182
187
  end
183
188
 
189
+ # List maven distributions
184
190
  # ViewSet for Maven Distributions.
185
191
  # @param [Hash] opts the optional parameters
186
192
  # @option opts [String] :base_path base_path
@@ -249,8 +255,9 @@ module PulpMavenClient
249
255
  return data, status_code, headers
250
256
  end
251
257
 
258
+ # Update a maven distribution
252
259
  # Trigger an asynchronous partial update task
253
- # @param maven_distribution_href [String]
260
+ # @param maven_maven_distribution_href [String]
254
261
  # @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
255
262
  # @param [Hash] opts the optional parameters
256
263
  # @option opts [String] :base_path base_path
@@ -261,13 +268,14 @@ module PulpMavenClient
261
268
  # @option opts [String] :name__in name__in
262
269
  # @option opts [String] :ordering Which field to use when ordering the results.
263
270
  # @return [AsyncOperationResponse]
264
- def partial_update(maven_distribution_href, patchedmaven_maven_distribution, opts = {})
265
- data, _status_code, _headers = partial_update_with_http_info(maven_distribution_href, patchedmaven_maven_distribution, opts)
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)
266
273
  data
267
274
  end
268
275
 
276
+ # Update a maven distribution
269
277
  # Trigger an asynchronous partial update task
270
- # @param maven_distribution_href [String]
278
+ # @param maven_maven_distribution_href [String]
271
279
  # @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
272
280
  # @param [Hash] opts the optional parameters
273
281
  # @option opts [String] :base_path base_path
@@ -278,20 +286,20 @@ module PulpMavenClient
278
286
  # @option opts [String] :name__in name__in
279
287
  # @option opts [String] :ordering Which field to use when ordering the results.
280
288
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
281
- def partial_update_with_http_info(maven_distribution_href, patchedmaven_maven_distribution, opts = {})
289
+ def partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
282
290
  if @api_client.config.debugging
283
291
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.partial_update ...'
284
292
  end
285
- # verify the required parameter 'maven_distribution_href' is set
286
- if @api_client.config.client_side_validation && maven_distribution_href.nil?
287
- fail ArgumentError, "Missing the required parameter 'maven_distribution_href' when calling DistributionsMavenApi.partial_update"
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"
288
296
  end
289
297
  # verify the required parameter 'patchedmaven_maven_distribution' is set
290
298
  if @api_client.config.client_side_validation && patchedmaven_maven_distribution.nil?
291
299
  fail ArgumentError, "Missing the required parameter 'patchedmaven_maven_distribution' when calling DistributionsMavenApi.partial_update"
292
300
  end
293
301
  # resource path
294
- local_var_path = '{maven_distribution_href}'.sub('{' + 'maven_distribution_href' + '}', CGI.escape(maven_distribution_href.to_s).gsub('%2F', '/'))
302
+ local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
295
303
 
296
304
  # query parameters
297
305
  query_params = opts[:query_params] || {}
@@ -338,33 +346,35 @@ module PulpMavenClient
338
346
  return data, status_code, headers
339
347
  end
340
348
 
349
+ # Inspect a maven distribution
341
350
  # ViewSet for Maven Distributions.
342
- # @param maven_distribution_href [String]
351
+ # @param maven_maven_distribution_href [String]
343
352
  # @param [Hash] opts the optional parameters
344
353
  # @option opts [String] :fields A list of fields to include in the response.
345
354
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
346
355
  # @return [MavenMavenDistributionResponse]
347
- def read(maven_distribution_href, opts = {})
348
- data, _status_code, _headers = read_with_http_info(maven_distribution_href, opts)
356
+ def read(maven_maven_distribution_href, opts = {})
357
+ data, _status_code, _headers = read_with_http_info(maven_maven_distribution_href, opts)
349
358
  data
350
359
  end
351
360
 
361
+ # Inspect a maven distribution
352
362
  # ViewSet for Maven Distributions.
353
- # @param maven_distribution_href [String]
363
+ # @param maven_maven_distribution_href [String]
354
364
  # @param [Hash] opts the optional parameters
355
365
  # @option opts [String] :fields A list of fields to include in the response.
356
366
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
357
367
  # @return [Array<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
358
- def read_with_http_info(maven_distribution_href, opts = {})
368
+ def read_with_http_info(maven_maven_distribution_href, opts = {})
359
369
  if @api_client.config.debugging
360
370
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.read ...'
361
371
  end
362
- # verify the required parameter 'maven_distribution_href' is set
363
- if @api_client.config.client_side_validation && maven_distribution_href.nil?
364
- fail ArgumentError, "Missing the required parameter 'maven_distribution_href' when calling DistributionsMavenApi.read"
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"
365
375
  end
366
376
  # resource path
367
- local_var_path = '{maven_distribution_href}'.sub('{' + 'maven_distribution_href' + '}', CGI.escape(maven_distribution_href.to_s).gsub('%2F', '/'))
377
+ local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
368
378
 
369
379
  # query parameters
370
380
  query_params = opts[:query_params] || {}
@@ -404,8 +414,9 @@ module PulpMavenClient
404
414
  return data, status_code, headers
405
415
  end
406
416
 
417
+ # Update a maven distribution
407
418
  # Trigger an asynchronous update task
408
- # @param maven_distribution_href [String]
419
+ # @param maven_maven_distribution_href [String]
409
420
  # @param maven_maven_distribution [MavenMavenDistribution]
410
421
  # @param [Hash] opts the optional parameters
411
422
  # @option opts [String] :base_path base_path
@@ -416,13 +427,14 @@ module PulpMavenClient
416
427
  # @option opts [String] :name__in name__in
417
428
  # @option opts [String] :ordering Which field to use when ordering the results.
418
429
  # @return [AsyncOperationResponse]
419
- def update(maven_distribution_href, maven_maven_distribution, opts = {})
420
- data, _status_code, _headers = update_with_http_info(maven_distribution_href, maven_maven_distribution, opts)
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)
421
432
  data
422
433
  end
423
434
 
435
+ # Update a maven distribution
424
436
  # Trigger an asynchronous update task
425
- # @param maven_distribution_href [String]
437
+ # @param maven_maven_distribution_href [String]
426
438
  # @param maven_maven_distribution [MavenMavenDistribution]
427
439
  # @param [Hash] opts the optional parameters
428
440
  # @option opts [String] :base_path base_path
@@ -433,20 +445,20 @@ module PulpMavenClient
433
445
  # @option opts [String] :name__in name__in
434
446
  # @option opts [String] :ordering Which field to use when ordering the results.
435
447
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
436
- def update_with_http_info(maven_distribution_href, maven_maven_distribution, opts = {})
448
+ def update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts = {})
437
449
  if @api_client.config.debugging
438
450
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.update ...'
439
451
  end
440
- # verify the required parameter 'maven_distribution_href' is set
441
- if @api_client.config.client_side_validation && maven_distribution_href.nil?
442
- fail ArgumentError, "Missing the required parameter 'maven_distribution_href' when calling DistributionsMavenApi.update"
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"
443
455
  end
444
456
  # verify the required parameter 'maven_maven_distribution' is set
445
457
  if @api_client.config.client_side_validation && maven_maven_distribution.nil?
446
458
  fail ArgumentError, "Missing the required parameter 'maven_maven_distribution' when calling DistributionsMavenApi.update"
447
459
  end
448
460
  # resource path
449
- local_var_path = '{maven_distribution_href}'.sub('{' + 'maven_distribution_href' + '}', CGI.escape(maven_distribution_href.to_s).gsub('%2F', '/'))
461
+ local_var_path = '{maven_maven_distribution_href}'.sub('{' + 'maven_maven_distribution_href' + '}', CGI.escape(maven_maven_distribution_href.to_s).gsub('%2F', '/'))
450
462
 
451
463
  # query parameters
452
464
  query_params = opts[:query_params] || {}