pulp_deb_client 2.13.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +9 -9
  4. data/docs/ContentGenericContentsApi.md +1 -1
  5. data/docs/ContentInstallerFileIndicesApi.md +1 -1
  6. data/docs/ContentInstallerPackagesApi.md +1 -1
  7. data/docs/ContentPackageIndicesApi.md +1 -1
  8. data/docs/ContentPackageReleaseComponentsApi.md +1 -1
  9. data/docs/ContentPackagesApi.md +1 -1
  10. data/docs/ContentReleaseArchitecturesApi.md +1 -1
  11. data/docs/ContentReleaseComponentsApi.md +1 -1
  12. data/docs/ContentReleaseFilesApi.md +1 -1
  13. data/docs/ContentReleasesApi.md +1 -1
  14. data/docs/DebAptRemote.md +7 -5
  15. data/docs/DebAptRemoteResponse.md +7 -5
  16. data/docs/DebAptRepository.md +3 -3
  17. data/docs/DebAptRepositoryResponse.md +3 -3
  18. data/docs/DistributionsAptApi.md +1 -1
  19. data/docs/PatcheddebAptRemote.md +7 -5
  20. data/docs/PatcheddebAptRepository.md +3 -3
  21. data/docs/PublicationsAptApi.md +1 -1
  22. data/docs/PublicationsVerbatimApi.md +1 -1
  23. data/docs/RemotesAptApi.md +1 -1
  24. data/docs/RepositoriesAptApi.md +1 -1
  25. data/docs/{RepositoriesDebVersionsApi.md → RepositoriesAptVersionsApi.md} +14 -14
  26. data/docs/RepositoryAddRemoveContent.md +2 -2
  27. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
  28. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +1 -1
  29. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
  30. data/lib/pulp_deb_client/api/content_package_indices_api.rb +1 -1
  31. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +1 -1
  32. data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
  33. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +1 -1
  34. data/lib/pulp_deb_client/api/content_release_components_api.rb +1 -1
  35. data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
  36. data/lib/pulp_deb_client/api/content_releases_api.rb +1 -1
  37. data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
  38. data/lib/pulp_deb_client/api/publications_apt_api.rb +1 -1
  39. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +1 -1
  40. data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
  41. data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
  42. data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb} +15 -15
  43. data/lib/pulp_deb_client/api_client.rb +12 -8
  44. data/lib/pulp_deb_client/api_error.rb +1 -1
  45. data/lib/pulp_deb_client/configuration.rb +10 -3
  46. data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
  47. data/lib/pulp_deb_client/models/content_summary.rb +1 -1
  48. data/lib/pulp_deb_client/models/content_summary_response.rb +1 -1
  49. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +1 -1
  50. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +1 -1
  51. data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
  52. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
  53. data/lib/pulp_deb_client/models/deb_apt_remote.rb +19 -7
  54. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +19 -7
  55. data/lib/pulp_deb_client/models/deb_apt_repository.rb +18 -17
  56. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +18 -17
  57. data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
  58. data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
  59. data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
  60. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
  61. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
  62. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
  63. data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
  64. data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
  65. data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
  66. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
  67. data/lib/pulp_deb_client/models/deb_release.rb +1 -1
  68. data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
  69. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
  70. data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
  71. data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
  72. data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
  73. data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
  74. data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
  75. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
  76. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
  77. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
  78. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
  79. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
  80. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
  81. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
  82. data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
  83. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
  84. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
  85. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
  86. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
  87. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
  88. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
  89. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
  90. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
  91. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
  92. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +1 -1
  93. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +19 -7
  94. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +18 -17
  95. data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
  96. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
  97. data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
  98. data/lib/pulp_deb_client/models/repository_version.rb +1 -1
  99. data/lib/pulp_deb_client/models/repository_version_response.rb +1 -1
  100. data/lib/pulp_deb_client/version.rb +2 -2
  101. data/lib/pulp_deb_client.rb +2 -2
  102. data/pulp_deb_client.gemspec +1 -1
  103. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  104. data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
  105. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  106. data/spec/api/content_package_indices_api_spec.rb +1 -1
  107. data/spec/api/content_package_release_components_api_spec.rb +1 -1
  108. data/spec/api/content_packages_api_spec.rb +1 -1
  109. data/spec/api/content_release_architectures_api_spec.rb +1 -1
  110. data/spec/api/content_release_components_api_spec.rb +1 -1
  111. data/spec/api/content_release_files_api_spec.rb +1 -1
  112. data/spec/api/content_releases_api_spec.rb +1 -1
  113. data/spec/api/distributions_apt_api_spec.rb +1 -1
  114. data/spec/api/publications_apt_api_spec.rb +1 -1
  115. data/spec/api/publications_verbatim_api_spec.rb +1 -1
  116. data/spec/api/remotes_apt_api_spec.rb +1 -1
  117. data/spec/api/repositories_apt_api_spec.rb +1 -1
  118. data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb} +7 -7
  119. data/spec/api_client_spec.rb +2 -2
  120. data/spec/configuration_spec.rb +4 -4
  121. data/spec/models/async_operation_response_spec.rb +1 -1
  122. data/spec/models/content_summary_response_spec.rb +1 -1
  123. data/spec/models/content_summary_spec.rb +1 -1
  124. data/spec/models/deb_apt_distribution_response_spec.rb +1 -1
  125. data/spec/models/deb_apt_distribution_spec.rb +1 -1
  126. data/spec/models/deb_apt_publication_response_spec.rb +1 -1
  127. data/spec/models/deb_apt_publication_spec.rb +1 -1
  128. data/spec/models/deb_apt_remote_response_spec.rb +7 -1
  129. data/spec/models/deb_apt_remote_spec.rb +7 -1
  130. data/spec/models/deb_apt_repository_response_spec.rb +2 -2
  131. data/spec/models/deb_apt_repository_spec.rb +2 -2
  132. data/spec/models/deb_base_package_response_spec.rb +1 -1
  133. data/spec/models/deb_base_package_spec.rb +1 -1
  134. data/spec/models/deb_generic_content_response_spec.rb +1 -1
  135. data/spec/models/deb_generic_content_spec.rb +1 -1
  136. data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
  137. data/spec/models/deb_installer_file_index_spec.rb +1 -1
  138. data/spec/models/deb_package_index_response_spec.rb +1 -1
  139. data/spec/models/deb_package_index_spec.rb +1 -1
  140. data/spec/models/deb_package_release_component_response_spec.rb +1 -1
  141. data/spec/models/deb_package_release_component_spec.rb +1 -1
  142. data/spec/models/deb_release_architecture_response_spec.rb +1 -1
  143. data/spec/models/deb_release_architecture_spec.rb +1 -1
  144. data/spec/models/deb_release_component_response_spec.rb +1 -1
  145. data/spec/models/deb_release_component_spec.rb +1 -1
  146. data/spec/models/deb_release_file_response_spec.rb +1 -1
  147. data/spec/models/deb_release_file_spec.rb +1 -1
  148. data/spec/models/deb_release_response_spec.rb +1 -1
  149. data/spec/models/deb_release_spec.rb +1 -1
  150. data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
  151. data/spec/models/deb_verbatim_publication_spec.rb +1 -1
  152. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  153. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
  154. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
  155. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
  156. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
  157. data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
  158. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
  159. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
  160. data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
  161. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
  162. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
  163. data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
  164. data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
  165. data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
  166. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
  167. data/spec/models/patcheddeb_apt_distribution_spec.rb +1 -1
  168. data/spec/models/patcheddeb_apt_remote_spec.rb +7 -1
  169. data/spec/models/patcheddeb_apt_repository_spec.rb +2 -2
  170. data/spec/models/policy_enum_spec.rb +1 -1
  171. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  172. data/spec/models/repository_sync_url_spec.rb +1 -1
  173. data/spec/models/repository_version_response_spec.rb +1 -1
  174. data/spec/models/repository_version_spec.rb +1 -1
  175. data/spec/spec_helper.rb +1 -1
  176. metadata +59 -59
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **add_content_units** | **Array<Object>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
- **remove_content_units** | **Array<Object>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
7
+ **add_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
+ **remove_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
9
  **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
