pulp_deb_client 2.0.0b2 → 2.0.0b3

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 (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -18
  3. data/docs/ContentGenericContentsApi.md +12 -4
  4. data/docs/ContentInstallerFileIndexApi.md +20 -8
  5. data/docs/ContentInstallerPackagesApi.md +42 -4
  6. data/docs/ContentPackageIndexApi.md +20 -8
  7. data/docs/ContentPackagesApi.md +46 -6
  8. data/docs/{ContentReleasesApi.md → ContentReleaseFilesApi.md} +44 -32
  9. data/docs/ContentSummary.md +21 -0
  10. data/docs/{InstallerPackage.md → DebBasePackage.md} +40 -46
  11. data/docs/{DebDistribution.md → DebDebDistribution.md} +6 -6
  12. data/docs/{DebPublication.md → DebDebPublication.md} +5 -7
  13. data/docs/{DebRemote.md → DebDebRemote.md} +15 -21
  14. data/docs/DebDebRepository.md +27 -0
  15. data/docs/{GenericContent.md → DebGenericContent.md} +11 -17
  16. data/docs/{InstallerFileIndex.md → DebInstallerFileIndex.md} +5 -7
  17. data/docs/{PackageIndex.md → DebPackageIndex.md} +5 -7
  18. data/docs/{Release.md → DebReleaseFile.md} +5 -7
  19. data/docs/{VerbatimPublication.md → DebVerbatimPublication.md} +5 -7
  20. data/docs/DistributionsAptApi.md +16 -12
  21. data/docs/InlineResponse200.md +1 -1
  22. data/docs/InlineResponse2001.md +1 -1
  23. data/docs/InlineResponse20010.md +23 -0
  24. data/docs/InlineResponse2002.md +1 -1
  25. data/docs/InlineResponse2003.md +1 -1
  26. data/docs/InlineResponse2004.md +1 -1
  27. data/docs/InlineResponse2005.md +1 -1
  28. data/docs/InlineResponse2006.md +1 -1
  29. data/docs/InlineResponse2007.md +1 -1
  30. data/docs/InlineResponse2008.md +1 -1
  31. data/docs/InlineResponse2009.md +1 -1
  32. data/docs/PublicationsAptApi.md +12 -8
  33. data/docs/PublicationsVerbatimApi.md +12 -8
  34. data/docs/RemotesAptApi.md +30 -81
  35. data/docs/RepositoriesAptApi.md +465 -0
  36. data/docs/RepositoriesDebVersionsApi.md +214 -0
  37. data/docs/RepositoryAddRemoveContent.md +21 -0
  38. data/docs/RepositorySyncURL.md +2 -2
  39. data/docs/RepositoryVersion.md +25 -0
  40. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +16 -4
  41. data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +27 -9
  42. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +61 -4
  43. data/lib/pulp_deb_client/api/content_package_index_api.rb +27 -9
  44. data/lib/pulp_deb_client/api/content_packages_api.rb +67 -7
  45. data/lib/pulp_deb_client/api/{content_releases_api.rb → content_release_files_api.rb} +61 -43
  46. data/lib/pulp_deb_client/api/distributions_apt_api.rb +19 -13
  47. data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -9
  48. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -9
  49. data/lib/pulp_deb_client/api/remotes_apt_api.rb +40 -102
  50. data/lib/pulp_deb_client/api/repositories_apt_api.rb +568 -0
  51. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +268 -0
  52. data/lib/pulp_deb_client/api_client.rb +1 -1
  53. data/lib/pulp_deb_client/api_error.rb +1 -1
  54. data/lib/pulp_deb_client/configuration.rb +1 -1
  55. data/lib/pulp_deb_client/models/async_operation_response.rb +12 -2
  56. data/lib/pulp_deb_client/models/content_summary.rb +246 -0
  57. data/lib/pulp_deb_client/models/{package.rb → deb_base_package.rb} +28 -62
  58. data/lib/pulp_deb_client/models/{deb_distribution.rb → deb_deb_distribution.rb} +30 -36
  59. data/lib/pulp_deb_client/models/{deb_publication.rb → deb_deb_publication.rb} +29 -42
  60. data/lib/pulp_deb_client/models/{deb_remote.rb → deb_deb_remote.rb} +87 -147
  61. data/lib/pulp_deb_client/models/deb_deb_repository.rb +294 -0
  62. data/lib/pulp_deb_client/models/{generic_content.rb → deb_generic_content.rb} +28 -62
  63. data/lib/pulp_deb_client/models/{installer_file_index.rb → deb_installer_file_index.rb} +28 -42
  64. data/lib/pulp_deb_client/models/{package_index.rb → deb_package_index.rb} +28 -42
  65. data/lib/pulp_deb_client/models/{release.rb → deb_release_file.rb} +28 -42
  66. data/lib/pulp_deb_client/models/{verbatim_publication.rb → deb_verbatim_publication.rb} +29 -42
  67. data/lib/pulp_deb_client/models/inline_response200.rb +15 -3
  68. data/lib/pulp_deb_client/models/inline_response2001.rb +15 -3
  69. data/lib/pulp_deb_client/models/inline_response20010.rb +247 -0
  70. data/lib/pulp_deb_client/models/inline_response2002.rb +15 -3
  71. data/lib/pulp_deb_client/models/inline_response2003.rb +15 -3
  72. data/lib/pulp_deb_client/models/inline_response2004.rb +15 -3
  73. data/lib/pulp_deb_client/models/inline_response2005.rb +15 -3
  74. data/lib/pulp_deb_client/models/inline_response2006.rb +15 -3
  75. data/lib/pulp_deb_client/models/inline_response2007.rb +15 -3
  76. data/lib/pulp_deb_client/models/inline_response2008.rb +15 -3
  77. data/lib/pulp_deb_client/models/inline_response2009.rb +15 -3
  78. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +231 -0
  79. data/lib/pulp_deb_client/models/repository_sync_url.rb +22 -12
  80. data/lib/pulp_deb_client/models/repository_version.rb +244 -0
  81. data/lib/pulp_deb_client/version.rb +2 -2
  82. data/lib/pulp_deb_client.rb +18 -12
  83. data/pulp_deb_client.gemspec +1 -1
  84. data/spec/api/content_generic_contents_api_spec.rb +6 -2
  85. data/spec/api/content_installer_file_index_api_spec.rb +9 -3
  86. data/spec/api/content_installer_packages_api_spec.rb +21 -2
  87. data/spec/api/content_package_index_api_spec.rb +9 -3
  88. data/spec/api/content_packages_api_spec.rb +23 -3
  89. data/spec/api/{content_releases_api_spec.rb → content_release_files_api_spec.rb} +23 -17
  90. data/spec/api/distributions_apt_api_spec.rb +5 -3
  91. data/spec/api/publications_apt_api_spec.rb +5 -3
  92. data/spec/api/publications_verbatim_api_spec.rb +5 -3
  93. data/spec/api/remotes_apt_api_spec.rb +12 -22
  94. data/spec/api/repositories_apt_api_spec.rb +141 -0
  95. data/spec/api/repositories_deb_versions_api_spec.rb +91 -0
  96. data/spec/api_client_spec.rb +2 -2
  97. data/spec/configuration_spec.rb +1 -1
  98. data/spec/models/async_operation_response_spec.rb +1 -1
  99. data/spec/models/content_summary_spec.rb +53 -0
  100. data/spec/models/{package_spec.rb → deb_base_package_spec.rb} +9 -27
  101. data/spec/models/{deb_distribution_spec.rb → deb_deb_distribution_spec.rb} +9 -9
  102. data/spec/models/{deb_publication_spec.rb → deb_deb_publication_spec.rb} +9 -15
  103. data/spec/models/{deb_remote_spec.rb → deb_deb_remote_spec.rb} +14 -32
  104. data/spec/models/{verbatim_publication_spec.rb → deb_deb_repository_spec.rb} +13 -13
  105. data/spec/models/{generic_content_spec.rb → deb_generic_content_spec.rb} +9 -27
  106. data/spec/models/{package_index_spec.rb → deb_installer_file_index_spec.rb} +9 -15
  107. data/spec/models/{installer_file_index_spec.rb → deb_package_index_spec.rb} +9 -15
  108. data/spec/models/{release_spec.rb → deb_release_file_spec.rb} +9 -15
  109. data/spec/models/deb_verbatim_publication_spec.rb +65 -0
  110. data/spec/models/inline_response20010_spec.rb +59 -0
  111. data/spec/models/inline_response2001_spec.rb +1 -1
  112. data/spec/models/inline_response2002_spec.rb +1 -1
  113. data/spec/models/inline_response2003_spec.rb +1 -1
  114. data/spec/models/inline_response2004_spec.rb +1 -1
  115. data/spec/models/inline_response2005_spec.rb +1 -1
  116. data/spec/models/inline_response2006_spec.rb +1 -1
  117. data/spec/models/inline_response2007_spec.rb +1 -1
  118. data/spec/models/inline_response2008_spec.rb +1 -1
  119. data/spec/models/inline_response2009_spec.rb +1 -1
  120. data/spec/models/inline_response200_spec.rb +1 -1
  121. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  122. data/spec/models/repository_sync_url_spec.rb +2 -2
  123. data/spec/models/repository_version_spec.rb +65 -0
  124. data/spec/spec_helper.rb +1 -1
  125. metadata +70 -46
  126. data/docs/Package.md +0 -99
  127. data/lib/pulp_deb_client/models/installer_package.rb +0 -1101
  128. data/spec/models/installer_package_spec.rb +0 -287
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,7 @@ module PulpDebClient
21
21
  end
22
22
  # Create a verbatim publication
23
23
  # Trigger an asynchronous task to publish content
24
- # @param data [VerbatimPublication]
24
+ # @param data [DebVerbatimPublication]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
27
  def create(data, opts = {})
@@ -31,7 +31,7 @@ module PulpDebClient
31
31
 
32
32
  # Create a verbatim publication
33
33
  # Trigger an asynchronous task to publish content
34
- # @param data [VerbatimPublication]
34
+ # @param data [DebVerbatimPublication]
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 = {})
@@ -150,7 +150,8 @@ module PulpDebClient
150
150
  # @option opts [Integer] :limit Number of results to return per page.
