pulp_deb_client 2.0.0b2 → 2.0.0b3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -18
  3. data/docs/ContentGenericContentsApi.md +12 -4
  4. data/docs/ContentInstallerFileIndexApi.md +20 -8
  5. data/docs/ContentInstallerPackagesApi.md +42 -4
  6. data/docs/ContentPackageIndexApi.md +20 -8
  7. data/docs/ContentPackagesApi.md +46 -6
  8. data/docs/{ContentReleasesApi.md → ContentReleaseFilesApi.md} +44 -32
  9. data/docs/ContentSummary.md +21 -0
  10. data/docs/{InstallerPackage.md → DebBasePackage.md} +40 -46
  11. data/docs/{DebDistribution.md → DebDebDistribution.md} +6 -6
  12. data/docs/{DebPublication.md → DebDebPublication.md} +5 -7
  13. data/docs/{DebRemote.md → DebDebRemote.md} +15 -21
  14. data/docs/DebDebRepository.md +27 -0
  15. data/docs/{GenericContent.md → DebGenericContent.md} +11 -17
  16. data/docs/{InstallerFileIndex.md → DebInstallerFileIndex.md} +5 -7
  17. data/docs/{PackageIndex.md → DebPackageIndex.md} +5 -7
  18. data/docs/{Release.md → DebReleaseFile.md} +5 -7
  19. data/docs/{VerbatimPublication.md → DebVerbatimPublication.md} +5 -7
  20. data/docs/DistributionsAptApi.md +16 -12
  21. data/docs/InlineResponse200.md +1 -1
  22. data/docs/InlineResponse2001.md +1 -1
  23. data/docs/InlineResponse20010.md +23 -0
  24. data/docs/InlineResponse2002.md +1 -1
  25. data/docs/InlineResponse2003.md +1 -1
  26. data/docs/InlineResponse2004.md +1 -1
  27. data/docs/InlineResponse2005.md +1 -1
  28. data/docs/InlineResponse2006.md +1 -1
  29. data/docs/InlineResponse2007.md +1 -1
  30. data/docs/InlineResponse2008.md +1 -1
  31. data/docs/InlineResponse2009.md +1 -1
  32. data/docs/PublicationsAptApi.md +12 -8
  33. data/docs/PublicationsVerbatimApi.md +12 -8
  34. data/docs/RemotesAptApi.md +30 -81
  35. data/docs/RepositoriesAptApi.md +465 -0
  36. data/docs/RepositoriesDebVersionsApi.md +214 -0
  37. data/docs/RepositoryAddRemoveContent.md +21 -0
  38. data/docs/RepositorySyncURL.md +2 -2
  39. data/docs/RepositoryVersion.md +25 -0
  40. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +16 -4
  41. data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +27 -9
  42. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +61 -4
  43. data/lib/pulp_deb_client/api/content_package_index_api.rb +27 -9
  44. data/lib/pulp_deb_client/api/content_packages_api.rb +67 -7
  45. data/lib/pulp_deb_client/api/{content_releases_api.rb → content_release_files_api.rb} +61 -43
  46. data/lib/pulp_deb_client/api/distributions_apt_api.rb +19 -13
  47. data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -9
  48. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -9
  49. data/lib/pulp_deb_client/api/remotes_apt_api.rb +40 -102
  50. data/lib/pulp_deb_client/api/repositories_apt_api.rb +568 -0
  51. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +268 -0
  52. data/lib/pulp_deb_client/api_client.rb +1 -1
  53. data/lib/pulp_deb_client/api_error.rb +1 -1
  54. data/lib/pulp_deb_client/configuration.rb +1 -1
  55. data/lib/pulp_deb_client/models/async_operation_response.rb +12 -2
  56. data/lib/pulp_deb_client/models/content_summary.rb +246 -0
  57. data/lib/pulp_deb_client/models/{package.rb → deb_base_package.rb} +28 -62
  58. data/lib/pulp_deb_client/models/{deb_distribution.rb → deb_deb_distribution.rb} +30 -36
  59. data/lib/pulp_deb_client/models/{deb_publication.rb → deb_deb_publication.rb} +29 -42
  60. data/lib/pulp_deb_client/models/{deb_remote.rb → deb_deb_remote.rb} +87 -147
  61. data/lib/pulp_deb_client/models/deb_deb_repository.rb +294 -0
  62. data/lib/pulp_deb_client/models/{generic_content.rb → deb_generic_content.rb} +28 -62
  63. data/lib/pulp_deb_client/models/{installer_file_index.rb → deb_installer_file_index.rb} +28 -42
  64. data/lib/pulp_deb_client/models/{package_index.rb → deb_package_index.rb} +28 -42
  65. data/lib/pulp_deb_client/models/{release.rb → deb_release_file.rb} +28 -42
  66. data/lib/pulp_deb_client/models/{verbatim_publication.rb → deb_verbatim_publication.rb} +29 -42
  67. data/lib/pulp_deb_client/models/inline_response200.rb +15 -3
  68. data/lib/pulp_deb_client/models/inline_response2001.rb +15 -3
  69. data/lib/pulp_deb_client/models/inline_response20010.rb +247 -0
  70. data/lib/pulp_deb_client/models/inline_response2002.rb +15 -3
  71. data/lib/pulp_deb_client/models/inline_response2003.rb +15 -3
  72. data/lib/pulp_deb_client/models/inline_response2004.rb +15 -3
  73. data/lib/pulp_deb_client/models/inline_response2005.rb +15 -3
  74. data/lib/pulp_deb_client/models/inline_response2006.rb +15 -3
  75. data/lib/pulp_deb_client/models/inline_response2007.rb +15 -3
  76. data/lib/pulp_deb_client/models/inline_response2008.rb +15 -3
  77. data/lib/pulp_deb_client/models/inline_response2009.rb +15 -3
  78. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +231 -0
  79. data/lib/pulp_deb_client/models/repository_sync_url.rb +22 -12
  80. data/lib/pulp_deb_client/models/repository_version.rb +244 -0
  81. data/lib/pulp_deb_client/version.rb +2 -2
  82. data/lib/pulp_deb_client.rb +18 -12
  83. data/pulp_deb_client.gemspec +1 -1
  84. data/spec/api/content_generic_contents_api_spec.rb +6 -2
  85. data/spec/api/content_installer_file_index_api_spec.rb +9 -3
  86. data/spec/api/content_installer_packages_api_spec.rb +21 -2
  87. data/spec/api/content_package_index_api_spec.rb +9 -3
  88. data/spec/api/content_packages_api_spec.rb +23 -3
  89. data/spec/api/{content_releases_api_spec.rb → content_release_files_api_spec.rb} +23 -17
  90. data/spec/api/distributions_apt_api_spec.rb +5 -3
  91. data/spec/api/publications_apt_api_spec.rb +5 -3
  92. data/spec/api/publications_verbatim_api_spec.rb +5 -3
  93. data/spec/api/remotes_apt_api_spec.rb +12 -22
  94. data/spec/api/repositories_apt_api_spec.rb +141 -0
  95. data/spec/api/repositories_deb_versions_api_spec.rb +91 -0
  96. data/spec/api_client_spec.rb +2 -2
  97. data/spec/configuration_spec.rb +1 -1
  98. data/spec/models/async_operation_response_spec.rb +1 -1
  99. data/spec/models/content_summary_spec.rb +53 -0
  100. data/spec/models/{package_spec.rb → deb_base_package_spec.rb} +9 -27
  101. data/spec/models/{deb_distribution_spec.rb → deb_deb_distribution_spec.rb} +9 -9
  102. data/spec/models/{deb_publication_spec.rb → deb_deb_publication_spec.rb} +9 -15
  103. data/spec/models/{deb_remote_spec.rb → deb_deb_remote_spec.rb} +14 -32
  104. data/spec/models/{verbatim_publication_spec.rb → deb_deb_repository_spec.rb} +13 -13
  105. data/spec/models/{generic_content_spec.rb → deb_generic_content_spec.rb} +9 -27
  106. data/spec/models/{package_index_spec.rb → deb_installer_file_index_spec.rb} +9 -15
  107. data/spec/models/{installer_file_index_spec.rb → deb_package_index_spec.rb} +9 -15
  108. data/spec/models/{release_spec.rb → deb_release_file_spec.rb} +9 -15
  109. data/spec/models/deb_verbatim_publication_spec.rb +65 -0
  110. data/spec/models/inline_response20010_spec.rb +59 -0
  111. data/spec/models/inline_response2001_spec.rb +1 -1
  112. data/spec/models/inline_response2002_spec.rb +1 -1
  113. data/spec/models/inline_response2003_spec.rb +1 -1
  114. data/spec/models/inline_response2004_spec.rb +1 -1
  115. data/spec/models/inline_response2005_spec.rb +1 -1
  116. data/spec/models/inline_response2006_spec.rb +1 -1
  117. data/spec/models/inline_response2007_spec.rb +1 -1
  118. data/spec/models/inline_response2008_spec.rb +1 -1
  119. data/spec/models/inline_response2009_spec.rb +1 -1
  120. data/spec/models/inline_response200_spec.rb +1 -1
  121. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  122. data/spec/models/repository_sync_url_spec.rb +2 -2
  123. data/spec/models/repository_version_spec.rb +65 -0
  124. data/spec/spec_helper.rb +1 -1
  125. metadata +70 -46
  126. data/docs/Package.md +0 -99
  127. data/lib/pulp_deb_client/models/installer_package.rb +0 -1101
  128. data/spec/models/installer_package_spec.rb +0 -287
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | A URI of the repository to be synchronized. |
7
+ **remote** | **String** | A URI of the repository to be synchronized. |
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
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  ```ruby
13
13
  require 'PulpDebClient'
14
14
 
15
- instance = PulpDebClient::RepositorySyncURL.new(repository: null,
15
+ instance = PulpDebClient::RepositorySyncURL.new(remote: null,
16
16
  mirror: null)
17
17
  ```
