pulpcore_client 3.21.32 → 3.22.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 +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -13
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +4 -4
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/GroupsApi.md
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
# PulpcoreClient::GroupsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
7
|
+
[**add_role**](GroupsApi.md#add_role) | **POST** {group_href}add_role/ |
|
8
|
+
[**create**](GroupsApi.md#create) | **POST** /pulp/api/v3/groups/ | Create a group
|
9
|
+
[**delete**](GroupsApi.md#delete) | **DELETE** {group_href} | Delete a group
|
10
|
+
[**list**](GroupsApi.md#list) | **GET** /pulp/api/v3/groups/ | List groups
|
11
|
+
[**list_roles**](GroupsApi.md#list_roles) | **GET** {group_href}list_roles/ |
|
12
|
+
[**my_permissions**](GroupsApi.md#my_permissions) | **GET** {group_href}my_permissions/ |
|
13
|
+
[**partial_update**](GroupsApi.md#partial_update) | **PATCH** {group_href} | Update a group
|
14
|
+
[**read**](GroupsApi.md#read) | **GET** {group_href} | Inspect a group
|
15
|
+
[**remove_role**](GroupsApi.md#remove_role) | **POST** {group_href}remove_role/ |
|
16
|
+
[**update**](GroupsApi.md#update) | **PUT** {group_href} | Update a group
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
##
|
20
|
+
## add_role
|
21
21
|
|
22
|
-
> NestedRoleResponse
|
22
|
+
> NestedRoleResponse add_role(group_href, nested_role)
|
23
23
|
|
24
24
|
|
25
25
|
|
@@ -42,10 +42,10 @@ group_href = 'group_href_example' # String |
|
|
42
42
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
43
43
|
|
44
44
|
begin
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.add_role(group_href, nested_role)
|
46
46
|
p result
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
48
|
-
puts "Exception when calling GroupsApi->
|
48
|
+
puts "Exception when calling GroupsApi->add_role: #{e}"
|
49
49
|
end
|
50
50
|
```
|
51
51
|
|
@@ -71,9 +71,9 @@ Name | Type | Description | Notes
|
|
71
71
|
- **Accept**: application/json
|
72
72
|
|
73
73
|
|
74
|
-
##
|
74
|
+
## create
|
75
75
|
|
76
|
-
> GroupResponse
|
76
|
+
> GroupResponse create(group)
|
77
77
|
|
78
78
|
Create a group
|
79
79
|
|
@@ -96,10 +96,10 @@ group = PulpcoreClient::Group.new # Group |
|
|
96
96
|
|
97
97
|
begin
|
98
98
|
#Create a group
|
99
|
-
result = api_instance.
|
99
|
+
result = api_instance.create(group)
|
100
100
|
p result
|
101
101
|
rescue PulpcoreClient::ApiError => e
|
102
|
-
puts "Exception when calling GroupsApi->
|
102
|
+
puts "Exception when calling GroupsApi->create: #{e}"
|
103
103
|
end
|
104
104
|
```
|
105
105
|
|
@@ -124,9 +124,9 @@ Name | Type | Description | Notes
|
|
124
124
|
- **Accept**: application/json
|
125
125
|
|
126
126
|
|
127
|
-
##
|
127
|
+
## delete
|
128
128
|
|
129
|
-
>
|
129
|
+
> delete(group_href)
|
130
130
|
|
131
131
|
Delete a group
|
132
132
|
|
@@ -149,9 +149,9 @@ group_href = 'group_href_example' # String |
|
|
149
149
|
|
150
150
|
begin
|
151
151
|
#Delete a group
|
152
|
-
api_instance.
|
152
|
+
api_instance.delete(group_href)
|
153
153
|
rescue PulpcoreClient::ApiError => e
|
154
|
-
puts "Exception when calling GroupsApi->
|
154
|
+
puts "Exception when calling GroupsApi->delete: #{e}"
|
155
155
|
end
|
156
156
|
```
|
157
157
|
|
@@ -176,9 +176,9 @@ nil (empty response body)
|
|
176
176
|
- **Accept**: Not defined
|
177
177
|
|
178
178
|
|
179
|
-
##
|
179
|
+
## list
|
180
180
|
|
181
|
-
> PaginatedGroupResponseList
|
181
|
+
> PaginatedGroupResponseList list(opts)
|
182
182
|
|
183
183
|
List groups
|
184
184
|
|
@@ -214,10 +214,10 @@ opts = {
|
|
214
214
|
|
215
215
|
begin
|
216
216
|
#List groups
|
217
|
-
result = api_instance.
|
217
|
+
result = api_instance.list(opts)
|
218
218
|
p result
|
219
219
|
rescue PulpcoreClient::ApiError => e
|
220
|
-
puts "Exception when calling GroupsApi->
|
220
|
+
puts "Exception when calling GroupsApi->list: #{e}"
|
221
221
|
end
|
222
222
|
```
|
223
223
|
|
@@ -253,9 +253,9 @@ Name | Type | Description | Notes
|
|
253
253
|
- **Accept**: application/json
|
254
254
|
|
255
255
|
|
256
|
-
##
|
256
|
+
## list_roles
|
257
257
|
|
258
|
-
> ObjectRolesResponse
|
258
|
+
> ObjectRolesResponse list_roles(group_href, opts)
|
259
259
|
|
260
260
|
|
261
261
|
|
@@ -281,10 +281,10 @@ opts = {
|
|
281
281
|
}
|
282
282
|
|
283
283
|
begin
|
284
|
-
result = api_instance.
|
284
|
+
result = api_instance.list_roles(group_href, opts)
|
285
285
|
p result
|
286
286
|
rescue PulpcoreClient::ApiError => e
|
287
|
-
puts "Exception when calling GroupsApi->
|
287
|
+
puts "Exception when calling GroupsApi->list_roles: #{e}"
|
288
288
|
end
|
289
289
|
```
|
290
290
|
|
@@ -311,9 +311,9 @@ Name | Type | Description | Notes
|
|
311
311
|
- **Accept**: application/json
|
312
312
|
|
313
313
|
|
314
|
-
##
|
314
|
+
## my_permissions
|
315
315
|
|
316
|
-
> MyPermissionsResponse
|
316
|
+
> MyPermissionsResponse my_permissions(group_href, opts)
|
317
317
|
|
318
318
|
|
319
319
|
|
@@ -339,10 +339,10 @@ opts = {
|
|
339
339
|
}
|
340
340
|
|
341
341
|
begin
|
342
|
-
result = api_instance.
|
342
|
+
result = api_instance.my_permissions(group_href, opts)
|
343
343
|
p result
|
344
344
|
rescue PulpcoreClient::ApiError => e
|
345
|
-
puts "Exception when calling GroupsApi->
|
345
|
+
puts "Exception when calling GroupsApi->my_permissions: #{e}"
|
346
346
|
end
|
347
347
|
```
|
348
348
|
|
@@ -369,9 +369,9 @@ Name | Type | Description | Notes
|
|
369
369
|
- **Accept**: application/json
|
370
370
|
|
371
371
|
|
372
|
-
##
|
372
|
+
## partial_update
|
373
373
|
|
374
|
-
> GroupResponse
|
374
|
+
> GroupResponse partial_update(group_href, patched_group)
|
375
375
|
|
376
376
|
Update a group
|
377
377
|
|
@@ -395,10 +395,10 @@ patched_group = PulpcoreClient::PatchedGroup.new # PatchedGroup |
|
|
395
395
|
|
396
396
|
begin
|
397
397
|
#Update a group
|
398
|
-
result = api_instance.
|
398
|
+
result = api_instance.partial_update(group_href, patched_group)
|
399
399
|
p result
|
400
400
|
rescue PulpcoreClient::ApiError => e
|
401
|
-
puts "Exception when calling GroupsApi->
|
401
|
+
puts "Exception when calling GroupsApi->partial_update: #{e}"
|
402
402
|
end
|
403
403
|
```
|
404
404
|
|
@@ -424,9 +424,9 @@ Name | Type | Description | Notes
|
|
424
424
|
- **Accept**: application/json
|
425
425
|
|
426
426
|
|
427
|
-
##
|
427
|
+
## read
|
428
428
|
|
429
|
-
> GroupResponse
|
429
|
+
> GroupResponse read(group_href, opts)
|
430
430
|
|
431
431
|
Inspect a group
|
432
432
|
|
@@ -453,10 +453,10 @@ opts = {
|
|
453
453
|
|
454
454
|
begin
|
455
455
|
#Inspect a group
|
456
|
-
result = api_instance.
|
456
|
+
result = api_instance.read(group_href, opts)
|
457
457
|
p result
|
458
458
|
rescue PulpcoreClient::ApiError => e
|
459
|
-
puts "Exception when calling GroupsApi->
|
459
|
+
puts "Exception when calling GroupsApi->read: #{e}"
|
460
460
|
end
|
461
461
|
```
|
462
462
|
|
@@ -483,9 +483,9 @@ Name | Type | Description | Notes
|
|
483
483
|
- **Accept**: application/json
|
484
484
|
|
485
485
|
|
486
|
-
##
|
486
|
+
## remove_role
|
487
487
|
|
488
|
-
> NestedRoleResponse
|
488
|
+
> NestedRoleResponse remove_role(group_href, nested_role)
|
489
489
|
|
490
490
|
|
491
491
|
|
@@ -508,10 +508,10 @@ group_href = 'group_href_example' # String |
|
|
508
508
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
509
509
|
|
510
510
|
begin
|
511
|
-
result = api_instance.
|
511
|
+
result = api_instance.remove_role(group_href, nested_role)
|
512
512
|
p result
|
513
513
|
rescue PulpcoreClient::ApiError => e
|
514
|
-
puts "Exception when calling GroupsApi->
|
514
|
+
puts "Exception when calling GroupsApi->remove_role: #{e}"
|
515
515
|
end
|
516
516
|
```
|
517
517
|
|
@@ -537,9 +537,9 @@ Name | Type | Description | Notes
|
|
537
537
|
- **Accept**: application/json
|
538
538
|
|
539
539
|
|
540
|
-
##
|
540
|
+
## update
|
541
541
|
|
542
|
-
> GroupResponse
|
542
|
+
> GroupResponse update(group_href, group)
|
543
543
|
|
544
544
|
Update a group
|
545
545
|
|
@@ -563,10 +563,10 @@ group = PulpcoreClient::Group.new # Group |
|
|
563
563
|
|
564
564
|
begin
|
565
565
|
#Update a group
|
566
|
-
result = api_instance.
|
566
|
+
result = api_instance.update(group_href, group)
|
567
567
|
p result
|
568
568
|
rescue PulpcoreClient::ApiError => e
|
569
|
-
puts "Exception when calling GroupsApi->
|
569
|
+
puts "Exception when calling GroupsApi->update: #{e}"
|
570
570
|
end
|
571
571
|
```
|
572
572
|
|
data/docs/GroupsRolesApi.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# PulpcoreClient::GroupsRolesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**create**](GroupsRolesApi.md#create) | **POST** {group_href}roles/ | Create a group role
|
8
|
+
[**delete**](GroupsRolesApi.md#delete) | **DELETE** {groups_group_role_href} | Delete a group role
|
9
|
+
[**list**](GroupsRolesApi.md#list) | **GET** {group_href}roles/ | List group roles
|
10
|
+
[**read**](GroupsRolesApi.md#read) | **GET** {groups_group_role_href} | Inspect a group role
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## create
|
15
15
|
|
16
|
-
> GroupRoleResponse
|
16
|
+
> GroupRoleResponse create(group_href, group_role)
|
17
17
|
|
18
18
|
Create a group role
|
19
19
|
|
@@ -37,10 +37,10 @@ group_role = PulpcoreClient::GroupRole.new # GroupRole |
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create a group role
|
40
|
-
result = api_instance.
|
40
|
+
result = api_instance.create(group_href, group_role)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
|
-
puts "Exception when calling GroupsRolesApi->
|
43
|
+
puts "Exception when calling GroupsRolesApi->create: #{e}"
|
44
44
|
end
|
45
45
|
```
|
46
46
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> delete(groups_group_role_href)
|
72
72
|
|
73
73
|
Delete a group role
|
74
74
|
|
@@ -91,9 +91,9 @@ groups_group_role_href = 'groups_group_role_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a group role
|
94
|
-
api_instance.
|
94
|
+
api_instance.delete(groups_group_role_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling GroupsRolesApi->
|
96
|
+
puts "Exception when calling GroupsRolesApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## list
|
122
122
|
|
123
|
-
> PaginatedGroupRoleResponseList
|
123
|
+
> PaginatedGroupRoleResponseList list(group_href, opts)
|
124
124
|
|
125
125
|
List group roles
|
126
126
|
|
@@ -156,10 +156,10 @@ opts = {
|
|
156
156
|
|
157
157
|
begin
|
158
158
|
#List group roles
|
159
|
-
result = api_instance.
|
159
|
+
result = api_instance.list(group_href, opts)
|
160
160
|
p result
|
161
161
|
rescue PulpcoreClient::ApiError => e
|
162
|
-
puts "Exception when calling GroupsRolesApi->
|
162
|
+
puts "Exception when calling GroupsRolesApi->list: #{e}"
|
163
163
|
end
|
164
164
|
```
|
165
165
|
|
@@ -195,9 +195,9 @@ Name | Type | Description | Notes
|
|
195
195
|
- **Accept**: application/json
|
196
196
|
|
197
197
|
|
198
|
-
##
|
198
|
+
## read
|
199
199
|
|
200
|
-
> GroupRoleResponse
|
200
|
+
> GroupRoleResponse read(groups_group_role_href, opts)
|
201
201
|
|
202
202
|
Inspect a group role
|
203
203
|
|
@@ -224,10 +224,10 @@ opts = {
|
|
224
224
|
|
225
225
|
begin
|
226
226
|
#Inspect a group role
|
227
|
-
result = api_instance.
|
227
|
+
result = api_instance.read(groups_group_role_href, opts)
|
228
228
|
p result
|
229
229
|
rescue PulpcoreClient::ApiError => e
|
230
|
-
puts "Exception when calling GroupsRolesApi->
|
230
|
+
puts "Exception when calling GroupsRolesApi->read: #{e}"
|
231
231
|
end
|
232
232
|
```
|
233
233
|
|
data/docs/GroupsUsersApi.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# PulpcoreClient::GroupsUsersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
7
|
+
[**create**](GroupsUsersApi.md#create) | **POST** {group_href}users/ | Create an user
|
8
|
+
[**delete**](GroupsUsersApi.md#delete) | **DELETE** {groups_user_href} | Delete an user
|
9
|
+
[**list**](GroupsUsersApi.md#list) | **GET** {group_href}users/ | List users
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
##
|
13
|
+
## create
|
14
14
|
|
15
|
-
> GroupUserResponse
|
15
|
+
> GroupUserResponse create(group_href, group_user)
|
16
16
|
|
17
17
|
Create an user
|
18
18
|
|
@@ -36,10 +36,10 @@ group_user = PulpcoreClient::GroupUser.new # GroupUser |
|
|
36
36
|
|
37
37
|
begin
|
38
38
|
#Create an user
|
39
|
-
result = api_instance.
|
39
|
+
result = api_instance.create(group_href, group_user)
|
40
40
|
p result
|
41
41
|
rescue PulpcoreClient::ApiError => e
|
42
|
-
puts "Exception when calling GroupsUsersApi->
|
42
|
+
puts "Exception when calling GroupsUsersApi->create: #{e}"
|
43
43
|
end
|
44
44
|
```
|
45
45
|
|
@@ -65,9 +65,9 @@ Name | Type | Description | Notes
|
|
65
65
|
- **Accept**: application/json
|
66
66
|
|
67
67
|
|
68
|
-
##
|
68
|
+
## delete
|
69
69
|
|
70
|
-
>
|
70
|
+
> delete(groups_user_href)
|
71
71
|
|
72
72
|
Delete an user
|
73
73
|
|
@@ -90,9 +90,9 @@ groups_user_href = 'groups_user_href_example' # String |
|
|
90
90
|
|
91
91
|
begin
|
92
92
|
#Delete an user
|
93
|
-
api_instance.
|
93
|
+
api_instance.delete(groups_user_href)
|
94
94
|
rescue PulpcoreClient::ApiError => e
|
95
|
-
puts "Exception when calling GroupsUsersApi->
|
95
|
+
puts "Exception when calling GroupsUsersApi->delete: #{e}"
|
96
96
|
end
|
97
97
|
```
|
98
98
|
|
@@ -117,9 +117,9 @@ nil (empty response body)
|
|
117
117
|
- **Accept**: Not defined
|
118
118
|
|
119
119
|
|
120
|
-
##
|
120
|
+
## list
|
121
121
|
|
122
|
-
> PaginatedGroupUserResponseList
|
122
|
+
> PaginatedGroupUserResponseList list(group_href, opts)
|
123
123
|
|
124
124
|
List users
|
125
125
|
|
@@ -148,10 +148,10 @@ opts = {
|
|
148
148
|
|
149
149
|
begin
|
150
150
|
#List users
|
151
|
-
result = api_instance.
|
151
|
+
result = api_instance.list(group_href, opts)
|
152
152
|
p result
|
153
153
|
rescue PulpcoreClient::ApiError => e
|
154
|
-
puts "Exception when calling GroupsUsersApi->
|
154
|
+
puts "Exception when calling GroupsUsersApi->list: #{e}"
|
155
155
|
end
|
156
156
|
```
|
157
157
|
|
data/docs/ImportersPulpApi.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# PulpcoreClient::ImportersPulpApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
7
|
+
[**create**](ImportersPulpApi.md#create) | **POST** /pulp/api/v3/importers/core/pulp/ | Create a pulp importer
|
8
|
+
[**delete**](ImportersPulpApi.md#delete) | **DELETE** {pulp_importer_href} | Delete a pulp importer
|
9
|
+
[**list**](ImportersPulpApi.md#list) | **GET** /pulp/api/v3/importers/core/pulp/ | List pulp importers
|
10
|
+
[**partial_update**](ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} | Update a pulp importer
|
11
|
+
[**read**](ImportersPulpApi.md#read) | **GET** {pulp_importer_href} | Inspect a pulp importer
|
12
|
+
[**update**](ImportersPulpApi.md#update) | **PUT** {pulp_importer_href} | Update a pulp importer
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## create
|
17
17
|
|
18
|
-
> PulpImporterResponse
|
18
|
+
> PulpImporterResponse create(pulp_importer)
|
19
19
|
|
20
20
|
Create a pulp importer
|
21
21
|
|
@@ -38,10 +38,10 @@ pulp_importer = PulpcoreClient::PulpImporter.new # PulpImporter |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a pulp importer
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.create(pulp_importer)
|
42
42
|
p result
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
44
|
-
puts "Exception when calling ImportersPulpApi->
|
44
|
+
puts "Exception when calling ImportersPulpApi->create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> delete(pulp_importer_href)
|
72
72
|
|
73
73
|
Delete a pulp importer
|
74
74
|
|
@@ -91,9 +91,9 @@ pulp_importer_href = 'pulp_importer_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a pulp importer
|
94
|
-
api_instance.
|
94
|
+
api_instance.delete(pulp_importer_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling ImportersPulpApi->
|
96
|
+
puts "Exception when calling ImportersPulpApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## list
|
122
122
|
|
123
|
-
> PaginatedPulpImporterResponseList
|
123
|
+
> PaginatedPulpImporterResponseList list(opts)
|
124
124
|
|
125
125
|
List pulp importers
|
126
126
|
|
@@ -141,7 +141,7 @@ end
|
|
141
141
|
api_instance = PulpcoreClient::ImportersPulpApi.new
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
|
-
name: 'name_example', # String |
|
144
|
+
name: 'name_example', # String | Filter results where name matches value
|
145
145
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
146
146
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
147
147
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -154,10 +154,10 @@ opts = {
|
|
154
154
|
|
155
155
|
begin
|
156
156
|
#List pulp importers
|
157
|
-
result = api_instance.
|
157
|
+
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpcoreClient::ApiError => e
|
160
|
-
puts "Exception when calling ImportersPulpApi->
|
160
|
+
puts "Exception when calling ImportersPulpApi->list: #{e}"
|
161
161
|
end
|
162
162
|
```
|
163
163
|
|
@@ -167,7 +167,7 @@ end
|
|
167
167
|
Name | Type | Description | Notes
|
168
168
|
------------- | ------------- | ------------- | -------------
|
169
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
|
-
**name** | **String**|
|
170
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
171
171
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
172
172
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
173
173
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -191,9 +191,9 @@ Name | Type | Description | Notes
|
|
191
191
|
- **Accept**: application/json
|
192
192
|
|
193
193
|
|
194
|
-
##
|
194
|
+
## partial_update
|
195
195
|
|
196
|
-
> PulpImporterResponse
|
196
|
+
> PulpImporterResponse partial_update(pulp_importer_href, patched_pulp_importer)
|
197
197
|
|
198
198
|
Update a pulp importer
|
199
199
|
|
@@ -217,10 +217,10 @@ patched_pulp_importer = PulpcoreClient::PatchedPulpImporter.new # PatchedPulpImp
|
|
217
217
|
|
218
218
|
begin
|
219
219
|
#Update a pulp importer
|
220
|
-
result = api_instance.
|
220
|
+
result = api_instance.partial_update(pulp_importer_href, patched_pulp_importer)
|
221
221
|
p result
|
222
222
|
rescue PulpcoreClient::ApiError => e
|
223
|
-
puts "Exception when calling ImportersPulpApi->
|
223
|
+
puts "Exception when calling ImportersPulpApi->partial_update: #{e}"
|
224
224
|
end
|
225
225
|
```
|
226
226
|
|
@@ -246,9 +246,9 @@ Name | Type | Description | Notes
|
|
246
246
|
- **Accept**: application/json
|
247
247
|
|
248
248
|
|
249
|
-
##
|
249
|
+
## read
|
250
250
|
|
251
|
-
> PulpImporterResponse
|
251
|
+
> PulpImporterResponse read(pulp_importer_href, opts)
|
252
252
|
|
253
253
|
Inspect a pulp importer
|
254
254
|
|
@@ -275,10 +275,10 @@ opts = {
|
|
275
275
|
|
276
276
|
begin
|
277
277
|
#Inspect a pulp importer
|
278
|
-
result = api_instance.
|
278
|
+
result = api_instance.read(pulp_importer_href, opts)
|
279
279
|
p result
|
280
280
|
rescue PulpcoreClient::ApiError => e
|
281
|
-
puts "Exception when calling ImportersPulpApi->
|
281
|
+
puts "Exception when calling ImportersPulpApi->read: #{e}"
|
282
282
|
end
|
283
283
|
```
|
284
284
|
|
@@ -305,9 +305,9 @@ Name | Type | Description | Notes
|
|
305
305
|
- **Accept**: application/json
|
306
306
|
|
307
307
|
|
308
|
-
##
|
308
|
+
## update
|
309
309
|
|
310
|
-
> PulpImporterResponse
|
310
|
+
> PulpImporterResponse update(pulp_importer_href, pulp_importer)
|
311
311
|
|
312
312
|
Update a pulp importer
|
313
313
|
|
@@ -331,10 +331,10 @@ pulp_importer = PulpcoreClient::PulpImporter.new # PulpImporter |
|
|
331
331
|
|
332
332
|
begin
|
333
333
|
#Update a pulp importer
|
334
|
-
result = api_instance.
|
334
|
+
result = api_instance.update(pulp_importer_href, pulp_importer)
|
335
335
|
p result
|
336
336
|
rescue PulpcoreClient::ApiError => e
|
337
|
-
puts "Exception when calling ImportersPulpApi->
|
337
|
+
puts "Exception when calling ImportersPulpApi->update: #{e}"
|
338
338
|
end
|
339
339
|
```
|
340
340
|
|