pulp_deb_client 2.4.0b1 → 2.5.0b1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -48
  3. data/docs/ContentGenericContentsApi.md +2 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +4 -4
  5. data/docs/ContentInstallerPackagesApi.md +2 -2
  6. data/docs/ContentPackageIndicesApi.md +4 -4
  7. data/docs/ContentPackageReleaseComponentsApi.md +4 -4
  8. data/docs/ContentPackagesApi.md +2 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +4 -4
  10. data/docs/ContentReleaseComponentsApi.md +4 -4
  11. data/docs/ContentReleaseFilesApi.md +4 -4
  12. data/docs/ContentReleasesApi.md +4 -4
  13. data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
  14. data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
  15. data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
  16. data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
  17. data/docs/{DebBasePackageRead.md → DebBasePackage.md} +2 -2
  18. data/docs/{DebGenericContentRead.md → DebGenericContent.md} +2 -2
  19. data/docs/DistributionsAptApi.md +43 -43
  20. data/docs/InlineResponse200.md +1 -1
  21. data/docs/InlineResponse2001.md +1 -1
  22. data/docs/InlineResponse20010.md +1 -1
  23. data/docs/InlineResponse20011.md +1 -1
  24. data/docs/InlineResponse20012.md +1 -1
  25. data/docs/InlineResponse20013.md +1 -1
  26. data/docs/InlineResponse20014.md +1 -1
  27. data/docs/InlineResponse2002.md +1 -1
  28. data/docs/InlineResponse2003.md +1 -1
  29. data/docs/InlineResponse2004.md +1 -1
  30. data/docs/InlineResponse2005.md +1 -1
  31. data/docs/InlineResponse2006.md +1 -1
  32. data/docs/InlineResponse2007.md +1 -1
  33. data/docs/InlineResponse2008.md +1 -1
  34. data/docs/InlineResponse2009.md +1 -1
  35. data/docs/PublicationsAptApi.md +26 -26
  36. data/docs/PublicationsVerbatimApi.md +2 -2
  37. data/docs/RemotesAptApi.md +46 -46
  38. data/docs/RepositoriesAptApi.md +56 -56
  39. data/docs/RepositoriesDebVersionsApi.md +13 -11
  40. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
  41. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +6 -6
  42. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
  43. data/lib/pulp_deb_client/api/content_package_indices_api.rb +6 -6
  44. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +6 -6
  45. data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
  46. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -6
  47. data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -6
  48. data/lib/pulp_deb_client/api/content_release_files_api.rb +6 -6
  49. data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
  50. data/lib/pulp_deb_client/api/distributions_apt_api.rb +61 -61
  51. data/lib/pulp_deb_client/api/publications_apt_api.rb +37 -37
  52. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -3
  53. data/lib/pulp_deb_client/api/remotes_apt_api.rb +66 -66
  54. data/lib/pulp_deb_client/api/repositories_apt_api.rb +84 -84
  55. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +22 -19
  56. data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
  57. data/lib/pulp_deb_client/models/{deb_deb_publication.rb → deb_apt_publication.rb} +3 -3
  58. data/lib/pulp_deb_client/models/{deb_deb_remote.rb → deb_apt_remote.rb} +6 -3
  59. data/lib/pulp_deb_client/models/{deb_deb_repository.rb → deb_apt_repository.rb} +3 -3
  60. data/lib/pulp_deb_client/models/{deb_base_package_read.rb → deb_base_package.rb} +3 -3
  61. data/lib/pulp_deb_client/models/{deb_generic_content_read.rb → deb_generic_content.rb} +3 -3
  62. data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
  63. data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
  64. data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
  65. data/lib/pulp_deb_client/models/inline_response20011.rb +1 -1
  66. data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
  67. data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
  68. data/lib/pulp_deb_client/models/inline_response20014.rb +1 -1
  69. data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
  70. data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
  71. data/lib/pulp_deb_client/models/inline_response2004.rb +1 -1
  72. data/lib/pulp_deb_client/models/inline_response2005.rb +1 -1
  73. data/lib/pulp_deb_client/models/inline_response2006.rb +1 -1
  74. data/lib/pulp_deb_client/models/inline_response2007.rb +1 -1
  75. data/lib/pulp_deb_client/models/inline_response2008.rb +1 -1
  76. data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
  77. data/lib/pulp_deb_client/version.rb +1 -1
  78. data/lib/pulp_deb_client.rb +6 -19
  79. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  80. data/spec/api/content_installer_file_indices_api_spec.rb +2 -2
  81. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  82. data/spec/api/content_package_indices_api_spec.rb +2 -2
  83. data/spec/api/content_package_release_components_api_spec.rb +2 -2
  84. data/spec/api/content_packages_api_spec.rb +1 -1
  85. data/spec/api/content_release_architectures_api_spec.rb +2 -2
  86. data/spec/api/content_release_components_api_spec.rb +2 -2
  87. data/spec/api/content_release_files_api_spec.rb +2 -2
  88. data/spec/api/content_releases_api_spec.rb +2 -2
  89. data/spec/api/distributions_apt_api_spec.rb +13 -13
  90. data/spec/api/publications_apt_api_spec.rb +10 -10
  91. data/spec/api/publications_verbatim_api_spec.rb +1 -1
  92. data/spec/api/remotes_apt_api_spec.rb +15 -15
  93. data/spec/api/repositories_apt_api_spec.rb +17 -17
  94. data/spec/api/repositories_deb_versions_api_spec.rb +6 -5
  95. data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
  96. data/spec/models/{deb_deb_publication_spec.rb → deb_apt_publication_spec.rb} +6 -6
  97. data/spec/models/{deb_deb_remote_spec.rb → deb_apt_remote_spec.rb} +6 -6
  98. data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
  99. data/spec/models/{deb_base_package_read_spec.rb → deb_base_package_spec.rb} +6 -6
  100. data/spec/models/{deb_generic_content_read_spec.rb → deb_generic_content_spec.rb} +6 -6
  101. metadata +26 -78
  102. data/docs/DebDebDistributionRead.md +0 -29
  103. data/docs/DebDebPublicationRead.md +0 -29
  104. data/docs/DebDebRemoteRead.md +0 -57
  105. data/docs/DebDebRepositoryRead.md +0 -27
  106. data/docs/DebInstallerFileIndexRead.md +0 -29
  107. data/docs/DebPackageIndexRead.md +0 -29
  108. data/docs/DebPackageReleaseComponentRead.md +0 -23
  109. data/docs/DebReleaseArchitectureRead.md +0 -23
  110. data/docs/DebReleaseComponentRead.md +0 -23
  111. data/docs/DebReleaseFileRead.md +0 -29
  112. data/docs/DebReleaseRead.md +0 -25
  113. data/docs/DebVerbatimPublicationRead.md +0 -23
  114. data/docs/RepositoryVersionRead.md +0 -25
  115. data/lib/pulp_deb_client/models/deb_deb_distribution_read.rb +0 -331
  116. data/lib/pulp_deb_client/models/deb_deb_publication_read.rb +0 -269
  117. data/lib/pulp_deb_client/models/deb_deb_remote_read.rb +0 -670
  118. data/lib/pulp_deb_client/models/deb_deb_repository_read.rb +0 -294
  119. data/lib/pulp_deb_client/models/deb_installer_file_index_read.rb +0 -341
  120. data/lib/pulp_deb_client/models/deb_package_index_read.rb +0 -341
  121. data/lib/pulp_deb_client/models/deb_package_release_component_read.rb +0 -246
  122. data/lib/pulp_deb_client/models/deb_release_architecture_read.rb +0 -265
  123. data/lib/pulp_deb_client/models/deb_release_component_read.rb +0 -265
  124. data/lib/pulp_deb_client/models/deb_release_file_read.rb +0 -342
  125. data/lib/pulp_deb_client/models/deb_release_read.rb +0 -315
  126. data/lib/pulp_deb_client/models/deb_verbatim_publication_read.rb +0 -235
  127. data/lib/pulp_deb_client/models/repository_version_read.rb +0 -244
  128. data/spec/models/deb_deb_distribution_read_spec.rb +0 -77
  129. data/spec/models/deb_deb_publication_read_spec.rb +0 -77
  130. data/spec/models/deb_deb_remote_read_spec.rb +0 -165
  131. data/spec/models/deb_deb_repository_read_spec.rb +0 -71
  132. data/spec/models/deb_installer_file_index_read_spec.rb +0 -77
  133. data/spec/models/deb_package_index_read_spec.rb +0 -77
  134. data/spec/models/deb_package_release_component_read_spec.rb +0 -59
  135. data/spec/models/deb_release_architecture_read_spec.rb +0 -59
  136. data/spec/models/deb_release_component_read_spec.rb +0 -59
  137. data/spec/models/deb_release_file_read_spec.rb +0 -77
  138. data/spec/models/deb_release_read_spec.rb +0 -65
  139. data/spec/models/deb_verbatim_publication_read_spec.rb +0 -59
  140. data/spec/models/repository_version_read_spec.rb +0 -65