18
18
 
@@ -0,0 +1,25 @@
1
+ # PulpDebClient::RepositoryVersion
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** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpDebClient'
17
+
18
+ instance = PulpDebClient::RepositoryVersion.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -100,12 +100,15 @@ module PulpDebClient
100
100
  # List generic contents
101
101
  # A ViewSet for GenericContent.
102
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [String] :relative_path Filter results where relative_path matches value
104
+ # @option opts [String] :sha256 Filter results where sha256 matches value
103
105
  # @option opts [String] :repository_version Repository Version referenced by HREF
104
106
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
105
107
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
106
108
  # @option opts [Integer] :limit Number of results to return per page.
107
109
  # @option opts [Integer] :offset The initial index from which to return the results.
108
110
  # @option opts [String] :fields A list of fields to include in the response.
111
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
109
112
  # @return [InlineResponse200]
110
113
  def list(opts = {})
111
114
  data, _status_code, _headers = list_with_http_info(opts)
@@ -115,12 +118,15 @@ module PulpDebClient
115
118
  # List generic contents
116
119
  # A ViewSet for GenericContent.
117
120
  # @param [Hash] opts the optional parameters
121
+ # @option opts [String] :relative_path Filter results where relative_path matches value
122
+ # @option opts [String] :sha256 Filter results where sha256 matches value
118
123
  # @option opts [String] :repository_version Repository Version referenced by HREF
