pulp_npm_client 0.1.0a1.dev01599615493 → 0.1.0a1.dev01600047508

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.

@@ -24,8 +24,8 @@ module PulpNpmClient
24
24
  # @param npm_npm_remote [NpmNpmRemote]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NpmNpmRemoteResponse]
27
- def create(npm_npm_remote, opts = {})
28
- data, _status_code, _headers = create_with_http_info(npm_npm_remote, opts)
27
+ def create3(npm_npm_remote, opts = {})
28
+ data, _status_code, _headers = create3_with_http_info(npm_npm_remote, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpNpmClient
34
34
  # @param npm_npm_remote [NpmNpmRemote]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(NpmNpmRemoteResponse, Integer, Hash)>] NpmNpmRemoteResponse data, response status code and response headers
37
- def create_with_http_info(npm_npm_remote, opts = {})
37
+ def create3_with_http_info(npm_npm_remote, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RemotesNpmApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: RemotesNpmApi.create3 ...'
40
40
  end
41
41
  # verify the required parameter 'npm_npm_remote' is set
42
42
  if @api_client.config.client_side_validation && npm_npm_remote.nil?
43
- fail ArgumentError, "Missing the required parameter 'npm_npm_remote' when calling RemotesNpmApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'npm_npm_remote' when calling RemotesNpmApi.create3"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/remotes/npm/npm/'
@@ -78,7 +78,7 @@ module PulpNpmClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: RemotesNpmApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RemotesNpmApi#create3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -87,18 +87,9 @@ module PulpNpmClient
87
87
  # Trigger an asynchronous delete task
88
88
  # @param npm_npm_remote_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
- # @option opts [String] :name name
91
- # @option opts [String] :name__in name__in
92
- # @option opts [String] :ordering Which field to use when ordering the results.
93
- # @option opts [String] :pulp_last_updated pulp_last_updated
94
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
95
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
96
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
97
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
98
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
99
90
  # @return [AsyncOperationResponse]
100
- def delete(npm_npm_remote_href, opts = {})
101
- data, _status_code, _headers = delete_with_http_info(npm_npm_remote_href, opts)
91
+ def delete2(npm_npm_remote_href, opts = {})
92
+ data, _status_code, _headers = delete2_with_http_info(npm_npm_remote_href, opts)
102
93
  data
103
94
  end
104
95
 
@@ -106,38 +97,20 @@ module PulpNpmClient
106
97
  # Trigger an asynchronous delete task
107
98
  # @param npm_npm_remote_href [String]
108
99
  # @param [Hash] opts the optional parameters
109
- # @option opts [String] :name name
110
- # @option opts [String] :name__in name__in
111
- # @option opts [String] :ordering Which field to use when ordering the results.
112
- # @option opts [String] :pulp_last_updated pulp_last_updated
113
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
114
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
115
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
116
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
117
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
118
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
119
- def delete_with_http_info(npm_npm_remote_href, opts = {})
101
+ def delete2_with_http_info(npm_npm_remote_href, opts = {})
120
102
  if @api_client.config.debugging
121
- @api_client.config.logger.debug 'Calling API: RemotesNpmApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: RemotesNpmApi.delete2 ...'
122
104
  end
123
105
  # verify the required parameter 'npm_npm_remote_href' is set
124
106
  if @api_client.config.client_side_validation && npm_npm_remote_href.nil?
125
- fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.delete"
107
+ fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.delete2"
126
108
  end
127
109
  # resource path
128
110
  local_var_path = '{npm_npm_remote_href}'.sub('{' + 'npm_npm_remote_href' + '}', CGI.escape(npm_npm_remote_href.to_s).gsub('%2F', '/'))
129
111
 
130
112
  # query parameters
131
113
  query_params = opts[:query_params] || {}
132
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
133
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
134
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
135
- query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
136
- query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
137
- query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
138
- query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
139
- query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
140
- query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
141
114
 
142
115
  # header parameters
143
116
  header_params = opts[:header_params] || {}
@@ -167,7 +140,7 @@ module PulpNpmClient
167
140
 
168
141
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
169
142
  if @api_client.config.debugging
170
- @api_client.config.logger.debug "API called: RemotesNpmApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: RemotesNpmApi#delete2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
171
144
  end
172
145
  return data, status_code, headers
173
146
  end
@@ -189,8 +162,8 @@ module PulpNpmClient
189
162
  # @option opts [String] :fields A list of fields to include in the response.
190
163
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
191
164
  # @return [InlineResponse2002]
192
- def list(opts = {})
193
- data, _status_code, _headers = list_with_http_info(opts)
165
+ def list3(opts = {})
166
+ data, _status_code, _headers = list3_with_http_info(opts)
194
167
  data
195
168
  end
196
169
 
@@ -211,9 +184,9 @@ module PulpNpmClient
211
184
  # @option opts [String] :fields A list of fields to include in the response.
212
185
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
213
186
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
214
- def list_with_http_info(opts = {})
187
+ def list3_with_http_info(opts = {})
215
188
  if @api_client.config.debugging
216
- @api_client.config.logger.debug 'Calling API: RemotesNpmApi.list ...'
189
+ @api_client.config.logger.debug 'Calling API: RemotesNpmApi.list3 ...'
217
190
  end
218
191
  # resource path
219
192
  local_var_path = '/pulp/api/v3/remotes/npm/npm/'
@@ -262,7 +235,7 @@ module PulpNpmClient
262
235
 
263
236
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
264
237
  if @api_client.config.debugging
265
- @api_client.config.logger.debug "API called: RemotesNpmApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
238
+ @api_client.config.logger.debug "API called: RemotesNpmApi#list3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
266
239
  end
267
240
  return data, status_code, headers
268
241
  end
@@ -272,18 +245,9 @@ module PulpNpmClient
272
245
  # @param npm_npm_remote_href [String]
273
246
  # @param patchednpm_npm_remote [PatchednpmNpmRemote]
274
247
  # @param [Hash] opts the optional parameters
275
- # @option opts [String] :name name
276
- # @option opts [String] :name__in name__in
277
- # @option opts [String] :ordering Which field to use when ordering the results.
278
- # @option opts [String] :pulp_last_updated pulp_last_updated
279
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
280
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
281
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
282
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
283
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
284
248
  # @return [AsyncOperationResponse]
285
- def partial_update(npm_npm_remote_href, patchednpm_npm_remote, opts = {})
286
- data, _status_code, _headers = partial_update_with_http_info(npm_npm_remote_href, patchednpm_npm_remote, opts)
249
+ def partial_update2(npm_npm_remote_href, patchednpm_npm_remote, opts = {})
250
+ data, _status_code, _headers = partial_update2_with_http_info(npm_npm_remote_href, patchednpm_npm_remote, opts)
287
251
  data
288
252
  end
289
253
 
@@ -292,42 +256,24 @@ module PulpNpmClient
292
256
  # @param npm_npm_remote_href [String]
293
257
  # @param patchednpm_npm_remote [PatchednpmNpmRemote]
294
258
  # @param [Hash] opts the optional parameters
295
- # @option opts [String] :name name
296
- # @option opts [String] :name__in name__in
297
- # @option opts [String] :ordering Which field to use when ordering the results.
298
- # @option opts [String] :pulp_last_updated pulp_last_updated
299
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
300
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
301
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
302
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
303
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
304
259
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
- def partial_update_with_http_info(npm_npm_remote_href, patchednpm_npm_remote, opts = {})
260
+ def partial_update2_with_http_info(npm_npm_remote_href, patchednpm_npm_remote, opts = {})
306
261
  if @api_client.config.debugging
307
- @api_client.config.logger.debug 'Calling API: RemotesNpmApi.partial_update ...'
262
+ @api_client.config.logger.debug 'Calling API: RemotesNpmApi.partial_update2 ...'
308
263
  end
309
264
  # verify the required parameter 'npm_npm_remote_href' is set
310
265
  if @api_client.config.client_side_validation && npm_npm_remote_href.nil?
311
- fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.partial_update"
266
+ fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.partial_update2"
312
267
  end
313
268
  # verify the required parameter 'patchednpm_npm_remote' is set
314
269
  if @api_client.config.client_side_validation && patchednpm_npm_remote.nil?
315
- fail ArgumentError, "Missing the required parameter 'patchednpm_npm_remote' when calling RemotesNpmApi.partial_update"
270
+ fail ArgumentError, "Missing the required parameter 'patchednpm_npm_remote' when calling RemotesNpmApi.partial_update2"
316
271
  end
317
272
  # resource path
318
273
  local_var_path = '{npm_npm_remote_href}'.sub('{' + 'npm_npm_remote_href' + '}', CGI.escape(npm_npm_remote_href.to_s).gsub('%2F', '/'))
319
274
 
320
275
  # query parameters
321
276
  query_params = opts[:query_params] || {}
322
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
323
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
324
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
325
- query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
326
- query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
327
- query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
328
- query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
329
- query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
330
- query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
331
277
 
332
278
  # header parameters
333
279
  header_params = opts[:header_params] || {}
@@ -359,7 +305,7 @@ module PulpNpmClient
359
305
 
360
306
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
361
307
  if @api_client.config.debugging
362
- @api_client.config.logger.debug "API called: RemotesNpmApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
+ @api_client.config.logger.debug "API called: RemotesNpmApi#partial_update2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
363
309
  end
364
310
  return data, status_code, headers
365
311
  end
@@ -371,8 +317,8 @@ module PulpNpmClient
371
317
  # @option opts [String] :fields A list of fields to include in the response.
372
318
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
373
319
  # @return [NpmNpmRemoteResponse]
374
- def read(npm_npm_remote_href, opts = {})
375
- data, _status_code, _headers = read_with_http_info(npm_npm_remote_href, opts)
320
+ def read2(npm_npm_remote_href, opts = {})
321
+ data, _status_code, _headers = read2_with_http_info(npm_npm_remote_href, opts)
376
322
  data
377
323
  end
378
324
 
@@ -383,13 +329,13 @@ module PulpNpmClient
383
329
  # @option opts [String] :fields A list of fields to include in the response.
384
330
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
385
331
  # @return [Array<(NpmNpmRemoteResponse, Integer, Hash)>] NpmNpmRemoteResponse data, response status code and response headers
386
- def read_with_http_info(npm_npm_remote_href, opts = {})
332
+ def read2_with_http_info(npm_npm_remote_href, opts = {})
387
333
  if @api_client.config.debugging
388
- @api_client.config.logger.debug 'Calling API: RemotesNpmApi.read ...'
334
+ @api_client.config.logger.debug 'Calling API: RemotesNpmApi.read2 ...'
389
335
  end
390
336
  # verify the required parameter 'npm_npm_remote_href' is set
391
337
  if @api_client.config.client_side_validation && npm_npm_remote_href.nil?
392
- fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.read"
338
+ fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.read2"
393
339
  end
394
340
  # resource path
395
341
  local_var_path = '{npm_npm_remote_href}'.sub('{' + 'npm_npm_remote_href' + '}', CGI.escape(npm_npm_remote_href.to_s).gsub('%2F', '/'))
@@ -427,7 +373,7 @@ module PulpNpmClient
427
373
 
428
374
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
429
375
  if @api_client.config.debugging
430
- @api_client.config.logger.debug "API called: RemotesNpmApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
376
+ @api_client.config.logger.debug "API called: RemotesNpmApi#read2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
431
377
  end
432
378
  return data, status_code, headers
433
379
  end
@@ -437,18 +383,9 @@ module PulpNpmClient
437
383
  # @param npm_npm_remote_href [String]
438
384
  # @param npm_npm_remote [NpmNpmRemote]
439
385
  # @param [Hash] opts the optional parameters
440
- # @option opts [String] :name name
441
- # @option opts [String] :name__in name__in
442
- # @option opts [String] :ordering Which field to use when ordering the results.
443
- # @option opts [String] :pulp_last_updated pulp_last_updated
444
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
445
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
446
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
447
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
448
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
449
386
  # @return [AsyncOperationResponse]
450
- def update(npm_npm_remote_href, npm_npm_remote, opts = {})
451
- data, _status_code, _headers = update_with_http_info(npm_npm_remote_href, npm_npm_remote, opts)
387
+ def update2(npm_npm_remote_href, npm_npm_remote, opts = {})
388
+ data, _status_code, _headers = update2_with_http_info(npm_npm_remote_href, npm_npm_remote, opts)
452
389
  data
453
390
  end
454
391
 
@@ -457,42 +394,24 @@ module PulpNpmClient
457
394
  # @param npm_npm_remote_href [String]
458
395
  # @param npm_npm_remote [NpmNpmRemote]
459
396
  # @param [Hash] opts the optional parameters
460
- # @option opts [String] :name name
461
- # @option opts [String] :name__in name__in
462
- # @option opts [String] :ordering Which field to use when ordering the results.
463
- # @option opts [String] :pulp_last_updated pulp_last_updated
464
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
465
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
466
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
467
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
468
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
469
397
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
470
- def update_with_http_info(npm_npm_remote_href, npm_npm_remote, opts = {})
398
+ def update2_with_http_info(npm_npm_remote_href, npm_npm_remote, opts = {})
471
399
  if @api_client.config.debugging
472
- @api_client.config.logger.debug 'Calling API: RemotesNpmApi.update ...'
400
+ @api_client.config.logger.debug 'Calling API: RemotesNpmApi.update2 ...'
473
401
  end
474
402
  # verify the required parameter 'npm_npm_remote_href' is set
475
403
  if @api_client.config.client_side_validation && npm_npm_remote_href.nil?
476
- fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.update"
404
+ fail ArgumentError, "Missing the required parameter 'npm_npm_remote_href' when calling RemotesNpmApi.update2"
477
405
  end
478
406
  # verify the required parameter 'npm_npm_remote' is set
479
407
  if @api_client.config.client_side_validation && npm_npm_remote.nil?
480
- fail ArgumentError, "Missing the required parameter 'npm_npm_remote' when calling RemotesNpmApi.update"
408
+ fail ArgumentError, "Missing the required parameter 'npm_npm_remote' when calling RemotesNpmApi.update2"
481
409
  end
482
410
  # resource path
483
411
  local_var_path = '{npm_npm_remote_href}'.sub('{' + 'npm_npm_remote_href' + '}', CGI.escape(npm_npm_remote_href.to_s).gsub('%2F', '/'))
484
412
 
485
413
  # query parameters
486
414
  query_params = opts[:query_params] || {}
487
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
488
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
489
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
490
- query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
491
- query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
492
- query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
493
- query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
494
- query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
495
- query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
496
415
 
497
416
  # header parameters
498
417
  header_params = opts[:header_params] || {}
@@ -524,7 +443,7 @@ module PulpNpmClient
524
443
 
525
444
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
526
445
  if @api_client.config.debugging
527
- @api_client.config.logger.debug "API called: RemotesNpmApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
446
+ @api_client.config.logger.debug "API called: RemotesNpmApi#update2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
528
447
  end
529
448
  return data, status_code, headers
530
449
  end
@@ -24,8 +24,8 @@ module PulpNpmClient
24
24
  # @param npm_npm_repository [NpmNpmRepository]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NpmNpmRepositoryResponse]
27
- def create(npm_npm_repository, opts = {})
28
- data, _status_code, _headers = create_with_http_info(npm_npm_repository, opts)
27
+ def create4(npm_npm_repository, opts = {})
28
+ data, _status_code, _headers = create4_with_http_info(npm_npm_repository, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpNpmClient
34
34
  # @param npm_npm_repository [NpmNpmRepository]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(NpmNpmRepositoryResponse, Integer, Hash)>] NpmNpmRepositoryResponse data, response status code and response headers
37
- def create_with_http_info(npm_npm_repository, opts = {})
37
+ def create4_with_http_info(npm_npm_repository, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.create4 ...'
40
40
  end
41
41
  # verify the required parameter 'npm_npm_repository' is set
42
42
  if @api_client.config.client_side_validation && npm_npm_repository.nil?
43
- fail ArgumentError, "Missing the required parameter 'npm_npm_repository' when calling RepositoriesNpmApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository' when calling RepositoriesNpmApi.create4"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/repositories/npm/npm/'
@@ -78,7 +78,7 @@ module PulpNpmClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: RepositoriesNpmApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RepositoriesNpmApi#create4\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -87,12 +87,9 @@ module PulpNpmClient
87
87
  # Trigger an asynchronous delete task
88
88
  # @param npm_npm_repository_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
- # @option opts [String] :name name
91
- # @option opts [String] :name__in name__in
92
- # @option opts [String] :ordering Which field to use when ordering the results.
93
90
  # @return [AsyncOperationResponse]
94
- def delete(npm_npm_repository_href, opts = {})
95
- data, _status_code, _headers = delete_with_http_info(npm_npm_repository_href, opts)
91
+ def delete3(npm_npm_repository_href, opts = {})
92
+ data, _status_code, _headers = delete3_with_http_info(npm_npm_repository_href, opts)
96
93
  data
97
94
  end
98
95
 
@@ -100,26 +97,20 @@ module PulpNpmClient
100
97
  # Trigger an asynchronous delete task
101
98
  # @param npm_npm_repository_href [String]
102
99
  # @param [Hash] opts the optional parameters
103
- # @option opts [String] :name name
104
- # @option opts [String] :name__in name__in
105
- # @option opts [String] :ordering Which field to use when ordering the results.
106
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
107
- def delete_with_http_info(npm_npm_repository_href, opts = {})
101
+ def delete3_with_http_info(npm_npm_repository_href, opts = {})
108
102
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.delete3 ...'
110
104
  end
111
105
  # verify the required parameter 'npm_npm_repository_href' is set
112
106
  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"
107
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.delete3"
114
108
  end
115
109
  # resource path
116
110
  local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
117
111
 
118
112
  # query parameters
119
113
  query_params = opts[:query_params] || {}
120
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
121
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
122
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
123
114
 
124
115
  # header parameters
125
116
  header_params = opts[:header_params] || {}
@@ -149,7 +140,7 @@ module PulpNpmClient
149
140
 
150
141
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
151
142
  if @api_client.config.debugging
152
- @api_client.config.logger.debug "API called: RepositoriesNpmApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: RepositoriesNpmApi#delete3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
153
144
  end
154
145
  return data, status_code, headers
155
146
  end
@@ -165,8 +156,8 @@ module PulpNpmClient
165
156
  # @option opts [String] :fields A list of fields to include in the response.
166
157
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
167
158
  # @return [InlineResponse2003]
168
- def list(opts = {})
169
- data, _status_code, _headers = list_with_http_info(opts)
159
+ def list4(opts = {})
160
+ data, _status_code, _headers = list4_with_http_info(opts)
170
161
  data
171
162
  end
172
163
 
@@ -181,9 +172,9 @@ module PulpNpmClient
181
172
  # @option opts [String] :fields A list of fields to include in the response.
182
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
183
174
  # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
184
- def list_with_http_info(opts = {})
175
+ def list4_with_http_info(opts = {})
185
176
  if @api_client.config.debugging
186
- @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.list ...'
177
+ @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.list4 ...'
187
178
  end
188
179
  # resource path
189
180
  local_var_path = '/pulp/api/v3/repositories/npm/npm/'
@@ -226,7 +217,7 @@ module PulpNpmClient
226
217
 
227
218
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
228
219
  if @api_client.config.debugging
229
- @api_client.config.logger.debug "API called: RepositoriesNpmApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
220
+ @api_client.config.logger.debug "API called: RepositoriesNpmApi#list4\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
230
221
  end
231
222
  return data, status_code, headers
232
223
  end
@@ -306,12 +297,9 @@ module PulpNpmClient
306
297
  # @param npm_npm_repository_href [String]
307
298
  # @param patchednpm_npm_repository [PatchednpmNpmRepository]
308
299
  # @param [Hash] opts the optional parameters
309
- # @option opts [String] :name name
310
- # @option opts [String] :name__in name__in
311
- # @option opts [String] :ordering Which field to use when ordering the results.
312
300
  # @return [AsyncOperationResponse]
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)
301
+ def partial_update3(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
302
+ data, _status_code, _headers = partial_update3_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts)
315
303
  data
316
304
  end
317
305
 
@@ -320,30 +308,24 @@ module PulpNpmClient
320
308
  # @param npm_npm_repository_href [String]
321
309
  # @param patchednpm_npm_repository [PatchednpmNpmRepository]
322
310
  # @param [Hash] opts the optional parameters
323
- # @option opts [String] :name name
324
- # @option opts [String] :name__in name__in
325
- # @option opts [String] :ordering Which field to use when ordering the results.
326
311
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
327
- def partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
312
+ def partial_update3_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
328
313
  if @api_client.config.debugging
329
- @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.partial_update ...'
314
+ @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.partial_update3 ...'
330
315
  end
331
316
  # verify the required parameter 'npm_npm_repository_href' is set
332
317
  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"
318
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.partial_update3"
334
319
  end
335
320
  # verify the required parameter 'patchednpm_npm_repository' is set
336
321
  if @api_client.config.client_side_validation && patchednpm_npm_repository.nil?
337
- fail ArgumentError, "Missing the required parameter 'patchednpm_npm_repository' when calling RepositoriesNpmApi.partial_update"
322
+ fail ArgumentError, "Missing the required parameter 'patchednpm_npm_repository' when calling RepositoriesNpmApi.partial_update3"
338
323
  end
339
324
  # resource path
340
325
  local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
341
326
 
342
327
  # query parameters
343
328
  query_params = opts[:query_params] || {}
344
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
345
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
346
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
347
329
 
348
330
  # header parameters
349
331
  header_params = opts[:header_params] || {}
@@ -375,7 +357,7 @@ module PulpNpmClient
375
357
 
376
358
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
377
359
  if @api_client.config.debugging
378
- @api_client.config.logger.debug "API called: RepositoriesNpmApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
360
+ @api_client.config.logger.debug "API called: RepositoriesNpmApi#partial_update3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
379
361
  end
380
362
  return data, status_code, headers
381
363
  end
@@ -387,8 +369,8 @@ module PulpNpmClient
387
369
  # @option opts [String] :fields A list of fields to include in the response.
388
370
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
389
371
  # @return [NpmNpmRepositoryResponse]
390
- def read(npm_npm_repository_href, opts = {})
391
- data, _status_code, _headers = read_with_http_info(npm_npm_repository_href, opts)
372
+ def read3(npm_npm_repository_href, opts = {})
373
+ data, _status_code, _headers = read3_with_http_info(npm_npm_repository_href, opts)
392
374
  data
393
375
  end
394
376
 
@@ -399,13 +381,13 @@ module PulpNpmClient
399
381
  # @option opts [String] :fields A list of fields to include in the response.
400
382
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
401
383
  # @return [Array<(NpmNpmRepositoryResponse, Integer, Hash)>] NpmNpmRepositoryResponse data, response status code and response headers
402
- def read_with_http_info(npm_npm_repository_href, opts = {})
384
+ def read3_with_http_info(npm_npm_repository_href, opts = {})
403
385
  if @api_client.config.debugging
404
- @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.read ...'
386
+ @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.read3 ...'
405
387
  end
406
388
  # verify the required parameter 'npm_npm_repository_href' is set
407
389
  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"
390
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.read3"
409
391
  end
410
392
  # resource path
411
393
  local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
@@ -443,7 +425,7 @@ module PulpNpmClient
443
425
 
444
426
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
445
427
  if @api_client.config.debugging
446
- @api_client.config.logger.debug "API called: RepositoriesNpmApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
428
+ @api_client.config.logger.debug "API called: RepositoriesNpmApi#read3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
447
429
  end
448
430
  return data, status_code, headers
449
431
  end
@@ -523,12 +505,9 @@ module PulpNpmClient
523
505
  # @param npm_npm_repository_href [String]
524
506
  # @param npm_npm_repository [NpmNpmRepository]
525
507
  # @param [Hash] opts the optional parameters
526
- # @option opts [String] :name name
527
- # @option opts [String] :name__in name__in
528
- # @option opts [String] :ordering Which field to use when ordering the results.
529
508
  # @return [AsyncOperationResponse]
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)
509
+ def update3(npm_npm_repository_href, npm_npm_repository, opts = {})
510
+ data, _status_code, _headers = update3_with_http_info(npm_npm_repository_href, npm_npm_repository, opts)
532
511
  data
533
512
  end
534
513
 
@@ -537,30 +516,24 @@ module PulpNpmClient
537
516
  # @param npm_npm_repository_href [String]
538
517
  # @param npm_npm_repository [NpmNpmRepository]
539
518
  # @param [Hash] opts the optional parameters
540
- # @option opts [String] :name name
541
- # @option opts [String] :name__in name__in
542
- # @option opts [String] :ordering Which field to use when ordering the results.
543
519
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
544
- def update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts = {})
520
+ def update3_with_http_info(npm_npm_repository_href, npm_npm_repository, opts = {})
545
521
  if @api_client.config.debugging
546
- @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.update ...'
522
+ @api_client.config.logger.debug 'Calling API: RepositoriesNpmApi.update3 ...'
547
523
  end
548
524
  # verify the required parameter 'npm_npm_repository_href' is set
549
525
  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"
526
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmApi.update3"
551
527
  end
552
528
  # verify the required parameter 'npm_npm_repository' is set
553
529
  if @api_client.config.client_side_validation && npm_npm_repository.nil?
554
- fail ArgumentError, "Missing the required parameter 'npm_npm_repository' when calling RepositoriesNpmApi.update"
530
+ fail ArgumentError, "Missing the required parameter 'npm_npm_repository' when calling RepositoriesNpmApi.update3"
555
531
  end
556
532
  # resource path
557
533
  local_var_path = '{npm_npm_repository_href}'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
558
534
 
559
535
  # query parameters
560
536
  query_params = opts[:query_params] || {}
561
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
562
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
563
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
564
537
 
565
538
  # header parameters
566
539
  header_params = opts[:header_params] || {}
@@ -592,7 +565,7 @@ module PulpNpmClient
592
565
 
593
566
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
594
567
  if @api_client.config.debugging
595
- @api_client.config.logger.debug "API called: RepositoriesNpmApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
568
+ @api_client.config.logger.debug "API called: RepositoriesNpmApi#update3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
596
569
  end
597
570
  return data, status_code, headers
598
571
  end