pulp_npm_client 0.1.0a1.dev01596158992 → 0.1.0a1.dev01596245316

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.

Potentially problematic release.


This version of pulp_npm_client might be problematic. Click here for more details.

@@ -85,35 +85,35 @@ module PulpNpmClient
85
85
 
86
86
  # Delete a npm repository
87
87
  # Trigger an asynchronous delete task
88
- # @param npm_repository_href [String]
88
+ # @param npm_npm_repository_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
92
92
  # @option opts [String] :ordering Which field to use when ordering the results.
93
93
  # @return [AsyncOperationResponse]
94
- def delete(npm_repository_href, opts = {})
95
- data, _status_code, _headers = delete_with_http_info(npm_repository_href, opts)
94
+ def delete(npm_npm_repository_href, opts = {})
95
+ data, _status_code, _headers = delete_with_http_info(npm_npm_repository_href, opts)
96
96
  data
97
97
  end
98
98
 
99
99
  # Delete a npm repository
100
100
  # Trigger an asynchronous delete task
101
- # @param npm_repository_href [String]
101
+ # @param npm_npm_repository_href [String]
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @option opts [String] :name name
104
104
  # @option opts [String] :name__in name__in
105
105
  # @option opts [String] :ordering Which field to use when ordering the results.
106
106
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
107
- def delete_with_http_info(npm_repository_href, opts = {})
107
+ def delete_with_http_info(npm_npm_repository_href, opts = {})
108
108
  if @api_client.config.debugging
109
109
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.delete ...'
110
110
  end
111
- # verify the required parameter 'npm_repository_href' is set
112
- if @api_client.config.client_side_validation && npm_repository_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'npm_repository_href' when calling RepositoriesNpmApi.delete"
111
+ # verify the required parameter 'npm_npm_repository_href' is set
112
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
113
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.delete"
114
114
  end
115
115
  # resource path
116
- local_var_path = '{npm_repository_href}'.sub('{' + 'npm_repository_href' + '}', CGI.escape(npm_repository_href.to_s).gsub('%2F', '/'))
116
+ local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
117
117
 
118
118
  # query parameters
119
119
  query_params = opts[:query_params] || {}
@@ -233,35 +233,35 @@ module PulpNpmClient
233
233
 
234
234
  # Modify Repository Content
235
235
  # Trigger an asynchronous task to create a new repository version.
236
- # @param npm_repository_href [String]
236
+ # @param npm_npm_repository_href [String]
237
237
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
238
238
  # @param [Hash] opts the optional parameters
239
239
  # @return [AsyncOperationResponse]
240
- def modify(npm_repository_href, repository_add_remove_content, opts = {})
241
- data, _status_code, _headers = modify_with_http_info(npm_repository_href, repository_add_remove_content, opts)
240
+ def modify(npm_npm_repository_href, repository_add_remove_content, opts = {})
241
+ data, _status_code, _headers = modify_with_http_info(npm_npm_repository_href, repository_add_remove_content, opts)
242
242
  data
243
243
  end
244
244
 
245
245
  # Modify Repository Content
246
246
  # Trigger an asynchronous task to create a new repository version.
247
- # @param npm_repository_href [String]
247
+ # @param npm_npm_repository_href [String]
248
248
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
249
249
  # @param [Hash] opts the optional parameters
250
250
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
251
- def modify_with_http_info(npm_repository_href, repository_add_remove_content, opts = {})
251
+ def modify_with_http_info(npm_npm_repository_href, repository_add_remove_content, opts = {})
252
252
  if @api_client.config.debugging
253
253
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.modify ...'
254
254
  end
255
- # verify the required parameter 'npm_repository_href' is set
256
- if @api_client.config.client_side_validation && npm_repository_href.nil?
257
- fail ArgumentError, "Missing the required parameter 'npm_repository_href' when calling RepositoriesNpmApi.modify"
255
+ # verify the required parameter 'npm_npm_repository_href' is set
256
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
257
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.modify"
258
258
  end
259
259
  # verify the required parameter 'repository_add_remove_content' is set
