pulp_deb_client 2.5.0b1.dev01592674770 → 2.5.0b1.dev01593106939

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

Potentially problematic release.


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

Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -37
  3. data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
  4. data/docs/{DebDebDistributionRead.md → DebAptDistributionRead.md} +2 -2
  5. data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
  6. data/docs/{DebDebPublicationRead.md → DebAptPublicationRead.md} +2 -2
  7. data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
  8. data/docs/{DebDebRemoteRead.md → DebAptRemoteRead.md} +2 -2
  9. data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
  10. data/docs/{DebDebRepositoryRead.md → DebAptRepositoryRead.md} +2 -2
  11. data/docs/DistributionsAptApi.md +43 -43
  12. data/docs/InlineResponse20010.md +1 -1
  13. data/docs/InlineResponse20012.md +1 -1
  14. data/docs/InlineResponse20013.md +1 -1
  15. data/docs/InlineResponse2009.md +1 -1
  16. data/docs/PublicationsAptApi.md +26 -26
  17. data/docs/RemotesAptApi.md +46 -46
  18. data/docs/RepositoriesAptApi.md +56 -56
  19. data/docs/RepositoriesDebVersionsApi.md +7 -7
  20. data/lib/pulp_deb_client.rb +8 -8
  21. data/lib/pulp_deb_client/api/distributions_apt_api.rb +61 -61
  22. data/lib/pulp_deb_client/api/publications_apt_api.rb +37 -37
  23. data/lib/pulp_deb_client/api/remotes_apt_api.rb +66 -66
  24. data/lib/pulp_deb_client/api/repositories_apt_api.rb +84 -84
  25. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +13 -13
  26. data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
  27. data/lib/pulp_deb_client/models/{deb_deb_distribution_read.rb → deb_apt_distribution_read.rb} +3 -3
  28. data/lib/pulp_deb_client/models/{deb_deb_publication.rb → deb_apt_publication.rb} +3 -3
  29. data/lib/pulp_deb_client/models/{deb_deb_publication_read.rb → deb_apt_publication_read.rb} +3 -3
  30. data/lib/pulp_deb_client/models/{deb_deb_remote.rb → deb_apt_remote.rb} +6 -3
  31. data/lib/pulp_deb_client/models/{deb_deb_remote_read.rb → deb_apt_remote_read.rb} +6 -3
  32. data/lib/pulp_deb_client/models/{deb_deb_repository.rb → deb_apt_repository.rb} +3 -3
  33. data/lib/pulp_deb_client/models/{deb_deb_repository_read.rb → deb_apt_repository_read.rb} +3 -3
  34. data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
  35. data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
  36. data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
  37. data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
  38. data/lib/pulp_deb_client/version.rb +1 -1
  39. data/spec/api/distributions_apt_api_spec.rb +13 -13
  40. data/spec/api/publications_apt_api_spec.rb +10 -10
  41. data/spec/api/remotes_apt_api_spec.rb +15 -15
  42. data/spec/api/repositories_apt_api_spec.rb +17 -17
  43. data/spec/api/repositories_deb_versions_api_spec.rb +3 -3
  44. data/spec/models/{deb_deb_distribution_read_spec.rb → deb_apt_distribution_read_spec.rb} +6 -6
  45. data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
  46. data/spec/models/{deb_deb_publication_read_spec.rb → deb_apt_publication_read_spec.rb} +6 -6
  47. data/spec/models/{deb_deb_publication_spec.rb → deb_apt_publication_spec.rb} +6 -6
  48. data/spec/models/{deb_deb_remote_read_spec.rb → deb_apt_remote_read_spec.rb} +6 -6
  49. data/spec/models/{deb_deb_remote_spec.rb → deb_apt_remote_spec.rb} +6 -6
  50. data/spec/models/{deb_deb_repository_read_spec.rb → deb_apt_repository_read_spec.rb} +6 -6
  51. data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
  52. metadata +34 -34
@@ -19,21 +19,21 @@ module PulpDebClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a deb remote
23
- # A ViewSet for DebRemote.
24
- # @param data [DebDebRemote]
22
+ # Create an apt remote
23
+ # A ViewSet for AptRemote.
24
+ # @param data [DebAptRemote]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [DebDebRemoteRead]
26
+ # @return [DebAptRemoteRead]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
30
30
  end
