pulp_deb_client 2.11.2 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +8 -8
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +3 -3
  6. data/docs/DebAptDistribution.md +2 -0
  7. data/docs/DebAptDistributionResponse.md +2 -0
  8. data/docs/DebAptRemote.md +7 -5
  9. data/docs/DebAptRemoteResponse.md +7 -5
  10. data/docs/DebAptRepository.md +2 -0
  11. data/docs/DebAptRepositoryResponse.md +2 -0
  12. data/docs/PatcheddebAptDistribution.md +2 -0
  13. data/docs/PatcheddebAptRemote.md +7 -5
  14. data/docs/PatcheddebAptRepository.md +2 -0
  15. data/docs/PublicationsAptApi.md +4 -0
  16. data/docs/PublicationsVerbatimApi.md +4 -0
  17. data/docs/{RepositoriesDebVersionsApi.md → RepositoriesAptVersionsApi.md} +13 -13
  18. data/docs/RepositoryAddRemoveContent.md +2 -2
  19. data/docs/RepositoryVersionResponse.md +2 -0
  20. data/lib/pulp_deb_client.rb +2 -2
  21. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
  22. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +1 -1
  23. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -9
  24. data/lib/pulp_deb_client/api/content_package_indices_api.rb +1 -1
  25. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +1 -1
  26. data/lib/pulp_deb_client/api/content_packages_api.rb +1 -9
  27. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +1 -1
  28. data/lib/pulp_deb_client/api/content_release_components_api.rb +1 -1
  29. data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
  30. data/lib/pulp_deb_client/api/content_releases_api.rb +1 -1
  31. data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
  32. data/lib/pulp_deb_client/api/publications_apt_api.rb +7 -1
  33. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +7 -1
  34. data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
  35. data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
  36. data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb} +15 -35
  37. data/lib/pulp_deb_client/api_client.rb +12 -8
  38. data/lib/pulp_deb_client/api_error.rb +1 -1
  39. data/lib/pulp_deb_client/configuration.rb +8 -1
  40. data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
  41. data/lib/pulp_deb_client/models/content_summary.rb +13 -7
  42. data/lib/pulp_deb_client/models/content_summary_response.rb +13 -7
  43. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -2
  44. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -2
  45. data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
  46. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
  47. data/lib/pulp_deb_client/models/deb_apt_remote.rb +19 -7
  48. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +19 -7
  49. data/lib/pulp_deb_client/models/deb_apt_repository.rb +28 -2
  50. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +28 -2
  51. data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
  52. data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
  53. data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
  54. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
  55. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
  56. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
  57. data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
  58. data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
  59. data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
  60. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
  61. data/lib/pulp_deb_client/models/deb_release.rb +1 -1
  62. data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
  63. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
  64. data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
  65. data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
  66. data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
  67. data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
  68. data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
  69. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
  70. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
  71. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
  72. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
  73. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
  74. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
  75. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
  76. data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
  77. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
  78. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
  79. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
  80. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
  81. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
  82. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
  83. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
  84. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
  85. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
  86. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -2
  87. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +19 -7
  88. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +28 -2
  89. data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
  90. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
  91. data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
  92. data/lib/pulp_deb_client/models/repository_version.rb +1 -1
  93. data/lib/pulp_deb_client/models/repository_version_response.rb +11 -2
  94. data/lib/pulp_deb_client/version.rb +2 -2
  95. data/pulp_deb_client.gemspec +1 -1
  96. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  97. data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
  98. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  99. data/spec/api/content_package_indices_api_spec.rb +1 -1
  100. data/spec/api/content_package_release_components_api_spec.rb +1 -1
  101. data/spec/api/content_packages_api_spec.rb +1 -1
  102. data/spec/api/content_release_architectures_api_spec.rb +1 -1
  103. data/spec/api/content_release_components_api_spec.rb +1 -1
  104. data/spec/api/content_release_files_api_spec.rb +1 -1
  105. data/spec/api/content_releases_api_spec.rb +1 -1
  106. data/spec/api/distributions_apt_api_spec.rb +1 -1
  107. data/spec/api/publications_apt_api_spec.rb +3 -1
  108. data/spec/api/publications_verbatim_api_spec.rb +3 -1
  109. data/spec/api/remotes_apt_api_spec.rb +1 -1
  110. data/spec/api/repositories_apt_api_spec.rb +1 -1
  111. data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb} +7 -7
  112. data/spec/api_client_spec.rb +2 -2
  113. data/spec/configuration_spec.rb +1 -1
  114. data/spec/models/async_operation_response_spec.rb +1 -1
  115. data/spec/models/content_summary_response_spec.rb +1 -1
  116. data/spec/models/content_summary_spec.rb +1 -1
  117. data/spec/models/deb_apt_distribution_response_spec.rb +7 -1
  118. data/spec/models/deb_apt_distribution_spec.rb +7 -1
  119. data/spec/models/deb_apt_publication_response_spec.rb +1 -1
  120. data/spec/models/deb_apt_publication_spec.rb +1 -1
  121. data/spec/models/deb_apt_remote_response_spec.rb +7 -1
  122. data/spec/models/deb_apt_remote_spec.rb +7 -1
  123. data/spec/models/deb_apt_repository_response_spec.rb +7 -1
  124. data/spec/models/deb_apt_repository_spec.rb +7 -1
  125. data/spec/models/deb_base_package_response_spec.rb +1 -1
  126. data/spec/models/deb_base_package_spec.rb +1 -1
  127. data/spec/models/deb_generic_content_response_spec.rb +1 -1
  128. data/spec/models/deb_generic_content_spec.rb +1 -1
  129. data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
  130. data/spec/models/deb_installer_file_index_spec.rb +1 -1
  131. data/spec/models/deb_package_index_response_spec.rb +1 -1
  132. data/spec/models/deb_package_index_spec.rb +1 -1
  133. data/spec/models/deb_package_release_component_response_spec.rb +1 -1
  134. data/spec/models/deb_package_release_component_spec.rb +1 -1
  135. data/spec/models/deb_release_architecture_response_spec.rb +1 -1
  136. data/spec/models/deb_release_architecture_spec.rb +1 -1
  137. data/spec/models/deb_release_component_response_spec.rb +1 -1
  138. data/spec/models/deb_release_component_spec.rb +1 -1
  139. data/spec/models/deb_release_file_response_spec.rb +1 -1
  140. data/spec/models/deb_release_file_spec.rb +1 -1
  141. data/spec/models/deb_release_response_spec.rb +1 -1
  142. data/spec/models/deb_release_spec.rb +1 -1
  143. data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
  144. data/spec/models/deb_verbatim_publication_spec.rb +1 -1
  145. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  146. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
  147. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
  148. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
  149. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
  150. data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
  151. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
  152. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
  153. data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
  154. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
  155. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
  156. data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
  157. data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
  158. data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
  159. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
  160. data/spec/models/patcheddeb_apt_distribution_spec.rb +7 -1
  161. data/spec/models/patcheddeb_apt_remote_spec.rb +7 -1
  162. data/spec/models/patcheddeb_apt_repository_spec.rb +7 -1
  163. data/spec/models/policy_enum_spec.rb +1 -1
  164. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  165. data/spec/models/repository_sync_url_spec.rb +1 -1
  166. data/spec/models/repository_version_response_spec.rb +7 -1
  167. data/spec/models/repository_version_spec.rb +1 -1
  168. data/spec/spec_helper.rb +1 -1
  169. metadata +57 -57
