pulp_deb_client 3.3.1 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -4
- data/docs/ContentGenericContentsApi.md +10 -8
- data/docs/ContentInstallerFileIndicesApi.md +10 -8
- data/docs/ContentInstallerPackagesApi.md +10 -8
- data/docs/ContentPackageIndicesApi.md +10 -8
- data/docs/ContentPackageReleaseComponentsApi.md +10 -8
- data/docs/ContentPackagesApi.md +10 -8
- data/docs/ContentReleaseArchitecturesApi.md +10 -8
- data/docs/ContentReleaseComponentsApi.md +10 -8
- data/docs/ContentReleaseFilesApi.md +10 -8
- data/docs/ContentReleasesApi.md +10 -8
- data/docs/ContentSourceIndicesApi.md +10 -8
- data/docs/ContentSourcePackagesApi.md +10 -8
- data/docs/ContentSourceReleaseComponentsApi.md +10 -8
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +5 -1
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +4 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +236 -2
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PublicationsAptApi.md +244 -10
- data/docs/PublicationsVerbatimApi.md +244 -10
- data/docs/RemotesAptApi.md +236 -2
- data/docs/RepositoriesAptApi.md +240 -6
- data/docs/RepositoriesAptVersionsApi.md +8 -6
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +281 -2
- data/lib/pulp_deb_client/api/publications_apt_api.rb +290 -11
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +290 -11
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +281 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +285 -6
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -21
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +24 -4
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_deb_client/models/nested_role.rb +253 -0
- data/lib/pulp_deb_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_deb_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +4 -0
- data/spec/api/content_generic_contents_api_spec.rb +5 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
- data/spec/api/content_installer_packages_api_spec.rb +5 -4
- data/spec/api/content_package_indices_api_spec.rb +5 -4
- data/spec/api/content_package_release_components_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +5 -4
- data/spec/api/content_release_architectures_api_spec.rb +5 -4
- data/spec/api/content_release_components_api_spec.rb +5 -4
- data/spec/api/content_release_files_api_spec.rb +5 -4
- data/spec/api/content_releases_api_spec.rb +5 -4
- data/spec/api/content_source_indices_api_spec.rb +5 -4
- data/spec/api/content_source_packages_api_spec.rb +5 -4
- data/spec/api/content_source_release_components_api_spec.rb +5 -4
- data/spec/api/distributions_apt_api_spec.rb +56 -1
- data/spec/api/publications_apt_api_spec.rb +60 -5
- data/spec/api/publications_verbatim_api_spec.rb +60 -5
- data/spec/api/remotes_apt_api_spec.rb +56 -1
- data/spec/api/repositories_apt_api_spec.rb +58 -3
- data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +12 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +12 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +91 -75
data/docs/RepositoriesAptApi.md
CHANGED
@@ -4,12 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](RepositoriesAptApi.md#add_role) | **POST** {deb_apt_repository_href}add_role/ | Add a role
|
7
8
|
[**create**](RepositoriesAptApi.md#create) | **POST** /pulp/api/v3/repositories/deb/apt/ | Create an apt repository
|
8
9
|
[**delete**](RepositoriesAptApi.md#delete) | **DELETE** {deb_apt_repository_href} | Delete an apt repository
|
9
10
|
[**list**](RepositoriesAptApi.md#list) | **GET** /pulp/api/v3/repositories/deb/apt/ | List apt repositorys
|
11
|
+
[**list_roles**](RepositoriesAptApi.md#list_roles) | **GET** {deb_apt_repository_href}list_roles/ | List roles
|
10
12
|
[**modify**](RepositoriesAptApi.md#modify) | **POST** {deb_apt_repository_href}modify/ | Modify Repository Content
|
13
|
+
[**my_permissions**](RepositoriesAptApi.md#my_permissions) | **GET** {deb_apt_repository_href}my_permissions/ | List user permissions
|
11
14
|
[**partial_update**](RepositoriesAptApi.md#partial_update) | **PATCH** {deb_apt_repository_href} | Update an apt repository
|
12
15
|
[**read**](RepositoriesAptApi.md#read) | **GET** {deb_apt_repository_href} | Inspect an apt repository
|
16
|
+
[**remove_role**](RepositoriesAptApi.md#remove_role) | **POST** {deb_apt_repository_href}remove_role/ | Remove a role
|
13
17
|
[**set_label**](RepositoriesAptApi.md#set_label) | **POST** {deb_apt_repository_href}set_label/ | Set a label
|
14
18
|
[**sync**](RepositoriesAptApi.md#sync) | **POST** {deb_apt_repository_href}sync/ | Sync from remote
|
15
19
|
[**unset_label**](RepositoriesAptApi.md#unset_label) | **POST** {deb_apt_repository_href}unset_label/ | Unset a label
|
@@ -17,6 +21,61 @@ Method | HTTP request | Description
|
|
17
21
|
|
18
22
|
|
19
23
|
|
24
|
+
## add_role
|
25
|
+
|
26
|
+
> NestedRoleResponse add_role(deb_apt_repository_href, nested_role)
|
27
|
+
|
28
|
+
Add a role
|
29
|
+
|
30
|
+
Add a role for this object to users/groups.
|
31
|
+
|
32
|
+
### Example
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
# load the gem
|
36
|
+
require 'pulp_deb_client'
|
37
|
+
# setup authorization
|
38
|
+
PulpDebClient.configure do |config|
|
39
|
+
# Configure HTTP basic authorization: basicAuth
|
40
|
+
config.username = 'YOUR USERNAME'
|
41
|
+
config.password = 'YOUR PASSWORD'
|
42
|
+
end
|
43
|
+
|
44
|
+
api_instance = PulpDebClient::RepositoriesAptApi.new
|
45
|
+
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
46
|
+
nested_role = PulpDebClient::NestedRole.new # NestedRole |
|
47
|
+
|
48
|
+
begin
|
49
|
+
#Add a role
|
50
|
+
result = api_instance.add_role(deb_apt_repository_href, nested_role)
|
51
|
+
p result
|
52
|
+
rescue PulpDebClient::ApiError => e
|
53
|
+
puts "Exception when calling RepositoriesAptApi->add_role: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
|
60
|
+
Name | Type | Description | Notes
|
61
|
+
------------- | ------------- | ------------- | -------------
|
62
|
+
**deb_apt_repository_href** | **String**| |
|
63
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
64
|
+
|
65
|
+
### Return type
|
66
|
+
|
67
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
68
|
+
|
69
|
+
### Authorization
|
70
|
+
|
71
|
+
[basicAuth](../README.md#basicAuth)
|
72
|
+
|
73
|
+
### HTTP request headers
|
74
|
+
|
75
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
76
|
+
- **Accept**: application/json
|
77
|
+
|
78
|
+
|
20
79
|
## create
|
21
80
|
|
22
81
|
> DebAptRepositoryResponse create(deb_apt_repository)
|
@@ -145,7 +204,7 @@ end
|
|
145
204
|
|
146
205
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
147
206
|
opts = {
|
148
|
-
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
207
|
+
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
149
208
|
limit: 56, # Integer | Number of results to return per page.
|
150
209
|
name: 'name_example', # String | Filter results where name matches value
|
151
210
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -158,10 +217,11 @@ opts = {
|
|
158
217
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
159
218
|
offset: 56, # Integer | The initial index from which to return the results.
|
160
219
|
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)
|
220
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
161
221
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
162
222
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
163
223
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
164
|
-
q: 'q_example', # String |
|
224
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
165
225
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
166
226
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
167
227
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -171,7 +231,7 @@ opts = {
|
|
171
231
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
172
232
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
173
233
|
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
174
|
-
with_content: 'with_content_example', # String | Content Unit referenced by HREF
|
234
|
+
with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
|
175
235
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
176
236
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
177
237
|
}
|
@@ -190,7 +250,7 @@ end
|
|
190
250
|
|
191
251
|
Name | Type | Description | Notes
|
192
252
|
------------- | ------------- | ------------- | -------------
|
193
|
-
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
253
|
+
**latest_with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
194
254
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
195
255
|
**name** | **String**| Filter results where name matches value | [optional]
|
196
256
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
@@ -203,10 +263,11 @@ Name | Type | Description | Notes
|
|
203
263
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
204
264
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
205
265
|
**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]
|
266
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
206
267
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
207
268
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
208
269
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
209
|
-
**q** | **String**|
|
270
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
210
271
|
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
211
272
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
212
273
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
@@ -216,7 +277,7 @@ Name | Type | Description | Notes
|
|
216
277
|
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
217
278
|
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
218
279
|
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
219
|
-
**with_content** | **String**| Content Unit referenced by HREF | [optional]
|
280
|
+
**with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
220
281
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
221
282
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
222
283
|
|
@@ -234,6 +295,65 @@ Name | Type | Description | Notes
|
|
234
295
|
- **Accept**: application/json
|
235
296
|
|
236
297
|
|
298
|
+
## list_roles
|
299
|
+
|
300
|
+
> ObjectRolesResponse list_roles(deb_apt_repository_href, opts)
|
301
|
+
|
302
|
+
List roles
|
303
|
+
|
304
|
+
List roles assigned to this object.
|
305
|
+
|
306
|
+
### Example
|
307
|
+
|
308
|
+
```ruby
|
309
|
+
# load the gem
|
310
|
+
require 'pulp_deb_client'
|
311
|
+
# setup authorization
|
312
|
+
PulpDebClient.configure do |config|
|
313
|
+
# Configure HTTP basic authorization: basicAuth
|
314
|
+
config.username = 'YOUR USERNAME'
|
315
|
+
config.password = 'YOUR PASSWORD'
|
316
|
+
end
|
317
|
+
|
318
|
+
api_instance = PulpDebClient::RepositoriesAptApi.new
|
319
|
+
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
320
|
+
opts = {
|
321
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
322
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
323
|
+
}
|
324
|
+
|
325
|
+
begin
|
326
|
+
#List roles
|
327
|
+
result = api_instance.list_roles(deb_apt_repository_href, opts)
|
328
|
+
p result
|
329
|
+
rescue PulpDebClient::ApiError => e
|
330
|
+
puts "Exception when calling RepositoriesAptApi->list_roles: #{e}"
|
331
|
+
end
|
332
|
+
```
|
333
|
+
|
334
|
+
### Parameters
|
335
|
+
|
336
|
+
|
337
|
+
Name | Type | Description | Notes
|
338
|
+
------------- | ------------- | ------------- | -------------
|
339
|
+
**deb_apt_repository_href** | **String**| |
|
340
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
341
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
342
|
+
|
343
|
+
### Return type
|
344
|
+
|
345
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
346
|
+
|
347
|
+
### Authorization
|
348
|
+
|
349
|
+
[basicAuth](../README.md#basicAuth)
|
350
|
+
|
351
|
+
### HTTP request headers
|
352
|
+
|
353
|
+
- **Content-Type**: Not defined
|
354
|
+
- **Accept**: application/json
|
355
|
+
|
356
|
+
|
237
357
|
## modify
|
238
358
|
|
239
359
|
> AsyncOperationResponse modify(deb_apt_repository_href, repository_add_remove_content)
|
@@ -289,6 +409,65 @@ Name | Type | Description | Notes
|
|
289
409
|
- **Accept**: application/json
|
290
410
|
|
291
411
|
|
412
|
+
## my_permissions
|
413
|
+
|
414
|
+
> MyPermissionsResponse my_permissions(deb_apt_repository_href, opts)
|
415
|
+
|
416
|
+
List user permissions
|
417
|
+
|
418
|
+
List permissions available to the current user on this object.
|
419
|
+
|
420
|
+
### Example
|
421
|
+
|
422
|
+
```ruby
|
423
|
+
# load the gem
|
424
|
+
require 'pulp_deb_client'
|
425
|
+
# setup authorization
|
426
|
+
PulpDebClient.configure do |config|
|
427
|
+
# Configure HTTP basic authorization: basicAuth
|
428
|
+
config.username = 'YOUR USERNAME'
|
429
|
+
config.password = 'YOUR PASSWORD'
|
430
|
+
end
|
431
|
+
|
432
|
+
api_instance = PulpDebClient::RepositoriesAptApi.new
|
433
|
+
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
434
|
+
opts = {
|
435
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
436
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
437
|
+
}
|
438
|
+
|
439
|
+
begin
|
440
|
+
#List user permissions
|
441
|
+
result = api_instance.my_permissions(deb_apt_repository_href, opts)
|
442
|
+
p result
|
443
|
+
rescue PulpDebClient::ApiError => e
|
444
|
+
puts "Exception when calling RepositoriesAptApi->my_permissions: #{e}"
|
445
|
+
end
|
446
|
+
```
|
447
|
+
|
448
|
+
### Parameters
|
449
|
+
|
450
|
+
|
451
|
+
Name | Type | Description | Notes
|
452
|
+
------------- | ------------- | ------------- | -------------
|
453
|
+
**deb_apt_repository_href** | **String**| |
|
454
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
455
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
456
|
+
|
457
|
+
### Return type
|
458
|
+
|
459
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
460
|
+
|
461
|
+
### Authorization
|
462
|
+
|
463
|
+
[basicAuth](../README.md#basicAuth)
|
464
|
+
|
465
|
+
### HTTP request headers
|
466
|
+
|
467
|
+
- **Content-Type**: Not defined
|
468
|
+
- **Accept**: application/json
|
469
|
+
|
470
|
+
|
292
471
|
## partial_update
|
293
472
|
|
294
473
|
> AsyncOperationResponse partial_update(deb_apt_repository_href, patcheddeb_apt_repository)
|
@@ -403,6 +582,61 @@ Name | Type | Description | Notes
|
|
403
582
|
- **Accept**: application/json
|
404
583
|
|
405
584
|
|
585
|
+
## remove_role
|
586
|
+
|
587
|
+
> NestedRoleResponse remove_role(deb_apt_repository_href, nested_role)
|
588
|
+
|
589
|
+
Remove a role
|
590
|
+
|
591
|
+
Remove a role for this object from users/groups.
|
592
|
+
|
593
|
+
### Example
|
594
|
+
|
595
|
+
```ruby
|
596
|
+
# load the gem
|
597
|
+
require 'pulp_deb_client'
|
598
|
+
# setup authorization
|
599
|
+
PulpDebClient.configure do |config|
|
600
|
+
# Configure HTTP basic authorization: basicAuth
|
601
|
+
config.username = 'YOUR USERNAME'
|
602
|
+
config.password = 'YOUR PASSWORD'
|
603
|
+
end
|
604
|
+
|
605
|
+
api_instance = PulpDebClient::RepositoriesAptApi.new
|
606
|
+
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
607
|
+
nested_role = PulpDebClient::NestedRole.new # NestedRole |
|
608
|
+
|
609
|
+
begin
|
610
|
+
#Remove a role
|
611
|
+
result = api_instance.remove_role(deb_apt_repository_href, nested_role)
|
612
|
+
p result
|
613
|
+
rescue PulpDebClient::ApiError => e
|
614
|
+
puts "Exception when calling RepositoriesAptApi->remove_role: #{e}"
|
615
|
+
end
|
616
|
+
```
|
617
|
+
|
618
|
+
### Parameters
|
619
|
+
|
620
|
+
|
621
|
+
Name | Type | Description | Notes
|
622
|
+
------------- | ------------- | ------------- | -------------
|
623
|
+
**deb_apt_repository_href** | **String**| |
|
624
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
625
|
+
|
626
|
+
### Return type
|
627
|
+
|
628
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
629
|
+
|
630
|
+
### Authorization
|
631
|
+
|
632
|
+
[basicAuth](../README.md#basicAuth)
|
633
|
+
|
634
|
+
### HTTP request headers
|
635
|
+
|
636
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
637
|
+
- **Accept**: application/json
|
638
|
+
|
639
|
+
|
406
640
|
## set_label
|
407
641
|
|
408
642
|
> SetLabelResponse set_label(deb_apt_repository_href, set_label)
|
@@ -87,8 +87,8 @@ end
|
|
87
87
|
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
88
88
|
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
89
89
|
opts = {
|
90
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
91
|
-
content__in: 'content__in_example', # String |
|
90
|
+
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
91
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
93
93
|
number: 56, # Integer | Filter results where number matches value
|
94
94
|
number__gt: 56, # Integer | Filter results where number is greater than value
|
@@ -98,6 +98,7 @@ opts = {
|
|
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
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
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
101
102
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
102
103
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
104
|
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
|
@@ -105,7 +106,7 @@ opts = {
|
|
105
106
|
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
107
|
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
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
-
q: 'q_example', # String |
|
109
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
109
110
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
110
111
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
111
112
|
}
|
@@ -125,8 +126,8 @@ end
|
|
125
126
|
Name | Type | Description | Notes
|
126
127
|
------------- | ------------- | ------------- | -------------
|
127
128
|
**deb_apt_repository_href** | **String**| |
|
128
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
129
|
-
**content__in** | **String
|
129
|
+
**content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
130
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
130
131
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
131
132
|
**number** | **Integer**| Filter results where number matches value | [optional]
|
132
133
|
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
@@ -136,6 +137,7 @@ Name | Type | Description | Notes
|
|
136
137
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
137
138
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
138
139
|
**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]
|
140
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
139
141
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
140
142
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
141
143
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -143,7 +145,7 @@ Name | Type | Description | Notes
|
|
143
145
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
144
146
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
145
147
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
|
-
**q** | **String**|
|
148
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
147
149
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
148
150
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
149
151
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
10
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
10
11
|
**number** | **Integer** | | [optional] [readonly]
|
@@ -18,6 +19,7 @@ Name | Type | Description | Notes
|
|
18
19
|
require 'PulpDebClient'
|
19
20
|
|
20
21
|
instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
|
22
|
+
prn: null,
|
21
23
|
pulp_created: null,
|
22
24
|
pulp_last_updated: null,
|
23
25
|
number: null,
|
@@ -114,13 +114,14 @@ module PulpDebClient
|
|
114
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
115
115
|
# @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)
|
116
116
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
117
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
117
118
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
119
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
119
|
-
# @option opts [String] :q
|
120
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
120
121
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
121
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
122
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
123
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
122
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
123
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
124
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
124
125
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
125
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
126
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -137,13 +138,14 @@ module PulpDebClient
|
|
137
138
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
138
139
|
# @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)
|
139
140
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
141
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
140
142
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
141
143
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
142
|
-
# @option opts [String] :q
|
144
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
143
145
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
144
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
145
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
146
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
146
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
147
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
148
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
147
149
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
148
150
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
149
151
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -165,6 +167,7 @@ module PulpDebClient
|
|
165
167
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
166
168
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
167
169
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
170
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
168
171
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
169
172
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
170
173
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -92,13 +92,14 @@ module PulpDebClient
|
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
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
94
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
95
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
95
96
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
96
97
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
-
# @option opts [String] :q
|
98
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
98
99
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
99
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
100
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
101
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
100
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
101
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
102
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
102
103
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -117,13 +118,14 @@ module PulpDebClient
|
|
117
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
119
|
# @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)
|
119
120
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
120
122
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
121
123
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
122
|
-
# @option opts [String] :q
|
124
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
123
125
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
124
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
125
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
126
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
126
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
127
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
128
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
127
129
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
128
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -147,6 +149,7 @@ module PulpDebClient
|
|
147
149
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
148
150
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
149
151
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
152
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
150
153
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
154
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
155
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -122,12 +122,13 @@ module PulpDebClient
|
|
122
122
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
123
123
|
# @option opts [String] :package Filter results where package matches value
|
124
124
|
# @option opts [String] :priority Filter results where priority matches value
|
125
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
125
126
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
126
127
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
127
|
-
# @option opts [String] :q
|
128
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
129
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
130
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
128
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
129
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
130
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
131
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
131
132
|
# @option opts [String] :section Filter results where section matches value
|
132
133
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
133
134
|
# @option opts [String] :source Filter results where source matches value
|
@@ -160,12 +161,13 @@ module PulpDebClient
|
|
160
161
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
161
162
|
# @option opts [String] :package Filter results where package matches value
|
162
163
|
# @option opts [String] :priority Filter results where priority matches value
|
164
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
163
165
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
166
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
|
-
# @option opts [String] :q
|
166
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
167
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
168
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
167
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
168
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
169
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
170
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
169
171
|
# @option opts [String] :section Filter results where section matches value
|
170
172
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
171
173
|
# @option opts [String] :source Filter results where source matches value
|
@@ -215,6 +217,7 @@ module PulpDebClient
|
|
215
217
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
216
218
|
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
217
219
|
query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
|
220
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
218
221
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
219
222
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
220
223
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -92,13 +92,14 @@ module PulpDebClient
|
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
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) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
94
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
95
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
95
96
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
96
97
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
-
# @option opts [String] :q
|
98
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
98
99
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
99
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
100
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
101
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
100
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
101
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
102
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
102
103
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -117,13 +118,14 @@ module PulpDebClient
|
|
117
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
119
|
# @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) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
119
120
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
120
122
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
121
123
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
122
|
-
# @option opts [String] :q
|
124
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
123
125
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
124
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
125
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
126
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
126
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
127
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
128
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
127
129
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
128
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -147,6 +149,7 @@ module PulpDebClient
|
|
147
149
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
148
150
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
149
151
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
152
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
150
153
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
154
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
155
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|