pulp_npm_client 0.1.0a1.dev01596158992 → 0.1.0a1.dev01596591099

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

@@ -5,13 +5,13 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
8
- [**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {npm_repository_href} | Delete a npm repository
8
+ [**delete**](RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
9
9
  [**list**](RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
10
- [**modify**](RepositoriesNpmApi.md#modify) | **POST** {npm_repository_href}modify/ | Modify Repository Content
11
- [**partial_update**](RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} | Update a npm repository
12
- [**read**](RepositoriesNpmApi.md#read) | **GET** {npm_repository_href} | Inspect a npm repository
13
- [**sync**](RepositoriesNpmApi.md#sync) | **POST** {npm_repository_href}sync/ | Sync from remote
14
- [**update**](RepositoriesNpmApi.md#update) | **PUT** {npm_repository_href} | Update a npm repository
10
+ [**modify**](RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
11
+ [**partial_update**](RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_npm_repository_href} | Update a npm repository
12
+ [**read**](RepositoriesNpmApi.md#read) | **GET** {npm_npm_repository_href} | Inspect a npm repository
13
+ [**sync**](RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
14
+ [**update**](RepositoriesNpmApi.md#update) | **PUT** {npm_npm_repository_href} | Update a npm repository
15
15
 
16
16
 
17
17
 
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
70
70
 
71
71
  ## delete
72
72
 
73
- > AsyncOperationResponse delete(npm_repository_href, opts)
73
+ > AsyncOperationResponse delete(npm_npm_repository_href, opts)
74
74
 
75
75
  Delete a npm repository
76
76
 
@@ -89,7 +89,7 @@ PulpNpmClient.configure do |config|
89
89
  end
90
90
 
91
91
  api_instance = PulpNpmClient::RepositoriesNpmApi.new
92
- npm_repository_href = 'npm_repository_href_example' # String |
92
+ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
93
93
  opts = {
94
94
  name: 'name_example', # String | name
95
95
  name__in: 'name__in_example', # String | name__in
@@ -98,7 +98,7 @@ opts = {
98
98
 
99
99
  begin
100
100
  #Delete a npm repository
101
- result = api_instance.delete(npm_repository_href, opts)
101
+ result = api_instance.delete(npm_npm_repository_href, opts)
102
102
  p result
103
103
  rescue PulpNpmClient::ApiError => e
104
104
  puts "Exception when calling RepositoriesNpmApi->delete: #{e}"
@@ -110,7 +110,7 @@ end
110
110
 
111
111
  Name | Type | Description | Notes
112
112
  ------------- | ------------- | ------------- | -------------
113
- **npm_repository_href** | **String**| |
113
+ **npm_npm_repository_href** | **String**| |
114
114
  **name** | **String**| name | [optional]
115
115
  **name__in** | **String**| name__in | [optional]
116
116
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -198,7 +198,7 @@ Name | Type | Description | Notes
198
198
 
199
199
  ## modify
200
200
 
201
- > AsyncOperationResponse modify(npm_repository_href, repository_add_remove_content)
201
+ > AsyncOperationResponse modify(npm_npm_repository_href, repository_add_remove_content)
202
202
 
203
203
  Modify Repository Content
204
204
 
@@ -217,12 +217,12 @@ PulpNpmClient.configure do |config|
217
217
  end
218
218
 
219
219
  api_instance = PulpNpmClient::RepositoriesNpmApi.new
220
- npm_repository_href = 'npm_repository_href_example' # String |
220
+ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
221
221
  repository_add_remove_content = PulpNpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
222
222
 
223
223
  begin
224
224
  #Modify Repository Content
225
- result = api_instance.modify(npm_repository_href, repository_add_remove_content)
225
+ result = api_instance.modify(npm_npm_repository_href, repository_add_remove_content)
226
226
  p result
227
227
  rescue PulpNpmClient::ApiError => e
228
228
  puts "Exception when calling RepositoriesNpmApi->modify: #{e}"
@@ -234,7 +234,7 @@ end
234
234
 
235
235
  Name | Type | Description | Notes
236
236
  ------------- | ------------- | ------------- | -------------
237
- **npm_repository_href** | **String**| |
237
+ **npm_npm_repository_href** | **String**| |
238
238
  **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
239
239
 
240
240
  ### Return type
@@ -253,7 +253,7 @@ Name | Type | Description | Notes
253
253
 
254
254
  ## partial_update
255
255
 
256
- > AsyncOperationResponse partial_update(npm_repository_href, patchednpm_npm_repository, opts)
256
+ > AsyncOperationResponse partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts)
257
257
 
258
258
  Update a npm repository
259
259
 
@@ -272,7 +272,7 @@ PulpNpmClient.configure do |config|
272
272
  end
273
273
 
274
274
  api_instance = PulpNpmClient::RepositoriesNpmApi.new
275
- npm_repository_href = 'npm_repository_href_example' # String |
275
+ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
276
276
  patchednpm_npm_repository = PulpNpmClient::PatchednpmNpmRepository.new # PatchednpmNpmRepository |
277
277
  opts = {
278
278
  name: 'name_example', # String | name
@@ -282,7 +282,7 @@ opts = {
282
282
 
283
283
  begin
284
284
  #Update a npm repository
285
- result = api_instance.partial_update(npm_repository_href, patchednpm_npm_repository, opts)
285
+ result = api_instance.partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts)
286
286
  p result
287
287
  rescue PulpNpmClient::ApiError => e
288
288
  puts "Exception when calling RepositoriesNpmApi->partial_update: #{e}"
@@ -294,7 +294,7 @@ end
294
294
 
295
295
  Name | Type | Description | Notes
296
296
  ------------- | ------------- | ------------- | -------------
297
- **npm_repository_href** | **String**| |
297
+ **npm_npm_repository_href** | **String**| |
298
298
  **patchednpm_npm_repository** | [**PatchednpmNpmRepository**](PatchednpmNpmRepository.md)| |
299
299
  **name** | **String**| name | [optional]
300
300
  **name__in** | **String**| name__in | [optional]
@@ -316,7 +316,7 @@ Name | Type | Description | Notes
316
316
 
317
317
  ## read
318
318
 
319
- > NpmNpmRepositoryResponse read(npm_repository_href, opts)
319
+ > NpmNpmRepositoryResponse read(npm_npm_repository_href, opts)
320
320
 
321
321
  Inspect a npm repository
322
322
 
@@ -335,7 +335,7 @@ PulpNpmClient.configure do |config|
335
335
  end
336
336
 
337
337
  api_instance = PulpNpmClient::RepositoriesNpmApi.new
338
- npm_repository_href = 'npm_repository_href_example' # String |
338
+ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
339
339
  opts = {
340
340
  fields: 'fields_example', # String | A list of fields to include in the response.
341
341
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -343,7 +343,7 @@ opts = {
343
343
 
344
344
  begin
345
345
  #Inspect a npm repository
346
- result = api_instance.read(npm_repository_href, opts)
346
+ result = api_instance.read(npm_npm_repository_href, opts)
347
347
  p result
348
348
  rescue PulpNpmClient::ApiError => e
349
349
  puts "Exception when calling RepositoriesNpmApi->read: #{e}"
@@ -355,7 +355,7 @@ end
355
355
 
356
356
  Name | Type | Description | Notes
357
357
  ------------- | ------------- | ------------- | -------------
358
- **npm_repository_href** | **String**| |
358
+ **npm_npm_repository_href** | **String**| |
359
359
  **fields** | **String**| A list of fields to include in the response. | [optional]
360
360
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
361
361
 
@@ -375,7 +375,7 @@ Name | Type | Description | Notes
375
375
 
376
376
  ## sync
377
377
 
378
- > AsyncOperationResponse sync(npm_repository_href, repository_sync_url)
378
+ > AsyncOperationResponse sync(npm_npm_repository_href, repository_sync_url)
379
379
 
380
380
  Sync from remote
381
381
 
@@ -394,12 +394,12 @@ PulpNpmClient.configure do |config|
394
394
  end
395
395
 
396
396
  api_instance = PulpNpmClient::RepositoriesNpmApi.new
397
- npm_repository_href = 'npm_repository_href_example' # String |
397
+ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
398
398
  repository_sync_url = PulpNpmClient::RepositorySyncURL.new # RepositorySyncURL |
399
399
 
400
400
  begin
401
401
  #Sync from remote
402
- result = api_instance.sync(npm_repository_href, repository_sync_url)
402
+ result = api_instance.sync(npm_npm_repository_href, repository_sync_url)
403
403
  p result
404
404
  rescue PulpNpmClient::ApiError => e
405
405
  puts "Exception when calling RepositoriesNpmApi->sync: #{e}"
@@ -411,7 +411,7 @@ end
411
411
 
412
412
  Name | Type | Description | Notes
413
413
  ------------- | ------------- | ------------- | -------------
414
- **npm_repository_href** | **String**| |
414
+ **npm_npm_repository_href** | **String**| |
415
415
  **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
416
416
 
417
417
  ### Return type
@@ -430,7 +430,7 @@ Name | Type | Description | Notes
430
430
 
431
431
  ## update
432
432
 
433
- > AsyncOperationResponse update(npm_repository_href, npm_npm_repository, opts)
433
+ > AsyncOperationResponse update(npm_npm_repository_href, npm_npm_repository, opts)
434
434
 
435
435
  Update a npm repository
436
436
 
@@ -449,7 +449,7 @@ PulpNpmClient.configure do |config|
449
449
  end
450
450
 
451
451
  api_instance = PulpNpmClient::RepositoriesNpmApi.new
452
- npm_repository_href = 'npm_repository_href_example' # String |
452
+ npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
453
453
  npm_npm_repository = PulpNpmClient::NpmNpmRepository.new # NpmNpmRepository |
454
454
  opts = {
455
455
  name: 'name_example', # String | name
@@ -459,7 +459,7 @@ opts = {
459
459
 
460
460
  begin
461
461
  #Update a npm repository
462
- result = api_instance.update(npm_repository_href, npm_npm_repository, opts)
462
+ result = api_instance.update(npm_npm_repository_href, npm_npm_repository, opts)
463
463
  p result
464
464
  rescue PulpNpmClient::ApiError => e
465
465
  puts "Exception when calling RepositoriesNpmApi->update: #{e}"
@@ -471,7 +471,7 @@ end
471
471
 
472
472
  Name | Type | Description | Notes
473
473
  ------------- | ------------- | ------------- | -------------
474
- **npm_repository_href** | **String**| |
474
+ **npm_npm_repository_href** | **String**| |
475
475
  **npm_npm_repository** | [**NpmNpmRepository**](NpmNpmRepository.md)| |
476
476
  **name** | **String**| name | [optional]
477
477
  **name__in** | **String**| name__in | [optional]
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete**](RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_repository_version_href} | Delete a repository version
8
- [**list**](RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_version_href}versions/ | List repository versions
9
- [**read**](RepositoriesNpmVersionsApi.md#read) | **GET** {npm_repository_version_href} | Inspect a repository version
10
- [**repair**](RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_repository_version_href}repair/ |
7
+ [**delete**](RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_npm_repository_version_href} | Delete a repository version
8
+ [**list**](RepositoriesNpmVersionsApi.md#list) | **GET** {npm_npm_repository_href}versions/ | List repository versions
9
+ [**read**](RepositoriesNpmVersionsApi.md#read) | **GET** {npm_npm_repository_version_href} | Inspect a repository version
10
+ [**repair**](RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_npm_repository_version_href}repair/ |
11
11
 
12
12
 
13
13
 
14
14
  ## delete
15
15
 
16
- > AsyncOperationResponse delete(npm_repository_version_href, opts)
16
+ > AsyncOperationResponse delete(npm_npm_repository_version_href, opts)
17
17
 
18
18
  Delete a repository version
19
19
 
@@ -32,7 +32,7 @@ PulpNpmClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
35
- npm_repository_version_href = 'npm_repository_version_href_example' # String |
35
+ npm_npm_repository_version_href = 'npm_npm_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(npm_repository_version_href, opts)
56
+ result = api_instance.delete(npm_npm_repository_version_href, opts)
57
57
  p result
58
58
  rescue PulpNpmClient::ApiError => e
59
59
  puts "Exception when calling RepositoriesNpmVersionsApi->delete: #{e}"
@@ -65,7 +65,7 @@ end
65
65
 
66
66
  Name | Type | Description | Notes
67
67
  ------------- | ------------- | ------------- | -------------
68
- **npm_repository_version_href** | **String**| |
68
+ **npm_npm_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(npm_repository_version_href, opts)
101
+ > InlineResponse2004 list(npm_npm_repository_href, opts)
102
102
 
103
103
  List repository versions
104
104
 
@@ -117,7 +117,7 @@ PulpNpmClient.configure do |config|
117
117
  end
118
118
 
119
119
  api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
120
- npm_repository_version_href = 'npm_repository_version_href_example' # String |
120
+ npm_npm_repository_href = 'npm_npm_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(npm_repository_version_href, opts)
145
+ result = api_instance.list(npm_npm_repository_href, opts)
146
146
  p result
147
147
  rescue PulpNpmClient::ApiError => e
148
148
  puts "Exception when calling RepositoriesNpmVersionsApi->list: #{e}"
@@ -154,7 +154,7 @@ end
154
154
 
155
155
  Name | Type | Description | Notes
156
156
  ------------- | ------------- | ------------- | -------------
157
- **npm_repository_version_href** | **String**| |
157
+ **npm_npm_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(npm_repository_version_href, opts)
194
+ > RepositoryVersionResponse read(npm_npm_repository_version_href, opts)
195
195
 
196
196
  Inspect a repository version
197
197
 
@@ -210,7 +210,7 @@ PulpNpmClient.configure do |config|
210
210
  end
211
211
 
212
212
  api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
213
- npm_repository_version_href = 'npm_repository_version_href_example' # String |
213
+ npm_npm_repository_version_href = 'npm_npm_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(npm_repository_version_href, opts)
221
+ result = api_instance.read(npm_npm_repository_version_href, opts)
222
222
  p result
223
223
  rescue PulpNpmClient::ApiError => e
224
224
  puts "Exception when calling RepositoriesNpmVersionsApi->read: #{e}"
@@ -230,7 +230,7 @@ end
230
230
 
231
231
  Name | Type | Description | Notes
232
232
  ------------- | ------------- | ------------- | -------------
233
- **npm_repository_version_href** | **String**| |
233
+ **npm_npm_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(npm_repository_version_href, repository_version)
253
+ > AsyncOperationResponse repair(npm_npm_repository_version_href, repository_version)
254
254
 
255
255
 
256
256
 
@@ -269,11 +269,11 @@ PulpNpmClient.configure do |config|
269
269
  end
270
270
 
271
271
  api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
272
- npm_repository_version_href = 'npm_repository_version_href_example' # String |
272
+ npm_npm_repository_version_href = 'npm_npm_repository_version_href_example' # String |
273
273
  repository_version = PulpNpmClient::RepositoryVersion.new # RepositoryVersion |
274
274
 
275
275
  begin
276
- result = api_instance.repair(npm_repository_version_href, repository_version)
276
+ result = api_instance.repair(npm_npm_repository_version_href, repository_version)
277
277
  p result
278
278
  rescue PulpNpmClient::ApiError => e
279
279
  puts "Exception when calling RepositoriesNpmVersionsApi->repair: #{e}"
@@ -285,7 +285,7 @@ end
285
285
 
286
286
  Name | Type | Description | Notes
287
287
  ------------- | ------------- | ------------- | -------------
288
- **npm_repository_version_href** | **String**| |
288
+ **npm_npm_repository_version_href** | **String**| |
289
289
  **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
290
290
 
291
291
  ### Return type
@@ -45,6 +45,7 @@ require 'pulp_npm_client/models/repository_version_response'
45
45
  # APIs
46
46
  require 'pulp_npm_client/api/content_packages_api'
47
47
  require 'pulp_npm_client/api/distributions_npm_api'
48
+ require 'pulp_npm_client/api/pulp_npm_packages_api'
48
49
  require 'pulp_npm_client/api/remotes_npm_api'
49
50
  require 'pulp_npm_client/api/repositories_npm_api'
50
51
  require 'pulp_npm_client/api/repositories_npm_versions_api'
@@ -195,33 +195,33 @@ module PulpNpmClient
195
195
 
196
196
  # Inspect a package
197
197
  # A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
198
- # @param package_href [String]
198
+ # @param npm_package_href [String]
199
199
  # @param [Hash] opts the optional parameters
200
200
  # @option opts [String] :fields A list of fields to include in the response.
201
201
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
202
202
  # @return [NpmPackageResponse]
203
- def read(package_href, opts = {})
204
- data, _status_code, _headers = read_with_http_info(package_href, opts)
203
+ def read(npm_package_href, opts = {})
204
+ data, _status_code, _headers = read_with_http_info(npm_package_href, opts)
205
205
  data
206
206
  end
207
207
 
208
208
  # Inspect a package
209
209
  # A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
210
- # @param package_href [String]
210
+ # @param npm_package_href [String]
211
211
  # @param [Hash] opts the optional parameters
212
212
  # @option opts [String] :fields A list of fields to include in the response.
213
213
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
214
214
  # @return [Array<(NpmPackageResponse, Integer, Hash)>] NpmPackageResponse data, response status code and response headers
215
- def read_with_http_info(package_href, opts = {})
215
+ def read_with_http_info(npm_package_href, opts = {})
216
216
  if @api_client.config.debugging
217
217
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
218
218
  end
219
- # verify the required parameter 'package_href' is set
220
- if @api_client.config.client_side_validation && package_href.nil?
221
- fail ArgumentError, "Missing the required parameter 'package_href' when calling ContentPackagesApi.read"
219
+ # verify the required parameter 'npm_package_href' is set
220
+ if @api_client.config.client_side_validation && npm_package_href.nil?
221
+ fail ArgumentError, "Missing the required parameter 'npm_package_href' when calling ContentPackagesApi.read"
222
222
  end
223
223
  # resource path
224
- local_var_path = '{package_href}'.sub('{' + 'package_href' + '}', CGI.escape(package_href.to_s).gsub('%2F', '/'))
224
+ local_var_path = '{npm_package_href}'.sub('{' + 'npm_package_href' + '}', CGI.escape(npm_package_href.to_s).gsub('%2F', '/'))
225
225
 
226
226
  # query parameters
227
227
  query_params = opts[:query_params] || {}
@@ -85,7 +85,7 @@ module PulpNpmClient
85
85
 
86
86
  # Delete a npm distribution
87
87
  # Trigger an asynchronous delete task
88
- # @param npm_distribution_href [String]
88
+ # @param npm_npm_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 PulpNpmClient
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(npm_distribution_href, opts = {})
99
- data, _status_code, _headers = delete_with_http_info(npm_distribution_href, opts)
98
+ def delete(npm_npm_distribution_href, opts = {})
99
+ data, _status_code, _headers = delete_with_http_info(npm_npm_distribution_href, opts)
100
100
  data
101
101
  end
102
102
 
103
103
  # Delete a npm distribution
104
104
  # Trigger an asynchronous delete task
105
- # @param npm_distribution_href [String]
105
+ # @param npm_npm_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 PulpNpmClient
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(npm_distribution_href, opts = {})
115
+ def delete_with_http_info(npm_npm_distribution_href, opts = {})
116
116
  if @api_client.config.debugging
117
117
  @api_client.config.logger.debug 'Calling API: DistributionsNpmApi.delete ...'
118
118
  end
119
- # verify the required parameter 'npm_distribution_href' is set
120
- if @api_client.config.client_side_validation && npm_distribution_href.nil?
121
- fail ArgumentError, "Missing the required parameter 'npm_distribution_href' when calling DistributionsNpmApi.delete"
119
+ # verify the required parameter 'npm_npm_distribution_href' is set
120
+ if @api_client.config.client_side_validation && npm_npm_distribution_href.nil?
121
+ fail ArgumentError, "Missing the required parameter 'npm_npm_distribution_href' when calling DistributionsNpmApi.delete"
122
122
  end
123
123
  # resource path
124
- local_var_path = '{npm_distribution_href}'.sub('{' + 'npm_distribution_href' + '}', CGI.escape(npm_distribution_href.to_s).gsub('%2F', '/'))
124
+ local_var_path = '{npm_npm_distribution_href}'.sub('{' + 'npm_npm_distribution_href' + '}', CGI.escape(npm_npm_distribution_href.to_s).gsub('%2F', '/'))
125
125
 
126
126
  # query parameters
127
127
  query_params = opts[:query_params] || {}
@@ -257,7 +257,7 @@ module PulpNpmClient
257
257
 
258
258
  # Update a npm distribution
259
259
  # Trigger an asynchronous partial update task
260
- # @param npm_distribution_href [String]
260
+ # @param npm_npm_distribution_href [String]
261
261
  # @param patchednpm_npm_distribution [PatchednpmNpmDistribution]
262
262
  # @param [Hash] opts the optional parameters
263
263
  # @option opts [String] :base_path base_path
@@ -268,14 +268,14 @@ module PulpNpmClient
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(npm_distribution_href, patchednpm_npm_distribution, opts = {})
272
- data, _status_code, _headers = partial_update_with_http_info(npm_distribution_href, patchednpm_npm_distribution, opts)
271
+ def partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts = {})
272
+ data, _status_code, _headers = partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
273
273
  data
274
274
  end
275
275
 
276
276
  # Update a npm distribution
277
277
  # Trigger an asynchronous partial update task
278
- # @param npm_distribution_href [String]
278
+ # @param npm_npm_distribution_href [String]
279
279
  # @param patchednpm_npm_distribution [PatchednpmNpmDistribution]
280
280
  # @param [Hash] opts the optional parameters
281
281
  # @option opts [String] :base_path base_path
@@ -286,20 +286,20 @@ module PulpNpmClient
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(npm_distribution_href, patchednpm_npm_distribution, opts = {})
289
+ def partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution, opts = {})
290
290
  if @api_client.config.debugging
291
291
  @api_client.config.logger.debug 'Calling API: DistributionsNpmApi.partial_update ...'
292
292
  end
293
- # verify the required parameter 'npm_distribution_href' is set
294
- if @api_client.config.client_side_validation && npm_distribution_href.nil?
295
- fail ArgumentError, "Missing the required parameter 'npm_distribution_href' when calling DistributionsNpmApi.partial_update"
293
+ # verify the required parameter 'npm_npm_distribution_href' is set
294
+ if @api_client.config.client_side_validation && npm_npm_distribution_href.nil?
295
+ fail ArgumentError, "Missing the required parameter 'npm_npm_distribution_href' when calling DistributionsNpmApi.partial_update"
296
296
  end
297
297
  # verify the required parameter 'patchednpm_npm_distribution' is set
298
298
  if @api_client.config.client_side_validation && patchednpm_npm_distribution.nil?
299
299
  fail ArgumentError, "Missing the required parameter 'patchednpm_npm_distribution' when calling DistributionsNpmApi.partial_update"
300
300
  end
301
301
  # resource path
302
- local_var_path = '{npm_distribution_href}'.sub('{' + 'npm_distribution_href' + '}', CGI.escape(npm_distribution_href.to_s).gsub('%2F', '/'))
302
+ local_var_path = '{npm_npm_distribution_href}'.sub('{' + 'npm_npm_distribution_href' + '}', CGI.escape(npm_npm_distribution_href.to_s).gsub('%2F', '/'))
303
303
 
304
304
  # query parameters
305
305
  query_params = opts[:query_params] || {}
@@ -348,33 +348,33 @@ module PulpNpmClient
348
348
 
349
349
  # Inspect a npm distribution
350
350
  # ViewSet for NPM Distributions.
351
- # @param npm_distribution_href [String]
351
+ # @param npm_npm_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 [NpmNpmDistributionResponse]
356
- def read(npm_distribution_href, opts = {})
357
- data, _status_code, _headers = read_with_http_info(npm_distribution_href, opts)
356
+ def read(npm_npm_distribution_href, opts = {})
357
+ data, _status_code, _headers = read_with_http_info(npm_npm_distribution_href, opts)
358
358
  data
359
359
  end
360
360
 
361
361
  # Inspect a npm distribution
362
362
  # ViewSet for NPM Distributions.
363
- # @param npm_distribution_href [String]
363
+ # @param npm_npm_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<(NpmNpmDistributionResponse, Integer, Hash)>] NpmNpmDistributionResponse data, response status code and response headers
368
- def read_with_http_info(npm_distribution_href, opts = {})
368
+ def read_with_http_info(npm_npm_distribution_href, opts = {})
369
369
  if @api_client.config.debugging
370
370
  @api_client.config.logger.debug 'Calling API: DistributionsNpmApi.read ...'
371
371
  end
372
- # verify the required parameter 'npm_distribution_href' is set
373
- if @api_client.config.client_side_validation && npm_distribution_href.nil?
374
- fail ArgumentError, "Missing the required parameter 'npm_distribution_href' when calling DistributionsNpmApi.read"
372
+ # verify the required parameter 'npm_npm_distribution_href' is set
373
+ if @api_client.config.client_side_validation && npm_npm_distribution_href.nil?
374
+ fail ArgumentError, "Missing the required parameter 'npm_npm_distribution_href' when calling DistributionsNpmApi.read"
375
375
  end
376
376
  # resource path
377
- local_var_path = '{npm_distribution_href}'.sub('{' + 'npm_distribution_href' + '}', CGI.escape(npm_distribution_href.to_s).gsub('%2F', '/'))
377
+ local_var_path = '{npm_npm_distribution_href}'.sub('{' + 'npm_npm_distribution_href' + '}', CGI.escape(npm_npm_distribution_href.to_s).gsub('%2F', '/'))
378
378
 
379
379
  # query parameters
380
380
  query_params = opts[:query_params] || {}
@@ -416,7 +416,7 @@ module PulpNpmClient
416
416
 
417
417
  # Update a npm distribution
418
418
  # Trigger an asynchronous update task
419
- # @param npm_distribution_href [String]
419
+ # @param npm_npm_distribution_href [String]
420
420
  # @param npm_npm_distribution [NpmNpmDistribution]
421
421
  # @param [Hash] opts the optional parameters
422
422
  # @option opts [String] :base_path base_path
@@ -427,14 +427,14 @@ module PulpNpmClient
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(npm_distribution_href, npm_npm_distribution, opts = {})
431
- data, _status_code, _headers = update_with_http_info(npm_distribution_href, npm_npm_distribution, opts)
430
+ def update(npm_npm_distribution_href, npm_npm_distribution, opts = {})
431
+ data, _status_code, _headers = update_with_http_info(npm_npm_distribution_href, npm_npm_distribution, opts)
432
432
  data
433
433
  end
434
434
 
435
435
  # Update a npm distribution
436
436
  # Trigger an asynchronous update task
437
- # @param npm_distribution_href [String]
437
+ # @param npm_npm_distribution_href [String]
438
438
  # @param npm_npm_distribution [NpmNpmDistribution]
439
439
  # @param [Hash] opts the optional parameters
440
440
  # @option opts [String] :base_path base_path
@@ -445,20 +445,20 @@ module PulpNpmClient
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(npm_distribution_href, npm_npm_distribution, opts = {})
448
+ def update_with_http_info(npm_npm_distribution_href, npm_npm_distribution, opts = {})
449
449
  if @api_client.config.debugging
450
450
  @api_client.config.logger.debug 'Calling API: DistributionsNpmApi.update ...'
451
451
  end
452
- # verify the required parameter 'npm_distribution_href' is set
453
- if @api_client.config.client_side_validation && npm_distribution_href.nil?
454
- fail ArgumentError, "Missing the required parameter 'npm_distribution_href' when calling DistributionsNpmApi.update"
452
+ # verify the required parameter 'npm_npm_distribution_href' is set
453
+ if @api_client.config.client_side_validation && npm_npm_distribution_href.nil?
454
+ fail ArgumentError, "Missing the required parameter 'npm_npm_distribution_href' when calling DistributionsNpmApi.update"
455
455
  end
456
456
  # verify the required parameter 'npm_npm_distribution' is set
457
457
  if @api_client.config.client_side_validation && npm_npm_distribution.nil?
458
458
  fail ArgumentError, "Missing the required parameter 'npm_npm_distribution' when calling DistributionsNpmApi.update"
459
459
  end
460
460
  # resource path
461
- local_var_path = '{npm_distribution_href}'.sub('{' + 'npm_distribution_href' + '}', CGI.escape(npm_distribution_href.to_s).gsub('%2F', '/'))
461
+ local_var_path = '{npm_npm_distribution_href}'.sub('{' + 'npm_npm_distribution_href' + '}', CGI.escape(npm_npm_distribution_href.to_s).gsub('%2F', '/'))
462
462
 
463
463
  # query parameters
464
464
  query_params = opts[:query_params] || {}