@@ -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
 
@@ -164,14 +164,6 @@ module PulpDebClient
164
164
  if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
165
165
  fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
166
166
  end
167
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
168
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be smaller than or equal to 2147483647.'
169
- end
170
-
171
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
172
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be greater than or equal to -2147483648.'
173
- end
174
-
175
167
  allowable_values = ["allowed", "foreign", "no", "same"]
176
168
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
177
169
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
@@ -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
 
@@ -166,14 +166,6 @@ module PulpDebClient
166
166
  if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
167
167
  fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
168
168
  end
169
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
170
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be smaller than or equal to 2147483647.'
171
- end
172
-
173
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
174
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be greater than or equal to -2147483648.'
175
- end
176
-
177
169
  allowable_values = ["allowed", "foreign", "no", "same"]
178
170
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
179
171
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
@@ -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
 
@@ -146,6 +146,8 @@ module PulpDebClient
146
146
  # List apt publications
147
147
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -167,6 +169,8 @@ module PulpDebClient
167
169
  # List apt publications
168
170
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -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
 
@@ -146,6 +146,8 @@ module PulpDebClient
146
146
  # List verbatim publications
147
147
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -167,6 +169,8 @@ module PulpDebClient
167
169
  # List verbatim publications
168
170
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -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,32 +136,12 @@ 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
- if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
146
- fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
147
- end
148
-
149
- if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
150
- fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
151
- end
152
-
153
- if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
154
- fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
155
- end
156
-
157
- if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
158
- fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
159
- end
160
-
161
- if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
162
- fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
163
- end
164
-
165
145
  # resource path
166
146
  local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
167
147
 
@@ -215,7 +195,7 @@ module PulpDebClient
215
195
 
216
196
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
217
197
  if @api_client.config.debugging
218
- @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}"
219
199
  end
220
200
  return data, status_code, headers
221
201
  end
@@ -241,11 +221,11 @@ module PulpDebClient
241
221
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
242
222
  def read_with_http_info(deb_apt_repository_version_href, opts = {})
243
223
  if @api_client.config.debugging
244
- @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.read ...'
224
+ @api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.read ...'
245
225
  end
246
226
  # verify the required parameter 'deb_apt_repository_version_href' is set
247
227
  if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
248
- 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"
249
229
  end
250
230
  # resource path
251
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', '/'))
@@ -283,7 +263,7 @@ module PulpDebClient
283
263
 
284
264
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
285
265
  if @api_client.config.debugging
286
- @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}"
287
267
  end
288
268
  return data, status_code, headers
289
269
  end
@@ -305,15 +285,15 @@ module PulpDebClient
305
285
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
306
286
  def repair_with_http_info(deb_apt_repository_version_href, repository_version, opts = {})
307
287
  if @api_client.config.debugging
308
- @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.repair ...'
288
+ @api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.repair ...'
309
289
  end
310
290
  # verify the required parameter 'deb_apt_repository_version_href' is set
311
291
  if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
312
- 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"
313
293
  end
314
294
  # verify the required parameter 'repository_version' is set
315
295
  if @api_client.config.client_side_validation && repository_version.nil?
316
- 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"
317
297
  end
318
298
  # resource path
319
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', '/'))
@@ -351,7 +331,7 @@ module PulpDebClient
351
331
 
352
332
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
353
333
  if @api_client.config.debugging
354
- @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}"
355
335
  end
356
336
  return data, status_code, headers
357
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
  #
@@ -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
@@ -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