pulpcore_client 3.21.32 → 3.21.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +139 -141
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- 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 +37 -37
- 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 +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- 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 +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- 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 +12 -12
- 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 +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -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 +4 -4
- metadata +125 -133
- 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/ExportersPulpApi.md
CHANGED
@@ -4,18 +4,18 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
7
|
+
[**create**](ExportersPulpApi.md#create) | **POST** /pulp/api/v3/exporters/core/pulp/ | Create a pulp exporter
|
8
|
+
[**delete**](ExportersPulpApi.md#delete) | **DELETE** {pulp_exporter_href} | Delete a pulp exporter
|
9
|
+
[**list**](ExportersPulpApi.md#list) | **GET** /pulp/api/v3/exporters/core/pulp/ | List pulp exporters
|
10
|
+
[**partial_update**](ExportersPulpApi.md#partial_update) | **PATCH** {pulp_exporter_href} | Update a pulp exporter
|
11
|
+
[**read**](ExportersPulpApi.md#read) | **GET** {pulp_exporter_href} | Inspect a pulp exporter
|
12
|
+
[**update**](ExportersPulpApi.md#update) | **PUT** {pulp_exporter_href} | Update a pulp exporter
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## create
|
17
17
|
|
18
|
-
> PulpExporterResponse
|
18
|
+
> PulpExporterResponse create(pulp_exporter)
|
19
19
|
|
20
20
|
Create a pulp exporter
|
21
21
|
|
@@ -38,10 +38,10 @@ pulp_exporter = PulpcoreClient::PulpExporter.new # PulpExporter |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a pulp exporter
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.create(pulp_exporter)
|
42
42
|
p result
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
44
|
-
puts "Exception when calling ExportersPulpApi->
|
44
|
+
puts "Exception when calling ExportersPulpApi->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
|
-
> AsyncOperationResponse
|
71
|
+
> AsyncOperationResponse delete(pulp_exporter_href)
|
72
72
|
|
73
73
|
Delete a pulp exporter
|
74
74
|
|
@@ -91,10 +91,10 @@ pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a pulp exporter
|
94
|
-
result = api_instance.
|
94
|
+
result = api_instance.delete(pulp_exporter_href)
|
95
95
|
p result
|
96
96
|
rescue PulpcoreClient::ApiError => e
|
97
|
-
puts "Exception when calling ExportersPulpApi->
|
97
|
+
puts "Exception when calling ExportersPulpApi->delete: #{e}"
|
98
98
|
end
|
99
99
|
```
|
100
100
|
|
@@ -119,9 +119,9 @@ Name | Type | Description | Notes
|
|
119
119
|
- **Accept**: application/json
|
120
120
|
|
121
121
|
|
122
|
-
##
|
122
|
+
## list
|
123
123
|
|
124
|
-
> PaginatedPulpExporterResponseList
|
124
|
+
> PaginatedPulpExporterResponseList list(opts)
|
125
125
|
|
126
126
|
List pulp exporters
|
127
127
|
|
@@ -155,10 +155,10 @@ opts = {
|
|
155
155
|
|
156
156
|
begin
|
157
157
|
#List pulp exporters
|
158
|
-
result = api_instance.
|
158
|
+
result = api_instance.list(opts)
|
159
159
|
p result
|
160
160
|
rescue PulpcoreClient::ApiError => e
|
161
|
-
puts "Exception when calling ExportersPulpApi->
|
161
|
+
puts "Exception when calling ExportersPulpApi->list: #{e}"
|
162
162
|
end
|
163
163
|
```
|
164
164
|
|
@@ -192,9 +192,9 @@ Name | Type | Description | Notes
|
|
192
192
|
- **Accept**: application/json
|
193
193
|
|
194
194
|
|
195
|
-
##
|
195
|
+
## partial_update
|
196
196
|
|
197
|
-
> AsyncOperationResponse
|
197
|
+
> AsyncOperationResponse partial_update(pulp_exporter_href, patched_pulp_exporter)
|
198
198
|
|
199
199
|
Update a pulp exporter
|
200
200
|
|
@@ -218,10 +218,10 @@ patched_pulp_exporter = PulpcoreClient::PatchedPulpExporter.new # PatchedPulpExp
|
|
218
218
|
|
219
219
|
begin
|
220
220
|
#Update a pulp exporter
|
221
|
-
result = api_instance.
|
221
|
+
result = api_instance.partial_update(pulp_exporter_href, patched_pulp_exporter)
|
222
222
|
p result
|
223
223
|
rescue PulpcoreClient::ApiError => e
|
224
|
-
puts "Exception when calling ExportersPulpApi->
|
224
|
+
puts "Exception when calling ExportersPulpApi->partial_update: #{e}"
|
225
225
|
end
|
226
226
|
```
|
227
227
|
|
@@ -247,9 +247,9 @@ Name | Type | Description | Notes
|
|
247
247
|
- **Accept**: application/json
|
248
248
|
|
249
249
|
|
250
|
-
##
|
250
|
+
## read
|
251
251
|
|
252
|
-
> PulpExporterResponse
|
252
|
+
> PulpExporterResponse read(pulp_exporter_href, opts)
|
253
253
|
|
254
254
|
Inspect a pulp exporter
|
255
255
|
|
@@ -276,10 +276,10 @@ opts = {
|
|
276
276
|
|
277
277
|
begin
|
278
278
|
#Inspect a pulp exporter
|
279
|
-
result = api_instance.
|
279
|
+
result = api_instance.read(pulp_exporter_href, opts)
|
280
280
|
p result
|
281
281
|
rescue PulpcoreClient::ApiError => e
|
282
|
-
puts "Exception when calling ExportersPulpApi->
|
282
|
+
puts "Exception when calling ExportersPulpApi->read: #{e}"
|
283
283
|
end
|
284
284
|
```
|
285
285
|
|
@@ -306,9 +306,9 @@ Name | Type | Description | Notes
|
|
306
306
|
- **Accept**: application/json
|
307
307
|
|
308
308
|
|
309
|
-
##
|
309
|
+
## update
|
310
310
|
|
311
|
-
> AsyncOperationResponse
|
311
|
+
> AsyncOperationResponse update(pulp_exporter_href, pulp_exporter)
|
312
312
|
|
313
313
|
Update a pulp exporter
|
314
314
|
|
@@ -332,10 +332,10 @@ pulp_exporter = PulpcoreClient::PulpExporter.new # PulpExporter |
|
|
332
332
|
|
333
333
|
begin
|
334
334
|
#Update a pulp exporter
|
335
|
-
result = api_instance.
|
335
|
+
result = api_instance.update(pulp_exporter_href, pulp_exporter)
|
336
336
|
p result
|
337
337
|
rescue PulpcoreClient::ApiError => e
|
338
|
-
puts "Exception when calling ExportersPulpApi->
|
338
|
+
puts "Exception when calling ExportersPulpApi->update: #{e}"
|
339
339
|
end
|
340
340
|
```
|
341
341
|
|
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**create**](ExportersPulpExportsApi.md#create) | **POST** {pulp_exporter_href}exports/ | Create a pulp export
|
8
|
+
[**delete**](ExportersPulpExportsApi.md#delete) | **DELETE** {pulp_pulp_export_href} | Delete a pulp export
|
9
|
+
[**list**](ExportersPulpExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
|
10
|
+
[**read**](ExportersPulpExportsApi.md#read) | **GET** {pulp_pulp_export_href} | Inspect a pulp export
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse
|
16
|
+
> AsyncOperationResponse create(pulp_exporter_href, pulp_export)
|
17
17
|
|
18
18
|
Create a pulp export
|
19
19
|
|
@@ -37,10 +37,10 @@ pulp_export = PulpcoreClient::PulpExport.new # PulpExport |
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create a pulp export
|
40
|
-
result = api_instance.
|
40
|
+
result = api_instance.create(pulp_exporter_href, pulp_export)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
|
-
puts "Exception when calling ExportersPulpExportsApi->
|
43
|
+
puts "Exception when calling ExportersPulpExportsApi->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(pulp_pulp_export_href)
|
72
72
|
|
73
73
|
Delete a pulp export
|
74
74
|
|
@@ -91,9 +91,9 @@ pulp_pulp_export_href = 'pulp_pulp_export_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a pulp export
|
94
|
-
api_instance.
|
94
|
+
api_instance.delete(pulp_pulp_export_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling ExportersPulpExportsApi->
|
96
|
+
puts "Exception when calling ExportersPulpExportsApi->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
|
-
> PaginatedPulpExportResponseList
|
123
|
+
> PaginatedPulpExportResponseList list(pulp_exporter_href, opts)
|
124
124
|
|
125
125
|
List pulp exports
|
126
126
|
|
@@ -149,10 +149,10 @@ opts = {
|
|
149
149
|
|
150
150
|
begin
|
151
151
|
#List pulp exports
|
152
|
-
result = api_instance.
|
152
|
+
result = api_instance.list(pulp_exporter_href, opts)
|
153
153
|
p result
|
154
154
|
rescue PulpcoreClient::ApiError => e
|
155
|
-
puts "Exception when calling ExportersPulpExportsApi->
|
155
|
+
puts "Exception when calling ExportersPulpExportsApi->list: #{e}"
|
156
156
|
end
|
157
157
|
```
|
158
158
|
|
@@ -181,9 +181,9 @@ Name | Type | Description | Notes
|
|
181
181
|
- **Accept**: application/json
|
182
182
|
|
183
183
|
|
184
|
-
##
|
184
|
+
## read
|
185
185
|
|
186
|
-
> PulpExportResponse
|
186
|
+
> PulpExportResponse read(pulp_pulp_export_href, opts)
|
187
187
|
|
188
188
|
Inspect a pulp export
|
189
189
|
|
@@ -210,10 +210,10 @@ opts = {
|
|
210
210
|
|
211
211
|
begin
|
212
212
|
#Inspect a pulp export
|
213
|
-
result = api_instance.
|
213
|
+
result = api_instance.read(pulp_pulp_export_href, opts)
|
214
214
|
p result
|
215
215
|
rescue PulpcoreClient::ApiError => e
|
216
|
-
puts "Exception when calling ExportersPulpExportsApi->
|
216
|
+
puts "Exception when calling ExportersPulpExportsApi->read: #{e}"
|
217
217
|
end
|
218
218
|
```
|
219
219
|
|
data/docs/GroupsApi.md
CHANGED
@@ -4,22 +4,22 @@ All URIs are relative to *http://localhost:24817*
|
|
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
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
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
|
|