119
124
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
120
125
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
121
126
  # @option opts [Integer] :limit Number of results to return per page.
122
127
  # @option opts [Integer] :offset The initial index from which to return the results.
123
128
  # @option opts [String] :fields A list of fields to include in the response.
129
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
124
130
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
125
131
  def list_with_http_info(opts = {})
126
132
  if @api_client.config.debugging
@@ -131,12 +137,15 @@ module PulpDebClient
131
137
 
132
138
  # query parameters
133
139
  query_params = opts[:query_params] || {}
140
+ query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
141
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
134
142
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
135
143
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
136
144
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
137
145
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
138
146
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
139
147
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
148
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
140
149
 
141
150
  # header parameters
142
151
  header_params = opts[:header_params] || {}
@@ -176,7 +185,8 @@ module PulpDebClient
176
185
  # @param generic_content_href [String] URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/
177
186
  # @param [Hash] opts the optional parameters
178
187
  # @option opts [String] :fields A list of fields to include in the response.
179
- # @return [GenericContent]
188
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
189
+ # @return [DebGenericContent]
180
190
  def read(generic_content_href, opts = {})
181
191
  data, _status_code, _headers = read_with_http_info(generic_content_href, opts)
182
192
  data
@@ -187,7 +197,8 @@ module PulpDebClient
187
197
  # @param generic_content_href [String] URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/