260
260
  if @api_client.config.client_side_validation && repository_add_remove_content.nil?
261
261
  fail ArgumentError, "Missing the required parameter 'repository_add_remove_content' when calling RepositoriesNpmApi.modify"
262
262
  end
263
263
  # resource path
264
- local_var_path = '{npm_repository_href}modify/'.sub('{' + 'npm_repository_href' + '}', CGI.escape(npm_repository_href.to_s).gsub('%2F', '/'))
264
+ local_var_path = '{npm_npm_repository_href}modify/'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
265
265
 
266
266
  # query parameters
267
267
  query_params = opts[:query_params] || {}
@@ -303,41 +303,41 @@ module PulpNpmClient
303
303
 
304
304
  # Update a npm repository
305
305
  # Trigger an asynchronous partial update task
306
- # @param npm_repository_href [String]
306
+ # @param npm_npm_repository_href [String]
307
307
  # @param patchednpm_npm_repository [PatchednpmNpmRepository]
308
308
  # @param [Hash] opts the optional parameters
309
309
  # @option opts [String] :name name
310
310
  # @option opts [String] :name__in name__in
311
311
  # @option opts [String] :ordering Which field to use when ordering the results.
312
312
  # @return [AsyncOperationResponse]
313
- def partial_update(npm_repository_href, patchednpm_npm_repository, opts = {})
314
- data, _status_code, _headers = partial_update_with_http_info(npm_repository_href, patchednpm_npm_repository, opts)
313
+ def partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
314
+ data, _status_code, _headers = partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts)
315
315
  data
316
316
  end
317
317
 
318
318
  # Update a npm repository
319
319
  # Trigger an asynchronous partial update task
320
- # @param npm_repository_href [String]
320
+ # @param npm_npm_repository_href [String]
321
321
  # @param patchednpm_npm_repository [PatchednpmNpmRepository]
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :name name
324
324
  # @option opts [String] :name__in name__in
325
325
  # @option opts [String] :ordering Which field to use when ordering the results.
326
326
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
327
- def partial_update_with_http_info(npm_repository_href, patchednpm_npm_repository, opts = {})
327
+ def partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
328
328
  if @api_client.config.debugging
329
329
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.partial_update ...'
330
330
  end
331
- # verify the required parameter 'npm_repository_href' is set
332
- if @api_client.config.client_side_validation && npm_repository_href.nil?
333
- fail ArgumentError, "Missing the required parameter 'npm_repository_href' when calling RepositoriesNpmApi.partial_update"
331
+ # verify the required parameter 'npm_npm_repository_href' is set
332
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
333
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.partial_update"
334
334
  end
335
335
  # verify the required parameter 'patchednpm_npm_repository' is set
336
336
  if @api_client.config.client_side_validation && patchednpm_npm_repository.nil?
337
337
  fail ArgumentError, "Missing the required parameter 'patchednpm_npm_repository' when calling RepositoriesNpmApi.partial_update"
338
338
  end
339
339
  # resource path
340
- local_var_path = '{npm_repository_href}'.sub('{' + 'npm_repository_href' + '}', CGI.escape(npm_repository_href.to_s).gsub('%2F', '/'))
340
+ local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
341
341
 
342
342
  # query parameters
343
343
  query_params = opts[:query_params] || {}
@@ -382,33 +382,33 @@ module PulpNpmClient
382
382
 
383
383
  # Inspect a npm repository
384
384
  # A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
385
- # @param npm_repository_href [String]
385
+ # @param npm_npm_repository_href [String]
386
386
  # @param [Hash] opts the optional parameters
387
387
  # @option opts [String] :fields A list of fields to include in the response.
388
388
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
389
389
  # @return [NpmNpmRepositoryResponse]
390
- def read(npm_repository_href, opts = {})
391
- data, _status_code, _headers = read_with_http_info(npm_repository_href, opts)
390
+ def read(npm_npm_repository_href, opts = {})
391
+ data, _status_code, _headers = read_with_http_info(npm_npm_repository_href, opts)
392
392
  data
393
393
  end
394
394
 
