pulp_deb_client 2.5.0b1 → 2.6.0b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +60 -39
  3. data/docs/ContentGenericContentsApi.md +26 -26
  4. data/docs/ContentInstallerFileIndicesApi.md +37 -37
  5. data/docs/ContentInstallerPackagesApi.md +56 -56
  6. data/docs/ContentPackageIndicesApi.md +37 -37
  7. data/docs/ContentPackageReleaseComponentsApi.md +33 -33
  8. data/docs/ContentPackagesApi.md +58 -58
  9. data/docs/ContentReleaseArchitecturesApi.md +33 -33
  10. data/docs/ContentReleaseComponentsApi.md +33 -33
  11. data/docs/ContentReleaseFilesApi.md +37 -37
  12. data/docs/ContentReleasesApi.md +35 -35
  13. data/docs/ContentSummary.md +3 -3
  14. data/docs/ContentSummaryResponse.md +21 -0
  15. data/docs/DebAptDistribution.md +1 -7
  16. data/docs/DebAptDistributionResponse.md +29 -0
  17. data/docs/DebAptPublication.md +1 -5
  18. data/docs/DebAptPublicationResponse.md +29 -0
  19. data/docs/DebAptRemote.md +4 -10
  20. data/docs/DebAptRemoteResponse.md +57 -0
  21. data/docs/DebAptRepository.md +4 -10
  22. data/docs/DebAptRepositoryResponse.md +29 -0
  23. data/docs/DebBasePackage.md +5 -75
  24. data/docs/DebBasePackageResponse.md +93 -0
  25. data/docs/DebGenericContent.md +5 -17
  26. data/docs/DebGenericContentResponse.md +35 -0
  27. data/docs/DebInstallerFileIndex.md +2 -6
  28. data/docs/DebInstallerFileIndexResponse.md +29 -0
  29. data/docs/DebPackageIndex.md +2 -6
  30. data/docs/DebPackageIndexResponse.md +29 -0
  31. data/docs/DebPackageReleaseComponent.md +1 -5
  32. data/docs/DebPackageReleaseComponentResponse.md +23 -0
  33. data/docs/DebRelease.md +1 -5
  34. data/docs/DebReleaseArchitecture.md +1 -5
  35. data/docs/DebReleaseArchitectureResponse.md +23 -0
  36. data/docs/DebReleaseComponent.md +1 -5
  37. data/docs/DebReleaseComponentResponse.md +23 -0
  38. data/docs/DebReleaseFile.md +2 -6
  39. data/docs/DebReleaseFileResponse.md +29 -0
  40. data/docs/DebReleaseResponse.md +25 -0
  41. data/docs/DebVerbatimPublication.md +1 -5
  42. data/docs/DebVerbatimPublicationResponse.md +23 -0
  43. data/docs/DistributionsAptApi.md +110 -62
  44. data/docs/InlineResponse200.md +3 -3
  45. data/docs/InlineResponse2001.md +3 -3
  46. data/docs/InlineResponse20010.md +3 -3
  47. data/docs/InlineResponse20011.md +3 -3
  48. data/docs/InlineResponse20012.md +3 -3
  49. data/docs/InlineResponse20013.md +3 -3
  50. data/docs/InlineResponse20014.md +3 -3
  51. data/docs/InlineResponse2002.md +3 -3
  52. data/docs/InlineResponse2003.md +3 -3
  53. data/docs/InlineResponse2004.md +3 -3
  54. data/docs/InlineResponse2005.md +3 -3
  55. data/docs/InlineResponse2006.md +3 -3
  56. data/docs/InlineResponse2007.md +3 -3
  57. data/docs/InlineResponse2008.md +3 -3
  58. data/docs/InlineResponse2009.md +3 -3
  59. data/docs/PatcheddebAptDistribution.md +23 -0
  60. data/docs/PatcheddebAptRemote.md +51 -0
  61. data/docs/PatcheddebAptRepository.md +21 -0
  62. data/docs/PolicyEnum.md +16 -0
  63. data/docs/PublicationsAptApi.md +43 -43
  64. data/docs/PublicationsVerbatimApi.md +43 -43
  65. data/docs/RemotesAptApi.md +128 -68
  66. data/docs/RepositoriesAptApi.md +100 -76
  67. data/docs/RepositoriesDebVersionsApi.md +96 -64
  68. data/docs/RepositoryAddRemoveContent.md +2 -2
  69. data/docs/RepositorySyncURL.md +1 -1
  70. data/docs/RepositoryVersion.md +1 -9
  71. data/docs/RepositoryVersionResponse.md +25 -0
  72. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +36 -40
  73. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +57 -57
  74. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +90 -82
  75. data/lib/pulp_deb_client/api/content_package_indices_api.rb +57 -57
  76. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +50 -50
  77. data/lib/pulp_deb_client/api/content_packages_api.rb +92 -84
  78. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +51 -51
  79. data/lib/pulp_deb_client/api/content_release_components_api.rb +51 -51
  80. data/lib/pulp_deb_client/api/content_release_files_api.rb +57 -57
  81. data/lib/pulp_deb_client/api/content_releases_api.rb +54 -54
  82. data/lib/pulp_deb_client/api/distributions_apt_api.rb +157 -94
  83. data/lib/pulp_deb_client/api/publications_apt_api.rb +65 -65
  84. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +65 -65
  85. data/lib/pulp_deb_client/api/remotes_apt_api.rb +187 -106
  86. data/lib/pulp_deb_client/api/repositories_apt_api.rb +151 -124
  87. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +141 -96
  88. data/lib/pulp_deb_client/api_client.rb +2 -2
  89. data/lib/pulp_deb_client/api_error.rb +2 -2
  90. data/lib/pulp_deb_client/configuration.rb +3 -3
  91. data/lib/pulp_deb_client/models/async_operation_response.rb +3 -2
  92. data/lib/pulp_deb_client/models/content_summary.rb +9 -15
  93. data/lib/pulp_deb_client/models/content_summary_response.rb +240 -0
  94. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -85
  95. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +279 -0
  96. data/lib/pulp_deb_client/models/deb_apt_publication.rb +4 -22
  97. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +270 -0
  98. data/lib/pulp_deb_client/models/deb_apt_remote.rb +7 -263
  99. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +446 -0
  100. data/lib/pulp_deb_client/models/deb_apt_repository.rb +18 -78
  101. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +271 -0
  102. data/lib/pulp_deb_client/models/deb_base_package.rb +18 -847
  103. data/lib/pulp_deb_client/models/deb_base_package_response.rb +558 -0
  104. data/lib/pulp_deb_client/models/deb_generic_content.rb +18 -185
  105. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +302 -0
  106. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +6 -79
  107. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +287 -0
  108. data/lib/pulp_deb_client/models/deb_package_index.rb +6 -79
  109. data/lib/pulp_deb_client/models/deb_package_index_response.rb +287 -0
  110. data/lib/pulp_deb_client/models/deb_package_release_component.rb +4 -22
  111. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +247 -0
  112. data/lib/pulp_deb_client/models/deb_release.rb +4 -79
  113. data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -41
  114. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +247 -0
  115. data/lib/pulp_deb_client/models/deb_release_component.rb +4 -41
  116. data/lib/pulp_deb_client/models/deb_release_component_response.rb +247 -0
  117. data/lib/pulp_deb_client/models/deb_release_file.rb +6 -90
  118. data/lib/pulp_deb_client/models/deb_release_file_response.rb +277 -0
  119. data/lib/pulp_deb_client/models/deb_release_response.rb +259 -0
  120. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +4 -22
  121. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +236 -0
  122. data/lib/pulp_deb_client/models/inline_response200.rb +3 -13
  123. data/lib/pulp_deb_client/models/inline_response2001.rb +3 -13
  124. data/lib/pulp_deb_client/models/inline_response20010.rb +3 -13
  125. data/lib/pulp_deb_client/models/inline_response20011.rb +3 -13
  126. data/lib/pulp_deb_client/models/inline_response20012.rb +3 -13
  127. data/lib/pulp_deb_client/models/inline_response20013.rb +3 -13
  128. data/lib/pulp_deb_client/models/inline_response20014.rb +3 -13
  129. data/lib/pulp_deb_client/models/inline_response2002.rb +3 -13
  130. data/lib/pulp_deb_client/models/inline_response2003.rb +3 -13
  131. data/lib/pulp_deb_client/models/inline_response2004.rb +3 -13
  132. data/lib/pulp_deb_client/models/inline_response2005.rb +3 -13
  133. data/lib/pulp_deb_client/models/inline_response2006.rb +3 -13
  134. data/lib/pulp_deb_client/models/inline_response2007.rb +3 -13
  135. data/lib/pulp_deb_client/models/inline_response2008.rb +3 -13
  136. data/lib/pulp_deb_client/models/inline_response2009.rb +3 -13
  137. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +240 -0
  138. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +402 -0
  139. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +229 -0
  140. data/lib/pulp_deb_client/models/policy_enum.rb +37 -0
  141. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +5 -4
  142. data/lib/pulp_deb_client/models/repository_sync_url.rb +3 -8
  143. data/lib/pulp_deb_client/models/repository_version.rb +7 -43
  144. data/lib/pulp_deb_client/models/repository_version_response.rb +246 -0
  145. data/lib/pulp_deb_client/version.rb +3 -3
  146. data/lib/pulp_deb_client.rb +22 -2
  147. data/pulp_deb_client.gemspec +4 -4
  148. data/spec/api/content_generic_contents_api_spec.rb +12 -12
  149. data/spec/api/content_installer_file_indices_api_spec.rb +17 -17
  150. data/spec/api/content_installer_packages_api_spec.rb +27 -27
  151. data/spec/api/content_package_indices_api_spec.rb +17 -17
  152. data/spec/api/content_package_release_components_api_spec.rb +15 -15
  153. data/spec/api/content_packages_api_spec.rb +28 -28
  154. data/spec/api/content_release_architectures_api_spec.rb +15 -15
  155. data/spec/api/content_release_components_api_spec.rb +15 -15
  156. data/spec/api/content_release_files_api_spec.rb +17 -17
  157. data/spec/api/content_releases_api_spec.rb +16 -16
  158. data/spec/api/distributions_apt_api_spec.rb +41 -20
  159. data/spec/api/publications_apt_api_spec.rb +17 -17
  160. data/spec/api/publications_verbatim_api_spec.rb +17 -17
  161. data/spec/api/remotes_apt_api_spec.rb +51 -24
  162. data/spec/api/repositories_apt_api_spec.rb +31 -22
  163. data/spec/api/repositories_deb_versions_api_spec.rb +40 -25
  164. data/spec/api_client_spec.rb +2 -2
  165. data/spec/configuration_spec.rb +2 -2
  166. data/spec/models/async_operation_response_spec.rb +2 -2
  167. data/spec/models/content_summary_response_spec.rb +53 -0
  168. data/spec/models/content_summary_spec.rb +2 -2
  169. data/spec/models/deb_apt_distribution_response_spec.rb +77 -0
  170. data/spec/models/deb_apt_distribution_spec.rb +2 -20
  171. data/spec/models/deb_apt_publication_response_spec.rb +77 -0
  172. data/spec/models/deb_apt_publication_spec.rb +2 -14
  173. data/spec/models/deb_apt_remote_response_spec.rb +161 -0
  174. data/spec/models/deb_apt_remote_spec.rb +2 -24
  175. data/spec/models/deb_apt_repository_response_spec.rb +77 -0
  176. data/spec/models/deb_apt_repository_spec.rb +5 -23
  177. data/spec/models/deb_base_package_response_spec.rb +269 -0
  178. data/spec/models/deb_base_package_spec.rb +4 -214
  179. data/spec/models/deb_generic_content_response_spec.rb +95 -0
  180. data/spec/models/deb_generic_content_spec.rb +4 -40
  181. data/spec/models/deb_installer_file_index_response_spec.rb +77 -0
  182. data/spec/models/deb_installer_file_index_spec.rb +2 -14
  183. data/spec/models/deb_package_index_response_spec.rb +77 -0
  184. data/spec/models/deb_package_index_spec.rb +2 -14
  185. data/spec/models/deb_package_release_component_response_spec.rb +59 -0
  186. data/spec/models/deb_package_release_component_spec.rb +2 -14
  187. data/spec/models/deb_release_architecture_response_spec.rb +59 -0
  188. data/spec/models/deb_release_architecture_spec.rb +2 -14
  189. data/spec/models/deb_release_component_response_spec.rb +59 -0
  190. data/spec/models/deb_release_component_spec.rb +2 -14
  191. data/spec/models/deb_release_file_response_spec.rb +77 -0
  192. data/spec/models/deb_release_file_spec.rb +2 -14
  193. data/spec/models/deb_release_response_spec.rb +65 -0
  194. data/spec/models/deb_release_spec.rb +2 -14
  195. data/spec/models/deb_verbatim_publication_response_spec.rb +59 -0
  196. data/spec/models/deb_verbatim_publication_spec.rb +2 -14
  197. data/spec/models/inline_response20010_spec.rb +2 -2
  198. data/spec/models/inline_response20011_spec.rb +2 -2
  199. data/spec/models/inline_response20012_spec.rb +2 -2
  200. data/spec/models/inline_response20013_spec.rb +2 -2
  201. data/spec/models/inline_response20014_spec.rb +2 -2
  202. data/spec/models/inline_response2001_spec.rb +2 -2
  203. data/spec/models/inline_response2002_spec.rb +2 -2
  204. data/spec/models/inline_response2003_spec.rb +2 -2
  205. data/spec/models/inline_response2004_spec.rb +2 -2
  206. data/spec/models/inline_response2005_spec.rb +2 -2
  207. data/spec/models/inline_response2006_spec.rb +2 -2
  208. data/spec/models/inline_response2007_spec.rb +2 -2
  209. data/spec/models/inline_response2008_spec.rb +2 -2
  210. data/spec/models/inline_response2009_spec.rb +2 -2
  211. data/spec/models/inline_response200_spec.rb +2 -2
  212. data/spec/models/patcheddeb_apt_distribution_spec.rb +59 -0
  213. data/spec/models/patcheddeb_apt_remote_spec.rb +143 -0
  214. data/spec/models/patcheddeb_apt_repository_spec.rb +53 -0
  215. data/spec/models/policy_enum_spec.rb +35 -0
  216. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  217. data/spec/models/repository_sync_url_spec.rb +2 -2
  218. data/spec/models/repository_version_response_spec.rb +65 -0
  219. data/spec/models/repository_version_spec.rb +2 -26
  220. data/spec/spec_helper.rb +2 -2
  221. metadata +120 -40
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -21,32 +21,77 @@ module PulpDebClient
21
21
  end