188
198
  # @param [Hash] opts the optional parameters
189
199
  # @option opts [String] :fields A list of fields to include in the response.
190
- # @return [Array<(GenericContent, Integer, Hash)>] GenericContent data, response status code and response headers
200
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
201
+ # @return [Array<(DebGenericContent, Integer, Hash)>] DebGenericContent data, response status code and response headers
191
202
  def read_with_http_info(generic_content_href, opts = {})
192
203
  if @api_client.config.debugging
193
204
  @api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.read ...'
@@ -202,6 +213,7 @@ module PulpDebClient
202
213
  # query parameters
203
214
  query_params = opts[:query_params] || {}
204
215
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
216
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
205
217
 
206
218
  # header parameters
207
219
  header_params = opts[:header_params] || {}
@@ -215,7 +227,7 @@ module PulpDebClient
215
227
  post_body = opts[:body]
216
228
 
217
229
  # return_type
218
- return_type = opts[:return_type] || 'GenericContent'
230
+ return_type = opts[:return_type] || 'DebGenericContent'
219
231
 
220
232
  # auth_names
221
233
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,9 +21,9 @@ module PulpDebClient
21
21
  end
22
22
  # Create an installer file index
23
23
  # A ViewSet for InstallerFileIndex.
24
- # @param data [InstallerFileIndex]
24
+ # @param data [DebInstallerFileIndex]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [InstallerFileIndex]
26
+ # @return [DebInstallerFileIndex]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -31,9 +31,9 @@ module PulpDebClient
31
31
 
32
32
  # Create an installer file index
33
33
  # A ViewSet for InstallerFileIndex.
34
- # @param data [InstallerFileIndex]
34
+ # @param data [DebInstallerFileIndex]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(InstallerFileIndex, Integer, Hash)>] InstallerFileIndex data, response status code and response headers
36
+ # @return [Array<(DebInstallerFileIndex, Integer, Hash)>] DebInstallerFileIndex data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: ContentInstallerFileIndexApi.create ...'
@@ -62,7 +62,7 @@ module PulpDebClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(data)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'InstallerFileIndex'
65
+ return_type = opts[:return_type] || 'DebInstallerFileIndex'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -86,12 +86,17 @@ module PulpDebClient
86
86
  # List InstallerFileIndices
87
87
  # A ViewSet for InstallerFileIndex.
88
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :component Filter results where component matches value
90
+ # @option opts [String] :architecture Filter results where architecture matches value
91
+ # @option opts [String] :relative_path Filter results where relative_path matches value
92
+ # @option opts [String] :sha256 Filter results where sha256 matches value
89
93
  # @option opts [String] :repository_version Repository Version referenced by HREF
90
94
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
91
95
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
92
96
  # @option opts [Integer] :limit Number of results to return per page.
93
97
  # @option opts [Integer] :offset The initial index from which to return the results.