395
395
  # Inspect a npm repository
396
396
  # A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
397
- # @param npm_repository_href [String]
397
+ # @param npm_npm_repository_href [String]
398
398
  # @param [Hash] opts the optional parameters
399
399
  # @option opts [String] :fields A list of fields to include in the response.
400
400
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
401
401
  # @return [Array<(NpmNpmRepositoryResponse, Integer, Hash)>] NpmNpmRepositoryResponse data, response status code and response headers
402
- def read_with_http_info(npm_repository_href, opts = {})
402
+ def read_with_http_info(npm_npm_repository_href, opts = {})
403
403
  if @api_client.config.debugging
404
404
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.read ...'
405
405
  end
406
- # verify the required parameter 'npm_repository_href' is set
407
- if @api_client.config.client_side_validation && npm_repository_href.nil?
408
- fail ArgumentError, "Missing the required parameter 'npm_repository_href' when calling RepositoriesNpmApi.read"
406
+ # verify the required parameter 'npm_npm_repository_href' is set
407
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
408
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.read"
409
409
  end
410
410
  # resource path
411
- local_var_path = '{npm_repository_href}'.sub('{' + 'npm_repository_href' + '}', CGI.escape(npm_repository_href.to_s).gsub('%2F', '/'))
411
+ local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
412
412
 
413
413
  # query parameters
414
414
  query_params = opts[:query_params] || {}
@@ -450,35 +450,35 @@ module PulpNpmClient
450
450
 
451
451
  # Sync from remote
452
452
  # Trigger an asynchronous task to sync content.
453
- # @param npm_repository_href [String]
453
+ # @param npm_npm_repository_href [String]
454
454
  # @param repository_sync_url [RepositorySyncURL]
455
455
  # @param [Hash] opts the optional parameters
456
456
  # @return [AsyncOperationResponse]
457
- def sync(npm_repository_href, repository_sync_url, opts = {})
458
- data, _status_code, _headers = sync_with_http_info(npm_repository_href, repository_sync_url, opts)
457
+ def sync(npm_npm_repository_href, repository_sync_url, opts = {})
458
+ data, _status_code, _headers = sync_with_http_info(npm_npm_repository_href, repository_sync_url, opts)
459
459
  data
460
460
  end
461
461
 
462
462
  # Sync from remote
463
463
  # Trigger an asynchronous task to sync content.
464
- # @param npm_repository_href [String]
464
+ # @param npm_npm_repository_href [String]
465
465
  # @param repository_sync_url [RepositorySyncURL]
466
466
  # @param [Hash] opts the optional parameters
467
467
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
468
- def sync_with_http_info(npm_repository_href, repository_sync_url, opts = {})
468
+ def sync_with_http_info(npm_npm_repository_href, repository_sync_url, opts = {})
469
469
  if @api_client.config.debugging
470
470
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.sync ...'
471
471
  end
472
- # verify the required parameter 'npm_repository_href' is set
473
- if @api_client.config.client_side_validation && npm_repository_href.nil?
474
- fail ArgumentError, "Missing the required parameter 'npm_repository_href' when calling RepositoriesNpmApi.sync"
472
+ # verify the required parameter 'npm_npm_repository_href' is set
473
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
474
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.sync"
475
475
  end
476
476
  # verify the required parameter 'repository_sync_url' is set
477
477
  if @api_client.config.client_side_validation && repository_sync_url.nil?
478
478
  fail ArgumentError, "Missing the required parameter 'repository_sync_url' when calling RepositoriesNpmApi.sync"
479
479
  end
480
480
  # resource path
481
- local_var_path = '{npm_repository_href}sync/'.sub('{' + 'npm_repository_href' + '}', CGI.escape(npm_repository_href.to_s).gsub('%2F', '/'))
481
+ local_var_path = '{npm_npm_repository_href}sync/'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
482
482
 
483
483
  # query parameters
484
484
  query_params = opts[:query_params] || {}
@@ -520,41 +520,41 @@ module PulpNpmClient
520
520
 
521
521
  # Update a npm repository
522
522
  # Trigger an asynchronous update task