151
151
  # @option opts [Integer] :offset The initial index from which to return the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
- # @return [InlineResponse2008]
153
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
+ # @return [InlineResponse2007]
154
155
  def list(opts = {})
155
156
  data, _status_code, _headers = list_with_http_info(opts)
156
157
  data
@@ -163,7 +164,8 @@ module PulpDebClient
163
164
  # @option opts [Integer] :limit Number of results to return per page.
164
165
  # @option opts [Integer] :offset The initial index from which to return the results.
165
166
  # @option opts [String] :fields A list of fields to include in the response.
166
- # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
167
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
+ # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
167
169
  def list_with_http_info(opts = {})
168
170
  if @api_client.config.debugging
169
171
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
@@ -177,6 +179,7 @@ module PulpDebClient
177
179
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
178
180
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
179
181
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
182
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
180
183
 
181
184
  # header parameters
182
185
  header_params = opts[:header_params] || {}
@@ -190,7 +193,7 @@ module PulpDebClient
190
193
  post_body = opts[:body]
191
194
 
192
195
  # return_type
193
- return_type = opts[:return_type] || 'InlineResponse2008'
196
+ return_type = opts[:return_type] || 'InlineResponse2007'
194
197
 
195
198
  # auth_names
196
199
  auth_names = opts[:auth_names] || ['Basic']