@@ -19,9 +19,9 @@ module PulpDebClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a deb distribution
22
+ # Create an apt distribution
23
23
  # Trigger an asynchronous create task
24
- # @param data [DebDebDistribution]
24
+ # @param data [DebAptDistribution]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
27
  def create(data, opts = {})
@@ -29,9 +29,9 @@ module PulpDebClient
29
29
  data
30
30
  end
31
31
 
32
- # Create a deb distribution
32
+ # Create an apt distribution
33
33
  # Trigger an asynchronous create task
34
- # @param data [DebDebDistribution]
34
+ # @param data [DebAptDistribution]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
@@ -83,31 +83,31 @@ module PulpDebClient
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
- # Delete a deb distribution
86
+ # Delete an apt distribution
87
87
  # Trigger an asynchronous delete task
88
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
88
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def delete(deb_distribution_href, opts = {})
92
- data, _status_code, _headers = delete_with_http_info(deb_distribution_href, opts)
91
+ def delete(apt_distribution_href, opts = {})
92
+ data, _status_code, _headers = delete_with_http_info(apt_distribution_href, opts)
93
93
  data
94
94
  end
95
95
 
96
- # Delete a deb distribution
96
+ # Delete an apt distribution
97
97
  # Trigger an asynchronous delete task
98
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
98
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/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_distribution_href, opts = {})
101
+ def delete_with_http_info(apt_distribution_href, opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.delete ...'
104
104
  end
105
- # verify the required parameter 'deb_distribution_href' is set
106
- if @api_client.config.client_side_validation && deb_distribution_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'deb_distribution_href' when calling DistributionsAptApi.delete"
105
+ # verify the required parameter 'apt_distribution_href' is set
106
+ if @api_client.config.client_side_validation && apt_distribution_href.nil?
107
+ fail ArgumentError, "Missing the required parameter 'apt_distribution_href' when calling DistributionsAptApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{deb_distribution_href}'.sub('{' + 'deb_distribution_href' + '}', CGI.escape(deb_distribution_href.to_s).gsub('%2F', '/'))
110
+ local_var_path = '{apt_distribution_href}'.sub('{' + 'apt_distribution_href' + '}', CGI.escape(apt_distribution_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 distributions
149
- # ViewSet for DebDistributions.
148
+ # List apt distributions
149
+ # ViewSet for AptDistributions.
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
@@ -165,8 +165,8 @@ module PulpDebClient
165
165
  data
166
166
  end
167
167
 
168
- # List deb distributions
169
- # ViewSet for DebDistributions.
168
+ # List apt distributions
169
+ # ViewSet for AptDistributions.
170
170
  # @param [Hash] opts the optional parameters
171
171
  # @option opts [String] :ordering Which field to use when ordering the results.
172
172
  # @option opts [String] :name
@@ -234,37 +234,37 @@ module PulpDebClient
234
234
  return data, status_code, headers
235
235
  end
236
236
 
237
- # Partially update a deb distribution
237
+ # Partially update an apt distribution
238
238
  # Trigger an asynchronous partial update task
239
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
240
- # @param data [DebDebDistribution]
239
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
240
+ # @param data [DebAptDistribution]
241
241
  # @param [Hash] opts the optional parameters
242
242
  # @return [AsyncOperationResponse]
243
- def partial_update(deb_distribution_href, data, opts = {})
244
- data, _status_code, _headers = partial_update_with_http_info(deb_distribution_href, data, opts)
243
+ def partial_update(apt_distribution_href, data, opts = {})
244
+ data, _status_code, _headers = partial_update_with_http_info(apt_distribution_href, data, opts)
245
245
  data
246
246
  end
247
247
 
248
- # Partially update a deb distribution
248
+ # Partially update an apt distribution
249
249
  # Trigger an asynchronous partial update task
250
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
251
- # @param data [DebDebDistribution]
250
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
251
+ # @param data [DebAptDistribution]
252
252
  # @param [Hash] opts the optional parameters
253
253
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
254
- def partial_update_with_http_info(deb_distribution_href, data, opts = {})
254
+ def partial_update_with_http_info(apt_distribution_href, data, opts = {})
255
255
  if @api_client.config.debugging
256
256
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.partial_update ...'
257
257
  end
258
- # verify the required parameter 'deb_distribution_href' is set
259
- if @api_client.config.client_side_validation && deb_distribution_href.nil?
260
- fail ArgumentError, "Missing the required parameter 'deb_distribution_href' when calling DistributionsAptApi.partial_update"
258
+ # verify the required parameter 'apt_distribution_href' is set
259
+ if @api_client.config.client_side_validation && apt_distribution_href.nil?
260
+ fail ArgumentError, "Missing the required parameter 'apt_distribution_href' when calling DistributionsAptApi.partial_update"
261
261
  end
262
262
  # verify the required parameter 'data' is set
263
263
  if @api_client.config.client_side_validation && data.nil?
264
264
  fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsAptApi.partial_update"
265
265
  end
266
266
  # resource path
267
- local_var_path = '{deb_distribution_href}'.sub('{' + 'deb_distribution_href' + '}', CGI.escape(deb_distribution_href.to_s).gsub('%2F', '/'))
267
+ local_var_path = '{apt_distribution_href}'.sub('{' + 'apt_distribution_href' + '}', CGI.escape(apt_distribution_href.to_s).gsub('%2F', '/'))
268
268
 
269
269
  # query parameters
270
270
  query_params = opts[:query_params] || {}
@@ -304,35 +304,35 @@ module PulpDebClient
304
304
  return data, status_code, headers
305
305
  end
306
306
 
307
- # Inspect a deb distribution
308
- # ViewSet for DebDistributions.
309
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
307
+ # Inspect an apt distribution
308
+ # ViewSet for AptDistributions.
309
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
310
310
  # @param [Hash] opts the optional parameters
311
311
  # @option opts [String] :fields A list of fields to include in the response.
312
312
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
313
- # @return [DebDebDistributionRead]
314
- def read(deb_distribution_href, opts = {})
315
- data, _status_code, _headers = read_with_http_info(deb_distribution_href, opts)
313
+ # @return [DebAptDistribution]
314
+ def read(apt_distribution_href, opts = {})
315
+ data, _status_code, _headers = read_with_http_info(apt_distribution_href, opts)
316
316
  data
317
317
  end
318
318
 
319
- # Inspect a deb distribution
320
- # ViewSet for DebDistributions.
321
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
319
+ # Inspect an apt distribution
320
+ # ViewSet for AptDistributions.
321
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :fields A list of fields to include in the response.
324
324
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
325
- # @return [Array<(DebDebDistributionRead, Integer, Hash)>] DebDebDistributionRead data, response status code and response headers
326
- def read_with_http_info(deb_distribution_href, opts = {})
325
+ # @return [Array<(DebAptDistribution, Integer, Hash)>] DebAptDistribution data, response status code and response headers
326
+ def read_with_http_info(apt_distribution_href, opts = {})
327
327
  if @api_client.config.debugging
328
328
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.read ...'
329
329
  end
330
- # verify the required parameter 'deb_distribution_href' is set
331
- if @api_client.config.client_side_validation && deb_distribution_href.nil?
332
- fail ArgumentError, "Missing the required parameter 'deb_distribution_href' when calling DistributionsAptApi.read"
330
+ # verify the required parameter 'apt_distribution_href' is set
331
+ if @api_client.config.client_side_validation && apt_distribution_href.nil?
332
+ fail ArgumentError, "Missing the required parameter 'apt_distribution_href' when calling DistributionsAptApi.read"
333
333
  end
334
334
  # resource path
335
- local_var_path = '{deb_distribution_href}'.sub('{' + 'deb_distribution_href' + '}', CGI.escape(deb_distribution_href.to_s).gsub('%2F', '/'))
335
+ local_var_path = '{apt_distribution_href}'.sub('{' + 'apt_distribution_href' + '}', CGI.escape(apt_distribution_href.to_s).gsub('%2F', '/'))
336
336
 
337
337
  # query parameters
338
338
  query_params = opts[:query_params] || {}
@@ -351,7 +351,7 @@ module PulpDebClient
351
351
  post_body = opts[:body]
352
352
 
353
353
  # return_type
354
- return_type = opts[:return_type] || 'DebDebDistributionRead'
354
+ return_type = opts[:return_type] || 'DebAptDistribution'
355
355
 
356
356
  # auth_names
357
357
  auth_names = opts[:auth_names] || ['Basic']
@@ -372,37 +372,37 @@ module PulpDebClient
372
372
  return data, status_code, headers
373
373
  end
374
374
 
375
- # Update a deb distribution
375
+ # Update an apt distribution
376
376
  # Trigger an asynchronous update task
377
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
378
- # @param data [DebDebDistribution]
377
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
378
+ # @param data [DebAptDistribution]
379
379
  # @param [Hash] opts the optional parameters
380
380
  # @return [AsyncOperationResponse]
381
- def update(deb_distribution_href, data, opts = {})
382
- data, _status_code, _headers = update_with_http_info(deb_distribution_href, data, opts)
381
+ def update(apt_distribution_href, data, opts = {})
382
+ data, _status_code, _headers = update_with_http_info(apt_distribution_href, data, opts)
383
383
  data
384
384
  end
385
385
 
386
- # Update a deb distribution
386
+ # Update an apt distribution
387
387
  # Trigger an asynchronous update task
388
- # @param deb_distribution_href [String] URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
389
- # @param data [DebDebDistribution]
388
+ # @param apt_distribution_href [String] URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
389
+ # @param data [DebAptDistribution]
390
390
  # @param [Hash] opts the optional parameters
391
391
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
392
- def update_with_http_info(deb_distribution_href, data, opts = {})
392
+ def update_with_http_info(apt_distribution_href, data, opts = {})
393
393
  if @api_client.config.debugging
394
394
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.update ...'
395
395
  end
396
- # verify the required parameter 'deb_distribution_href' is set
397
- if @api_client.config.client_side_validation && deb_distribution_href.nil?
398
- fail ArgumentError, "Missing the required parameter 'deb_distribution_href' when calling DistributionsAptApi.update"
396
+ # verify the required parameter 'apt_distribution_href' is set
397
+ if @api_client.config.client_side_validation && apt_distribution_href.nil?
398
+ fail ArgumentError, "Missing the required parameter 'apt_distribution_href' when calling DistributionsAptApi.update"
399
399
  end
400
400
  # verify the required parameter 'data' is set
401
401
  if @api_client.config.client_side_validation && data.nil?
402
402
  fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsAptApi.update"
403
403
  end
404
404
  # resource path
405
- local_var_path = '{deb_distribution_href}'.sub('{' + 'deb_distribution_href' + '}', CGI.escape(deb_distribution_href.to_s).gsub('%2F', '/'))
405
+ local_var_path = '{apt_distribution_href}'.sub('{' + 'apt_distribution_href' + '}', CGI.escape(apt_distribution_href.to_s).gsub('%2F', '/'))
406
406
 
407
407
  # query parameters
408
408
  query_params = opts[:query_params] || {}
@@ -19,9 +19,9 @@ module PulpDebClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create a deb publication
22
+ # Create an apt publication
23
23
  # Trigger an asynchronous task to publish content
24
- # @param data [DebDebPublication]
24
+ # @param data [DebAptPublication]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
27
  def create(data, opts = {})
@@ -29,9 +29,9 @@ module PulpDebClient
29
29
  data
30
30
  end
31
31
 
32
- # Create a deb publication
32
+ # Create an apt publication
33
33
  # Trigger an asynchronous task to publish content
34
- # @param data [DebDebPublication]
34
+ # @param data [DebAptPublication]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
@@ -83,31 +83,31 @@ module PulpDebClient
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
- # Delete a deb publication
87
- # A ViewSet for DebPublication.
88
- # @param deb_publication_href [String] URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
86
+ # Delete an apt publication
87
+ # A ViewSet for AptPublication.
88
+ # @param apt_publication_href [String] URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def delete(deb_publication_href, opts = {})
92
- delete_with_http_info(deb_publication_href, opts)
91
+ def delete(apt_publication_href, opts = {})
92
+ delete_with_http_info(apt_publication_href, opts)
93
93
  nil
94
94
  end
95
95
 
96
- # Delete a deb publication
97
- # A ViewSet for DebPublication.
98
- # @param deb_publication_href [String] URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
96
+ # Delete an apt publication
97
+ # A ViewSet for AptPublication.
98
+ # @param apt_publication_href [String] URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
- def delete_with_http_info(deb_publication_href, opts = {})
101
+ def delete_with_http_info(apt_publication_href, opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: PublicationsAptApi.delete ...'
104
104
  end
105
- # verify the required parameter 'deb_publication_href' is set
106
- if @api_client.config.client_side_validation && deb_publication_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'deb_publication_href' when calling PublicationsAptApi.delete"
105
+ # verify the required parameter 'apt_publication_href' is set
106
+ if @api_client.config.client_side_validation && apt_publication_href.nil?
107
+ fail ArgumentError, "Missing the required parameter 'apt_publication_href' when calling PublicationsAptApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{deb_publication_href}'.sub('{' + 'deb_publication_href' + '}', CGI.escape(deb_publication_href.to_s).gsub('%2F', '/'))
110
+ local_var_path = '{apt_publication_href}'.sub('{' + 'apt_publication_href' + '}', CGI.escape(apt_publication_href.to_s).gsub('%2F', '/'))
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -143,8 +143,8 @@ module PulpDebClient
143
143
  return data, status_code, headers
144
144
  end
145
145
 
146
- # List deb publications
147
- # A ViewSet for DebPublication.
146
+ # List apt publications
147
+ # A ViewSet for AptPublication.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [String] :ordering Which field to use when ordering the results.
150
150
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -164,8 +164,8 @@ module PulpDebClient
164
164
  data
165
165
  end
166
166
 
167
- # List deb publications
168
- # A ViewSet for DebPublication.
167
+ # List apt publications
168
+ # A ViewSet for AptPublication.
169
169
  # @param [Hash] opts the optional parameters
170
170
  # @option opts [String] :ordering Which field to use when ordering the results.
171
171
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -235,35 +235,35 @@ module PulpDebClient
235
235
  return data, status_code, headers
236
236
  end
237
237
 
238
- # Inspect a deb publication
239
- # A ViewSet for DebPublication.
240
- # @param deb_publication_href [String] URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
238
+ # Inspect an apt publication
239
+ # A ViewSet for AptPublication.
240
+ # @param apt_publication_href [String] URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
241
241
  # @param [Hash] opts the optional parameters
242
242
  # @option opts [String] :fields A list of fields to include in the response.
243
243
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
244
- # @return [DebDebPublicationRead]
245
- def read(deb_publication_href, opts = {})
246
- data, _status_code, _headers = read_with_http_info(deb_publication_href, opts)
244
+ # @return [DebAptPublication]
245
+ def read(apt_publication_href, opts = {})
246
+ data, _status_code, _headers = read_with_http_info(apt_publication_href, opts)
247
247
  data
248
248
  end
249
249
 
250
- # Inspect a deb publication
251
- # A ViewSet for DebPublication.
252
- # @param deb_publication_href [String] URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
250
+ # Inspect an apt publication
251
+ # A ViewSet for AptPublication.
252
+ # @param apt_publication_href [String] URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
253
253
  # @param [Hash] opts the optional parameters
254
254
  # @option opts [String] :fields A list of fields to include in the response.
255
255
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
256
- # @return [Array<(DebDebPublicationRead, Integer, Hash)>] DebDebPublicationRead data, response status code and response headers
257
- def read_with_http_info(deb_publication_href, opts = {})
256
+ # @return [Array<(DebAptPublication, Integer, Hash)>] DebAptPublication data, response status code and response headers
257
+ def read_with_http_info(apt_publication_href, opts = {})
258
258
  if @api_client.config.debugging
259
259
  @api_client.config.logger.debug 'Calling API: PublicationsAptApi.read ...'
260
260
  end
261
- # verify the required parameter 'deb_publication_href' is set
262
- if @api_client.config.client_side_validation && deb_publication_href.nil?
263
- fail ArgumentError, "Missing the required parameter 'deb_publication_href' when calling PublicationsAptApi.read"
261
+ # verify the required parameter 'apt_publication_href' is set
262
+ if @api_client.config.client_side_validation && apt_publication_href.nil?
263
+ fail ArgumentError, "Missing the required parameter 'apt_publication_href' when calling PublicationsAptApi.read"
264
264
  end
265
265
  # resource path
266
- local_var_path = '{deb_publication_href}'.sub('{' + 'deb_publication_href' + '}', CGI.escape(deb_publication_href.to_s).gsub('%2F', '/'))
266
+ local_var_path = '{apt_publication_href}'.sub('{' + 'apt_publication_href' + '}', CGI.escape(apt_publication_href.to_s).gsub('%2F', '/'))
267
267
 
268
268
  # query parameters
269
269
  query_params = opts[:query_params] || {}
@@ -282,7 +282,7 @@ module PulpDebClient
282
282
  post_body = opts[:body]
283
283
 
284
284
  # return_type
285
- return_type = opts[:return_type] || 'DebDebPublicationRead'
285
+ return_type = opts[:return_type] || 'DebAptPublication'
286
286
 
287
287
  # auth_names
288
288
  auth_names = opts[:auth_names] || ['Basic']
@@ -241,7 +241,7 @@ module PulpDebClient
241
241
  # @param [Hash] opts the optional parameters
242
242
  # @option opts [String] :fields A list of fields to include in the response.
243
243
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
244
- # @return [DebVerbatimPublicationRead]
244
+ # @return [DebVerbatimPublication]
245
245
  def read(verbatim_publication_href, opts = {})
246
246
  data, _status_code, _headers = read_with_http_info(verbatim_publication_href, opts)
247
247
  data
@@ -253,7 +253,7 @@ module PulpDebClient
253
253
  # @param [Hash] opts the optional parameters
254
254
  # @option opts [String] :fields A list of fields to include in the response.
255
255
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
256
- # @return [Array<(DebVerbatimPublicationRead, Integer, Hash)>] DebVerbatimPublicationRead data, response status code and response headers
256
+ # @return [Array<(DebVerbatimPublication, Integer, Hash)>] DebVerbatimPublication data, response status code and response headers
257
257
  def read_with_http_info(verbatim_publication_href, opts = {})
258
258
  if @api_client.config.debugging
259
259
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.read ...'
@@ -282,7 +282,7 @@ module PulpDebClient
282
282
  post_body = opts[:body]
283
283
 
284
284
  # return_type
285
- return_type = opts[:return_type] || 'DebVerbatimPublicationRead'
285
+ return_type = opts[:return_type] || 'DebVerbatimPublication'
286
286
 
287
287
  # auth_names
288
288
  auth_names = opts[:auth_names] || ['Basic']