523
- # @param npm_repository_href [String]
523
+ # @param npm_npm_repository_href [String]
524
524
  # @param npm_npm_repository [NpmNpmRepository]
525
525
  # @param [Hash] opts the optional parameters
526
526
  # @option opts [String] :name name
527
527
  # @option opts [String] :name__in name__in
528
528
  # @option opts [String] :ordering Which field to use when ordering the results.
529
529
  # @return [AsyncOperationResponse]
530
- def update(npm_repository_href, npm_npm_repository, opts = {})
531
- data, _status_code, _headers = update_with_http_info(npm_repository_href, npm_npm_repository, opts)
530
+ def update(npm_npm_repository_href, npm_npm_repository, opts = {})
531
+ data, _status_code, _headers = update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts)
532
532
  data
533
533
  end
534
534
 
535
535
  # Update a npm repository
536
536
  # Trigger an asynchronous update task
537
- # @param npm_repository_href [String]
537
+ # @param npm_npm_repository_href [String]
538
538
  # @param npm_npm_repository [NpmNpmRepository]
539
539
  # @param [Hash] opts the optional parameters
540
540
  # @option opts [String] :name name
541
541
  # @option opts [String] :name__in name__in
542
542
  # @option opts [String] :ordering Which field to use when ordering the results.
543
543
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
544
- def update_with_http_info(npm_repository_href, npm_npm_repository, opts = {})
544
+ def update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts = {})
545
545
  if @api_client.config.debugging
546
546
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.update ...'
547
547
  end
548
- # verify the required parameter 'npm_repository_href' is set
549
- if @api_client.config.client_side_validation && npm_repository_href.nil?
550
- fail ArgumentError, "Missing the required parameter 'npm_repository_href' when calling RepositoriesNpmApi.update"
548
+ # verify the required parameter 'npm_npm_repository_href' is set
549
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
550
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.update"
551
551
  end
552
552
  # verify the required parameter 'npm_npm_repository' is set
553
553
  if @api_client.config.client_side_validation && npm_npm_repository.nil?
554
554
  fail ArgumentError, "Missing the required parameter 'npm_npm_repository' when calling RepositoriesNpmApi.update"
555
555
  end
556
556
  # resource path
557
- local_var_path = '{npm_repository_href}'.sub('{' + 'npm_repository_href' + '}', CGI.escape(npm_repository_href.to_s).gsub('%2F', '/'))
557
+ local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
558
558
 
559
559
  # query parameters
560
560
  query_params = opts[:query_params] || {}
@@ -21,7 +21,7 @@ module PulpNpmClient
21
21
  end
22
22
  # Delete a repository version
23
23
  # Trigger an asynchronous task to delete a repositroy version.
24
- # @param npm_repository_version_href [String]
24
+ # @param npm_npm_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :content content
27
27
  # @option opts [String] :content__in content__in
@@ -39,14 +39,14 @@ module PulpNpmClient
39
39
  # @option opts [String] :pulp_created__lte pulp_created__lte
40
40
  # @option opts [String] :pulp_created__range pulp_created__range
41
41
  # @return [AsyncOperationResponse]
42
- def delete(npm_repository_version_href, opts = {})
43
- data, _status_code, _headers = delete_with_http_info(npm_repository_version_href, opts)
42
+ def delete(npm_npm_repository_version_href, opts = {})
43
+ data, _status_code, _headers = delete_with_http_info(npm_npm_repository_version_href, opts)
44
44
  data
45
45
  end
46
46
 
47
47
  # Delete a repository version
48
48
  # Trigger an asynchronous task to delete a repositroy version.
49
- # @param npm_repository_version_href [String]
49
+ # @param npm_npm_repository_version_href [String]
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [String] :content content
52
52
  # @option opts [String] :content__in content__in
@@ -64,16 +64,16 @@ module PulpNpmClient
64
64
  # @option opts [String] :pulp_created__lte pulp_created__lte
65
65
  # @option opts [String] :pulp_created__range pulp_created__range
