pulp_deb_client 2.20.1 → 2.20.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -10
- data/docs/ContentInstallerPackagesApi.md +20 -16
- data/docs/ContentPackageIndicesApi.md +14 -10
- data/docs/ContentPackageReleaseComponentsApi.md +16 -12
- data/docs/ContentPackagesApi.md +20 -16
- data/docs/ContentReleaseArchitecturesApi.md +15 -11
- data/docs/ContentReleaseComponentsApi.md +15 -11
- data/docs/ContentReleaseFilesApi.md +14 -10
- data/docs/ContentReleasesApi.md +14 -10
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebAptRemoteResponse.md +4 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
- data/docs/DebAptRepository.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -2
- data/docs/DebInstallerFileIndex.md +0 -2
- data/docs/DebInstallerFileIndexResponse.md +0 -2
- data/docs/DebPackageIndex.md +0 -2
- data/docs/DebPackageIndexResponse.md +0 -2
- data/docs/DistributionsAptApi.md +22 -14
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +16 -12
- data/docs/PublicationsVerbatimApi.md +16 -12
- data/docs/RemotesAptApi.md +18 -14
- data/docs/RepositoriesAptApi.md +33 -13
- data/docs/RepositoriesAptVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
- data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -0
- data/spec/api/content_generic_contents_api_spec.rb +7 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
- data/spec/api/content_installer_packages_api_spec.rb +10 -8
- data/spec/api/content_package_indices_api_spec.rb +7 -5
- data/spec/api/content_package_release_components_api_spec.rb +7 -5
- data/spec/api/content_packages_api_spec.rb +10 -8
- data/spec/api/content_release_architectures_api_spec.rb +7 -5
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_release_files_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +7 -5
- data/spec/api/distributions_apt_api_spec.rb +11 -7
- data/spec/api/publications_apt_api_spec.rb +8 -6
- data/spec/api/publications_verbatim_api_spec.rb +8 -6
- data/spec/api/remotes_apt_api_spec.rb +9 -7
- data/spec/api/repositories_apt_api_spec.rb +16 -6
- data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
- data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
- data/spec/models/deb_installer_file_index_spec.rb +0 -6
- data/spec/models/deb_package_index_response_spec.rb +0 -6
- data/spec/models/deb_package_index_spec.rb +0 -6
- metadata +57 -53
@@ -142,17 +142,19 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
|
-
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
145
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
146
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
152
154
|
repository: 'repository_example', # String | Repository referenced by HREF
|
153
155
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
154
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
157
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
156
158
|
}
|
157
159
|
|
158
160
|
begin
|
@@ -173,17 +175,19 @@ Name | Type | Description | Notes
|
|
173
175
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
174
176
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
175
177
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
176
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
177
|
-
**pulp_created** | **DateTime**|
|
178
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
179
|
+
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
178
180
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
179
181
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
180
182
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
181
183
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
182
184
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
183
187
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
184
188
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
185
|
-
**fields** | **String
|
186
|
-
**exclude_fields** | **String
|
189
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
190
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
187
191
|
|
188
192
|
### Return type
|
189
193
|
|
@@ -222,8 +226,8 @@ end
|
|
222
226
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
223
227
|
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
224
228
|
opts = {
|
225
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
226
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
229
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
230
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
227
231
|
}
|
228
232
|
|
229
233
|
begin
|
@@ -241,8 +245,8 @@ end
|
|
241
245
|
Name | Type | Description | Notes
|
242
246
|
------------- | ------------- | ------------- | -------------
|
243
247
|
**deb_verbatim_publication_href** | **String**| |
|
244
|
-
**fields** | **String
|
245
|
-
**exclude_fields** | **String
|
248
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
249
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
246
250
|
|
247
251
|
### Return type
|
248
252
|
|
data/docs/RemotesAptApi.md
CHANGED
@@ -142,22 +142,24 @@ end
|
|
142
142
|
api_instance = PulpDebClient::RemotesAptApi.new
|
143
143
|
opts = {
|
144
144
|
limit: 56, # Integer | Number of results to return per page.
|
145
|
-
name: 'name_example', # String |
|
145
|
+
name: 'name_example', # String | Filter results where name matches value
|
146
146
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
147
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
151
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
152
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
152
154
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
|
-
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
155
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
154
156
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
155
157
|
pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
|
156
158
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
159
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
158
160
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
159
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
160
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
161
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
162
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
161
163
|
}
|
162
164
|
|
163
165
|
begin
|
@@ -175,22 +177,24 @@ end
|
|
175
177
|
Name | Type | Description | Notes
|
176
178
|
------------- | ------------- | ------------- | -------------
|
177
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
|
-
**name** | **String**|
|
180
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
179
181
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
180
182
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
181
183
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
184
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
186
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
187
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
185
189
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
|
-
**pulp_last_updated** | **DateTime**|
|
190
|
+
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
187
191
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
188
192
|
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
189
193
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
194
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
195
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
192
|
-
**fields** | **String
|
193
|
-
**exclude_fields** | **String
|
196
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
197
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
194
198
|
|
195
199
|
### Return type
|
196
200
|
|
@@ -284,8 +288,8 @@ end
|
|
284
288
|
api_instance = PulpDebClient::RemotesAptApi.new
|
285
289
|
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
286
290
|
opts = {
|
287
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
288
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
291
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
292
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
289
293
|
}
|
290
294
|
|
291
295
|
begin
|
@@ -303,8 +307,8 @@ end
|
|
303
307
|
Name | Type | Description | Notes
|
304
308
|
------------- | ------------- | ------------- | -------------
|
305
309
|
**deb_apt_remote_href** | **String**| |
|
306
|
-
**fields** | **String
|
307
|
-
**exclude_fields** | **String
|
310
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
311
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
308
312
|
|
309
313
|
### Return type
|
310
314
|
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -144,17 +144,27 @@ end
|
|
144
144
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
145
145
|
opts = {
|
146
146
|
limit: 56, # Integer | Number of results to return per page.
|
147
|
-
name: 'name_example', # String |
|
147
|
+
name: 'name_example', # String | Filter results where name matches value
|
148
148
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
149
149
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
150
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
151
151
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
153
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
154
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
155
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
157
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
156
|
-
|
157
|
-
|
158
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
159
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
160
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
161
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
162
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
163
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
164
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
165
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
166
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
167
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
158
168
|
}
|
159
169
|
|
160
170
|
begin
|
@@ -172,17 +182,27 @@ end
|
|
172
182
|
Name | Type | Description | Notes
|
173
183
|
------------- | ------------- | ------------- | -------------
|
174
184
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
175
|
-
**name** | **String**|
|
185
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
176
186
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
177
187
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
178
188
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
179
189
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
180
190
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
181
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
191
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
192
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
182
194
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
183
|
-
**remote** |
|
184
|
-
**
|
185
|
-
**
|
195
|
+
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
196
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
197
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
198
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
199
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
200
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
201
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
202
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
203
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
204
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
205
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
186
206
|
|
187
207
|
### Return type
|
188
208
|
|
@@ -331,8 +351,8 @@ end
|
|
331
351
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
332
352
|
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
333
353
|
opts = {
|
334
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
335
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
354
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
355
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
336
356
|
}
|
337
357
|
|
338
358
|
begin
|
@@ -350,8 +370,8 @@ end
|
|
350
370
|
Name | Type | Description | Notes
|
351
371
|
------------- | ------------- | ------------- | -------------
|
352
372
|
**deb_apt_repository_href** | **String**| |
|
353
|
-
**fields** | **String
|
354
|
-
**exclude_fields** | **String
|
373
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
374
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
355
375
|
|
356
376
|
### Return type
|
357
377
|
|
@@ -90,22 +90,23 @@ opts = {
|
|
90
90
|
content: 'content_example', # String | Content Unit referenced by HREF
|
91
91
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
93
|
-
number: 56, # Integer |
|
93
|
+
number: 56, # Integer | Filter results where number matches value
|
94
94
|
number__gt: 56, # Integer | Filter results where number is greater than value
|
95
95
|
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
96
96
|
number__lt: 56, # Integer | Filter results where number is less than value
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
|
-
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
101
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
104
104
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
105
105
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
106
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
|
-
|
108
|
-
|
107
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
109
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
109
110
|
}
|
110
111
|
|
111
112
|
begin
|
@@ -126,22 +127,23 @@ Name | Type | Description | Notes
|
|
126
127
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
127
128
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
128
129
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
129
|
-
**number** | **Integer**|
|
130
|
+
**number** | **Integer**| Filter results where number matches value | [optional]
|
130
131
|
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
131
132
|
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
132
133
|
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
133
134
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
135
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
136
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
|
-
**pulp_created** | **DateTime**|
|
137
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
138
|
+
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
138
139
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
140
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
140
141
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
141
142
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
142
143
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
143
|
-
**
|
144
|
-
**
|
144
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
145
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
146
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
145
147
|
|
146
148
|
### Return type
|
147
149
|
|
@@ -180,8 +182,8 @@ end
|
|
180
182
|
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
181
183
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
182
184
|
opts = {
|
183
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
184
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
185
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
186
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
185
187
|
}
|
186
188
|
|
187
189
|
begin
|
@@ -199,8 +201,8 @@ end
|
|
199
201
|
Name | Type | Description | Notes
|
200
202
|
------------- | ------------- | ------------- | -------------
|
201
203
|
**deb_apt_repository_version_href** | **String**| |
|
202
|
-
**fields** | **String
|
203
|
-
**exclude_fields** | **String
|
204
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
205
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
204
206
|
|
205
207
|
### Return type
|
206
208
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**add_content_units** |
|
8
|
-
**remove_content_units** |
|
7
|
+
**add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
8
|
+
**remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
|
9
9
|
**base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -105,14 +105,16 @@ module PulpDebClient
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
107
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
108
|
-
# @option opts [Array<String>] :ordering Ordering
|
108
|
+
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
110
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
109
111
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
110
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
111
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
112
114
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
113
115
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
114
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
115
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
118
|
# @return [PaginateddebGenericContentResponseList]
|
117
119
|
def list(opts = {})
|
118
120
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -124,20 +126,22 @@ module PulpDebClient
|
|
124
126
|
# @param [Hash] opts the optional parameters
|
125
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
126
128
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
-
# @option opts [Array<String>] :ordering Ordering
|
129
|
+
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
130
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
131
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
128
132
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
129
133
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
130
134
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
131
135
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
132
136
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
133
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
134
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
137
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
138
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
135
139
|
# @return [Array<(PaginateddebGenericContentResponseList, Integer, Hash)>] PaginateddebGenericContentResponseList data, response status code and response headers
|
136
140
|
def list_with_http_info(opts = {})
|
137
141
|
if @api_client.config.debugging
|
138
142
|
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.list ...'
|
139
143
|
end
|
140
|
-
allowable_values = ["-
|
144
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
141
145
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
142
146
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
143
147
|
end
|
@@ -149,13 +153,15 @@ module PulpDebClient
|
|
149
153
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
150
154
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
151
155
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
156
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
157
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
158
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
153
159
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
154
160
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
155
161
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
156
162
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
157
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
158
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
163
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
164
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
159
165
|
|
160
166
|
# header parameters
|
161
167
|
header_params = opts[:header_params] || {}
|
@@ -194,8 +200,8 @@ module PulpDebClient
|
|
194
200
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
195
201
|
# @param deb_generic_content_href [String]
|
196
202
|
# @param [Hash] opts the optional parameters
|
197
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
198
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
203
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
204
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
205
|
# @return [DebGenericContentResponse]
|
200
206
|
def read(deb_generic_content_href, opts = {})
|
201
207
|
data, _status_code, _headers = read_with_http_info(deb_generic_content_href, opts)
|
@@ -206,8 +212,8 @@ module PulpDebClient
|
|
206
212
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
207
213
|
# @param deb_generic_content_href [String]
|
208
214
|
# @param [Hash] opts the optional parameters
|
209
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
210
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
215
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
216
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
217
|
# @return [Array<(DebGenericContentResponse, Integer, Hash)>] DebGenericContentResponse data, response status code and response headers
|
212
218
|
def read_with_http_info(deb_generic_content_href, opts = {})
|
213
219
|
if @api_client.config.debugging
|
@@ -222,8 +228,8 @@ module PulpDebClient
|
|
222
228
|
|
223
229
|
# query parameters
|
224
230
|
query_params = opts[:query_params] || {}
|
225
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
226
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
232
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
227
233
|
|
228
234
|
# header parameters
|
229
235
|
header_params = opts[:header_params] || {}
|
@@ -90,14 +90,16 @@ module PulpDebClient
|
|
90
90
|
# @option opts [String] :component Filter results where component matches value
|
91
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
93
|
+
# @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) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
96
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
95
97
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
97
99
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
98
100
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
99
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
100
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
103
|
# @return [PaginateddebInstallerFileIndexResponseList]
|
102
104
|
def list(opts = {})
|
103
105
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -111,20 +113,22 @@ module PulpDebClient
|
|
111
113
|
# @option opts [String] :component Filter results where component matches value
|
112
114
|
# @option opts [Integer] :limit Number of results to return per page.
|
113
115
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
114
|
-
# @option opts [Array<String>] :ordering Ordering
|
116
|
+
# @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) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
115
119
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
116
120
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
117
121
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
118
122
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
119
123
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
120
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
121
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
124
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
122
126
|
# @return [Array<(PaginateddebInstallerFileIndexResponseList, Integer, Hash)>] PaginateddebInstallerFileIndexResponseList data, response status code and response headers
|
123
127
|
def list_with_http_info(opts = {})
|
124
128
|
if @api_client.config.debugging
|
125
129
|
@api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.list ...'
|
126
130
|
end
|
127
|
-
allowable_values = ["-
|
131
|
+
allowable_values = ["-architecture", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "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
|
@@ -138,13 +142,15 @@ module PulpDebClient
|
|
138
142
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
139
143
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
140
144
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
145
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
146
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
141
147
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
142
148
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
143
149
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
144
150
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
145
151
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
146
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
147
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
152
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
153
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
148
154
|
|
149
155
|
# header parameters
|
150
156
|
header_params = opts[:header_params] || {}
|
@@ -183,8 +189,8 @@ module PulpDebClient
|
|
183
189
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
184
190
|
# @param deb_installer_file_index_href [String]
|
185
191
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
194
|
# @return [DebInstallerFileIndexResponse]
|
189
195
|
def read(deb_installer_file_index_href, opts = {})
|
190
196
|
data, _status_code, _headers = read_with_http_info(deb_installer_file_index_href, opts)
|
@@ -195,8 +201,8 @@ module PulpDebClient
|
|
195
201
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
196
202
|
# @param deb_installer_file_index_href [String]
|
197
203
|
# @param [Hash] opts the optional parameters
|
198
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
199
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
204
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
205
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
200
206
|
# @return [Array<(DebInstallerFileIndexResponse, Integer, Hash)>] DebInstallerFileIndexResponse data, response status code and response headers
|
201
207
|
def read_with_http_info(deb_installer_file_index_href, opts = {})
|
202
208
|
if @api_client.config.debugging
|
@@ -211,8 +217,8 @@ module PulpDebClient
|
|
211
217
|
|
212
218
|
# query parameters
|
213
219
|
query_params = opts[:query_params] || {}
|
214
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
215
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
220
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
216
222
|
|
217
223
|
# header parameters
|
218
224
|
header_params = opts[:header_params] || {}
|