pulp_deb_client 2.20.4 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/ContentInstallerPackagesApi.md +4 -4
  4. data/docs/ContentPackagesApi.md +9 -5
  5. data/docs/ContentReleaseArchitecturesApi.md +8 -4
  6. data/docs/ContentReleaseComponentsApi.md +11 -7
  7. data/docs/ContentReleasesApi.md +3 -3
  8. data/docs/{DebBasePackage.md → DebInstallerPackage.md} +2 -2
  9. data/docs/{DebBasePackageResponse.md → DebInstallerPackageResponse.md} +2 -2
  10. data/docs/DebPackage.md +29 -0
  11. data/docs/DebPackageResponse.md +97 -0
  12. data/docs/DebReleaseArchitecture.md +6 -2
  13. data/docs/DebReleaseArchitectureResponse.md +6 -2
  14. data/docs/DebReleaseComponent.md +6 -2
  15. data/docs/DebReleaseComponentResponse.md +6 -2
  16. data/docs/PaginateddebInstallerPackageResponseList.md +23 -0
  17. data/docs/{PaginateddebBasePackageResponseList.md → PaginateddebPackageResponseList.md} +3 -3
  18. data/docs/RepositoriesAptApi.md +4 -0
  19. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +6 -6
  20. data/lib/pulp_deb_client/api/content_packages_api.rb +20 -6
  21. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +12 -6
  22. data/lib/pulp_deb_client/api/content_release_components_api.rb +18 -12
  23. data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
  24. data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -0
  25. data/lib/pulp_deb_client/models/{deb_base_package.rb → deb_installer_package.rb} +3 -3
  26. data/lib/pulp_deb_client/models/{deb_base_package_response.rb → deb_installer_package_response.rb} +3 -3
  27. data/lib/pulp_deb_client/models/deb_package.rb +313 -0
  28. data/lib/pulp_deb_client/models/deb_package_response.rb +578 -0
  29. data/lib/pulp_deb_client/models/deb_release_architecture.rb +96 -11
  30. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +39 -11
  31. data/lib/pulp_deb_client/models/deb_release_component.rb +96 -11
  32. data/lib/pulp_deb_client/models/deb_release_component_response.rb +39 -11
  33. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +237 -0
  34. data/lib/pulp_deb_client/models/{paginateddeb_base_package_response_list.rb → paginateddeb_package_response_list.rb} +4 -4
  35. data/lib/pulp_deb_client/version.rb +1 -1
  36. data/lib/pulp_deb_client.rb +6 -3
  37. data/spec/api/content_installer_packages_api_spec.rb +2 -2
  38. data/spec/api/content_packages_api_spec.rb +4 -2
  39. data/spec/api/content_release_architectures_api_spec.rb +4 -2
  40. data/spec/api/content_release_components_api_spec.rb +7 -5
  41. data/spec/api/content_releases_api_spec.rb +3 -3
  42. data/spec/api/repositories_apt_api_spec.rb +2 -0
  43. data/spec/models/{deb_base_package_response_spec.rb → deb_installer_package_response_spec.rb} +6 -6
  44. data/spec/models/{deb_base_package_spec.rb → deb_installer_package_spec.rb} +6 -6
  45. data/spec/models/deb_package_response_spec.rb +281 -0
  46. data/spec/models/deb_package_spec.rb +77 -0
  47. data/spec/models/deb_release_architecture_response_spec.rb +13 -1
  48. data/spec/models/deb_release_architecture_spec.rb +13 -1
  49. data/spec/models/deb_release_component_response_spec.rb +13 -1
  50. data/spec/models/deb_release_component_spec.rb +13 -1
  51. data/spec/models/paginateddeb_installer_package_response_list_spec.rb +59 -0
  52. data/spec/models/{paginateddeb_base_package_response_list_spec.rb → paginateddeb_package_response_list_spec.rb} +6 -6
  53. metadata +80 -68