10
 
11
11
  ## Code Sample
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,14 +6,14 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
15
  module PulpDebClient
16
- class RepositoriesDebVersionsApi
16
+ class RepositoriesAptVersionsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -36,11 +36,11 @@ module PulpDebClient
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def delete_with_http_info(deb_apt_repository_version_href, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.delete ...'
39
+ @api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.delete ...'
40
40
  end
41
41
  # verify the required parameter 'deb_apt_repository_version_href' is set
42
42
  if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.delete"
43
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesAptVersionsApi.delete"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '{deb_apt_repository_version_href}'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
@@ -76,7 +76,7 @@ module PulpDebClient
76
76
 
77
77
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
78
78
  if @api_client.config.debugging
79
- @api_client.config.logger.debug "API called: RepositoriesDebVersionsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ @api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
80
  end
81
81
  return data, status_code, headers
82
82
  end
@@ -136,11 +136,11 @@ module PulpDebClient
136
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
137
137
  def list_with_http_info(deb_apt_repository_href, opts = {})
138
138
  if @api_client.config.debugging
139
- @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
139
+ @api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.list ...'
140
140
  end
141
141
  # verify the required parameter 'deb_apt_repository_href' is set
142
142
  if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
143
- fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesDebVersionsApi.list"
143
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
144
144
  end
145
145
  # resource path
146
146
  local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
@@ -195,7 +195,7 @@ module PulpDebClient
195
195
 
196
196
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
197
197
  if @api_client.config.debugging
198
- @api_client.config.logger.debug "API called: RepositoriesDebVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
198
+ @api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
199
199
  end
200
200
  return data, status_code, headers
201
201
  end
@@ -221,11 +221,11 @@ module PulpDebClient
221
221
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
222
222
  def read_with_http_info(deb_apt_repository_version_href, opts = {})
223
223
  if @api_client.config.debugging
224
- @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.read ...'
224
+ @api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.read ...'
225
225
  end
226
226
  # verify the required parameter 'deb_apt_repository_version_href' is set
227
227
  if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
228
- fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.read"
228
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesAptVersionsApi.read"
229
229
  end
230
230
  # resource path
231
231
  local_var_path = '{deb_apt_repository_version_href}'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
@@ -263,7 +263,7 @@ module PulpDebClient
263
263
 
264
264
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
265
265
  if @api_client.config.debugging
266
- @api_client.config.logger.debug "API called: RepositoriesDebVersionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
266
+ @api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
267
267
  end
268
268
  return data, status_code, headers
269
269
  end
@@ -285,15 +285,15 @@ module PulpDebClient
285
285
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
286
286
  def repair_with_http_info(deb_apt_repository_version_href, repository_version, opts = {})
287
287
  if @api_client.config.debugging
288
- @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.repair ...'
288
+ @api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.repair ...'
289
289
  end
290
290
  # verify the required parameter 'deb_apt_repository_version_href' is set
291
291
  if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
292
- fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.repair"
292
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesAptVersionsApi.repair"
293
293
  end
294
294
  # verify the required parameter 'repository_version' is set
295
295
  if @api_client.config.client_side_validation && repository_version.nil?
296
- fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesDebVersionsApi.repair"
296
+ fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesAptVersionsApi.repair"
297
297
  end
298
298
  # resource path
299
299
  local_var_path = '{deb_apt_repository_version_href}repair/'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
@@ -331,7 +331,7 @@ module PulpDebClient
331
331
 
332
332
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
333
333
  if @api_client.config.debugging
334
- @api_client.config.logger.debug "API called: RepositoriesDebVersionsApi#repair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
334
+ @api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#repair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
335
335
  end
336
336
  return data, status_code, headers
337
337
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -53,8 +53,10 @@ module PulpDebClient
53
53
  :client_cert => @config.ssl_client_cert,
54
54
  :client_key => @config.ssl_client_key
55
55
  }