@@ -216,7 +219,8 @@ module PulpDebClient
216
219
  # @param verbatim_publication_href [String] URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/
217
220
  # @param [Hash] opts the optional parameters
218
221
  # @option opts [String] :fields A list of fields to include in the response.
219
- # @return [VerbatimPublication]
222
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
223
+ # @return [DebVerbatimPublication]
220
224
  def read(verbatim_publication_href, opts = {})
221
225
  data, _status_code, _headers = read_with_http_info(verbatim_publication_href, opts)
222
226
  data
@@ -227,7 +231,8 @@ module PulpDebClient
227
231
  # @param verbatim_publication_href [String] URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/
228
232
  # @param [Hash] opts the optional parameters
229
233
  # @option opts [String] :fields A list of fields to include in the response.
230
- # @return [Array<(VerbatimPublication, Integer, Hash)>] VerbatimPublication data, response status code and response headers
234
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
235
+ # @return [Array<(DebVerbatimPublication, Integer, Hash)>] DebVerbatimPublication data, response status code and response headers
231
236
  def read_with_http_info(verbatim_publication_href, opts = {})
232
237
  if @api_client.config.debugging
233
238
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.read ...'
@@ -242,6 +247,7 @@ module PulpDebClient
242
247
  # query parameters
243
248
  query_params = opts[:query_params] || {}
244
249
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
250
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
245
251
 
246
252
  # header parameters
247
253
  header_params = opts[:header_params] || {}
@@ -255,7 +261,7 @@ module PulpDebClient
255
261
  post_body = opts[:body]
256
262
 
257
263
  # return_type
258
- return_type = opts[:return_type] || 'VerbatimPublication'
264
+ return_type = opts[:return_type] || 'DebVerbatimPublication'
259
265
 
260
266
  # auth_names
261
267
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,9 +21,9 @@ module PulpDebClient
21
21
  end
22
22
  # Create a deb remote
