pulp_deb_client 3.5.2 → 3.7.0

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 (149) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGenericContentsApi.md +22 -8
  4. data/docs/ContentInstallerFileIndicesApi.md +28 -12
  5. data/docs/ContentInstallerPackagesApi.md +24 -10
  6. data/docs/ContentPackageIndicesApi.md +28 -12
  7. data/docs/ContentPackageReleaseComponentsApi.md +28 -12
  8. data/docs/ContentPackagesApi.md +24 -10
  9. data/docs/ContentReleaseArchitecturesApi.md +28 -12
  10. data/docs/ContentReleaseComponentsApi.md +28 -12
  11. data/docs/ContentReleaseFilesApi.md +28 -12
  12. data/docs/ContentReleasesApi.md +28 -12
  13. data/docs/ContentSourceIndicesApi.md +28 -12
  14. data/docs/ContentSourcePackagesApi.md +28 -12
  15. data/docs/ContentSourceReleaseComponentsApi.md +28 -12
  16. data/docs/Copy.md +1 -1
  17. data/docs/DebAptDistribution.md +3 -1
  18. data/docs/DebAptDistributionResponse.md +3 -1
  19. data/docs/DebAptPublication.md +2 -0
  20. data/docs/DebAptPublicationResponse.md +2 -0
  21. data/docs/DebAptRemoteResponse.md +1 -1
  22. data/docs/DebCopyApi.md +8 -4
  23. data/docs/DebGenericContentResponse.md +2 -0
  24. data/docs/DebInstallerFileIndexResponse.md +2 -0
  25. data/docs/DebInstallerPackageResponse.md +2 -0
  26. data/docs/DebPackageIndexResponse.md +2 -0
  27. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  28. data/docs/DebPackageResponse.md +2 -0
  29. data/docs/DebReleaseArchitectureResponse.md +2 -0
  30. data/docs/DebReleaseComponentResponse.md +2 -0
  31. data/docs/DebReleaseFileResponse.md +2 -0
  32. data/docs/DebReleaseResponse.md +2 -0
  33. data/docs/DebSourceIndexResponse.md +2 -0
  34. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  35. data/docs/DebSourcePackageResponse.md +2 -0
  36. data/docs/DistributionsAptApi.md +72 -32
  37. data/docs/PatcheddebAptDistribution.md +3 -1
  38. data/docs/PublicationsAptApi.md +40 -16
  39. data/docs/PublicationsVerbatimApi.md +40 -16
  40. data/docs/RemotesAptApi.md +72 -32
  41. data/docs/RepositoriesAptApi.md +88 -40
  42. data/docs/RepositoriesAptVersionsApi.md +22 -10
  43. data/docs/RepositoryVersionResponse.md +3 -1
  44. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
  45. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
  46. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +23 -0
  47. data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
  48. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
  49. data/lib/pulp_deb_client/api/content_packages_api.rb +23 -0
  50. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
  51. data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
  52. data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
  53. data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
  54. data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
  55. data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
  56. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
  57. data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
  58. data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
  59. data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
  60. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
  61. data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
  62. data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
  63. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
  64. data/lib/pulp_deb_client/models/copy.rb +0 -1
  65. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
  66. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
  67. data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
  68. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
  69. data/lib/pulp_deb_client/models/deb_apt_remote.rb +0 -15
  70. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +0 -15
  71. data/lib/pulp_deb_client/models/deb_apt_repository.rb +0 -15
  72. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +0 -15
  73. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +10 -1
  74. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +10 -1
  75. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +10 -1
  76. data/lib/pulp_deb_client/models/deb_package_index_response.rb +10 -1
  77. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +10 -1
  78. data/lib/pulp_deb_client/models/deb_package_response.rb +10 -1
  79. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +10 -1
  80. data/lib/pulp_deb_client/models/deb_release_component_response.rb +10 -1
  81. data/lib/pulp_deb_client/models/deb_release_file_response.rb +10 -1
  82. data/lib/pulp_deb_client/models/deb_release_response.rb +10 -1
  83. data/lib/pulp_deb_client/models/deb_source_index_response.rb +10 -1
  84. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +10 -1
  85. data/lib/pulp_deb_client/models/deb_source_package_response.rb +10 -1
  86. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +0 -2
  87. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +0 -2
  88. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +0 -2
  89. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +0 -2
  90. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +0 -2
  91. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +0 -2
  92. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +0 -2
  93. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +0 -2
  94. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +0 -2
  95. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +0 -2
  96. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +0 -2
  97. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +0 -2
  98. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +0 -2
  99. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +0 -2
  100. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +0 -2
  101. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +0 -2
  102. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +0 -2
  103. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +0 -2
  104. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +0 -2
  105. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
  106. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +0 -15
  107. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +0 -15
  108. data/lib/pulp_deb_client/models/repository_version_response.rb +13 -4
  109. data/lib/pulp_deb_client/version.rb +1 -1
  110. data/spec/api/content_generic_contents_api_spec.rb +5 -0
  111. data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
  112. data/spec/api/content_installer_packages_api_spec.rb +5 -0
  113. data/spec/api/content_package_indices_api_spec.rb +5 -0
  114. data/spec/api/content_package_release_components_api_spec.rb +5 -0
  115. data/spec/api/content_packages_api_spec.rb +5 -0
  116. data/spec/api/content_release_architectures_api_spec.rb +5 -0
  117. data/spec/api/content_release_components_api_spec.rb +5 -0
  118. data/spec/api/content_release_files_api_spec.rb +5 -0
  119. data/spec/api/content_releases_api_spec.rb +5 -0
  120. data/spec/api/content_source_indices_api_spec.rb +5 -0
  121. data/spec/api/content_source_packages_api_spec.rb +5 -0
  122. data/spec/api/content_source_release_components_api_spec.rb +5 -0
  123. data/spec/api/deb_copy_api_spec.rb +1 -0
  124. data/spec/api/distributions_apt_api_spec.rb +12 -0
  125. data/spec/api/publications_apt_api_spec.rb +8 -0
  126. data/spec/api/publications_verbatim_api_spec.rb +8 -0
  127. data/spec/api/remotes_apt_api_spec.rb +12 -0
  128. data/spec/api/repositories_apt_api_spec.rb +14 -0
  129. data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
  130. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  131. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  132. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  133. data/spec/models/deb_apt_publication_spec.rb +6 -0
  134. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  135. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  136. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  137. data/spec/models/deb_package_index_response_spec.rb +6 -0
  138. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  139. data/spec/models/deb_package_response_spec.rb +6 -0
  140. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  141. data/spec/models/deb_release_component_response_spec.rb +6 -0
  142. data/spec/models/deb_release_file_response_spec.rb +6 -0
  143. data/spec/models/deb_release_response_spec.rb +6 -0
  144. data/spec/models/deb_source_index_response_spec.rb +6 -0
  145. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  146. data/spec/models/deb_source_package_response_spec.rb +6 -0
  147. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  148. data/spec/models/repository_version_response_spec.rb +6 -0
  149. metadata +71 -71
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param deb_apt_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def delete(deb_apt_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(deb_apt_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param deb_apt_repository_version_href [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def delete_with_http_info(deb_apt_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpDebClient
52
54
  header_params = opts[:header_params] || {}
53
55
  # HTTP header 'Accept' (if needed)
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
@@ -86,6 +89,7 @@ module PulpDebClient
86
89
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
87
90
  # @param deb_apt_repository_href [String]
88
91
  # @param [Hash] opts the optional parameters
92
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
89
93
  # @option opts [String] :content Content Unit referenced by HREF/PRN
90
94
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
91
95
  # @option opts [Integer] :limit Number of results to return per page.
@@ -96,7 +100,7 @@ module PulpDebClient
96
100
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
97
101
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
98
102
  # @option opts [Integer] :offset The initial index from which to return the results.
99
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
103
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
100
104
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
101
105
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
102
106
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -119,6 +123,7 @@ module PulpDebClient
119
123
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
120
124
  # @param deb_apt_repository_href [String]
121
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
127
  # @option opts [String] :content Content Unit referenced by HREF/PRN
123
128
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
124
129
  # @option opts [Integer] :limit Number of results to return per page.
@@ -129,7 +134,7 @@ module PulpDebClient
129
134
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
130
135
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
131
136
  # @option opts [Integer] :offset The initial index from which to return the results.
132
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
137
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
133
138
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
134
139
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
135
140
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -151,7 +156,7 @@ module PulpDebClient
151
156
  if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
152
157
  fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
153
158
  end
154
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
159
+ allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
155
160
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
156
161
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
157
162
  end
@@ -188,6 +193,7 @@ module PulpDebClient
188
193
  header_params = opts[:header_params] || {}
189
194
  # HTTP header 'Accept' (if needed)
190
195
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
196
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
191
197
 
192
198
  # form parameters
193
199
  form_params = opts[:form_params] || {}
@@ -222,6 +228,7 @@ module PulpDebClient
222
228
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
223
229
  # @param deb_apt_repository_version_href [String]
224
230
  # @param [Hash] opts the optional parameters
231
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
232
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
233
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
234
  # @return [RepositoryVersionResponse]
@@ -234,6 +241,7 @@ module PulpDebClient
234
241
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
235
242
  # @param deb_apt_repository_version_href [String]
236
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
237
245
  # @option opts [Array<String>] :fields A list of fields to include in the response.
238
246
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
239
247
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
@@ -257,6 +265,7 @@ module PulpDebClient
257
265
  header_params = opts[:header_params] || {}
258
266
  # HTTP header 'Accept' (if needed)
259
267
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
260
269
 
261
270
  # form parameters
262
271
  form_params = opts[:form_params] || {}
@@ -291,6 +300,7 @@ module PulpDebClient
291
300
  # @param deb_apt_repository_version_href [String]
292
301
  # @param repair [Repair]
293
302
  # @param [Hash] opts the optional parameters
303
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
294
304
  # @return [AsyncOperationResponse]
295
305
  def repair(deb_apt_repository_version_href, repair, opts = {})
296
306
  data, _status_code, _headers = repair_with_http_info(deb_apt_repository_version_href, repair, opts)
@@ -301,6 +311,7 @@ module PulpDebClient
301
311
  # @param deb_apt_repository_version_href [String]
302
312
  # @param repair [Repair]
303
313
  # @param [Hash] opts the optional parameters
314
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
304
315
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
316
  def repair_with_http_info(deb_apt_repository_version_href, repair, opts = {})
306
317
  if @api_client.config.debugging
@@ -329,6 +340,7 @@ module PulpDebClient
329
340
  if !content_type.nil?
330
341
  header_params['Content-Type'] = content_type
331
342
  end
343
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
332
344
 
333
345
  # form parameters
334
346
  form_params = opts[:form_params] || {}
@@ -16,7 +16,6 @@ require 'time'
16
16
  module PulpDebClient
17
17
  # A serializer for Content Copy API.
18
18
  class Copy
19
- # A JSON document describing sources, destinations, and content to be copied
20
19
  attr_accessor :config
21
20
 
22
21
  # Also copy any distributions, components, and releases as needed for any packages being copied. This will allow for structured publications of the target repository.Default is set to True
@@ -36,6 +36,8 @@ module PulpDebClient
36
36
  # Publication to be served
37
37
  attr_accessor :publication
38
38
 
39
+ attr_accessor :checkpoint
40
+
39
41
  # Attribute mapping from ruby-style variable name to JSON key.
40
42
  def self.attribute_map
41
43
  {
@@ -45,7 +47,8 @@ module PulpDebClient
45
47
  :'pulp_labels' => :'pulp_labels',
46
48
  :'name' => :'name',
47
49
  :'repository' => :'repository',
48
- :'publication' => :'publication'
50
+ :'publication' => :'publication',
51
+ :'checkpoint' => :'checkpoint'
49
52
  }
50
53
  end
51
54
 
@@ -63,7 +66,8 @@ module PulpDebClient
63
66
  :'pulp_labels' => :'Hash<String, String>',
64
67
  :'name' => :'String',
65
68
  :'repository' => :'String',
66
- :'publication' => :'String'
69
+ :'publication' => :'String',
70
+ :'checkpoint' => :'Boolean'
67
71
  }
68
72
  end
69
73
 
@@ -72,7 +76,7 @@ module PulpDebClient
72
76
  Set.new([
73
77
  :'content_guard',
74
78
  :'repository',
75
- :'publication'
79
+ :'publication',
76
80
  ])
77
81
  end
78
82
 
@@ -126,6 +130,10 @@ module PulpDebClient
126
130
  if attributes.key?(:'publication')
127
131
  self.publication = attributes[:'publication']
128
132
  end
133
+
134
+ if attributes.key?(:'checkpoint')
135
+ self.checkpoint = attributes[:'checkpoint']
136
+ end
129
137
  end
130
138
 
131
139
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -202,7 +210,8 @@ module PulpDebClient
202
210
  pulp_labels == o.pulp_labels &&
203
211
  name == o.name &&
204
212
  repository == o.repository &&
205
- publication == o.publication
213
+ publication == o.publication &&
214
+ checkpoint == o.checkpoint
206
215
  end
207
216
 
208
217
  # @see the `==` method
@@ -214,7 +223,7 @@ module PulpDebClient
214
223
  # Calculates hash code according to all attributes.
215
224
  # @return [Integer] Hash code
216
225
  def hash
217
- [base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
226
+ [base_path, content_guard, hidden, pulp_labels, name, repository, publication, checkpoint].hash
218
227
  end
219
228
 
220
229
  # Builds the object from hash
@@ -53,6 +53,8 @@ module PulpDebClient
53
53
  # Publication to be served
54
54
  attr_accessor :publication
55
55
 
56
+ attr_accessor :checkpoint
57
+
56
58
  # Attribute mapping from ruby-style variable name to JSON key.
57
59
  def self.attribute_map
58
60
  {
@@ -68,7 +70,8 @@ module PulpDebClient
68
70
  :'pulp_labels' => :'pulp_labels',
69
71
  :'name' => :'name',
70
72
  :'repository' => :'repository',
71
- :'publication' => :'publication'
73
+ :'publication' => :'publication',
74
+ :'checkpoint' => :'checkpoint'
72
75
  }
73
76
  end
74
77
 
@@ -92,7 +95,8 @@ module PulpDebClient
92
95
  :'pulp_labels' => :'Hash<String, String>',
93
96
  :'name' => :'String',
94
97
  :'repository' => :'String',
95
- :'publication' => :'String'
98
+ :'publication' => :'String',
99
+ :'checkpoint' => :'Boolean'
96
100
  }
97
101
  end
98
102
 
@@ -101,7 +105,7 @@ module PulpDebClient
101
105
  Set.new([
102
106
  :'content_guard',
103
107
  :'repository',
104
- :'publication'
108
+ :'publication',
105
109
  ])
106
110
  end
107
111
 
@@ -179,6 +183,10 @@ module PulpDebClient
179
183
  if attributes.key?(:'publication')
180
184
  self.publication = attributes[:'publication']
181
185
  end
186
+
187
+ if attributes.key?(:'checkpoint')
188
+ self.checkpoint = attributes[:'checkpoint']
189
+ end
182
190
  end
183
191
 
184
192
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -223,7 +231,8 @@ module PulpDebClient
223
231
  pulp_labels == o.pulp_labels &&
224
232
  name == o.name &&
225
233
  repository == o.repository &&
226
- publication == o.publication
234
+ publication == o.publication &&
235
+ checkpoint == o.checkpoint
227
236
  end
228
237
 
229
238
  # @see the `==` method
@@ -235,7 +244,7 @@ module PulpDebClient
235
244
  # Calculates hash code according to all attributes.
236
245
  # @return [Integer] Hash code
237
246
  def hash
238
- [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication].hash
247
+ [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, checkpoint].hash
239
248
  end
240
249
 
241
250
  # Builds the object from hash
@@ -27,6 +27,8 @@ module PulpDebClient
27
27
  # Activate structured publishing mode.
28
28
  attr_accessor :structured
29
29
 
30
+ attr_accessor :checkpoint
31
+
30
32
  # Sign Release files with this signing key
31
33
  attr_accessor :signing_service
32
34
 
@@ -39,6 +41,7 @@ module PulpDebClient
39
41
  :'repository' => :'repository',
40
42
  :'simple' => :'simple',
41
43
  :'structured' => :'structured',
44
+ :'checkpoint' => :'checkpoint',
42
45
  :'signing_service' => :'signing_service',
43
46
  :'publish_upstream_release_fields' => :'publish_upstream_release_fields'
44
47
  }
@@ -56,6 +59,7 @@ module PulpDebClient
56
59
  :'repository' => :'String',
57
60
  :'simple' => :'Boolean',
58
61
  :'structured' => :'Boolean',
62
+ :'checkpoint' => :'Boolean',
59
63
  :'signing_service' => :'String',
60
64
  :'publish_upstream_release_fields' => :'Boolean'
61
65
  }
@@ -102,6 +106,10 @@ module PulpDebClient
102
106
  self.structured = true
103
107
  end
104
108
 
109
+ if attributes.key?(:'checkpoint')
110
+ self.checkpoint = attributes[:'checkpoint']
111
+ end
112
+
105
113
  if attributes.key?(:'signing_service')
106
114
  self.signing_service = attributes[:'signing_service']
107
115
  end
@@ -135,6 +143,7 @@ module PulpDebClient
135
143
  repository == o.repository &&
136
144
  simple == o.simple &&
137
145
  structured == o.structured &&
146
+ checkpoint == o.checkpoint &&
138
147
  signing_service == o.signing_service &&
139
148
  publish_upstream_release_fields == o.publish_upstream_release_fields
140
149
  end
@@ -148,7 +157,7 @@ module PulpDebClient
148
157
  # Calculates hash code according to all attributes.
149
158
  # @return [Integer] Hash code
150
159
  def hash
151
- [repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
160
+ [repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields].hash
152
161
  end
153
162
 
154
163
  # Builds the object from hash
@@ -38,6 +38,8 @@ module PulpDebClient
38
38
  # Activate structured publishing mode.
39
39
  attr_accessor :structured
40
40
 
41
+ attr_accessor :checkpoint
42
+
41
43
  # Sign Release files with this signing key
42
44
  attr_accessor :signing_service
43
45
 
@@ -54,6 +56,7 @@ module PulpDebClient
54
56
  :'repository' => :'repository',
55
57
  :'simple' => :'simple',
56
58
  :'structured' => :'structured',
59
+ :'checkpoint' => :'checkpoint',
57
60
  :'signing_service' => :'signing_service',
58
61
  :'publish_upstream_release_fields' => :'publish_upstream_release_fields'
59
62
  }
@@ -75,6 +78,7 @@ module PulpDebClient
75
78
  :'repository' => :'String',
76
79
  :'simple' => :'Boolean',
77
80
  :'structured' => :'Boolean',
81
+ :'checkpoint' => :'Boolean',
78
82
  :'signing_service' => :'String',
79
83
  :'publish_upstream_release_fields' => :'Boolean'
80
84
  }