56
-
57
- connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn|
56
+ request_options = {
57
+ :params_encoder => @config.params_encoder
58
+ }
59
+ connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
58
60
  conn.basic_auth(config.username, config.password)
59
61
  if opts[:header_params]["Content-Type"] == "multipart/form-data"
60
62
  conn.request :multipart
@@ -285,11 +287,13 @@ module PulpDebClient
285
287
  tempfile.write(chunk)
286
288
  end
287
289
  request.on_complete do |response|
288
- tempfile.close if tempfile
289
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
290
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
291
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
292
- "explicitly with `tempfile.delete`"
290
+ if tempfile
291
+ tempfile.close
292
+ @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
293
+ "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
294
+ "will be deleted automatically with GC. It's also recommended to delete the temp file "\
295
+ "explicitly with `tempfile.delete`"
296
+ end
293
297
  end
294
298
  end
295
299
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -109,6 +109,12 @@ module PulpDebClient
109
109
  # Client private key file (for client certificate)
110
110
  attr_accessor :ssl_client_key
111
111
 
112
+ # Set this to customize parameters encoder of array parameter.
113
+ # Default to nil. Faraday uses NestedParamsEncoder when nil.
114
+ #
115
+ # @see The params_encoder option of Faraday. Related source code:
116
+ # https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
117
+ attr_accessor :params_encoder
112
118
  # Set this to customize parameters encoding of array parameter with multi collectionFormat.