31
31
 
32
- # Create a deb remote
33
- # A ViewSet for DebRemote.
34
- # @param data [DebDebRemote]
32
+ # Create an apt remote
33
+ # A ViewSet for AptRemote.
34
+ # @param data [DebAptRemote]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(DebDebRemoteRead, Integer, Hash)>] DebDebRemoteRead data, response status code and response headers
36
+ # @return [Array<(DebAptRemoteRead, Integer, Hash)>] DebAptRemoteRead data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.create ...'
@@ -62,7 +62,7 @@ module PulpDebClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(data)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'DebDebRemoteRead'
65
+ return_type = opts[:return_type] || 'DebAptRemoteRead'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -83,31 +83,31 @@ module PulpDebClient
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
- # Delete a deb remote
86
+ # Delete an apt remote
87
87
  # Trigger an asynchronous delete task
88
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
88
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def delete(deb_remote_href, opts = {})
92
- data, _status_code, _headers = delete_with_http_info(deb_remote_href, opts)
91
+ def delete(apt_remote_href, opts = {})
92
+ data, _status_code, _headers = delete_with_http_info(apt_remote_href, opts)
93
93
  data
94
94
  end
95
95
 
96
- # Delete a deb remote
96
+ # Delete an apt remote
97
97
  # Trigger an asynchronous delete task