22
22
  # Delete a repository version
23
23
  # Trigger an asynchronous task to delete a repositroy version.
24
- # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
24
+ # @param deb_apt_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :content content
27
+ # @option opts [String] :content__in content__in
28
+ # @option opts [String] :number number
29
+ # @option opts [String] :number__gt number__gt
30
+ # @option opts [String] :number__gte number__gte
31
+ # @option opts [String] :number__lt number__lt
32
+ # @option opts [String] :number__lte number__lte
33
+ # @option opts [String] :number__range number__range
34
+ # @option opts [String] :ordering Which field to use when ordering the results.
35
+ # @option opts [String] :pulp_created pulp_created
36
+ # @option opts [String] :pulp_created__gt pulp_created__gt
37
+ # @option opts [String] :pulp_created__gte pulp_created__gte
38
+ # @option opts [String] :pulp_created__lt pulp_created__lt
39
+ # @option opts [String] :pulp_created__lte pulp_created__lte
40
+ # @option opts [String] :pulp_created__range pulp_created__range
26
41
  # @return [AsyncOperationResponse]
27
- def delete(apt_repository_version_href, opts = {})
28
- data, _status_code, _headers = delete_with_http_info(apt_repository_version_href, opts)
42
+ def delete(deb_apt_repository_version_href, opts = {})
43
+ data, _status_code, _headers = delete_with_http_info(deb_apt_repository_version_href, opts)
29
44
  data