66
66
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
67
- def delete_with_http_info(npm_repository_version_href, opts = {})
67
+ def delete_with_http_info(npm_npm_repository_version_href, opts = {})
68
68
  if @api_client.config.debugging
69
69
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.delete ...'
70
70
  end
71
- # verify the required parameter 'npm_repository_version_href' is set
72
- if @api_client.config.client_side_validation && npm_repository_version_href.nil?
73
- fail ArgumentError, "Missing the required parameter 'npm_repository_version_href' when calling RepositoriesNpmVersionsApi.delete"
71
+ # verify the required parameter 'npm_npm_repository_version_href' is set
72
+ if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
73
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.delete"
74
74
  end
75
75
  # resource path
76
- local_var_path = '{npm_repository_version_href}'.sub('{' + 'npm_repository_version_href' + '}', CGI.escape(npm_repository_version_href.to_s).gsub('%2F', '/'))
76
+ local_var_path = '{npm_npm_repository_version_href}'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
77
77
 
78
78
  # query parameters
79
79
  query_params = opts[:query_params] || {}
@@ -128,7 +128,7 @@ module PulpNpmClient
128
128
 
129
129
  # List repository versions
130
130
  # A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
131
- # @param npm_repository_version_href [String]
131
+ # @param npm_npm_repository_href [String]
132
132
  # @param [Hash] opts the optional parameters
133
133
  # @option opts [String] :content content
134
134
  # @option opts [String] :content__in content__in
@@ -150,14 +150,14 @@ module PulpNpmClient
150
150
  # @option opts [String] :fields A list of fields to include in the response.
151
151
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
152
152
  # @return [InlineResponse2004]
153
- def list(npm_repository_version_href, opts = {})
154
- data, _status_code, _headers = list_with_http_info(npm_repository_version_href, opts)
153
+ def list(npm_npm_repository_href, opts = {})
154
+ data, _status_code, _headers = list_with_http_info(npm_npm_repository_href, opts)
155
155
  data
156
156
  end
157
157
 
158
158
  # List repository versions
159
159
  # A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
160
- # @param npm_repository_version_href [String]
160
+ # @param npm_npm_repository_href [String]
161
161
  # @param [Hash] opts the optional parameters
162
162
  # @option opts [String] :content content
163
163
  # @option opts [String] :content__in content__in
@@ -179,16 +179,16 @@ module PulpNpmClient
179
179
  # @option opts [String] :fields A list of fields to include in the response.
180
180
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
181
181
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
182
- def list_with_http_info(npm_repository_version_href, opts = {})
182
+ def list_with_http_info(npm_npm_repository_href, opts = {})
183
183
  if @api_client.config.debugging
184
184
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.list ...'
185
185
  end
186
- # verify the required parameter 'npm_repository_version_href' is set
187
- if @api_client.config.client_side_validation && npm_repository_version_href.nil?
188
- fail ArgumentError, "Missing the required parameter 'npm_repository_version_href' when calling RepositoriesNpmVersionsApi.list"
186
+ # verify the required parameter 'npm_npm_repository_href' is set
187
+ if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
188
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmVersionsApi.list"
189
189
  end
190
190
  # resource path
191
- local_var_path = '{npm_repository_version_href}versions/'.sub('{' + 'npm_repository_version_href' + '}', CGI.escape(npm_repository_version_href.to_s).gsub('%2F', '/'))
191
+ local_var_path = '{npm_npm_repository_href}versions/'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
192
192
 
193
193
  # query parameters
194
194
  query_params = opts[:query_params] || {}
@@ -247,33 +247,33 @@ module PulpNpmClient
247
247
 
248
248
  # Inspect a repository version
249
249
  # A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
250
- # @param npm_repository_version_href [String]
250
+ # @param npm_npm_repository_version_href [String]
251
251
  # @param [Hash] opts the optional parameters
252
252
  # @option opts [String] :fields A list of fields to include in the response.
253
253
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
254
254
  # @return [RepositoryVersionResponse]
