pulp_deb_client 2.4.0b1 → 2.5.0b1

Sign up to get free protection for your applications and to get access to all the features.
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,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 [DebAptRemote]
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<(DebAptRemote, Integer, Hash)>] DebAptRemote 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] || 'DebAptRemote'
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 [DebAptRemote]
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<(DebAptRemote, Integer, Hash)>] DebAptRemote 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] || 'DebAptRemote'
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 [DebAptRepository]
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<(DebAptRepository, Integer, Hash)>] DebAptRepository 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] || 'DebAptRepository'
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 [DebAptRepository]
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<(DebAptRepository, Integer, Hash)>] DebAptRepository 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] || 'DebAptRepository'
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] || {}