30
45
  end
31
46
 
32
47
  # Delete a repository version
33
48
  # Trigger an asynchronous task to delete a repositroy version.
34
- # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
49
+ # @param deb_apt_repository_version_href [String]
35
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :content content
52
+ # @option opts [String] :content__in content__in
53
+ # @option opts [String] :number number
54
+ # @option opts [String] :number__gt number__gt
55
+ # @option opts [String] :number__gte number__gte
56
+ # @option opts [String] :number__lt number__lt
57
+ # @option opts [String] :number__lte number__lte
58
+ # @option opts [String] :number__range number__range
59
+ # @option opts [String] :ordering Which field to use when ordering the results.
60
+ # @option opts [String] :pulp_created pulp_created
61
+ # @option opts [String] :pulp_created__gt pulp_created__gt
62
+ # @option opts [String] :pulp_created__gte pulp_created__gte
63
+ # @option opts [String] :pulp_created__lt pulp_created__lt
64
+ # @option opts [String] :pulp_created__lte pulp_created__lte
65
+ # @option opts [String] :pulp_created__range pulp_created__range
36
66
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
- def delete_with_http_info(apt_repository_version_href, opts = {})
67
+ def delete_with_http_info(deb_apt_repository_version_href, opts = {})
38
68
  if @api_client.config.debugging