98
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
98
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
101
- def delete_with_http_info(deb_remote_href, opts = {})
101
+ def delete_with_http_info(apt_remote_href, opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.delete ...'
104
104
  end
105
- # verify the required parameter 'deb_remote_href' is set
106
- if @api_client.config.client_side_validation && deb_remote_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'deb_remote_href' when calling RemotesAptApi.delete"
105
+ # verify the required parameter 'apt_remote_href' is set
106
+ if @api_client.config.client_side_validation && apt_remote_href.nil?
107
+ fail ArgumentError, "Missing the required parameter 'apt_remote_href' when calling RemotesAptApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{deb_remote_href}'.sub('{' + 'deb_remote_href' + '}', CGI.escape(deb_remote_href.to_s).gsub('%2F', '/'))
110
+ local_var_path = '{apt_remote_href}'.sub('{' + 'apt_remote_href' + '}', CGI.escape(apt_remote_href.to_s).gsub('%2F', '/'))
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -145,8 +145,8 @@ module PulpDebClient
145
145
  return data, status_code, headers
146
146
  end
147
147
 
148
- # List deb remotes
149
- # A ViewSet for DebRemote.
148
+ # List apt remotes
149
+ # A ViewSet for AptRemote.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [String] :ordering Which field to use when ordering the results.
152
152
  # @option opts [String] :name
@@ -167,8 +167,8 @@ module PulpDebClient
167
167
  data
168
168
  end
169
169
 
170
- # List deb remotes
171
- # A ViewSet for DebRemote.
170
+ # List apt remotes
171
+ # A ViewSet for AptRemote.
172
172
  # @param [Hash] opts the optional parameters
173
173
  # @option opts [String] :ordering Which field to use when ordering the results.
174
174
  # @option opts [String] :name
@@ -240,37 +240,37 @@ module PulpDebClient
240
240
  return data, status_code, headers
241
241
  end
242
242
 
243
- # Partially update a deb remote
243
+ # Partially update an apt remote
244
244
  # Trigger an asynchronous partial update task
245
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
246
- # @param data [DebDebRemote]
245
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
246
+ # @param data [DebAptRemote]
247
247
  # @param [Hash] opts the optional parameters
248
248
  # @return [AsyncOperationResponse]
249
- def partial_update(deb_remote_href, data, opts = {})
250
- data, _status_code, _headers = partial_update_with_http_info(deb_remote_href, data, opts)
249
+ def partial_update(apt_remote_href, data, opts = {})
250
+ data, _status_code, _headers = partial_update_with_http_info(apt_remote_href, data, opts)
251
251
  data
252
252
  end
253
253
 
254
- # Partially update a deb remote
254
+ # Partially update an apt remote
255
255
  # Trigger an asynchronous partial update task
256
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
257
- # @param data [DebDebRemote]
256
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
257
+ # @param data [DebAptRemote]
258
258
  # @param [Hash] opts the optional parameters
259
259
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
260
- def partial_update_with_http_info(deb_remote_href, data, opts = {})
260
+ def partial_update_with_http_info(apt_remote_href, data, opts = {})
261
261
  if @api_client.config.debugging
262
262
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.partial_update ...'
263
263
  end
264
- # verify the required parameter 'deb_remote_href' is set
265
- if @api_client.config.client_side_validation && deb_remote_href.nil?
266
- fail ArgumentError, "Missing the required parameter 'deb_remote_href' when calling RemotesAptApi.partial_update"
264
+ # verify the required parameter 'apt_remote_href' is set
265
+ if @api_client.config.client_side_validation && apt_remote_href.nil?
266
+ fail ArgumentError, "Missing the required parameter 'apt_remote_href' when calling RemotesAptApi.partial_update"
267
267
  end
268
268
  # verify the required parameter 'data' is set
269
269
  if @api_client.config.client_side_validation && data.nil?
270
270
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesAptApi.partial_update"
271
271
  end
272
272
  # resource path
273
- local_var_path = '{deb_remote_href}'.sub('{' + 'deb_remote_href' + '}', CGI.escape(deb_remote_href.to_s).gsub('%2F', '/'))
273
+ local_var_path = '{apt_remote_href}'.sub('{' + 'apt_remote_href' + '}', CGI.escape(apt_remote_href.to_s).gsub('%2F', '/'))
274
274
 
275
275
  # query parameters
276
276
  query_params = opts[:query_params] || {}
@@ -310,35 +310,35 @@ module PulpDebClient
310
310
  return data, status_code, headers
311
311
  end
312
312
 
313
- # Inspect a deb remote
314
- # A ViewSet for DebRemote.
315
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
313
+ # Inspect an apt remote
314
+ # A ViewSet for AptRemote.
315
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
316
316
  # @param [Hash] opts the optional parameters
317
317
  # @option opts [String] :fields A list of fields to include in the response.
318
318
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
319
- # @return [DebDebRemoteRead]
320
- def read(deb_remote_href, opts = {})
321
- data, _status_code, _headers = read_with_http_info(deb_remote_href, opts)
319
+ # @return [DebAptRemoteRead]
320
+ def read(apt_remote_href, opts = {})
321
+ data, _status_code, _headers = read_with_http_info(apt_remote_href, opts)
322
322
  data
323
323
  end
324
324
 
325
- # Inspect a deb remote
326
- # A ViewSet for DebRemote.
327
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
325
+ # Inspect an apt remote
326
+ # A ViewSet for AptRemote.
327
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
328
328
  # @param [Hash] opts the optional parameters
329
329
  # @option opts [String] :fields A list of fields to include in the response.
330
330
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
331
- # @return [Array<(DebDebRemoteRead, Integer, Hash)>] DebDebRemoteRead data, response status code and response headers
332
- def read_with_http_info(deb_remote_href, opts = {})
331
+ # @return [Array<(DebAptRemoteRead, Integer, Hash)>] DebAptRemoteRead data, response status code and response headers
332
+ def read_with_http_info(apt_remote_href, opts = {})
333
333
  if @api_client.config.debugging
334
334
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.read ...'
335
335
  end
336
- # verify the required parameter 'deb_remote_href' is set
337
- if @api_client.config.client_side_validation && deb_remote_href.nil?
338
- fail ArgumentError, "Missing the required parameter 'deb_remote_href' when calling RemotesAptApi.read"
336
+ # verify the required parameter 'apt_remote_href' is set
337
+ if @api_client.config.client_side_validation && apt_remote_href.nil?
338
+ fail ArgumentError, "Missing the required parameter 'apt_remote_href' when calling RemotesAptApi.read"
339
339
  end
340
340
  # resource path
341
- local_var_path = '{deb_remote_href}'.sub('{' + 'deb_remote_href' + '}', CGI.escape(deb_remote_href.to_s).gsub('%2F', '/'))
341
+ local_var_path = '{apt_remote_href}'.sub('{' + 'apt_remote_href' + '}', CGI.escape(apt_remote_href.to_s).gsub('%2F', '/'))
342
342
 
343
343
  # query parameters
344
344
  query_params = opts[:query_params] || {}
@@ -357,7 +357,7 @@ module PulpDebClient
357
357
  post_body = opts[:body]
358
358
 
359
359
  # return_type
360
- return_type = opts[:return_type] || 'DebDebRemoteRead'
360
+ return_type = opts[:return_type] || 'DebAptRemoteRead'
361
361
 
362
362
  # auth_names
363
363
  auth_names = opts[:auth_names] || ['Basic']
@@ -378,37 +378,37 @@ module PulpDebClient
378
378
  return data, status_code, headers
379
379
  end
380
380
 
381
- # Update a deb remote
381
+ # Update an apt remote
382
382
  # Trigger an asynchronous update task
383
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
384
- # @param data [DebDebRemote]
383
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
384
+ # @param data [DebAptRemote]
385
385
  # @param [Hash] opts the optional parameters
386
386
  # @return [AsyncOperationResponse]
387
- def update(deb_remote_href, data, opts = {})
388
- data, _status_code, _headers = update_with_http_info(deb_remote_href, data, opts)
387
+ def update(apt_remote_href, data, opts = {})
388
+ data, _status_code, _headers = update_with_http_info(apt_remote_href, data, opts)
389
389
  data
390
390
  end
391
391
 
392
- # Update a deb remote
392
+ # Update an apt remote
393
393
  # Trigger an asynchronous update task
394
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
395
- # @param data [DebDebRemote]
394
+ # @param apt_remote_href [String] URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
395
+ # @param data [DebAptRemote]
396
396
  # @param [Hash] opts the optional parameters
397
397
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
398
- def update_with_http_info(deb_remote_href, data, opts = {})
398
+ def update_with_http_info(apt_remote_href, data, opts = {})
399
399
  if @api_client.config.debugging
400
400
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.update ...'
401
401
  end
402
- # verify the required parameter 'deb_remote_href' is set
403
- if @api_client.config.client_side_validation && deb_remote_href.nil?
404
- fail ArgumentError, "Missing the required parameter 'deb_remote_href' when calling RemotesAptApi.update"
402
+ # verify the required parameter 'apt_remote_href' is set
403
+ if @api_client.config.client_side_validation && apt_remote_href.nil?
404
+ fail ArgumentError, "Missing the required parameter 'apt_remote_href' when calling RemotesAptApi.update"
405
405
  end
406
406
  # verify the required parameter 'data' is set
407
407
  if @api_client.config.client_side_validation && data.nil?
408
408
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesAptApi.update"
409
409
  end
410
410
  # resource path
411
- local_var_path = '{deb_remote_href}'.sub('{' + 'deb_remote_href' + '}', CGI.escape(deb_remote_href.to_s).gsub('%2F', '/'))
411
+ local_var_path = '{apt_remote_href}'.sub('{' + 'apt_remote_href' + '}', CGI.escape(apt_remote_href.to_s).gsub('%2F', '/'))
412
412
 
413
413
  # query parameters
414
414
  query_params = opts[:query_params] || {}
@@ -19,21 +19,21 @@ module PulpDebClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a deb repository
23
- # A ViewSet for DebRepository.
24
- # @param data [DebDebRepository]
22
+ # Create an apt repository
23
+ # A ViewSet for AptRepository.
24
+ # @param data [DebAptRepository]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [DebDebRepositoryRead]
26
+ # @return [DebAptRepositoryRead]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
30
30
  end
31
31
 
32
- # Create a deb repository
33
- # A ViewSet for DebRepository.
34
- # @param data [DebDebRepository]
32
+ # Create an apt repository
33
+ # A ViewSet for AptRepository.
34
+ # @param data [DebAptRepository]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(DebDebRepositoryRead, Integer, Hash)>] DebDebRepositoryRead data, response status code and response headers
36
+ # @return [Array<(DebAptRepositoryRead, Integer, Hash)>] DebAptRepositoryRead data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.create ...'
@@ -62,7 +62,7 @@ module PulpDebClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(data)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'DebDebRepositoryRead'
65
+ return_type = opts[:return_type] || 'DebAptRepositoryRead'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -83,31 +83,31 @@ module PulpDebClient
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
- # Delete a deb repository
86
+ # Delete an apt repository
87
87
  # Trigger an asynchronous delete task
88
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
88
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def delete(deb_repository_href, opts = {})
92
- data, _status_code, _headers = delete_with_http_info(deb_repository_href, opts)
91
+ def delete(apt_repository_href, opts = {})
92
+ data, _status_code, _headers = delete_with_http_info(apt_repository_href, opts)
93
93
  data
94
94
  end
95
95
 
96
- # Delete a deb repository
96
+ # Delete an apt repository
97
97
  # Trigger an asynchronous delete task
98
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
98
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
101
- def delete_with_http_info(deb_repository_href, opts = {})
101
+ def delete_with_http_info(apt_repository_href, opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.delete ...'
104
104
  end
105
- # verify the required parameter 'deb_repository_href' is set
106
- if @api_client.config.client_side_validation && deb_repository_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesAptApi.delete"
105
+ # verify the required parameter 'apt_repository_href' is set
106
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
107
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesAptApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{deb_repository_href}'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
110
+ local_var_path = '{apt_repository_href}'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -145,8 +145,8 @@ module PulpDebClient
145
145
  return data, status_code, headers
146
146
  end
147
147
 
148
- # List deb repositorys
149
- # A ViewSet for DebRepository.
148
+ # List apt repositorys
149
+ # A ViewSet for AptRepository.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [String] :ordering Which field to use when ordering the results.
152
152
  # @option opts [String] :name
@@ -161,8 +161,8 @@ module PulpDebClient
161
161
  data
162
162
  end
163
163
 
164
- # List deb repositorys
165
- # A ViewSet for DebRepository.
164
+ # List apt repositorys
165
+ # A ViewSet for AptRepository.
166
166
  # @param [Hash] opts the optional parameters
167
167
  # @option opts [String] :ordering Which field to use when ordering the results.
168
168
  # @option opts [String] :name
@@ -224,35 +224,35 @@ module PulpDebClient
224
224
 
225
225
  # Modify Repository Content
226
226
  # Trigger an asynchronous task to create a new repository version.
227
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
227
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
228
228
  # @param data [RepositoryAddRemoveContent]
229
229
  # @param [Hash] opts the optional parameters
230
230
  # @return [AsyncOperationResponse]
231
- def modify(deb_repository_href, data, opts = {})
232
- data, _status_code, _headers = modify_with_http_info(deb_repository_href, data, opts)
231
+ def modify(apt_repository_href, data, opts = {})
232
+ data, _status_code, _headers = modify_with_http_info(apt_repository_href, data, opts)
233
233
  data
234
234
  end
235
235
 
236
236
  # Modify Repository Content
237
237
  # Trigger an asynchronous task to create a new repository version.
238
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
238
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
239
239
  # @param data [RepositoryAddRemoveContent]
240
240
  # @param [Hash] opts the optional parameters
241
241
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
242
- def modify_with_http_info(deb_repository_href, data, opts = {})
242
+ def modify_with_http_info(apt_repository_href, data, opts = {})
243
243
  if @api_client.config.debugging
244
244
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.modify ...'
245
245
  end
246
- # verify the required parameter 'deb_repository_href' is set
247
- if @api_client.config.client_side_validation && deb_repository_href.nil?
248
- fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesAptApi.modify"
246
+ # verify the required parameter 'apt_repository_href' is set
247
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
248
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesAptApi.modify"
249
249
  end
250
250
  # verify the required parameter 'data' is set
251
251
  if @api_client.config.client_side_validation && data.nil?
252
252
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesAptApi.modify"
253
253
  end
254
254
  # resource path
255
- local_var_path = '{deb_repository_href}modify/'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
255
+ local_var_path = '{apt_repository_href}modify/'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
256
256
 
257
257
  # query parameters
258
258
  query_params = opts[:query_params] || {}
@@ -292,37 +292,37 @@ module PulpDebClient
292
292
  return data, status_code, headers
293
293
  end
294
294
 
295
- # Partially update a deb repository
295
+ # Partially update an apt repository
296
296
  # Trigger an asynchronous partial update task
297
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
298
- # @param data [DebDebRepository]
297
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
298
+ # @param data [DebAptRepository]
299
299
  # @param [Hash] opts the optional parameters
300
300
  # @return [AsyncOperationResponse]
301
- def partial_update(deb_repository_href, data, opts = {})
302
- data, _status_code, _headers = partial_update_with_http_info(deb_repository_href, data, opts)
301
+ def partial_update(apt_repository_href, data, opts = {})
302
+ data, _status_code, _headers = partial_update_with_http_info(apt_repository_href, data, opts)
303
303
  data
304
304
  end
305
305
 
306
- # Partially update a deb repository
306
+ # Partially update an apt repository
307
307
  # Trigger an asynchronous partial update task
308
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
309
- # @param data [DebDebRepository]
308
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
309
+ # @param data [DebAptRepository]
310
310
  # @param [Hash] opts the optional parameters
311
311
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
312
- def partial_update_with_http_info(deb_repository_href, data, opts = {})
312
+ def partial_update_with_http_info(apt_repository_href, data, opts = {})
313
313
  if @api_client.config.debugging
314
314
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.partial_update ...'
315
315
  end
316
- # verify the required parameter 'deb_repository_href' is set
317
- if @api_client.config.client_side_validation && deb_repository_href.nil?
318
- fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesAptApi.partial_update"
316
+ # verify the required parameter 'apt_repository_href' is set
317
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
318
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesAptApi.partial_update"
319
319
  end
320
320
  # verify the required parameter 'data' is set
321
321
  if @api_client.config.client_side_validation && data.nil?
322
322
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesAptApi.partial_update"
323
323
  end
324
324
  # resource path
325
- local_var_path = '{deb_repository_href}'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
325
+ local_var_path = '{apt_repository_href}'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
326
326
 
327
327
  # query parameters
328
328
  query_params = opts[:query_params] || {}
@@ -362,35 +362,35 @@ module PulpDebClient
362
362
  return data, status_code, headers
363
363
  end
364
364
 
365
- # Inspect a deb repository
366
- # A ViewSet for DebRepository.
367
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
365
+ # Inspect an apt repository
366
+ # A ViewSet for AptRepository.
367
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
368
368
  # @param [Hash] opts the optional parameters
369
369
  # @option opts [String] :fields A list of fields to include in the response.
370
370
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
371
- # @return [DebDebRepositoryRead]
372
- def read(deb_repository_href, opts = {})
373
- data, _status_code, _headers = read_with_http_info(deb_repository_href, opts)
371
+ # @return [DebAptRepositoryRead]
372
+ def read(apt_repository_href, opts = {})
373
+ data, _status_code, _headers = read_with_http_info(apt_repository_href, opts)
374
374
  data
375
375
  end
376
376
 
377
- # Inspect a deb repository
378
- # A ViewSet for DebRepository.
379
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
377
+ # Inspect an apt repository
378
+ # A ViewSet for AptRepository.
379
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
380
380
  # @param [Hash] opts the optional parameters
381
381
  # @option opts [String] :fields A list of fields to include in the response.
382
382
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
383
- # @return [Array<(DebDebRepositoryRead, Integer, Hash)>] DebDebRepositoryRead data, response status code and response headers
384
- def read_with_http_info(deb_repository_href, opts = {})
383
+ # @return [Array<(DebAptRepositoryRead, Integer, Hash)>] DebAptRepositoryRead data, response status code and response headers
384
+ def read_with_http_info(apt_repository_href, opts = {})
385
385
  if @api_client.config.debugging
386
386
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.read ...'
387
387
  end
388
- # verify the required parameter 'deb_repository_href' is set
389
- if @api_client.config.client_side_validation && deb_repository_href.nil?
390
- fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesAptApi.read"
388
+ # verify the required parameter 'apt_repository_href' is set
389
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
390
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesAptApi.read"
391
391
  end
392
392
  # resource path
393
- local_var_path = '{deb_repository_href}'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
393
+ local_var_path = '{apt_repository_href}'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
394
394
 
395
395
  # query parameters
396
396
  query_params = opts[:query_params] || {}
@@ -409,7 +409,7 @@ module PulpDebClient
409
409
  post_body = opts[:body]
410
410
 
411
411
  # return_type
412
- return_type = opts[:return_type] || 'DebDebRepositoryRead'
412
+ return_type = opts[:return_type] || 'DebAptRepositoryRead'
413
413
 
414
414
  # auth_names
415
415
  auth_names = opts[:auth_names] || ['Basic']
@@ -432,35 +432,35 @@ module PulpDebClient
432
432
 
433
433
  # Sync from remote
434
434
  # Trigger an asynchronous task to sync content
435
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
435
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
436
436
  # @param data [RepositorySyncURL]
437
437
  # @param [Hash] opts the optional parameters
438
438
  # @return [AsyncOperationResponse]
439
- def sync(deb_repository_href, data, opts = {})
440
- data, _status_code, _headers = sync_with_http_info(deb_repository_href, data, opts)
439
+ def sync(apt_repository_href, data, opts = {})
440
+ data, _status_code, _headers = sync_with_http_info(apt_repository_href, data, opts)
441
441
  data
442
442
  end
443
443
 
444
444
  # Sync from remote
445
445
  # Trigger an asynchronous task to sync content
446
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
446
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
447
447
  # @param data [RepositorySyncURL]
448
448
  # @param [Hash] opts the optional parameters
449
449
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
450
- def sync_with_http_info(deb_repository_href, data, opts = {})
450
+ def sync_with_http_info(apt_repository_href, data, opts = {})
451
451
  if @api_client.config.debugging
452
452
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.sync ...'
453
453
  end
454
- # verify the required parameter 'deb_repository_href' is set
455
- if @api_client.config.client_side_validation && deb_repository_href.nil?
456
- fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesAptApi.sync"
454
+ # verify the required parameter 'apt_repository_href' is set
455
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
456
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesAptApi.sync"
457
457
  end
458
458
  # verify the required parameter 'data' is set
459
459
  if @api_client.config.client_side_validation && data.nil?
460
460
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesAptApi.sync"
461
461
  end
462
462
  # resource path
463
- local_var_path = '{deb_repository_href}sync/'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
463
+ local_var_path = '{apt_repository_href}sync/'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
464
464
 
465
465
  # query parameters
466
466
  query_params = opts[:query_params] || {}
@@ -500,37 +500,37 @@ module PulpDebClient
500
500
  return data, status_code, headers
501
501
  end
502
502
 
503
- # Update a deb repository
503
+ # Update an apt repository
504
504
  # Trigger an asynchronous update task
505
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
506
- # @param data [DebDebRepository]
505
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
506
+ # @param data [DebAptRepository]
507
507
  # @param [Hash] opts the optional parameters
508
508
  # @return [AsyncOperationResponse]
509
- def update(deb_repository_href, data, opts = {})
510
- data, _status_code, _headers = update_with_http_info(deb_repository_href, data, opts)
509
+ def update(apt_repository_href, data, opts = {})
510
+ data, _status_code, _headers = update_with_http_info(apt_repository_href, data, opts)
511
511
  data
512
512
  end
513
513
 
514
- # Update a deb repository
514
+ # Update an apt repository
515
515
  # Trigger an asynchronous update task
516
- # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
517
- # @param data [DebDebRepository]
516
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
517
+ # @param data [DebAptRepository]
518
518
  # @param [Hash] opts the optional parameters
519
519
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
520
- def update_with_http_info(deb_repository_href, data, opts = {})
520
+ def update_with_http_info(apt_repository_href, data, opts = {})
521
521
  if @api_client.config.debugging
522
522
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.update ...'
523
523
  end
524
- # verify the required parameter 'deb_repository_href' is set
525
- if @api_client.config.client_side_validation && deb_repository_href.nil?
526
- fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesAptApi.update"
524
+ # verify the required parameter 'apt_repository_href' is set
525
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
526
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesAptApi.update"
527
527
  end
528
528
  # verify the required parameter 'data' is set
529
529
  if @api_client.config.client_side_validation && data.nil?
530
530
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesAptApi.update"
531
531
  end
532
532
  # resource path
533
- local_var_path = '{deb_repository_href}'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
533
+ local_var_path = '{apt_repository_href}'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
534
534
 
535
535
  # query parameters
536
536
  query_params = opts[:query_params] || {}