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.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/ContentInstallerPackagesApi.md +4 -4
- data/docs/ContentPackagesApi.md +9 -5
- data/docs/ContentReleaseArchitecturesApi.md +8 -4
- data/docs/ContentReleaseComponentsApi.md +11 -7
- data/docs/ContentReleasesApi.md +3 -3
- data/docs/{DebBasePackage.md → DebInstallerPackage.md} +2 -2
- data/docs/{DebBasePackageResponse.md → DebInstallerPackageResponse.md} +2 -2
- data/docs/DebPackage.md +29 -0
- data/docs/DebPackageResponse.md +97 -0
- data/docs/DebReleaseArchitecture.md +6 -2
- data/docs/DebReleaseArchitectureResponse.md +6 -2
- data/docs/DebReleaseComponent.md +6 -2
- data/docs/DebReleaseComponentResponse.md +6 -2
- data/docs/PaginateddebInstallerPackageResponseList.md +23 -0
- data/docs/{PaginateddebBasePackageResponseList.md → PaginateddebPackageResponseList.md} +3 -3
- data/docs/RepositoriesAptApi.md +4 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_packages_api.rb +20 -6
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +12 -6
- data/lib/pulp_deb_client/api/content_release_components_api.rb +18 -12
- data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -0
- data/lib/pulp_deb_client/models/{deb_base_package.rb → deb_installer_package.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_base_package_response.rb → deb_installer_package_response.rb} +3 -3
- data/lib/pulp_deb_client/models/deb_package.rb +313 -0
- data/lib/pulp_deb_client/models/deb_package_response.rb +578 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +96 -11
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +39 -11
- data/lib/pulp_deb_client/models/deb_release_component.rb +96 -11
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +39 -11
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/{paginateddeb_base_package_response_list.rb → paginateddeb_package_response_list.rb} +4 -4
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -3
- data/spec/api/content_installer_packages_api_spec.rb +2 -2
- data/spec/api/content_packages_api_spec.rb +4 -2
- data/spec/api/content_release_architectures_api_spec.rb +4 -2
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +3 -3
- data/spec/api/repositories_apt_api_spec.rb +2 -0
- data/spec/models/{deb_base_package_response_spec.rb → deb_installer_package_response_spec.rb} +6 -6
- data/spec/models/{deb_base_package_spec.rb → deb_installer_package_spec.rb} +6 -6
- data/spec/models/deb_package_response_spec.rb +281 -0
- data/spec/models/deb_package_spec.rb +77 -0
- data/spec/models/deb_release_architecture_response_spec.rb +13 -1
- data/spec/models/deb_release_architecture_spec.rb +13 -1
- data/spec/models/deb_release_component_response_spec.rb +13 -1
- data/spec/models/deb_release_component_spec.rb +13 -1
- data/spec/models/paginateddeb_installer_package_response_list_spec.rb +59 -0
- data/spec/models/{paginateddeb_base_package_response_list_spec.rb → paginateddeb_package_response_list_spec.rb} +6 -6
- metadata +80 -68
data/docs/RepositoriesAptApi.md
CHANGED
@@ -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<Integer>**](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<String>**](String.md)| A list of fields to include in the response. | [optional]
|
205
209
|
**exclude_fields** | [**Array<String>**](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 [
|
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<(
|
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] || '
|
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 [
|
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<(
|
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] || '
|
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 [
|
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<(
|
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] || '
|
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 [
|
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<(
|
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] || '
|
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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `pk` - Pk * `-pk` - 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.
|
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.
|
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.
|
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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `pk` - Pk * `-pk` - 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.
|
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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `pk` - Pk * `-pk` - 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.
|
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.
|
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
|
-
#
|
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
|
-
#
|
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 \"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\".
|
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
|
-
#
|
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
|
-
#
|
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 \"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\".
|
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
|
-
#
|
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
|
-
#
|
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 \"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\".
|
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
|
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::
|
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::
|
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
|
}
|
data/lib/pulp_deb_client/models/{deb_base_package_response.rb → deb_installer_package_response.rb}
RENAMED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for InstallerPackage.
|
17
|
-
class
|
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::
|
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::
|
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
|
}
|