39
69
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.delete ...'
40
70
  end
41
- # verify the required parameter 'apt_repository_version_href' is set
42
- if @api_client.config.client_side_validation && apt_repository_version_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'apt_repository_version_href' when calling RepositoriesDebVersionsApi.delete"
71
+ # verify the required parameter 'deb_apt_repository_version_href' is set
72
+ if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
73
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.delete"
44
74
  end
45
75
  # resource path
46
- local_var_path = '{apt_repository_version_href}'.sub('{' + 'apt_repository_version_href' + '}', CGI.escape(apt_repository_version_href.to_s).gsub('%2F', '/'))
76
+ 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', '/'))
47
77
 
48
78
  # query parameters
49
79
  query_params = opts[:query_params] || {}
80
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
81
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
82
+ query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
83
+ query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
84
+ query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
85
+ query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
86
+ query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
87
+ query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
88
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
89
+ query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
90
+ query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
91
+ query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
92
+ query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
93
+ query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
94
+ query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
50
95
 
51
96
  # header parameters
52
97
  header_params = opts[:header_params] || {}
@@ -63,7 +108,7 @@ module PulpDebClient
63
108
  return_type = opts[:return_type] || 'AsyncOperationResponse'
64
109
 
65
110
  # auth_names
66
- auth_names = opts[:auth_names] || ['Basic']
111
+ auth_names = opts[:auth_names] || ['basicAuth']
67
112
 