94
98
  # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
95
100
  # @return [InlineResponse2001]
96
101
  def list(opts = {})
97
102
  data, _status_code, _headers = list_with_http_info(opts)
@@ -101,12 +106,17 @@ module PulpDebClient
101
106
  # List InstallerFileIndices
102
107
  # A ViewSet for InstallerFileIndex.
103
108
  # @param [Hash] opts the optional parameters
109
+ # @option opts [String] :component Filter results where component matches value
110
+ # @option opts [String] :architecture Filter results where architecture matches value
111
+ # @option opts [String] :relative_path Filter results where relative_path matches value
112
+ # @option opts [String] :sha256 Filter results where sha256 matches value
104
113
  # @option opts [String] :repository_version Repository Version referenced by HREF
105
114
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
106
115
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
107
116
  # @option opts [Integer] :limit Number of results to return per page.
108
117
  # @option opts [Integer] :offset The initial index from which to return the results.
109
118
  # @option opts [String] :fields A list of fields to include in the response.
119
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
120
  # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
111
121
  def list_with_http_info(opts = {})
112
122
  if @api_client.config.debugging
@@ -117,12 +127,17 @@ module PulpDebClient
117
127
 
118
128
  # query parameters
119
129
  query_params = opts[:query_params] || {}
130
+ query_params[:'component'] = opts[:'component'] if !opts[:'component'].nil?
131
+ query_params[:'architecture'] = opts[:'architecture'] if !opts[:'architecture'].nil?
132
+ query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
133
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
120
134
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
121
135
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
122
136
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
123
137
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
124
138
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
125
139
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
140
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
126
141
 
127
142
  # header parameters
128
143
  header_params = opts[:header_params] || {}
@@ -162,7 +177,8 @@ module PulpDebClient
162
177
  # @param installer_file_index_href [String] URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_index/1/
163
178
  # @param [Hash] opts the optional parameters
164
179
  # @option opts [String] :fields A list of fields to include in the response.
165
- # @return [InstallerFileIndex]
180
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
181
+ # @return [DebInstallerFileIndex]
166
182
  def read(installer_file_index_href, opts = {})
167
183
  data, _status_code, _headers = read_with_http_info(installer_file_index_href, opts)
168
184
  data
@@ -173,7 +189,8 @@ module PulpDebClient
173
189
  # @param installer_file_index_href [String] URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_index/1/
174
190
  # @param [Hash] opts the optional parameters
175
191
  # @option opts [String] :fields A list of fields to include in the response.
176
- # @return [Array<(InstallerFileIndex, Integer, Hash)>] InstallerFileIndex data, response status code and response headers
192
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
193
+ # @return [Array<(DebInstallerFileIndex, Integer, Hash)>] DebInstallerFileIndex data, response status code and response headers
177
194
  def read_with_http_info(installer_file_index_href, opts = {})
178
195
  if @api_client.config.debugging
179
196
  @api_client.config.logger.debug 'Calling API: ContentInstallerFileIndexApi.read ...'
@@ -188,6 +205,7 @@ module PulpDebClient
188
205
  # query parameters
189
206
  query_params = opts[:query_params] || {}
190
207
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
208
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
191
209
 
192
210
  # header parameters
193
211
  header_params = opts[:header_params] || {}
@@ -201,7 +219,7 @@ module PulpDebClient
201
219
  post_body = opts[:body]
202
220
 
203
221
  # return_type
204
- return_type = opts[:return_type] || 'InstallerFileIndex'
222
+ return_type = opts[:return_type] || 'DebInstallerFileIndex'
205
223
 
206
224
  # auth_names
207
225
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -96,12 +96,30 @@ module PulpDebClient
96
96
  # List installer packages
97
97
  # A ViewSet for InstallerPackage.