@@ -143,6 +143,7 @@ end
143
143
 
144
144
  api_instance = PulpDebClient::RepositoriesAptApi.new
145
145
  opts = {
146
+ latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
146
147
  limit: 56, # Integer | Number of results to return per page.
147
148
  name: 'name_example', # String | Filter results where name matches value
148
149
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -163,6 +164,7 @@ opts = {
163
164
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
164
165
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
165
166
  retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
167
+ with_content: 'with_content_example', # String | Content Unit referenced by HREF
166
168
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
167
169
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
168
170
  }
@@ -181,6 +183,7 @@ end
181
183
 
182
184
  Name | Type | Description | Notes
183
185
  ------------- | ------------- | ------------- | -------------
186
+ **latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
184
187
  **limit** | **Integer**| Number of results to return per page. | [optional]
185
188
  **name** | **String**| Filter results where name matches value | [optional]
186
189
  **name__contains** | **String**| Filter results where name contains value | [optional]
@@ -201,6 +204,7 @@ Name | Type | Description | Notes
201
204
  **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
202
205
  **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
203
206
  **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
207
+ **with_content** | **String**| Content Unit referenced by HREF | [optional]
204
208
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
205
209
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
206
210
 
@@ -126,7 +126,7 @@ module PulpDebClient
126
126
  # @option opts [String] :version Filter results where version matches value
127
127
  # @option opts [Array<String>] :fields A list of fields to include in the response.
128
128
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
129
- # @return [PaginateddebBasePackageResponseList]
129
+ # @return [PaginateddebInstallerPackageResponseList]
130
130
  def list(opts = {})
131
131
  data, _status_code, _headers = list_with_http_info(opts)
132
132
  data
@@ -162,7 +162,7 @@ module PulpDebClient
162
162
  # @option opts [String] :version Filter results where version matches value
163
163
  # @option opts [Array<String>] :fields A list of fields to include in the response.
164
164
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
165
- # @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
165
+ # @return [Array<(PaginateddebInstallerPackageResponseList, Integer, Hash)>] PaginateddebInstallerPackageResponseList data, response status code and response headers
166
166
  def list_with_http_info(opts = {})
167
167
  if @api_client.config.debugging
168
168
  @api_client.config.logger.debug 'Calling API: ContentInstallerPackagesApi.list ...'
@@ -228,7 +228,7 @@ module PulpDebClient
228
228
  post_body = opts[:body]
229
229
 
230
230
  # return_type
231
- return_type = opts[:return_type] || 'PaginateddebBasePackageResponseList'
231
+ return_type = opts[:return_type] || 'PaginateddebInstallerPackageResponseList'
232
232
 
233
233
  # auth_names
234
234
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -255,7 +255,7 @@ module PulpDebClient
255
255
  # @param [Hash] opts the optional parameters
256
256
  # @option opts [Array<String>] :fields A list of fields to include in the response.
257
257
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
258
- # @return [DebBasePackageResponse]
258
+ # @return [DebInstallerPackageResponse]
259
259
  def read(deb_installer_package_href, opts = {})
260
260
  data, _status_code, _headers = read_with_http_info(deb_installer_package_href, opts)
261
261
  data
@@ -267,7 +267,7 @@ module PulpDebClient
267
267
  # @param [Hash] opts the optional parameters
268
268
  # @option opts [Array<String>] :fields A list of fields to include in the response.
269
269
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
270
- # @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
270
+ # @return [Array<(DebInstallerPackageResponse, Integer, Hash)>] DebInstallerPackageResponse data, response status code and response headers
271
271
  def read_with_http_info(deb_installer_package_href, opts = {})
272
272
  if @api_client.config.debugging
273
273
  @api_client.config.logger.debug 'Calling API: ContentInstallerPackagesApi.read ...'
@@ -296,7 +296,7 @@ module PulpDebClient
296
296
  post_body = opts[:body]
297
297
 
298
298
  # return_type
299
- return_type = opts[:return_type] || 'DebBasePackageResponse'
299
+ return_type = opts[:return_type] || 'DebInstallerPackageResponse'
300
300
 
301
301
  # auth_names
302
302
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -27,6 +27,8 @@ module PulpDebClient
27
27
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
28
28
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
29
  # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
30
+ # @option opts [String] :distribution Name of the distribution.
31
+ # @option opts [String] :component Name of the component.
30
32
  # @return [AsyncOperationResponse]
31
33
  def create(opts = {})
32
34
  data, _status_code, _headers = create_with_http_info(opts)
@@ -41,6 +43,8 @@ module PulpDebClient
41
43
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
42
44
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
46
+ # @option opts [String] :distribution Name of the distribution.
47
+ # @option opts [String] :component Name of the component.
44
48
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
45
49
  def create_with_http_info(opts = {})
46
50
  if @api_client.config.debugging
@@ -50,6 +54,14 @@ module PulpDebClient
50
54
  fail ArgumentError, 'invalid value for "opts[:"relative_path"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
51
55
  end
52
56
 
57
+ if @api_client.config.client_side_validation && !opts[:'distribution'].nil? && opts[:'distribution'].to_s.length < 1
58
+ fail ArgumentError, 'invalid value for "opts[:"distribution"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
59
+ end
60
+
61
+ if @api_client.config.client_side_validation && !opts[:'component'].nil? && opts[:'component'].to_s.length < 1
62
+ fail ArgumentError, 'invalid value for "opts[:"component"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
63
+ end
64
+
53
65
  # resource path
54
66
  local_var_path = '/pulp/api/v3/content/deb/packages/'
55
67
 
@@ -70,6 +82,8 @@ module PulpDebClient
70
82
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
71
83
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
72
84
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
85
+ form_params['distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
86
+ form_params['component'] = opts[:'component'] if !opts[:'component'].nil?
73
87
 
74
88
  # http body (model)
75
89
  post_body = opts[:body]
@@ -127,7 +141,7 @@ module PulpDebClient
127
141
  # @option opts [String] :version Filter results where version matches value
128
142
  # @option opts [Array<String>] :fields A list of fields to include in the response.
129
143
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
130
- # @return [PaginateddebBasePackageResponseList]
144
+ # @return [PaginateddebPackageResponseList]
131
145
  def list(opts = {})
132
146
  data, _status_code, _headers = list_with_http_info(opts)
133
147
  data
@@ -164,7 +178,7 @@ module PulpDebClient
164
178
  # @option opts [String] :version Filter results where version matches value
165
179
  # @option opts [Array<String>] :fields A list of fields to include in the response.
166
180
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
167
- # @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
181
+ # @return [Array<(PaginateddebPackageResponseList, Integer, Hash)>] PaginateddebPackageResponseList data, response status code and response headers
168
182
  def list_with_http_info(opts = {})
169
183
  if @api_client.config.debugging
170
184
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
@@ -231,7 +245,7 @@ module PulpDebClient
231
245
  post_body = opts[:body]
232
246
 
233
247
  # return_type
234
- return_type = opts[:return_type] || 'PaginateddebBasePackageResponseList'
248
+ return_type = opts[:return_type] || 'PaginateddebPackageResponseList'
235
249
 
236
250
  # auth_names
237
251
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -258,7 +272,7 @@ module PulpDebClient
258
272
  # @param [Hash] opts the optional parameters
259
273
  # @option opts [Array<String>] :fields A list of fields to include in the response.
260
274
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
261
- # @return [DebBasePackageResponse]
275
+ # @return [DebPackageResponse]
262
276
  def read(deb_package_href, opts = {})
263
277
  data, _status_code, _headers = read_with_http_info(deb_package_href, opts)
264
278
  data
@@ -270,7 +284,7 @@ module PulpDebClient
270
284
  # @param [Hash] opts the optional parameters
271
285
  # @option opts [Array<String>] :fields A list of fields to include in the response.
272
286
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
273
- # @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
287
+ # @return [Array<(DebPackageResponse, Integer, Hash)>] DebPackageResponse data, response status code and response headers
274
288
  def read_with_http_info(deb_package_href, opts = {})
275
289
  if @api_client.config.debugging
276
290
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
@@ -299,7 +313,7 @@ module PulpDebClient
299
313
  post_body = opts[:body]
300
314
 
301
315
  # return_type
302
- return_type = opts[:return_type] || 'DebBasePackageResponse'
316
+ return_type = opts[:return_type] || 'DebPackageResponse'
303
317
 
304
318
  # auth_names
305
319
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -87,15 +87,17 @@ module PulpDebClient
87
87
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
88
88
  # @param [Hash] opts the optional parameters
89
89
  # @option opts [String] :architecture Filter results where architecture matches value
90
+ # @option opts [String] :codename Filter results where codename matches value
91
+ # @option opts [String] :distribution Filter results where distribution matches value
90
92
  # @option opts [Integer] :limit Number of results to return per page.
91
93
  # @option opts [Integer] :offset The initial index from which to return the results.
92
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
94
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
93
95
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
96
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
- # @option opts [String] :release Filter results where release matches value
96
97
  # @option opts [String] :repository_version Repository Version referenced by HREF
97
98
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
98
99
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
100
+ # @option opts [String] :suite Filter results where suite matches value
99
101
  # @option opts [Array<String>] :fields A list of fields to include in the response.
100
102
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
103
  # @return [PaginateddebReleaseArchitectureResponseList]
@@ -108,15 +110,17 @@ module PulpDebClient
108
110
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
109
111
  # @param [Hash] opts the optional parameters
110
112
  # @option opts [String] :architecture Filter results where architecture matches value
113
+ # @option opts [String] :codename Filter results where codename matches value
114
+ # @option opts [String] :distribution Filter results where distribution matches value
111
115
  # @option opts [Integer] :limit Number of results to return per page.
112
116
  # @option opts [Integer] :offset The initial index from which to return the results.
113
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
117
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
114
118
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
115
119
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
116
- # @option opts [String] :release Filter results where release matches value
117
120
  # @option opts [String] :repository_version Repository Version referenced by HREF
118
121
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
119
122
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
123
+ # @option opts [String] :suite Filter results where suite matches value
120
124
  # @option opts [Array<String>] :fields A list of fields to include in the response.
121
125
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
126
  # @return [Array<(PaginateddebReleaseArchitectureResponseList, Integer, Hash)>] PaginateddebReleaseArchitectureResponseList data, response status code and response headers
@@ -124,7 +128,7 @@ module PulpDebClient
124
128
  if @api_client.config.debugging
125
129
  @api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
126
130
  end
127
- allowable_values = ["-architecture", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
131
+ allowable_values = ["-architecture", "-codename", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-suite", "-timestamp_of_interest", "-upstream_id", "architecture", "codename", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "suite", "timestamp_of_interest", "upstream_id"]
128
132
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
133
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
134
  end
@@ -134,15 +138,17 @@ module PulpDebClient
134
138
  # query parameters
135
139
  query_params = opts[:query_params] || {}
136
140
  query_params[:'architecture'] = opts[:'architecture'] if !opts[:'architecture'].nil?
141
+ query_params[:'codename'] = opts[:'codename'] if !opts[:'codename'].nil?
142
+ query_params[:'distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
137
143
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
138
144
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
139
145
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
140
146
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
141
147
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
142
- query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
143
148
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
144
149
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
145
150
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
151
+ query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
146
152
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
153
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
154
 
@@ -20,7 +20,7 @@ module PulpDebClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a release component
23
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
23
+ # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
24
24
  # @param deb_release_component [DebReleaseComponent]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [DebReleaseComponentResponse]
@@ -30,7 +30,7 @@ module PulpDebClient
30
30
  end
31
31
 
32
32
  # Create a release component
33
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
33
+ # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
34
34
  # @param deb_release_component [DebReleaseComponent]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(DebReleaseComponentResponse, Integer, Hash)>] DebReleaseComponentResponse data, response status code and response headers
@@ -84,18 +84,20 @@ module PulpDebClient
84
84
  end
85
85
 
86
86
  # List release components
87
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
87
+ # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
88
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :codename Filter results where codename matches value
89
90
  # @option opts [String] :component Filter results where component matches value
91
+ # @option opts [String] :distribution Filter results where distribution matches value
90
92
  # @option opts [Integer] :limit Number of results to return per page.
91
93
  # @option opts [Integer] :offset The initial index from which to return the results.
92
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
94
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
93
95
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
96
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
- # @option opts [String] :release Filter results where release matches value
96
97
  # @option opts [String] :repository_version Repository Version referenced by HREF
97
98
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
98
99
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
100
+ # @option opts [String] :suite Filter results where suite matches value
99
101
  # @option opts [Array<String>] :fields A list of fields to include in the response.
100
102
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
103
  # @return [PaginateddebReleaseComponentResponseList]
@@ -105,18 +107,20 @@ module PulpDebClient
105
107
  end
106
108
 
107
109
  # List release components
108
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
110
+ # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
109
111
  # @param [Hash] opts the optional parameters
112
+ # @option opts [String] :codename Filter results where codename matches value
110
113
  # @option opts [String] :component Filter results where component matches value
114
+ # @option opts [String] :distribution Filter results where distribution matches value
111
115
  # @option opts [Integer] :limit Number of results to return per page.
112
116
  # @option opts [Integer] :offset The initial index from which to return the results.
113
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
117
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
114
118
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
115
119
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
116
- # @option opts [String] :release Filter results where release matches value
117
120
  # @option opts [String] :repository_version Repository Version referenced by HREF
118
121
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
119
122
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
123
+ # @option opts [String] :suite Filter results where suite matches value
120
124
  # @option opts [Array<String>] :fields A list of fields to include in the response.
121
125
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
126
  # @return [Array<(PaginateddebReleaseComponentResponseList, Integer, Hash)>] PaginateddebReleaseComponentResponseList data, response status code and response headers
@@ -124,7 +128,7 @@ module PulpDebClient
124
128
  if @api_client.config.debugging
125
129
  @api_client.config.logger.debug 'Calling API: ContentReleaseComponentsApi.list ...'
126
130
  end
127
- allowable_values = ["-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
131
+ allowable_values = ["-codename", "-component", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-suite", "-timestamp_of_interest", "-upstream_id", "codename", "component", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "suite", "timestamp_of_interest", "upstream_id"]
128
132
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
133
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
134
  end
@@ -133,16 +137,18 @@ module PulpDebClient
133
137
 
134
138
  # query parameters
135
139
  query_params = opts[:query_params] || {}
140
+ query_params[:'codename'] = opts[:'codename'] if !opts[:'codename'].nil?
136
141
  query_params[:'component'] = opts[:'component'] if !opts[:'component'].nil?
142
+ query_params[:'distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
137
143
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
138
144
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
139
145
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
140
146
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
141
147
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
142
- query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
143
148
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
144
149
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
145
150
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
151
+ query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
146
152
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
153
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
154
 
@@ -180,7 +186,7 @@ module PulpDebClient
180
186
  end
181
187
 
182
188
  # Inspect a release component
183
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
189
+ # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
184
190
  # @param deb_release_component_href [String]
185
191
  # @param [Hash] opts the optional parameters
186
192
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -192,7 +198,7 @@ module PulpDebClient
192
198
  end
193
199
 
194
200
  # Inspect a release component
195
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
201
+ # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
196
202
  # @param deb_release_component_href [String]
197
203
  # @param [Hash] opts the optional parameters
198
204
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -20,7 +20,7 @@ module PulpDebClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a release
23
- # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
23
+ # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
24
24
  # @param deb_release [DebRelease]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [DebReleaseResponse]
@@ -30,7 +30,7 @@ module PulpDebClient
30
30
  end
31
31
 
32
32
  # Create a release
33
- # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \&quot;Release content\&quot;, the terms \&quot;distribution\&quot; and \&quot;release\&quot; are synonyms. An \&quot;APT repository release/distribution\&quot; is associated with a single &#39;Release&#39; file below the &#39;dists/&#39; folder. The \&quot;distribution\&quot; refers to the path between &#39;dists/&#39; and the &#39;Release&#39; file. The \&quot;distribution\&quot; could be considered the name of the \&quot;release\&quot;. It is often (but not always) equal to the \&quot;codename\&quot; or \&quot;suite\&quot;.
33
+ # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \&quot;distribution\&quot; is defined as the path between &#39;dists/&#39; and some &#39;Release&#39; file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \&quot;codename\&quot; or the \&quot;suite\&quot;.
34
34
  # @param deb_release [DebRelease]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(DebReleaseResponse, Integer, Hash)>] DebReleaseResponse data, response status code and response headers
@@ -84,7 +84,7 @@ module PulpDebClient
84
84
  end
85
85
 
86
86
  # List releases
87
- # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
87
+ # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
88
88
  # @param [Hash] opts the optional parameters
89
89
  # @option opts [String] :codename Filter results where codename matches value
90
90
  # @option opts [String] :distribution Filter results where distribution matches value
@@ -106,7 +106,7 @@ module PulpDebClient
106
106
  end
107
107
 
108
108
  # List releases
109
- # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \&quot;Release content\&quot;, the terms \&quot;distribution\&quot; and \&quot;release\&quot; are synonyms. An \&quot;APT repository release/distribution\&quot; is associated with a single &#39;Release&#39; file below the &#39;dists/&#39; folder. The \&quot;distribution\&quot; refers to the path between &#39;dists/&#39; and the &#39;Release&#39; file. The \&quot;distribution\&quot; could be considered the name of the \&quot;release\&quot;. It is often (but not always) equal to the \&quot;codename\&quot; or \&quot;suite\&quot;.
109
+ # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \&quot;distribution\&quot; is defined as the path between &#39;dists/&#39; and some &#39;Release&#39; file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \&quot;codename\&quot; or the \&quot;suite\&quot;.
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [String] :codename Filter results where codename matches value
112
112
  # @option opts [String] :distribution Filter results where distribution matches value
@@ -183,7 +183,7 @@ module PulpDebClient
183
183
  end
184
184
 
185
185
  # Inspect a release
186
- # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
186
+ # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
187
187
  # @param deb_release_href [String]
188
188
  # @param [Hash] opts the optional parameters
189
189
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -195,7 +195,7 @@ module PulpDebClient
195
195
  end
196
196
 
197
197
  # Inspect a release
198
- # A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \&quot;Release content\&quot;, the terms \&quot;distribution\&quot; and \&quot;release\&quot; are synonyms. An \&quot;APT repository release/distribution\&quot; is associated with a single &#39;Release&#39; file below the &#39;dists/&#39; folder. The \&quot;distribution\&quot; refers to the path between &#39;dists/&#39; and the &#39;Release&#39; file. The \&quot;distribution\&quot; could be considered the name of the \&quot;release\&quot;. It is often (but not always) equal to the \&quot;codename\&quot; or \&quot;suite\&quot;.
198
+ # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \&quot;distribution\&quot; is defined as the path between &#39;dists/&#39; and some &#39;Release&#39; file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \&quot;codename\&quot; or the \&quot;suite\&quot;.
199
199
  # @param deb_release_href [String]
200
200
  # @param [Hash] opts the optional parameters
201
201
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -148,6 +148,7 @@ module PulpDebClient
148
148
  # List apt repositorys
149
149
  # An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
150
150
  # @param [Hash] opts the optional parameters
151
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
151
152
  # @option opts [Integer] :limit Number of results to return per page.
152
153
  # @option opts [String] :name Filter results where name matches value
153
154
  # @option opts [String] :name__contains Filter results where name contains value
@@ -168,6 +169,7 @@ module PulpDebClient
168
169
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
169
170
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
170
171
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
172
+ # @option opts [String] :with_content Content Unit referenced by HREF
171
173
  # @option opts [Array<String>] :fields A list of fields to include in the response.
172
174
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
173
175
  # @return [PaginateddebAptRepositoryResponseList]
@@ -179,6 +181,7 @@ module PulpDebClient
179
181
  # List apt repositorys
180
182
  # An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
181
183
  # @param [Hash] opts the optional parameters
184
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
182
185
  # @option opts [Integer] :limit Number of results to return per page.
183
186
  # @option opts [String] :name Filter results where name matches value
184
187
  # @option opts [String] :name__contains Filter results where name contains value
@@ -199,6 +202,7 @@ module PulpDebClient
199
202
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
200
203
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
201
204
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
205
+ # @option opts [String] :with_content Content Unit referenced by HREF
202
206
  # @option opts [Array<String>] :fields A list of fields to include in the response.
203
207
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
204
208
  # @return [Array<(PaginateddebAptRepositoryResponseList, Integer, Hash)>] PaginateddebAptRepositoryResponseList data, response status code and response headers
@@ -215,6 +219,7 @@ module PulpDebClient
215
219
 
216
220
  # query parameters
217
221
  query_params = opts[:query_params] || {}
222
+ query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
218
223
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
219
224
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
220
225
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -235,6 +240,7 @@ module PulpDebClient
235
240
  query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
236
241
  query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
237
242
  query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
243
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
238
244
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
239
245
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
240
246
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module PulpDebClient
16
16
  # A Serializer for InstallerPackage.
17
- class DebBasePackage
17
+ class DebInstallerPackage
18
18
  # Artifact file representing the physical content
19
19
  attr_accessor :artifact
20
20
 
@@ -62,13 +62,13 @@ module PulpDebClient
62
62
  # @param [Hash] attributes Model attributes in the form of hash
63
63
  def initialize(attributes = {})
64
64
  if (!attributes.is_a?(Hash))
65
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebBasePackage` initialize method"
65
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebInstallerPackage` initialize method"
66
66
  end
67
67
 
68
68
  # check to see if the attribute exists and convert string to symbol for hash key
69
69
  attributes = attributes.each_with_object({}) { |(k, v), h|
70
70
  if (!self.class.attribute_map.key?(k.to_sym))
71
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebBasePackage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebInstallerPackage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
72
72
  end
73
73
  h[k.to_sym] = v
74
74
  }
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module PulpDebClient
16
16
  # A Serializer for InstallerPackage.
17
- class DebBasePackageResponse
17
+ class DebInstallerPackageResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
20
  # Timestamp of creation.
@@ -202,13 +202,13 @@ module PulpDebClient
202
202
  # @param [Hash] attributes Model attributes in the form of hash
203
203
  def initialize(attributes = {})
204
204
  if (!attributes.is_a?(Hash))
205
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebBasePackageResponse` initialize method"
205
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebInstallerPackageResponse` initialize method"
206
206
  end
207
207
 
208
208
  # check to see if the attribute exists and convert string to symbol for hash key
209
209
  attributes = attributes.each_with_object({}) { |(k, v), h|
210
210
  if (!self.class.attribute_map.key?(k.to_sym))
211
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebBasePackageResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
211
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebInstallerPackageResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
212
212
  end
213
213
  h[k.to_sym] = v
214
214
  }