68
113
  new_options = opts.merge(
69
114
  :header_params => header_params,
@@ -82,88 +127,88 @@ module PulpDebClient
82
127
  end
83
128
 
84
129
  # List repository versions
85
- # AptRepositoryVersion represents a single deb repository version.
86
- # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
130
+ # 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.
131
+ # @param deb_apt_repository_href [String]
87
132
  # @param [Hash] opts the optional parameters
88
- # @option opts [String] :ordering Which field to use when ordering the results.
89
- # @option opts [Float] :number
90
- # @option opts [Float] :number__lt Filter results where number is less than value
91
- # @option opts [Float] :number__lte Filter results where number is less than or equal to value
92
- # @option opts [Float] :number__gt Filter results where number is greater than value
93
- # @option opts [Float] :number__gte Filter results where number is greater than or equal to value
94
- # @option opts [Float] :number__range Filter results where number is between two comma separated values
95
- # @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
96
- # @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
97
- # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
98
- # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
99
- # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
100
- # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
101
- # @option opts [String] :content Content Unit referenced by HREF
102
- # @option opts [String] :content__in Content Unit referenced by HREF
133
+ # @option opts [String] :content content
134
+ # @option opts [String] :content__in content__in
103
135
  # @option opts [Integer] :limit Number of results to return per page.
136
+ # @option opts [String] :number number
137
+ # @option opts [String] :number__gt number__gt
138
+ # @option opts [String] :number__gte number__gte
139
+ # @option opts [String] :number__lt number__lt
140
+ # @option opts [String] :number__lte number__lte
141
+ # @option opts [String] :number__range number__range
104
142
  # @option opts [Integer] :offset The initial index from which to return the results.
143
+ # @option opts [String] :ordering Which field to use when ordering the results.
144
+ # @option opts [String] :pulp_created pulp_created
145
+ # @option opts [String] :pulp_created__gt pulp_created__gt
146
+ # @option opts [String] :pulp_created__gte pulp_created__gte
147
+ # @option opts [String] :pulp_created__lt pulp_created__lt
148
+ # @option opts [String] :pulp_created__lte pulp_created__lte
149
+ # @option opts [String] :pulp_created__range pulp_created__range
105
150
  # @option opts [String] :fields A list of fields to include in the response.
106
151
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
152
  # @return [InlineResponse20014]
108
- def list(apt_repository_href, opts = {})
109
- data, _status_code, _headers = list_with_http_info(apt_repository_href, opts)
153
+ def list(deb_apt_repository_href, opts = {})
154
+ data, _status_code, _headers = list_with_http_info(deb_apt_repository_href, opts)
110
155
  data
111
156
  end
112
157
 
113
158
  # List repository versions
114
- # AptRepositoryVersion represents a single deb repository version.
115
- # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
159
+ # 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.
160
+ # @param deb_apt_repository_href [String]
116
161
  # @param [Hash] opts the optional parameters
117
- # @option opts [String] :ordering Which field to use when ordering the results.
118
- # @option opts [Float] :number
119
- # @option opts [Float] :number__lt Filter results where number is less than value
120
- # @option opts [Float] :number__lte Filter results where number is less than or equal to value
121
- # @option opts [Float] :number__gt Filter results where number is greater than value
122
- # @option opts [Float] :number__gte Filter results where number is greater than or equal to value
123
- # @option opts [Float] :number__range Filter results where number is between two comma separated values
124
- # @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
125
- # @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
126
- # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
127
- # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
128
- # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
129
- # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
130
- # @option opts [String] :content Content Unit referenced by HREF
131
- # @option opts [String] :content__in Content Unit referenced by HREF
162
+ # @option opts [String] :content content
163
+ # @option opts [String] :content__in content__in
132
164
  # @option opts [Integer] :limit Number of results to return per page.
165
+ # @option opts [String] :number number
166
+ # @option opts [String] :number__gt number__gt
167
+ # @option opts [String] :number__gte number__gte
168
+ # @option opts [String] :number__lt number__lt
169
+ # @option opts [String] :number__lte number__lte
170
+ # @option opts [String] :number__range number__range
133
171
  # @option opts [Integer] :offset The initial index from which to return the results.
172
+ # @option opts [String] :ordering Which field to use when ordering the results.
173
+ # @option opts [String] :pulp_created pulp_created
174
+ # @option opts [String] :pulp_created__gt pulp_created__gt
175
+ # @option opts [String] :pulp_created__gte pulp_created__gte
176
+ # @option opts [String] :pulp_created__lt pulp_created__lt
177
+ # @option opts [String] :pulp_created__lte pulp_created__lte
178
+ # @option opts [String] :pulp_created__range pulp_created__range
134
179
  # @option opts [String] :fields A list of fields to include in the response.
135
180
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
136
181
  # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
137
- def list_with_http_info(apt_repository_href, opts = {})
182
+ def list_with_http_info(deb_apt_repository_href, opts = {})
138
183
  if @api_client.config.debugging
139
184
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
140
185
  end
141
- # verify the required parameter 'apt_repository_href' is set
142
- if @api_client.config.client_side_validation && apt_repository_href.nil?
143
- fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesDebVersionsApi.list"
186
+ # verify the required parameter 'deb_apt_repository_href' is set
187
+ if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
188
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesDebVersionsApi.list"
144
189
  end
145
190
  # resource path
146
- local_var_path = '{apt_repository_href}versions/'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
191
+ local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
147
192
 
148
193
  # query parameters
149
194
  query_params = opts[:query_params] || {}
150
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
195
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
196
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
197
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
151
198
  query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
152
- query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
153
- query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
154
199
  query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
155
200
  query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
201
+ query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
202
+ query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
156
203
  query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
157
- query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
158
- query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
204
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
205
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
206
+ query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
159
207
  query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
160
208
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
209
+ query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
210
+ query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
161
211
  query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
162
- query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
163
- query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
164
- query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
165
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
166
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
167
212
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
168
213
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
169
214
 
@@ -182,7 +227,7 @@ module PulpDebClient
182
227
  return_type = opts[:return_type] || 'InlineResponse20014'
183
228
 
184
229
  # auth_names
185
- auth_names = opts[:auth_names] || ['Basic']
230
+ auth_names = opts[:auth_names] || ['basicAuth']
186
231
 
187
232
  new_options = opts.merge(
188
233
  :header_params => header_params,
@@ -201,34 +246,34 @@ module PulpDebClient
201
246
  end
202
247
 
203
248
  # Inspect a repository version
204
- # AptRepositoryVersion represents a single deb repository version.
205
- # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
249
+ # 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.
250
+ # @param deb_apt_repository_version_href [String]
206
251
  # @param [Hash] opts the optional parameters
207
252
  # @option opts [String] :fields A list of fields to include in the response.
208
253
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
209
- # @return [RepositoryVersion]
210
- def read(apt_repository_version_href, opts = {})
211
- data, _status_code, _headers = read_with_http_info(apt_repository_version_href, opts)
254
+ # @return [RepositoryVersionResponse]
255
+ def read(deb_apt_repository_version_href, opts = {})
256
+ data, _status_code, _headers = read_with_http_info(deb_apt_repository_version_href, opts)
212
257
  data
213
258
  end
214
259
 
215
260
  # Inspect a repository version
216
- # AptRepositoryVersion represents a single deb repository version.
217
- # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
261
+ # 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.
262
+ # @param deb_apt_repository_version_href [String]
218
263
  # @param [Hash] opts the optional parameters
219
264
  # @option opts [String] :fields A list of fields to include in the response.
220
265
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
221
- # @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
222
- def read_with_http_info(apt_repository_version_href, opts = {})
266
+ # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
267
+ def read_with_http_info(deb_apt_repository_version_href, opts = {})
223
268
  if @api_client.config.debugging
224
269
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.read ...'
225
270
  end
226
- # verify the required parameter 'apt_repository_version_href' is set
227
- if @api_client.config.client_side_validation && apt_repository_version_href.nil?
228
- fail ArgumentError, "Missing the required parameter 'apt_repository_version_href' when calling RepositoriesDebVersionsApi.read"
271
+ # verify the required parameter 'deb_apt_repository_version_href' is set
272
+ if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
273
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.read"
229
274
  end
230
275
  # resource path
231
- local_var_path = '{apt_repository_version_href}'.sub('{' + 'apt_repository_version_href' + '}', CGI.escape(apt_repository_version_href.to_s).gsub('%2F', '/'))
276
+ 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', '/'))
232
277
 
233
278
  # query parameters
234
279
  query_params = opts[:query_params] || {}
@@ -247,10 +292,10 @@ module PulpDebClient
247
292
  post_body = opts[:body]
248
293
 
249
294
  # return_type
250
- return_type = opts[:return_type] || 'RepositoryVersion'
295
+ return_type = opts[:return_type] || 'RepositoryVersionResponse'
251
296
 
252
297
  # auth_names
253
- auth_names = opts[:auth_names] || ['Basic']
298
+ auth_names = opts[:auth_names] || ['basicAuth']
254
299
 
255
300
  new_options = opts.merge(
256
301
  :header_params => header_params,
@@ -269,34 +314,34 @@ module PulpDebClient
269
314
  end
270
315
 
271
316
  # Trigger an asynchronous task to repair a repositroy version.
272
- # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
273
- # @param data [RepositoryVersion]
317
+ # @param deb_apt_repository_version_href [String]
318
+ # @param repository_version [RepositoryVersion]
274
319
  # @param [Hash] opts the optional parameters
275
320
  # @return [AsyncOperationResponse]
276
- def repair(apt_repository_version_href, data, opts = {})
277
- data, _status_code, _headers = repair_with_http_info(apt_repository_version_href, data, opts)
321
+ def repair(deb_apt_repository_version_href, repository_version, opts = {})
322
+ data, _status_code, _headers = repair_with_http_info(deb_apt_repository_version_href, repository_version, opts)
278
323
  data
279
324
  end
280
325
 
281
326
  # Trigger an asynchronous task to repair a repositroy version.
282
- # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
283
- # @param data [RepositoryVersion]
327
+ # @param deb_apt_repository_version_href [String]
328
+ # @param repository_version [RepositoryVersion]
284
329
  # @param [Hash] opts the optional parameters
285
330
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
286
- def repair_with_http_info(apt_repository_version_href, data, opts = {})
331
+ def repair_with_http_info(deb_apt_repository_version_href, repository_version, opts = {})
287
332
  if @api_client.config.debugging
288
333
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.repair ...'
289
334
  end
290
- # verify the required parameter 'apt_repository_version_href' is set
291
- if @api_client.config.client_side_validation && apt_repository_version_href.nil?
292
- fail ArgumentError, "Missing the required parameter 'apt_repository_version_href' when calling RepositoriesDebVersionsApi.repair"
335
+ # verify the required parameter 'deb_apt_repository_version_href' is set
336
+ if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
337
+ fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesDebVersionsApi.repair"
293
338
  end
294
- # verify the required parameter 'data' is set
295
- if @api_client.config.client_side_validation && data.nil?
296
- fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesDebVersionsApi.repair"
339
+ # verify the required parameter 'repository_version' is set
340
+ if @api_client.config.client_side_validation && repository_version.nil?
341
+ fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesDebVersionsApi.repair"
297
342
  end
298
343
  # resource path
299
- local_var_path = '{apt_repository_version_href}repair/'.sub('{' + 'apt_repository_version_href' + '}', CGI.escape(apt_repository_version_href.to_s).gsub('%2F', '/'))
344
+ 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', '/'))
300
345
 
301
346
  # query parameters
302
347
  query_params = opts[:query_params] || {}
@@ -306,19 +351,19 @@ module PulpDebClient
306
351
  # HTTP header 'Accept' (if needed)
307
352
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
308
353
  # HTTP header 'Content-Type'
309
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
354
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
310
355
 
311
356
  # form parameters
312
357
  form_params = opts[:form_params] || {}
313
358
 
314
359
  # http body (model)
315
- post_body = opts[:body] || @api_client.object_to_http_body(data)
360
+ post_body = opts[:body] || @api_client.object_to_http_body(repository_version)
316
361
 
317
362
  # return_type
318
363
  return_type = opts[:return_type] || 'AsyncOperationResponse'
319
364
 
320
365
  # auth_names
321
- auth_names = opts[:auth_names] || ['Basic']
366
+ auth_names = opts[:auth_names] || ['basicAuth']
322
367
 
323
368
  new_options = opts.merge(
324
369
  :header_params => header_params,
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -188,7 +188,7 @@ module PulpDebClient
188
188
  # Returns Auth Settings hash for api client.
189
189
  def auth_settings
190
190
  {
191
- 'Basic' =>
191
+ 'basicAuth' =>
192
192
  {
193
193
  type: 'basic',
194
194
  in: 'header',
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
+ # Serializer for asynchronous operations.
16
17
  class AsyncOperationResponse
17
18
  # The href of the task.
18
19
  attr_accessor :task
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- # Various count summaries of the content in the version and the HREF to view them.
16
+ # Serializer for the RepositoryVersion content summary
17
17
  class ContentSummary
18
18
  attr_accessor :added
19
19
 
@@ -33,9 +33,9 @@ module PulpDebClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Hash<String, Hash<String, String>>',
37
- :'removed' => :'Hash<String, Hash<String, String>>',
38
- :'present' => :'Hash<String, Hash<String, String>>'
36
+ :'added' => :'Object',
37
+ :'removed' => :'Object',
38
+ :'present' => :'Object'
39
39
  }
40
40
  end
41
41
 
@@ -61,21 +61,15 @@ module PulpDebClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- if (value = attributes[:'added']).is_a?(Hash)
65
- self.added = value
66
- end
64
+ self.added = attributes[:'added']
67
65
  end
68
66
 
69
67
  if attributes.key?(:'removed')
70
- if (value = attributes[:'removed']).is_a?(Hash)
71
- self.removed = value
72
- end
68
+ self.removed = attributes[:'removed']
73
69
  end
74
70
 
75
71
  if attributes.key?(:'present')
76
- if (value = attributes[:'present']).is_a?(Hash)
77
- self.present = value
78
- end
72
+ self.present = attributes[:'present']
79
73
  end
80
74
  end
81
75