98
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :package Filter results where package matches value
100
+ # @option opts [String] :source Filter results where source matches value
101
+ # @option opts [String] :version Filter results where version matches value
102
+ # @option opts [String] :architecture Filter results where architecture matches value
103
+ # @option opts [String] :section Filter results where section matches value
104
+ # @option opts [String] :priority Filter results where priority matches value
105
+ # @option opts [String] :origin Filter results where origin matches value
106
+ # @option opts [String] :tag Filter results where tag matches value
107
+ # @option opts [String] :essential Filter results where essential matches value
108
+ # @option opts [String] :build_essential Filter results where build_essential matches value
109
+ # @option opts [Float] :installed_size Filter results where installed_size matches value
110
+ # @option opts [String] :maintainer Filter results where maintainer matches value
111
+ # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
112
+ # @option opts [String] :built_using Filter results where built_using matches value
113
+ # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
114
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value
115
+ # @option opts [String] :sha256 Filter results where sha256 matches value
99
116
  # @option opts [String] :repository_version Repository Version referenced by HREF
100
117
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
101
118
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
102
119
  # @option opts [Integer] :limit Number of results to return per page.
103
120
  # @option opts [Integer] :offset The initial index from which to return the results.
104
121
  # @option opts [String] :fields A list of fields to include in the response.
122
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
105
123
  # @return [InlineResponse2002]
106
124
  def list(opts = {})
107
125
  data, _status_code, _headers = list_with_http_info(opts)
@@ -111,12 +129,30 @@ module PulpDebClient
111
129
  # List installer packages
112
130
  # A ViewSet for InstallerPackage.
113
131
  # @param [Hash] opts the optional parameters
132
+ # @option opts [String] :package Filter results where package matches value
133
+ # @option opts [String] :source Filter results where source matches value
134
+ # @option opts [String] :version Filter results where version matches value
135
+ # @option opts [String] :architecture Filter results where architecture matches value
136
+ # @option opts [String] :section Filter results where section matches value
137
+ # @option opts [String] :priority Filter results where priority matches value
138
+ # @option opts [String] :origin Filter results where origin matches value
139
+ # @option opts [String] :tag Filter results where tag matches value
140
+ # @option opts [String] :essential Filter results where essential matches value
141
+ # @option opts [String] :build_essential Filter results where build_essential matches value
142
+ # @option opts [Float] :installed_size Filter results where installed_size matches value
143
+ # @option opts [String] :maintainer Filter results where maintainer matches value
144
+ # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
145
+ # @option opts [String] :built_using Filter results where built_using matches value
146
+ # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
147
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value
148
+ # @option opts [String] :sha256 Filter results where sha256 matches value
114
149
  # @option opts [String] :repository_version Repository Version referenced by HREF
115
150
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
116
151
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
117
152
  # @option opts [Integer] :limit Number of results to return per page.
118
153
  # @option opts [Integer] :offset The initial index from which to return the results.
119
154
  # @option opts [String] :fields A list of fields to include in the response.
155
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
120
156
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
121
157
  def list_with_http_info(opts = {})
122
158
  if @api_client.config.debugging
@@ -127,12 +163,30 @@ module PulpDebClient
127
163
 
128
164
  # query parameters
129
165
  query_params = opts[:query_params] || {}
166
+ query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
167
+ query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
168
+ query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
169
+ query_params[:'architecture'] = opts[:'architecture'] if !opts[:'architecture'].nil?
170
+ query_params[:'section'] = opts[:'section'] if !opts[:'section'].nil?
171
+ query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
172
+ query_params[:'origin'] = opts[:'origin'] if !opts[:'origin'].nil?
173
+ query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
174
+ query_params[:'essential'] = opts[:'essential'] if !opts[:'essential'].nil?
175
+ query_params[:'build_essential'] = opts[:'build_essential'] if !opts[:'build_essential'].nil?
176
+ query_params[:'installed_size'] = opts[:'installed_size'] if !opts[:'installed_size'].nil?
177
+ query_params[:'maintainer'] = opts[:'maintainer'] if !opts[:'maintainer'].nil?
178
+ query_params[:'original_maintainer'] = opts[:'original_maintainer'] if !opts[:'original_maintainer'].nil?
179
+ query_params[:'built_using'] = opts[:'built_using'] if !opts[:'built_using'].nil?
180
+ query_params[:'auto_built_package'] = opts[:'auto_built_package'] if !opts[:'auto_built_package'].nil?
181
+ query_params[:'multi_arch'] = opts[:'multi_arch'] if !opts[:'multi_arch'].nil?
182
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
130
183
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
131
184
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
132
185
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
133
186
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
134
187
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
135
188
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
189
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
136
190
 