23
23
  # A ViewSet for DebRemote.
24
- # @param data [DebRemote]
24
+ # @param data [DebDebRemote]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [DebRemote]
26
+ # @return [DebDebRemote]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -31,9 +31,9 @@ module PulpDebClient
31
31
 
32
32
  # Create a deb remote
33
33
  # A ViewSet for DebRemote.
34
- # @param data [DebRemote]
34
+ # @param data [DebDebRemote]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(DebRemote, Integer, Hash)>] DebRemote data, response status code and response headers
36
+ # @return [Array<(DebDebRemote, Integer, Hash)>] DebDebRemote 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] || 'DebRemote'
65
+ return_type = opts[:return_type] || 'DebDebRemote'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -150,16 +150,17 @@ module PulpDebClient
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [String] :name
152
152
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
153
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
154
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
155
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
156
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
157
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
158
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
153
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
154
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
155
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
156
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
157
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
158
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
159
159
  # @option opts [Integer] :limit Number of results to return per page.
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
162
- # @return [InlineResponse2009]
162
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
163
+ # @return [InlineResponse2008]
163
164
  def list(opts = {})
164
165
  data, _status_code, _headers = list_with_http_info(opts)
165
166
  data
@@ -170,16 +171,17 @@ module PulpDebClient
170
171
  # @param [Hash] opts the optional parameters
171
172
  # @option opts [String] :name
172
173
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
173
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
174
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
175
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
176
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
177
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
178
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
174
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
175
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
176
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
177
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
178
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
179
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
179
180
  # @option opts [Integer] :limit Number of results to return per page.
180
181
  # @option opts [Integer] :offset The initial index from which to return the results.
181
182
  # @option opts [String] :fields A list of fields to include in the response.
182
- # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
183
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
184
+ # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
183
185
  def list_with_http_info(opts = {})
184
186
  if @api_client.config.debugging
185
187
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.list ...'
@@ -191,15 +193,16 @@ module PulpDebClient
191
193
  query_params = opts[:query_params] || {}
192
194
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
193
195
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
194
- query_params[:'_last_updated__lt'] = opts[:'_last_updated__lt'] if !opts[:'_last_updated__lt'].nil?
195
- query_params[:'_last_updated__lte'] = opts[:'_last_updated__lte'] if !opts[:'_last_updated__lte'].nil?
196
- query_params[:'_last_updated__gt'] = opts[:'_last_updated__gt'] if !opts[:'_last_updated__gt'].nil?
197
- query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
198
- query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
199
- query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
196
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
197
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
198
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
199
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
200
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
201
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
200
202
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
201
203
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
202
204
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
205
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
206
 
204
207
  # header parameters
205
208
  header_params = opts[:header_params] || {}
@@ -213,7 +216,7 @@ module PulpDebClient
213
216
  post_body = opts[:body]
214
217
 
215
218
  # return_type
216
- return_type = opts[:return_type] || 'InlineResponse2009'
219
+ return_type = opts[:return_type] || 'InlineResponse2008'
217
220
 
218
221
  # auth_names
219
222
  auth_names = opts[:auth_names] || ['Basic']
@@ -237,7 +240,7 @@ module PulpDebClient
237
240
  # Partially update a deb remote
238
241
  # Trigger an asynchronous partial update task
239
242
  # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
240
- # @param data [DebRemote]
243
+ # @param data [DebDebRemote]
241
244
  # @param [Hash] opts the optional parameters
242
245
  # @return [AsyncOperationResponse]
243
246
  def partial_update(deb_remote_href, data, opts = {})
@@ -248,7 +251,7 @@ module PulpDebClient
248
251
  # Partially update a deb remote
249
252
  # Trigger an asynchronous partial update task
250
253
  # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
251
- # @param data [DebRemote]
254
+ # @param data [DebDebRemote]
252
255
  # @param [Hash] opts the optional parameters
253
256
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
254
257
  def partial_update_with_http_info(deb_remote_href, data, opts = {})
@@ -309,7 +312,8 @@ module PulpDebClient
309
312
  # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
310
313
  # @param [Hash] opts the optional parameters
311
314
  # @option opts [String] :fields A list of fields to include in the response.
312
- # @return [DebRemote]
315
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
316
+ # @return [DebDebRemote]
313
317
  def read(deb_remote_href, opts = {})
314
318
  data, _status_code, _headers = read_with_http_info(deb_remote_href, opts)
315
319
  data
@@ -320,7 +324,8 @@ module PulpDebClient
320
324
  # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
321
325
  # @param [Hash] opts the optional parameters
