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
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**delete**](RepositoriesDebVersionsApi.md#delete) | **DELETE** {apt_repository_version_href} | Delete a repository version
8
- [**list**](RepositoriesDebVersionsApi.md#list) | **GET** {apt_repository_href}versions/ | List repository versions
9
- [**read**](RepositoriesDebVersionsApi.md#read) | **GET** {apt_repository_version_href} | Inspect a repository version
10
- [**repair**](RepositoriesDebVersionsApi.md#repair) | **POST** {apt_repository_version_href}repair/ |
7
+ [**delete**](RepositoriesDebVersionsApi.md#delete) | **DELETE** {deb_apt_repository_version_href} | Delete a repository version
8
+ [**list**](RepositoriesDebVersionsApi.md#list) | **GET** {deb_apt_repository_href}versions/ | List repository versions
9
+ [**read**](RepositoriesDebVersionsApi.md#read) | **GET** {deb_apt_repository_version_href} | Inspect a repository version
10
+ [**repair**](RepositoriesDebVersionsApi.md#repair) | **POST** {deb_apt_repository_version_href}repair/ |
11
11
 
12
12
 
13
13
 
14
14
  ## delete
15
15
 
16
- > AsyncOperationResponse delete(apt_repository_version_href)
16
+ > AsyncOperationResponse delete(deb_apt_repository_version_href, opts)
17
17
 
18
18
  Delete a repository version
19
19
 
@@ -26,17 +26,34 @@ Trigger an asynchronous task to delete a repositroy version.
26
26
  require 'pulp_deb_client'
27
27
  # setup authorization
28
28
  PulpDebClient.configure do |config|
29
- # Configure HTTP basic authorization: Basic
29
+ # Configure HTTP basic authorization: basicAuth
30
30
  config.username = 'YOUR USERNAME'
31
31
  config.password = 'YOUR PASSWORD'
32
32
  end
33
33
 
34
34
  api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
35
- apt_repository_version_href = 'apt_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
35
+ deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
36
+ opts = {
37
+ content: 'content_example', # String | content
38
+ content__in: 'content__in_example', # String | content__in
39
+ number: 'number_example', # String | number
40
+ number__gt: 'number__gt_example', # String | number__gt
41
+ number__gte: 'number__gte_example', # String | number__gte
42
+ number__lt: 'number__lt_example', # String | number__lt
43
+ number__lte: 'number__lte_example', # String | number__lte
44
+ number__range: 'number__range_example', # String | number__range
45
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
46
+ pulp_created: 'pulp_created_example', # String | pulp_created
47
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
48
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
49
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
50
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
51
+ pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
52
+ }
36
53
 
37
54
  begin
38
55
  #Delete a repository version
39
- result = api_instance.delete(apt_repository_version_href)
56
+ result = api_instance.delete(deb_apt_repository_version_href, opts)
40
57
  p result
41
58
  rescue PulpDebClient::ApiError => e
42
59
  puts "Exception when calling RepositoriesDebVersionsApi->delete: #{e}"
@@ -48,7 +65,22 @@ end
48
65
 
49
66
  Name | Type | Description | Notes
50
67
  ------------- | ------------- | ------------- | -------------
51
- **apt_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/ |
68
+ **deb_apt_repository_version_href** | **String**| |
69
+ **content** | **String**| content | [optional]
70
+ **content__in** | **String**| content__in | [optional]
71
+ **number** | **String**| number | [optional]
72
+ **number__gt** | **String**| number__gt | [optional]
73
+ **number__gte** | **String**| number__gte | [optional]
74
+ **number__lt** | **String**| number__lt | [optional]
75
+ **number__lte** | **String**| number__lte | [optional]
76
+ **number__range** | **String**| number__range | [optional]
77
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
78
+ **pulp_created** | **String**| pulp_created | [optional]
79
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
80
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
81
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
82
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
83
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
52
84
 
53
85
  ### Return type
54
86
 
@@ -56,7 +88,7 @@ Name | Type | Description | Notes
56
88
 
57
89
  ### Authorization
58
90
 
59
- [Basic](../README.md#Basic)
91
+ [basicAuth](../README.md#basicAuth)
60
92
 
61
93
  ### HTTP request headers
62
94
 
@@ -66,11 +98,11 @@ Name | Type | Description | Notes
66
98
 
67
99
  ## list
68
100
 
69
- > InlineResponse20014 list(apt_repository_href, opts)
101
+ > InlineResponse20014 list(deb_apt_repository_href, opts)
70
102
 
71
103
  List repository versions
72
104
 
73
- AptRepositoryVersion represents a single deb repository version.
105
+ 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.
74
106
 
75
107
  ### Example
76
108
 
@@ -79,38 +111,38 @@ AptRepositoryVersion represents a single deb repository version.
79
111
  require 'pulp_deb_client'
80
112
  # setup authorization
81
113
  PulpDebClient.configure do |config|
82
- # Configure HTTP basic authorization: Basic
114
+ # Configure HTTP basic authorization: basicAuth
83
115
  config.username = 'YOUR USERNAME'
84
116
  config.password = 'YOUR PASSWORD'
85
117
  end
86
118
 
87
119
  api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
88
- apt_repository_href = 'apt_repository_href_example' # String | URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
120
+ deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
89
121
  opts = {
90
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
91
- number: 3.4, # Float |
92
- number__lt: 3.4, # Float | Filter results where number is less than value
93
- number__lte: 3.4, # Float | Filter results where number is less than or equal to value
94
- number__gt: 3.4, # Float | Filter results where number is greater than value
95
- number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
96
- number__range: 3.4, # Float | Filter results where number is between two comma separated values
97
- pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
98
- pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
99
- pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
100
- pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
101
- pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
102
- pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
103
- content: 'content_example', # String | Content Unit referenced by HREF
104
- content__in: 'content__in_example', # String | Content Unit referenced by HREF
122
+ content: 'content_example', # String | content
123
+ content__in: 'content__in_example', # String | content__in
105
124
  limit: 56, # Integer | Number of results to return per page.
125
+ number: 'number_example', # String | number
126
+ number__gt: 'number__gt_example', # String | number__gt
127
+ number__gte: 'number__gte_example', # String | number__gte
128
+ number__lt: 'number__lt_example', # String | number__lt
129
+ number__lte: 'number__lte_example', # String | number__lte
130
+ number__range: 'number__range_example', # String | number__range
106
131
  offset: 56, # Integer | The initial index from which to return the results.
132
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
133
+ pulp_created: 'pulp_created_example', # String | pulp_created
134
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
135
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
136
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
137
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
138
+ pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
107
139
  fields: 'fields_example', # String | A list of fields to include in the response.
108
140
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
109
141
  }
110
142
 
111
143
  begin
112
144
  #List repository versions
113
- result = api_instance.list(apt_repository_href, opts)
145
+ result = api_instance.list(deb_apt_repository_href, opts)
114
146
  p result
115
147
  rescue PulpDebClient::ApiError => e
116
148
  puts "Exception when calling RepositoriesDebVersionsApi->list: #{e}"
@@ -122,24 +154,24 @@ end
122
154
 
123
155
  Name | Type | Description | Notes
124
156
  ------------- | ------------- | ------------- | -------------
125
- **apt_repository_href** | **String**| URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
126
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
127
- **number** | **Float**| | [optional]
128
- **number__lt** | **Float**| Filter results where number is less than value | [optional]
129
- **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
130
- **number__gt** | **Float**| Filter results where number is greater than value | [optional]
131
- **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
132
- **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
133
- **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
134
- **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
135
- **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
136
- **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
137
- **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
138
- **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
139
- **content** | **String**| Content Unit referenced by HREF | [optional]
140
- **content__in** | **String**| Content Unit referenced by HREF | [optional]
157
+ **deb_apt_repository_href** | **String**| |
158
+ **content** | **String**| content | [optional]
159
+ **content__in** | **String**| content__in | [optional]
141
160
  **limit** | **Integer**| Number of results to return per page. | [optional]
161
+ **number** | **String**| number | [optional]
162
+ **number__gt** | **String**| number__gt | [optional]
163
+ **number__gte** | **String**| number__gte | [optional]
164
+ **number__lt** | **String**| number__lt | [optional]
165
+ **number__lte** | **String**| number__lte | [optional]
166
+ **number__range** | **String**| number__range | [optional]
142
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
+ **pulp_created** | **String**| pulp_created | [optional]
170
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
171
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
172
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
173
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
174
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
143
175
  **fields** | **String**| A list of fields to include in the response. | [optional]
144
176
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
145
177
 
@@ -149,7 +181,7 @@ Name | Type | Description | Notes
149
181
 
150
182
  ### Authorization
151
183
 
152
- [Basic](../README.md#Basic)
184
+ [basicAuth](../README.md#basicAuth)
153
185
 
154
186
  ### HTTP request headers
155
187
 
@@ -159,11 +191,11 @@ Name | Type | Description | Notes
159
191
 
160
192
  ## read
161
193
 
162
- > RepositoryVersion read(apt_repository_version_href, opts)
194
+ > RepositoryVersionResponse read(deb_apt_repository_version_href, opts)
163
195
 
164
196
  Inspect a repository version
165
197
 
166
- AptRepositoryVersion represents a single deb repository version.
198
+ 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.
167
199
 
168
200
  ### Example
169
201
 
@@ -172,13 +204,13 @@ AptRepositoryVersion represents a single deb repository version.
172
204
  require 'pulp_deb_client'
173
205
  # setup authorization
174
206
  PulpDebClient.configure do |config|
175
- # Configure HTTP basic authorization: Basic
207
+ # Configure HTTP basic authorization: basicAuth
176
208
  config.username = 'YOUR USERNAME'
177
209
  config.password = 'YOUR PASSWORD'
178
210
  end
179
211
 
180
212
  api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
181
- apt_repository_version_href = 'apt_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
213
+ deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
182
214
  opts = {
183
215
  fields: 'fields_example', # String | A list of fields to include in the response.
184
216
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -186,7 +218,7 @@ opts = {
186
218
 
187
219
  begin
188
220
  #Inspect a repository version
189
- result = api_instance.read(apt_repository_version_href, opts)
221
+ result = api_instance.read(deb_apt_repository_version_href, opts)
190
222
  p result
191
223
  rescue PulpDebClient::ApiError => e
192
224
  puts "Exception when calling RepositoriesDebVersionsApi->read: #{e}"
@@ -198,17 +230,17 @@ end
198
230
 
199
231
  Name | Type | Description | Notes
200
232
  ------------- | ------------- | ------------- | -------------
201
- **apt_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/ |
233
+ **deb_apt_repository_version_href** | **String**| |
202
234
  **fields** | **String**| A list of fields to include in the response. | [optional]
203
235
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
204
236
 
205
237
  ### Return type
206
238
 
207
- [**RepositoryVersion**](RepositoryVersion.md)
239
+ [**RepositoryVersionResponse**](RepositoryVersionResponse.md)
208
240
 
209
241
  ### Authorization
210
242
 
211
- [Basic](../README.md#Basic)
243
+ [basicAuth](../README.md#basicAuth)
212
244
 
213
245
  ### HTTP request headers
214
246
 
@@ -218,7 +250,7 @@ Name | Type | Description | Notes
218
250
 
219
251
  ## repair
220
252
 
221
- > AsyncOperationResponse repair(apt_repository_version_href, data)
253
+ > AsyncOperationResponse repair(deb_apt_repository_version_href, repository_version)
222
254
 
223
255
 
224
256
 
@@ -231,17 +263,17 @@ Trigger an asynchronous task to repair a repositroy version.
231
263
  require 'pulp_deb_client'
232
264
  # setup authorization
233
265
  PulpDebClient.configure do |config|
234
- # Configure HTTP basic authorization: Basic
266
+ # Configure HTTP basic authorization: basicAuth
235
267
  config.username = 'YOUR USERNAME'
236
268
  config.password = 'YOUR PASSWORD'
237
269
  end
238
270
 
239
271
  api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
240
- apt_repository_version_href = 'apt_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
241
- data = PulpDebClient::RepositoryVersion.new # RepositoryVersion |
272
+ deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
273
+ repository_version = PulpDebClient::RepositoryVersion.new # RepositoryVersion |
242
274
 
243
275
  begin
244
- result = api_instance.repair(apt_repository_version_href, data)
276
+ result = api_instance.repair(deb_apt_repository_version_href, repository_version)
245
277
  p result
246
278
  rescue PulpDebClient::ApiError => e
247
279
  puts "Exception when calling RepositoriesDebVersionsApi->repair: #{e}"
@@ -253,8 +285,8 @@ end
253
285
 
254
286
  Name | Type | Description | Notes
255
287
  ------------- | ------------- | ------------- | -------------
256
- **apt_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/ |
257
- **data** | [**RepositoryVersion**](RepositoryVersion.md)| |
288
+ **deb_apt_repository_version_href** | **String**| |
289
+ **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
258
290
 
259
291
  ### Return type
260
292
 
@@ -262,10 +294,10 @@ Name | Type | Description | Notes
262
294
 
263
295
  ### Authorization
264
296
 
265
- [Basic](../README.md#Basic)
297
+ [basicAuth](../README.md#basicAuth)
266
298
 
267
299
  ### HTTP request headers
268
300
 
269
- - **Content-Type**: application/json
301
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
270
302
  - **Accept**: application/json
271
303
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **add_content_units** | **Array<String>** | 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<String>** | 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<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]
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **remote** | **String** | A URI of the repository to be synchronized. |
7
+ **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
8
  **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
9
9
 
10
10
  ## Code Sample
@@ -4,22 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **number** | **Integer** | | [optional] [readonly]
10
7
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
- **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
8
 
13
9
  ## Code Sample
14
10
 
15
11
  ```ruby
16
12
  require 'PulpDebClient'
17
13
 
18
- instance = PulpDebClient::RepositoryVersion.new(pulp_href: null,
19
- pulp_created: null,
20
- number: null,
21
- base_version: null,
22
- content_summary: null)
14
+ instance = PulpDebClient::RepositoryVersion.new(base_version: null)
23
15
  ```
24
16
 
25
17
 
@@ -0,0 +1,25 @@
1
+ # PulpDebClient::RepositoryVersionResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **number** | **Integer** | | [optional] [readonly]
10
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
+ **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpDebClient'
17
+
18
+ instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -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
 
@@ -48,10 +48,6 @@ module PulpDebClient
48
48
  if @api_client.config.client_side_validation && relative_path.nil?
49
49
  fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentGenericContentsApi.create"
50
50
  end
51
- if @api_client.config.client_side_validation && relative_path.to_s.length < 1
52
- fail ArgumentError, 'invalid value for "relative_path" when calling ContentGenericContentsApi.create, the character length must be great than or equal to 1.'
53
- end
54
-
55
51
  # resource path
56
52
  local_var_path = '/pulp/api/v3/content/deb/generic_contents/'
57
53
 
@@ -79,7 +75,7 @@ module PulpDebClient
79
75
  return_type = opts[:return_type] || 'AsyncOperationResponse'
80
76
 
81
77
  # auth_names
82
- auth_names = opts[:auth_names] || ['Basic']
78
+ auth_names = opts[:auth_names] || ['basicAuth']
83
79
 
84
80
  new_options = opts.merge(
85
81
  :header_params => header_params,
@@ -98,16 +94,16 @@ module PulpDebClient
98
94
  end
99
95
 
100
96
  # List generic contents
101
- # A ViewSet for GenericContent.
97
+ # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
102
98
  # @param [Hash] opts the optional parameters
103
- # @option opts [String] :ordering Which field to use when ordering the results.
104
- # @option opts [String] :relative_path Filter results where relative_path matches value
105
- # @option opts [String] :sha256 Filter results where sha256 matches value
106
- # @option opts [String] :repository_version Repository Version referenced by HREF
107
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
108
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
109
99
  # @option opts [Integer] :limit Number of results to return per page.
110
100
  # @option opts [Integer] :offset The initial index from which to return the results.
101
+ # @option opts [String] :ordering Which field to use when ordering the results.
102
+ # @option opts [String] :relative_path relative_path
103
+ # @option opts [String] :repository_version repository_version
104
+ # @option opts [String] :repository_version_added repository_version_added
105
+ # @option opts [String] :repository_version_removed repository_version_removed
106
+ # @option opts [String] :sha256 sha256
111
107
  # @option opts [String] :fields A list of fields to include in the response.
112
108
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
113
109
  # @return [InlineResponse200]
@@ -117,16 +113,16 @@ module PulpDebClient
117
113
  end
118
114
 
119
115
  # List generic contents
120
- # A ViewSet for GenericContent.
116
+ # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
121
117
  # @param [Hash] opts the optional parameters
122
- # @option opts [String] :ordering Which field to use when ordering the results.
123
- # @option opts [String] :relative_path Filter results where relative_path matches value
124
- # @option opts [String] :sha256 Filter results where sha256 matches value
125
- # @option opts [String] :repository_version Repository Version referenced by HREF
126
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
127
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
128
118
  # @option opts [Integer] :limit Number of results to return per page.
129
119
  # @option opts [Integer] :offset The initial index from which to return the results.
120
+ # @option opts [String] :ordering Which field to use when ordering the results.
121
+ # @option opts [String] :relative_path relative_path
122
+ # @option opts [String] :repository_version repository_version
123
+ # @option opts [String] :repository_version_added repository_version_added
124
+ # @option opts [String] :repository_version_removed repository_version_removed
125
+ # @option opts [String] :sha256 sha256
130
126
  # @option opts [String] :fields A list of fields to include in the response.
131
127
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
132
128
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
@@ -139,14 +135,14 @@ module PulpDebClient
139
135
 
140
136
  # query parameters
141
137
  query_params = opts[:query_params] || {}
138
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
139
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
142
140
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
143
141
  query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
144
- query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
145
142
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
146
143
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
147
144
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
148
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
149
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
145
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
150
146
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
151
147
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
152
148
 
@@ -165,7 +161,7 @@ module PulpDebClient
165
161
  return_type = opts[:return_type] || 'InlineResponse200'
166
162
 
167
163
  # auth_names
168
- auth_names = opts[:auth_names] || ['Basic']
164
+ auth_names = opts[:auth_names] || ['basicAuth']
169
165
 
170
166
  new_options = opts.merge(
171
167
  :header_params => header_params,
@@ -184,34 +180,34 @@ module PulpDebClient
184
180
  end
185
181
 
186
182
  # Inspect a generic content
187
- # A ViewSet for GenericContent.
188
- # @param generic_content_href [String] URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/
183
+ # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
184
+ # @param deb_generic_content_href [String]
189
185
  # @param [Hash] opts the optional parameters
190
186
  # @option opts [String] :fields A list of fields to include in the response.
191
187
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
- # @return [DebGenericContent]
193
- def read(generic_content_href, opts = {})
194
- data, _status_code, _headers = read_with_http_info(generic_content_href, opts)
188
+ # @return [DebGenericContentResponse]
189
+ def read(deb_generic_content_href, opts = {})
190
+ data, _status_code, _headers = read_with_http_info(deb_generic_content_href, opts)
195
191
  data
196
192
  end
197
193
 
198
194
  # Inspect a generic content
199
- # A ViewSet for GenericContent.
200
- # @param generic_content_href [String] URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/
195
+ # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
196
+ # @param deb_generic_content_href [String]
201
197
  # @param [Hash] opts the optional parameters
202
198
  # @option opts [String] :fields A list of fields to include in the response.
203
199
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
204
- # @return [Array<(DebGenericContent, Integer, Hash)>] DebGenericContent data, response status code and response headers
205
- def read_with_http_info(generic_content_href, opts = {})
200
+ # @return [Array<(DebGenericContentResponse, Integer, Hash)>] DebGenericContentResponse data, response status code and response headers
201
+ def read_with_http_info(deb_generic_content_href, opts = {})
206
202
  if @api_client.config.debugging
207
203
  @api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.read ...'
208
204
  end
209
- # verify the required parameter 'generic_content_href' is set
210
- if @api_client.config.client_side_validation && generic_content_href.nil?
211
- fail ArgumentError, "Missing the required parameter 'generic_content_href' when calling ContentGenericContentsApi.read"
205
+ # verify the required parameter 'deb_generic_content_href' is set
206
+ if @api_client.config.client_side_validation && deb_generic_content_href.nil?
207
+ fail ArgumentError, "Missing the required parameter 'deb_generic_content_href' when calling ContentGenericContentsApi.read"
212
208
  end
213
209
  # resource path
214
- local_var_path = '{generic_content_href}'.sub('{' + 'generic_content_href' + '}', CGI.escape(generic_content_href.to_s).gsub('%2F', '/'))
210
+ local_var_path = '{deb_generic_content_href}'.sub('{' + 'deb_generic_content_href' + '}', CGI.escape(deb_generic_content_href.to_s).gsub('%2F', '/'))
215
211
 
216
212
  # query parameters
217
213
  query_params = opts[:query_params] || {}
@@ -230,10 +226,10 @@ module PulpDebClient
230
226
  post_body = opts[:body]
231
227
 
232
228
  # return_type
233
- return_type = opts[:return_type] || 'DebGenericContent'
229
+ return_type = opts[:return_type] || 'DebGenericContentResponse'
234
230
 
235
231
  # auth_names
236
- auth_names = opts[:auth_names] || ['Basic']
232
+ auth_names = opts[:auth_names] || ['basicAuth']
237
233
 
238
234
  new_options = opts.merge(
239
235
  :header_params => header_params,