137
191
  # header parameters
138
192
  header_params = opts[:header_params] || {}
@@ -172,7 +226,8 @@ module PulpDebClient
172
226
  # @param installer_package_href [String] URI of Installer Package. e.g.: /pulp/api/v3/content/deb/installer_packages/1/
173
227
  # @param [Hash] opts the optional parameters
174
228
  # @option opts [String] :fields A list of fields to include in the response.
175
- # @return [InstallerPackage]
229
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
230
+ # @return [DebBasePackage]
176
231
  def read(installer_package_href, opts = {})
177
232
  data, _status_code, _headers = read_with_http_info(installer_package_href, opts)
178
233
  data
@@ -183,7 +238,8 @@ module PulpDebClient
183
238
  # @param installer_package_href [String] URI of Installer Package. e.g.: /pulp/api/v3/content/deb/installer_packages/1/
184
239
  # @param [Hash] opts the optional parameters
185
240
  # @option opts [String] :fields A list of fields to include in the response.
186
- # @return [Array<(InstallerPackage, Integer, Hash)>] InstallerPackage data, response status code and response headers
241
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
242
+ # @return [Array<(DebBasePackage, Integer, Hash)>] DebBasePackage data, response status code and response headers
187
243
  def read_with_http_info(installer_package_href, opts = {})
188
244
  if @api_client.config.debugging
189
245
  @api_client.config.logger.debug 'Calling API: ContentInstallerPackagesApi.read ...'
@@ -198,6 +254,7 @@ module PulpDebClient
198
254
  # query parameters
199
255
  query_params = opts[:query_params] || {}
200
256
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
257
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
201
258
 
202
259
  # header parameters
203
260
  header_params = opts[:header_params] || {}
@@ -211,7 +268,7 @@ module PulpDebClient
211
268
  post_body = opts[:body]
212
269
 
213
270
  # return_type
214
- return_type = opts[:return_type] || 'InstallerPackage'
271
+ return_type = opts[:return_type] || 'DebBasePackage'
215
272
 
216
273
  # auth_names
217
274
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,9 +21,9 @@ module PulpDebClient
21
21
  end
22
22
  # Create a package index
23
23
  # A ViewSet for PackageIndex.
24
- # @param data [PackageIndex]
24
+ # @param data [DebPackageIndex]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [PackageIndex]
26
+ # @return [DebPackageIndex]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -31,9 +31,9 @@ module PulpDebClient
31
31
 
32
32
  # Create a package index
33
33
  # A ViewSet for PackageIndex.
34
- # @param data [PackageIndex]
34
+ # @param data [DebPackageIndex]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(PackageIndex, Integer, Hash)>] PackageIndex data, response status code and response headers
36
+ # @return [Array<(DebPackageIndex, Integer, Hash)>] DebPackageIndex data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: ContentPackageIndexApi.create ...'
@@ -62,7 +62,7 @@ module PulpDebClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(data)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'PackageIndex'
65
+ return_type = opts[:return_type] || 'DebPackageIndex'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -86,12 +86,17 @@ module PulpDebClient
86
86
  # List PackageIndices
87
87
  # A ViewSet for PackageIndex.