322
326
  # @option opts [String] :fields A list of fields to include in the response.
323
- # @return [Array<(DebRemote, Integer, Hash)>] DebRemote data, response status code and response headers
327
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
328
+ # @return [Array<(DebDebRemote, Integer, Hash)>] DebDebRemote data, response status code and response headers
324
329
  def read_with_http_info(deb_remote_href, opts = {})
325
330
  if @api_client.config.debugging
326
331
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.read ...'
@@ -335,6 +340,7 @@ module PulpDebClient
335
340
  # query parameters
336
341
  query_params = opts[:query_params] || {}
337
342
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
343
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
338
344
 
339
345
  # header parameters
340
346
  header_params = opts[:header_params] || {}
@@ -348,7 +354,7 @@ module PulpDebClient
348
354
  post_body = opts[:body]
349
355
 
350
356
  # return_type
351
- return_type = opts[:return_type] || 'DebRemote'
357
+ return_type = opts[:return_type] || 'DebDebRemote'
352
358
 
353
359
  # auth_names
354
360
  auth_names = opts[:auth_names] || ['Basic']
@@ -369,78 +375,10 @@ module PulpDebClient
369
375
  return data, status_code, headers
370
376
  end
371
377
 
372
- # Trigger an asynchronous task to sync content
373
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
374
- # @param data [RepositorySyncURL]
375
- # @param [Hash] opts the optional parameters
376
- # @return [AsyncOperationResponse]
377
- def sync(deb_remote_href, data, opts = {})
378
- data, _status_code, _headers = sync_with_http_info(deb_remote_href, data, opts)
379
- data
380
- end
381
-
382
- # Trigger an asynchronous task to sync content
383
- # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
384
- # @param data [RepositorySyncURL]
385
- # @param [Hash] opts the optional parameters
386
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
387
- def sync_with_http_info(deb_remote_href, data, opts = {})
388
- if @api_client.config.debugging
389
- @api_client.config.logger.debug 'Calling API: RemotesAptApi.sync ...'
390
- end
391
- # verify the required parameter 'deb_remote_href' is set
392
- if @api_client.config.client_side_validation && deb_remote_href.nil?
393
- fail ArgumentError, "Missing the required parameter 'deb_remote_href' when calling RemotesAptApi.sync"
394
- end
395
- # verify the required parameter 'data' is set
396
- if @api_client.config.client_side_validation && data.nil?
397
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesAptApi.sync"
398
- end
399
- # resource path
400
- local_var_path = '{deb_remote_href}sync/'.sub('{' + 'deb_remote_href' + '}', CGI.escape(deb_remote_href.to_s).gsub('%2F', '/'))
401
-
402
- # query parameters
403
- query_params = opts[:query_params] || {}
404
-
405
- # header parameters
406
- header_params = opts[:header_params] || {}
407
- # HTTP header 'Accept' (if needed)
408
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
409
- # HTTP header 'Content-Type'
410
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
411
-
412
- # form parameters
413
- form_params = opts[:form_params] || {}
414
-
415
- # http body (model)
416
- post_body = opts[:body] || @api_client.object_to_http_body(data)
417
-
418
- # return_type
419
- return_type = opts[:return_type] || 'AsyncOperationResponse'
420
-
421
- # auth_names
422
- auth_names = opts[:auth_names] || ['Basic']
423
-
424
- new_options = opts.merge(
425
- :header_params => header_params,
426
- :query_params => query_params,
427
- :form_params => form_params,
428
- :body => post_body,
429
- :auth_names => auth_names,
430
- :return_type => return_type
431
- )
432
-
433
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
434
- if @api_client.config.debugging
435
- @api_client.config.logger.debug "API called: RemotesAptApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
436
- end
437
- return data, status_code, headers
438
- end
439
-
440
378
  # Update a deb remote
441
379
  # Trigger an asynchronous update task
442
380
  # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
443
- # @param data [DebRemote]
381
+ # @param data [DebDebRemote]
444
382
  # @param [Hash] opts the optional parameters
445
383
  # @return [AsyncOperationResponse]
446
384
  def update(deb_remote_href, data, opts = {})
@@ -451,7 +389,7 @@ module PulpDebClient
451
389
  # Update a deb remote
452
390
  # Trigger an asynchronous update task
453
391
  # @param deb_remote_href [String] URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
454
- # @param data [DebRemote]
392
+ # @param data [DebDebRemote]
455
393
  # @param [Hash] opts the optional parameters
456
394
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
457
395
  def update_with_http_info(deb_remote_href, data, opts = {})