@@ -137,6 +141,10 @@ module PulpDebClient
137
141
  self.structured = true
138
142
  end
139
143
 
144
+ if attributes.key?(:'checkpoint')
145
+ self.checkpoint = attributes[:'checkpoint']
146
+ end
147
+
140
148
  if attributes.key?(:'signing_service')
141
149
  self.signing_service = attributes[:'signing_service']
142
150
  end
@@ -174,6 +182,7 @@ module PulpDebClient
174
182
  repository == o.repository &&
175
183
  simple == o.simple &&
176
184
  structured == o.structured &&
185
+ checkpoint == o.checkpoint &&
177
186
  signing_service == o.signing_service &&
178
187
  publish_upstream_release_fields == o.publish_upstream_release_fields
179
188
  end
@@ -187,7 +196,7 @@ module PulpDebClient
187
196
  # Calculates hash code according to all attributes.
188
197
  # @return [Integer] Hash code
189
198
  def hash
190
- [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
199
+ [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields].hash
191
200
  end
192
201
 
193
202
  # Builds the object from hash
@@ -418,10 +418,6 @@ module PulpDebClient
418
418
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
419
419
  end
420
420
 
421
- if !@download_concurrency.nil? && @download_concurrency < 1
422
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
423
- end
424
-
425
421
  if !@total_timeout.nil? && @total_timeout < 0.0
426
422
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
427
423
  end
@@ -477,7 +473,6 @@ module PulpDebClient
477
473
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
478
474
  return false if !@username.nil? && @username.to_s.length < 1
479
475
  return false if !@password.nil? && @password.to_s.length < 1
480
- return false if !@download_concurrency.nil? && @download_concurrency < 1
481
476
  return false if !@total_timeout.nil? && @total_timeout < 0.0
482
477
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
483
478
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -598,16 +593,6 @@ module PulpDebClient
598
593
  @password = password
599
594
  end
600
595
 
601
- # Custom attribute writer method with validation
602
- # @param [Object] download_concurrency Value to be assigned
603
- def download_concurrency=(download_concurrency)
604
- if !download_concurrency.nil? && download_concurrency < 1
605
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
606
- end
607
-
608
- @download_concurrency = download_concurrency
609
- end
610
-
611
596
  # Custom attribute writer method with validation
612
597
  # @param [Object] total_timeout Value to be assigned
613
598
  def total_timeout=(total_timeout)
@@ -374,10 +374,6 @@ module PulpDebClient
374
374
  invalid_properties.push('invalid value for "url", url cannot be nil.')
375
375
  end
376
376
 
377
- if !@download_concurrency.nil? && @download_concurrency < 1
378
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
379
- end
380
-
381
377
  if !@total_timeout.nil? && @total_timeout < 0.0
382
378
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
383
379
  end
@@ -407,7 +403,6 @@ module PulpDebClient
407
403
  warn '[DEPRECATED] the `valid?` method is obsolete'
408
404
  return false if @name.nil?
409
405
  return false if @url.nil?
410
- return false if !@download_concurrency.nil? && @download_concurrency < 1
411
406
  return false if !@total_timeout.nil? && @total_timeout < 0.0
412
407
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
413
408
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -416,16 +411,6 @@ module PulpDebClient
416
411
  true
417
412
  end
418
413
 
419
- # Custom attribute writer method with validation
420
- # @param [Object] download_concurrency Value to be assigned
421
- def download_concurrency=(download_concurrency)
422
- if !download_concurrency.nil? && download_concurrency < 1
423
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
424
- end
425
-
426
- @download_concurrency = download_concurrency
427
- end
428
-
429
414
  # Custom attribute writer method with validation
430
415
  # @param [Object] total_timeout Value to be assigned
431
416
  def total_timeout=(total_timeout)
@@ -153,10 +153,6 @@ module PulpDebClient
153
153
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
154
154
  end
155
155
 
156
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
157
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
158
- end
159
-
160
156
  invalid_properties
161
157
  end
162
158
 
@@ -167,7 +163,6 @@ module PulpDebClient
167
163
  return false if @name.nil?
168
164
  return false if @name.to_s.length < 1
169
165
  return false if !@description.nil? && @description.to_s.length < 1
170
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
171
166
  true
172
167
  end
173
168
 
@@ -195,16 +190,6 @@ module PulpDebClient
195
190
  @description = description
196
191
  end
197
192
 
198
- # Custom attribute writer method with validation
199
- # @param [Object] retain_repo_versions Value to be assigned
200
- def retain_repo_versions=(retain_repo_versions)
201
- if !retain_repo_versions.nil? && retain_repo_versions < 1
202
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
203
- end
204
-
205
- @retain_repo_versions = retain_repo_versions
206
- end
207
-
208
193
  # Checks equality by comparing each attribute.
209
194
  # @param [Object] Object to be compared
210
195
  def ==(o)
@@ -196,10 +196,6 @@ module PulpDebClient
196
196
  invalid_properties.push('invalid value for "name", name cannot be nil.')
197
197
  end
198
198
 
199
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
200
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
201
- end
202
-
203
199
  invalid_properties
204
200
  end
205
201
 
@@ -208,20 +204,9 @@ module PulpDebClient
208
204
  def valid?
209
205
  warn '[DEPRECATED] the `valid?` method is obsolete'
210
206
  return false if @name.nil?
211
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
212
207
  true
213
208
  end
214
209
 
215
- # Custom attribute writer method with validation
216
- # @param [Object] retain_repo_versions Value to be assigned
217
- def retain_repo_versions=(retain_repo_versions)
218
- if !retain_repo_versions.nil? && retain_repo_versions < 1
219
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
220
- end
221
-
222
- @retain_repo_versions = retain_repo_versions
223
- end
224
-
225
210
  # Checks equality by comparing each attribute.
226
211
  # @param [Object] Object to be compared
227
212
  def ==(o)
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # Artifact file representing the physical content
34
36
  attr_accessor :artifact
35
37
 
@@ -62,6 +64,7 @@ module PulpDebClient
62
64
  :'pulp_created' => :'pulp_created',
63
65
  :'pulp_last_updated' => :'pulp_last_updated',
64
66
  :'pulp_labels' => :'pulp_labels',
67
+ :'vuln_report' => :'vuln_report',
65
68
  :'artifact' => :'artifact',
66
69
  :'relative_path' => :'relative_path',
67
70
  :'md5' => :'md5',
@@ -86,6 +89,7 @@ module PulpDebClient
86
89
  :'pulp_created' => :'Time',
87
90
  :'pulp_last_updated' => :'Time',
88
91
  :'pulp_labels' => :'Hash<String, String>',
92
+ :'vuln_report' => :'String',
89
93
  :'artifact' => :'String',
90
94
  :'relative_path' => :'String',
91
95
  :'md5' => :'String',
@@ -140,6 +144,10 @@ module PulpDebClient
140
144
  end
141
145
  end
142
146
 
147
+ if attributes.key?(:'vuln_report')
148
+ self.vuln_report = attributes[:'vuln_report']
149
+ end
150
+
143
151
  if attributes.key?(:'artifact')
144
152
  self.artifact = attributes[:'artifact']
145
153
  end
@@ -205,6 +213,7 @@ module PulpDebClient
205
213
  pulp_created == o.pulp_created &&
206
214
  pulp_last_updated == o.pulp_last_updated &&
207
215
  pulp_labels == o.pulp_labels &&
216
+ vuln_report == o.vuln_report &&
208
217
  artifact == o.artifact &&
209
218
  relative_path == o.relative_path &&
210
219
  md5 == o.md5 &&
@@ -224,7 +233,7 @@ module PulpDebClient
224
233
  # Calculates hash code according to all attributes.
225
234
  # @return [Integer] Hash code
226
235
  def hash
227
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
236
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
228
237
  end
229
238
 
230
239
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
34
36
  attr_accessor :artifacts
35
37
 
@@ -50,6 +52,7 @@ module PulpDebClient
50
52
  :'pulp_created' => :'pulp_created',
51
53
  :'pulp_last_updated' => :'pulp_last_updated',
52
54
  :'pulp_labels' => :'pulp_labels',
55
+ :'vuln_report' => :'vuln_report',
53
56
  :'artifacts' => :'artifacts',
54
57
  :'component' => :'component',
55
58
  :'architecture' => :'architecture',
@@ -70,6 +73,7 @@ module PulpDebClient
70
73
  :'pulp_created' => :'Time',
71
74
  :'pulp_last_updated' => :'Time',
72
75
  :'pulp_labels' => :'Hash<String, String>',
76
+ :'vuln_report' => :'String',
73
77
  :'artifacts' => :'Object',
74
78
  :'component' => :'String',
75
79
  :'architecture' => :'String',
@@ -120,6 +124,10 @@ module PulpDebClient
120
124
  end
121
125
  end
122
126
 
127
+ if attributes.key?(:'vuln_report')
128
+ self.vuln_report = attributes[:'vuln_report']
129
+ end
130
+
123
131
  if attributes.key?(:'artifacts')
124
132
  self.artifacts = attributes[:'artifacts']
125
133
  else
@@ -183,6 +191,7 @@ module PulpDebClient
183
191
  pulp_created == o.pulp_created &&
184
192
  pulp_last_updated == o.pulp_last_updated &&
185
193
  pulp_labels == o.pulp_labels &&
194
+ vuln_report == o.vuln_report &&
186
195
  artifacts == o.artifacts &&
187
196
  component == o.component &&
188
197
  architecture == o.architecture &&
@@ -198,7 +207,7 @@ module PulpDebClient
198
207
  # Calculates hash code according to all attributes.
199
208
  # @return [Integer] Hash code
200
209
  def hash
201
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
210
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, component, architecture, relative_path].hash
202
211
  end
203
212
 
204
213
  # Builds the object from hash