113
119
  # Default to nil.
114
120
  #
@@ -121,7 +127,7 @@ module PulpDebClient
121
127
  attr_accessor :force_ending_format
122
128
 
123
129
  def initialize
124
- @scheme = 'http'
130
+ @scheme = 'https'
125
131
  @host = 'pulp'
126
132
  @base_path = ''
127
133
  @api_key = {}
@@ -133,6 +139,7 @@ module PulpDebClient
133
139
  @ssl_ca_file = nil
134
140
  @ssl_client_cert = nil
135
141
  @ssl_client_key = nil
142
+ @params_encoder = nil
136
143
  @debugging = false
137
144
  @inject_format = false
138
145
  @force_ending_format = false
@@ -202,7 +209,7 @@ module PulpDebClient
202
209
  def server_settings
203
210
  [
204
211
  {
205
- url: "http://pulp/",
212
+ url: "https://pulp/",
206
213
  description: "No description provided",
207
214
  }
208
215
  ]
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -50,22 +50,25 @@ module PulpDebClient
50
50
 
51
51
  attr_accessor :pulp_labels
52
52
 
53
- # Total number of simultaneous connections.
53
+ # Total number of simultaneous connections. If not set then the default value will be used.
54
54
  attr_accessor :download_concurrency
55
55
 
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
58
+
56
59
  # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
57
60
  attr_accessor :policy
58
61
 
59
- # aiohttp.ClientTimeout.total (q.v.) for download-connections.
62
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
60
63
  attr_accessor :total_timeout
61
64
 
62
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
65
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
63
66
  attr_accessor :connect_timeout
64
67
 
65
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
68
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
66
69
  attr_accessor :sock_connect_timeout
67
70
 
68
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
71
+ # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
69
72
  attr_accessor :sock_read_timeout
70
73
 
71
74
  # Headers for aiohttp.Clientsession
@@ -114,6 +117,7 @@ module PulpDebClient
114
117
  :'password' => :'password',
115
118
  :'pulp_labels' => :'pulp_labels',
116
119
  :'download_concurrency' => :'download_concurrency',
120
+ :'max_retries' => :'max_retries',
117
121
  :'policy' => :'policy',
118
122
  :'total_timeout' => :'total_timeout',
119
123
  :'connect_timeout' => :'connect_timeout',
@@ -148,6 +152,7 @@ module PulpDebClient
148
152
  :'password' => :'String',
149
153
  :'pulp_labels' => :'Object',
150
154
  :'download_concurrency' => :'Integer',
155
+ :'max_retries' => :'Integer',
151
156
  :'policy' => :'PolicyEnum',
152
157
  :'total_timeout' => :'Float',
153
158
  :'connect_timeout' => :'Float',
@@ -177,6 +182,8 @@ module PulpDebClient
177
182
  :'proxy_password',
178
183
  :'username',
179
184
  :'password',
185
+ :'download_concurrency',
186
+ :'max_retries',
180
187
  :'total_timeout',
181
188
  :'connect_timeout',
182
189
  :'sock_connect_timeout',
@@ -255,6 +262,10 @@ module PulpDebClient
255
262
  self.download_concurrency = attributes[:'download_concurrency']
256
263
  end
257
264
 
265
+ if attributes.key?(:'max_retries')
266
+ self.max_retries = attributes[:'max_retries']
267
+ end
268
+
258
269
  if attributes.key?(:'policy')
259
270
  self.policy = attributes[:'policy']
260
271
  end
@@ -439,6 +450,7 @@ module PulpDebClient
439
450
  password == o.password &&
440
451
  pulp_labels == o.pulp_labels &&
441
452
  download_concurrency == o.download_concurrency &&
453
+ max_retries == o.max_retries &&
442
454
  policy == o.policy &&
443
455
  total_timeout == o.total_timeout &&
444
456
  connect_timeout == o.connect_timeout &&
@@ -465,7 +477,7 @@ module PulpDebClient
465
477
  # Calculates hash code according to all attributes.
466
478
  # @return [Integer] Hash code
467
479
  def hash
468
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
480
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
469
481
  end
470
482
 
471
483
  # Builds the object from hash