88
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :component Filter results where component matches value
90
+ # @option opts [String] :architecture Filter results where architecture matches value
91
+ # @option opts [String] :relative_path Filter results where relative_path matches value
92
+ # @option opts [String] :sha256 Filter results where sha256 matches value
89
93
  # @option opts [String] :repository_version Repository Version referenced by HREF
90
94
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
91
95
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
92
96
  # @option opts [Integer] :limit Number of results to return per page.
93
97
  # @option opts [Integer] :offset The initial index from which to return the results.
94
98
  # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
95
100
  # @return [InlineResponse2003]
96
101
  def list(opts = {})
97
102
  data, _status_code, _headers = list_with_http_info(opts)
@@ -101,12 +106,17 @@ module PulpDebClient
101
106
  # List PackageIndices
102
107
  # A ViewSet for PackageIndex.
103
108
  # @param [Hash] opts the optional parameters
109
+ # @option opts [String] :component Filter results where component matches value
110
+ # @option opts [String] :architecture Filter results where architecture matches value
111
+ # @option opts [String] :relative_path Filter results where relative_path matches value
112
+ # @option opts [String] :sha256 Filter results where sha256 matches value
104
113
  # @option opts [String] :repository_version Repository Version referenced by HREF
105
114
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
106
115
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
107
116
  # @option opts [Integer] :limit Number of results to return per page.
108
117
  # @option opts [Integer] :offset The initial index from which to return the results.
109
118
  # @option opts [String] :fields A list of fields to include in the response.
119
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
120
  # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
111
121
  def list_with_http_info(opts = {})
112
122
  if @api_client.config.debugging
@@ -117,12 +127,17 @@ module PulpDebClient
117
127
 
118
128
  # query parameters
119
129
  query_params = opts[:query_params] || {}
130
+ query_params[:'component'] = opts[:'component'] if !opts[:'component'].nil?
131
+ query_params[:'architecture'] = opts[:'architecture'] if !opts[:'architecture'].nil?
132
+ query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
133
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
120
134
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
121
135
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
122
136
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
123
137
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
124
138
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
125
139
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
140
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
126
141
 
127
142
  # header parameters
128
143
  header_params = opts[:header_params] || {}
@@ -162,7 +177,8 @@ module PulpDebClient
162
177
  # @param package_index_href [String] URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_index/1/
163
178
  # @param [Hash] opts the optional parameters
164
179
  # @option opts [String] :fields A list of fields to include in the response.
165
- # @return [PackageIndex]
180
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
181
+ # @return [DebPackageIndex]
166
182
  def read(package_index_href, opts = {})
167
183
  data, _status_code, _headers = read_with_http_info(package_index_href, opts)
168
184
  data
@@ -173,7 +189,8 @@ module PulpDebClient
173
189
  # @param package_index_href [String] URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_index/1/
174
190
  # @param [Hash] opts the optional parameters
175
191
  # @option opts [String] :fields A list of fields to include in the response.
176
- # @return [Array<(PackageIndex, Integer, Hash)>] PackageIndex data, response status code and response headers
192
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
193
+ # @return [Array<(DebPackageIndex, Integer, Hash)>] DebPackageIndex data, response status code and response headers
177
194
  def read_with_http_info(package_index_href, opts = {})
178
195
  if @api_client.config.debugging
179
196
  @api_client.config.logger.debug 'Calling API: ContentPackageIndexApi.read ...'
@@ -188,6 +205,7 @@ module PulpDebClient
188
205
  # query parameters
189
206
  query_params = opts[:query_params] || {}
190
207
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
208
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
191
209
 
192
210
  # header parameters
193
211
  header_params = opts[:header_params] || {}
@@ -201,7 +219,7 @@ module PulpDebClient
201
219
  post_body = opts[:body]
202
220
 
203
221
  # return_type
204
- return_type = opts[:return_type] || 'PackageIndex'
222
+ return_type = opts[:return_type] || 'DebPackageIndex'
205
223
 
206
224
  # auth_names
207
225
  auth_names = opts[:auth_names] || ['Basic']