255
- def read(npm_repository_version_href, opts = {})
256
- data, _status_code, _headers = read_with_http_info(npm_repository_version_href, opts)
255
+ def read(npm_npm_repository_version_href, opts = {})
256
+ data, _status_code, _headers = read_with_http_info(npm_npm_repository_version_href, opts)
257
257
  data
258
258
  end
259
259
 
260
260
  # Inspect a repository version
261
261
  # A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
262
- # @param npm_repository_version_href [String]
262
+ # @param npm_npm_repository_version_href [String]
263
263
  # @param [Hash] opts the optional parameters
264
264
  # @option opts [String] :fields A list of fields to include in the response.
265
265
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
266
266
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
267
- def read_with_http_info(npm_repository_version_href, opts = {})
267
+ def read_with_http_info(npm_npm_repository_version_href, opts = {})
268
268
  if @api_client.config.debugging
269
269
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.read ...'
270
270
  end
271
- # verify the required parameter 'npm_repository_version_href' is set
272
- if @api_client.config.client_side_validation && npm_repository_version_href.nil?
273
- fail ArgumentError, "Missing the required parameter 'npm_repository_version_href' when calling RepositoriesNpmVersionsApi.read"
271
+ # verify the required parameter 'npm_npm_repository_version_href' is set
272
+ if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
273
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.read"
274
274
  end
275
275
  # resource path
276
- local_var_path = '{npm_repository_version_href}'.sub('{' + 'npm_repository_version_href' + '}', CGI.escape(npm_repository_version_href.to_s).gsub('%2F', '/'))
276
+ local_var_path = '{npm_npm_repository_version_href}'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
277
277
 
278
278
  # query parameters
279
279
  query_params = opts[:query_params] || {}
@@ -314,34 +314,34 @@ module PulpNpmClient
314
314
  end
315
315
 
316
316
  # Trigger an asynchronous task to repair a repositroy version.
317
- # @param npm_repository_version_href [String]
317
+ # @param npm_npm_repository_version_href [String]
318
318
  # @param repository_version [RepositoryVersion]
319
319
  # @param [Hash] opts the optional parameters
320
320
  # @return [AsyncOperationResponse]
321
- def repair(npm_repository_version_href, repository_version, opts = {})
322
- data, _status_code, _headers = repair_with_http_info(npm_repository_version_href, repository_version, opts)
321
+ def repair(npm_npm_repository_version_href, repository_version, opts = {})
322
+ data, _status_code, _headers = repair_with_http_info(npm_npm_repository_version_href, repository_version, opts)
323
323
  data
324
324
  end
325
325
 
326
326
  # Trigger an asynchronous task to repair a repositroy version.
327
- # @param npm_repository_version_href [String]
327
+ # @param npm_npm_repository_version_href [String]
328
328
  # @param repository_version [RepositoryVersion]
329
329
  # @param [Hash] opts the optional parameters
330
330
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
331
- def repair_with_http_info(npm_repository_version_href, repository_version, opts = {})
331
+ def repair_with_http_info(npm_npm_repository_version_href, repository_version, opts = {})
332
332
  if @api_client.config.debugging
333
333
  @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.repair ...'
334
334
  end
335
- # verify the required parameter 'npm_repository_version_href' is set
336
- if @api_client.config.client_side_validation && npm_repository_version_href.nil?
337
- fail ArgumentError, "Missing the required parameter 'npm_repository_version_href' when calling RepositoriesNpmVersionsApi.repair"
335
+ # verify the required parameter 'npm_npm_repository_version_href' is set
336
+ if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
337
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.repair"
338
338
  end
339
339
  # verify the required parameter 'repository_version' is set
340
340
  if @api_client.config.client_side_validation && repository_version.nil?
341
341
  fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesNpmVersionsApi.repair"
342
342
  end
343
343
  # resource path
344
- local_var_path = '{npm_repository_version_href}repair/'.sub('{' + 'npm_repository_version_href' + '}', CGI.escape(npm_repository_version_href.to_s).gsub('%2F', '/'))
344
+ local_var_path = '{npm_npm_repository_version_href}repair/'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
345
345
 
346
346
  # query parameters
347
347
  query_params = opts[:query_params] || {}