pulpcore_client 3.21.31 → 3.21.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +142 -140
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentguardsApi.md +6 -6
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +6 -6
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- data/docs/ExportersFilesystemApi.md +31 -31
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +31 -31
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +31 -31
- 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/PublicationsApi.md +6 -6
- data/docs/RemotesApi.md +6 -6
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +6 -6
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryVersionsApi.md +6 -6
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +11 -11
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +31 -31
- data/docs/TasksApi.md +96 -96
- data/docs/UploadsApi.md +51 -51
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +11 -11
- 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 +6 -6
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +64 -64
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +64 -64
- data/lib/pulpcore_client/api/distributions_api.rb +6 -6
- data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
- 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 +6 -6
- data/lib/pulpcore_client/api/remotes_api.rb +6 -6
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -6
- 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/configuration.rb +3 -3
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -0
- 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/docs_api_json_api_spec.rb +48 -0
- data/spec/api/docs_api_yaml_api_spec.rb +48 -0
- 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
- data/spec/configuration_spec.rb +3 -3
- metadata +147 -139
data/docs/UsersApi.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# PulpcoreClient::UsersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
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
|
+
[**users_create**](UsersApi.md#users_create) | **POST** /pulp/api/v3/users/ | Create an user
|
8
|
+
[**users_delete**](UsersApi.md#users_delete) | **DELETE** {auth_user_href} | Delete an user
|
9
|
+
[**users_list**](UsersApi.md#users_list) | **GET** /pulp/api/v3/users/ | List users
|
10
|
+
[**users_partial_update**](UsersApi.md#users_partial_update) | **PATCH** {auth_user_href} | Update an user
|
11
|
+
[**users_read**](UsersApi.md#users_read) | **GET** {auth_user_href} | Inspect an user
|
12
|
+
[**users_update**](UsersApi.md#users_update) | **PUT** {auth_user_href} | Update an user
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## users_create
|
17
17
|
|
18
|
-
> UserResponse
|
18
|
+
> UserResponse users_create(user)
|
19
19
|
|
20
20
|
Create an user
|
21
21
|
|
@@ -38,10 +38,10 @@ user = PulpcoreClient::User.new # User |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create an user
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.users_create(user)
|
42
42
|
p result
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
44
|
-
puts "Exception when calling UsersApi->
|
44
|
+
puts "Exception when calling UsersApi->users_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
|
+
## users_delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> users_delete(auth_user_href)
|
72
72
|
|
73
73
|
Delete an user
|
74
74
|
|
@@ -91,9 +91,9 @@ auth_user_href = 'auth_user_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete an user
|
94
|
-
api_instance.
|
94
|
+
api_instance.users_delete(auth_user_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersApi->
|
96
|
+
puts "Exception when calling UsersApi->users_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
|
+
## users_list
|
122
122
|
|
123
|
-
> PaginatedUserResponseList
|
123
|
+
> PaginatedUserResponseList users_list(opts)
|
124
124
|
|
125
125
|
List users
|
126
126
|
|
@@ -171,10 +171,10 @@ opts = {
|
|
171
171
|
|
172
172
|
begin
|
173
173
|
#List users
|
174
|
-
result = api_instance.
|
174
|
+
result = api_instance.users_list(opts)
|
175
175
|
p result
|
176
176
|
rescue PulpcoreClient::ApiError => e
|
177
|
-
puts "Exception when calling UsersApi->
|
177
|
+
puts "Exception when calling UsersApi->users_list: #{e}"
|
178
178
|
end
|
179
179
|
```
|
180
180
|
|
@@ -225,9 +225,9 @@ Name | Type | Description | Notes
|
|
225
225
|
- **Accept**: application/json
|
226
226
|
|
227
227
|
|
228
|
-
##
|
228
|
+
## users_partial_update
|
229
229
|
|
230
|
-
> UserResponse
|
230
|
+
> UserResponse users_partial_update(auth_user_href, patched_user)
|
231
231
|
|
232
232
|
Update an user
|
233
233
|
|
@@ -251,10 +251,10 @@ patched_user = PulpcoreClient::PatchedUser.new # PatchedUser |
|
|
251
251
|
|
252
252
|
begin
|
253
253
|
#Update an user
|
254
|
-
result = api_instance.
|
254
|
+
result = api_instance.users_partial_update(auth_user_href, patched_user)
|
255
255
|
p result
|
256
256
|
rescue PulpcoreClient::ApiError => e
|
257
|
-
puts "Exception when calling UsersApi->
|
257
|
+
puts "Exception when calling UsersApi->users_partial_update: #{e}"
|
258
258
|
end
|
259
259
|
```
|
260
260
|
|
@@ -280,9 +280,9 @@ Name | Type | Description | Notes
|
|
280
280
|
- **Accept**: application/json
|
281
281
|
|
282
282
|
|
283
|
-
##
|
283
|
+
## users_read
|
284
284
|
|
285
|
-
> UserResponse
|
285
|
+
> UserResponse users_read(auth_user_href, opts)
|
286
286
|
|
287
287
|
Inspect an user
|
288
288
|
|
@@ -309,10 +309,10 @@ opts = {
|
|
309
309
|
|
310
310
|
begin
|
311
311
|
#Inspect an user
|
312
|
-
result = api_instance.
|
312
|
+
result = api_instance.users_read(auth_user_href, opts)
|
313
313
|
p result
|
314
314
|
rescue PulpcoreClient::ApiError => e
|
315
|
-
puts "Exception when calling UsersApi->
|
315
|
+
puts "Exception when calling UsersApi->users_read: #{e}"
|
316
316
|
end
|
317
317
|
```
|
318
318
|
|
@@ -339,9 +339,9 @@ Name | Type | Description | Notes
|
|
339
339
|
- **Accept**: application/json
|
340
340
|
|
341
341
|
|
342
|
-
##
|
342
|
+
## users_update
|
343
343
|
|
344
|
-
> UserResponse
|
344
|
+
> UserResponse users_update(auth_user_href, user)
|
345
345
|
|
346
346
|
Update an user
|
347
347
|
|
@@ -365,10 +365,10 @@ user = PulpcoreClient::User.new # User |
|
|
365
365
|
|
366
366
|
begin
|
367
367
|
#Update an user
|
368
|
-
result = api_instance.
|
368
|
+
result = api_instance.users_update(auth_user_href, user)
|
369
369
|
p result
|
370
370
|
rescue PulpcoreClient::ApiError => e
|
371
|
-
puts "Exception when calling UsersApi->
|
371
|
+
puts "Exception when calling UsersApi->users_update: #{e}"
|
372
372
|
end
|
373
373
|
```
|
374
374
|
|
data/docs/UsersRolesApi.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# PulpcoreClient::UsersRolesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**users_roles_create**](UsersRolesApi.md#users_roles_create) | **POST** {auth_user_href}roles/ | Create an user role
|
8
|
+
[**users_roles_delete**](UsersRolesApi.md#users_roles_delete) | **DELETE** {auth_users_user_role_href} | Delete an user role
|
9
|
+
[**users_roles_list**](UsersRolesApi.md#users_roles_list) | **GET** {auth_user_href}roles/ | List user roles
|
10
|
+
[**users_roles_read**](UsersRolesApi.md#users_roles_read) | **GET** {auth_users_user_role_href} | Inspect an user role
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## users_roles_create
|
15
15
|
|
16
|
-
> UserRoleResponse
|
16
|
+
> UserRoleResponse users_roles_create(auth_user_href, user_role)
|
17
17
|
|
18
18
|
Create an user role
|
19
19
|
|
@@ -37,10 +37,10 @@ user_role = PulpcoreClient::UserRole.new # UserRole |
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create an user role
|
40
|
-
result = api_instance.
|
40
|
+
result = api_instance.users_roles_create(auth_user_href, user_role)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
|
-
puts "Exception when calling UsersRolesApi->
|
43
|
+
puts "Exception when calling UsersRolesApi->users_roles_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
|
+
## users_roles_delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> users_roles_delete(auth_users_user_role_href)
|
72
72
|
|
73
73
|
Delete an user role
|
74
74
|
|
@@ -91,9 +91,9 @@ auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete an user role
|
94
|
-
api_instance.
|
94
|
+
api_instance.users_roles_delete(auth_users_user_role_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersRolesApi->
|
96
|
+
puts "Exception when calling UsersRolesApi->users_roles_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
|
+
## users_roles_list
|
122
122
|
|
123
|
-
> PaginatedUserRoleResponseList
|
123
|
+
> PaginatedUserRoleResponseList users_roles_list(auth_user_href, opts)
|
124
124
|
|
125
125
|
List user roles
|
126
126
|
|
@@ -156,10 +156,10 @@ opts = {
|
|
156
156
|
|
157
157
|
begin
|
158
158
|
#List user roles
|
159
|
-
result = api_instance.
|
159
|
+
result = api_instance.users_roles_list(auth_user_href, opts)
|
160
160
|
p result
|
161
161
|
rescue PulpcoreClient::ApiError => e
|
162
|
-
puts "Exception when calling UsersRolesApi->
|
162
|
+
puts "Exception when calling UsersRolesApi->users_roles_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
|
+
## users_roles_read
|
199
199
|
|
200
|
-
> UserRoleResponse
|
200
|
+
> UserRoleResponse users_roles_read(auth_users_user_role_href, opts)
|
201
201
|
|
202
202
|
Inspect an user role
|
203
203
|
|
@@ -224,10 +224,10 @@ opts = {
|
|
224
224
|
|
225
225
|
begin
|
226
226
|
#Inspect an user role
|
227
|
-
result = api_instance.
|
227
|
+
result = api_instance.users_roles_read(auth_users_user_role_href, opts)
|
228
228
|
p result
|
229
229
|
rescue PulpcoreClient::ApiError => e
|
230
|
-
puts "Exception when calling UsersRolesApi->
|
230
|
+
puts "Exception when calling UsersRolesApi->users_roles_read: #{e}"
|
231
231
|
end
|
232
232
|
```
|
233
233
|
|
data/docs/WorkersApi.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpcoreClient::WorkersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
7
|
+
[**workers_list**](WorkersApi.md#workers_list) | **GET** /pulp/api/v3/workers/ | List workers
|
8
|
+
[**workers_read**](WorkersApi.md#workers_read) | **GET** {worker_href} | Inspect a worker
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
##
|
12
|
+
## workers_list
|
13
13
|
|
14
|
-
> PaginatedWorkerResponseList
|
14
|
+
> PaginatedWorkerResponseList workers_list(opts)
|
15
15
|
|
16
16
|
List workers
|
17
17
|
|
@@ -53,10 +53,10 @@ opts = {
|
|
53
53
|
|
54
54
|
begin
|
55
55
|
#List workers
|
56
|
-
result = api_instance.
|
56
|
+
result = api_instance.workers_list(opts)
|
57
57
|
p result
|
58
58
|
rescue PulpcoreClient::ApiError => e
|
59
|
-
puts "Exception when calling WorkersApi->
|
59
|
+
puts "Exception when calling WorkersApi->workers_list: #{e}"
|
60
60
|
end
|
61
61
|
```
|
62
62
|
|
@@ -98,9 +98,9 @@ Name | Type | Description | Notes
|
|
98
98
|
- **Accept**: application/json
|
99
99
|
|
100
100
|
|
101
|
-
##
|
101
|
+
## workers_read
|
102
102
|
|
103
|
-
> WorkerResponse
|
103
|
+
> WorkerResponse workers_read(worker_href, opts)
|
104
104
|
|
105
105
|
Inspect a worker
|
106
106
|
|
@@ -127,10 +127,10 @@ opts = {
|
|
127
127
|
|
128
128
|
begin
|
129
129
|
#Inspect a worker
|
130
|
-
result = api_instance.
|
130
|
+
result = api_instance.workers_read(worker_href, opts)
|
131
131
|
p result
|
132
132
|
rescue PulpcoreClient::ApiError => e
|
133
|
-
puts "Exception when calling WorkersApi->
|
133
|
+
puts "Exception when calling WorkersApi->workers_read: #{e}"
|
134
134
|
end
|
135
135
|
```
|
136
136
|
|
@@ -34,8 +34,8 @@ module PulpcoreClient
|
|
34
34
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
35
35
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
36
36
|
# @return [PaginatedAccessPolicyResponseList]
|
37
|
-
def
|
38
|
-
data, _status_code, _headers =
|
37
|
+
def access_policies_list(opts = {})
|
38
|
+
data, _status_code, _headers = access_policies_list_with_http_info(opts)
|
39
39
|
data
|
40
40
|
end
|
41
41
|
|
@@ -54,9 +54,9 @@ module PulpcoreClient
|
|
54
54
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
55
55
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
56
56
|
# @return [Array<(PaginatedAccessPolicyResponseList, Integer, Hash)>] PaginatedAccessPolicyResponseList data, response status code and response headers
|
57
|
-
def
|
57
|
+
def access_policies_list_with_http_info(opts = {})
|
58
58
|
if @api_client.config.debugging
|
59
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
59
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_list ...'
|
60
60
|
end
|
61
61
|
allowable_values = ["-creation_hooks", "-customized", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-queryset_scoping", "-statements", "-user_roles", "-viewset_name", "creation_hooks", "customized", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "queryset_scoping", "statements", "user_roles", "viewset_name"]
|
62
62
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -107,7 +107,7 @@ module PulpcoreClient
|
|
107
107
|
|
108
108
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
109
109
|
if @api_client.config.debugging
|
110
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
110
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
111
111
|
end
|
112
112
|
return data, status_code, headers
|
113
113
|
end
|
@@ -118,8 +118,8 @@ module PulpcoreClient
|
|
118
118
|
# @param patched_access_policy [PatchedAccessPolicy]
|
119
119
|
# @param [Hash] opts the optional parameters
|
120
120
|
# @return [AccessPolicyResponse]
|
121
|
-
def
|
122
|
-
data, _status_code, _headers =
|
121
|
+
def access_policies_partial_update(access_policy_href, patched_access_policy, opts = {})
|
122
|
+
data, _status_code, _headers = access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
|
123
123
|
data
|
124
124
|
end
|
125
125
|
|
@@ -129,17 +129,17 @@ module PulpcoreClient
|
|
129
129
|
# @param patched_access_policy [PatchedAccessPolicy]
|
130
130
|
# @param [Hash] opts the optional parameters
|
131
131
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
132
|
-
def
|
132
|
+
def access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
|
133
133
|
if @api_client.config.debugging
|
134
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
134
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_partial_update ...'
|
135
135
|
end
|
136
136
|
# verify the required parameter 'access_policy_href' is set
|
137
137
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
138
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
138
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_partial_update"
|
139
139
|
end
|
140
140
|
# verify the required parameter 'patched_access_policy' is set
|
141
141
|
if @api_client.config.client_side_validation && patched_access_policy.nil?
|
142
|
-
fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.
|
142
|
+
fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.access_policies_partial_update"
|
143
143
|
end
|
144
144
|
# resource path
|
145
145
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -177,7 +177,7 @@ module PulpcoreClient
|
|
177
177
|
|
178
178
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
179
179
|
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
180
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
181
181
|
end
|
182
182
|
return data, status_code, headers
|
183
183
|
end
|
@@ -189,8 +189,8 @@ module PulpcoreClient
|
|
189
189
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
190
190
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
191
191
|
# @return [AccessPolicyResponse]
|
192
|
-
def
|
193
|
-
data, _status_code, _headers =
|
192
|
+
def access_policies_read(access_policy_href, opts = {})
|
193
|
+
data, _status_code, _headers = access_policies_read_with_http_info(access_policy_href, opts)
|
194
194
|
data
|
195
195
|
end
|
196
196
|
|
@@ -201,13 +201,13 @@ module PulpcoreClient
|
|
201
201
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
202
202
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
203
203
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
204
|
-
def
|
204
|
+
def access_policies_read_with_http_info(access_policy_href, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
206
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_read ...'
|
207
207
|
end
|
208
208
|
# verify the required parameter 'access_policy_href' is set
|
209
209
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
210
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
210
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_read"
|
211
211
|
end
|
212
212
|
# resource path
|
213
213
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -245,7 +245,7 @@ module PulpcoreClient
|
|
245
245
|
|
246
246
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
247
247
|
if @api_client.config.debugging
|
248
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
248
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
249
249
|
end
|
250
250
|
return data, status_code, headers
|
251
251
|
end
|
@@ -254,8 +254,8 @@ module PulpcoreClient
|
|
254
254
|
# @param access_policy_href [String]
|
255
255
|
# @param [Hash] opts the optional parameters
|
256
256
|
# @return [AccessPolicyResponse]
|
257
|
-
def
|
258
|
-
data, _status_code, _headers =
|
257
|
+
def access_policies_reset(access_policy_href, opts = {})
|
258
|
+
data, _status_code, _headers = access_policies_reset_with_http_info(access_policy_href, opts)
|
259
259
|
data
|
260
260
|
end
|
261
261
|
|
@@ -263,13 +263,13 @@ module PulpcoreClient
|
|
263
263
|
# @param access_policy_href [String]
|
264
264
|
# @param [Hash] opts the optional parameters
|
265
265
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
266
|
-
def
|
266
|
+
def access_policies_reset_with_http_info(access_policy_href, opts = {})
|
267
267
|
if @api_client.config.debugging
|
268
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
268
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_reset ...'
|
269
269
|
end
|
270
270
|
# verify the required parameter 'access_policy_href' is set
|
271
271
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
272
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
272
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_reset"
|
273
273
|
end
|
274
274
|
# resource path
|
275
275
|
local_var_path = '{access_policy_href}reset/'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -305,7 +305,7 @@ module PulpcoreClient
|
|
305
305
|
|
306
306
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
307
307
|
if @api_client.config.debugging
|
308
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
308
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
309
309
|
end
|
310
310
|
return data, status_code, headers
|
311
311
|
end
|
@@ -316,8 +316,8 @@ module PulpcoreClient
|
|
316
316
|
# @param access_policy [AccessPolicy]
|
317
317
|
# @param [Hash] opts the optional parameters
|
318
318
|
# @return [AccessPolicyResponse]
|
319
|
-
def
|
320
|
-
data, _status_code, _headers =
|
319
|
+
def access_policies_update(access_policy_href, access_policy, opts = {})
|
320
|
+
data, _status_code, _headers = access_policies_update_with_http_info(access_policy_href, access_policy, opts)
|
321
321
|
data
|
322
322
|
end
|
323
323
|
|
@@ -327,17 +327,17 @@ module PulpcoreClient
|
|
327
327
|
# @param access_policy [AccessPolicy]
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
329
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
330
|
-
def
|
330
|
+
def access_policies_update_with_http_info(access_policy_href, access_policy, opts = {})
|
331
331
|
if @api_client.config.debugging
|
332
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
332
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_update ...'
|
333
333
|
end
|
334
334
|
# verify the required parameter 'access_policy_href' is set
|
335
335
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
336
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
336
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_update"
|
337
337
|
end
|
338
338
|
# verify the required parameter 'access_policy' is set
|
339
339
|
if @api_client.config.client_side_validation && access_policy.nil?
|
340
|
-
fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.
|
340
|
+
fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.access_policies_update"
|
341
341
|
end
|
342
342
|
# resource path
|
343
343
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -375,7 +375,7 @@ module PulpcoreClient
|
|
375
375
|
|
376
376
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
377
377
|
if @api_client.config.debugging
|
378
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
378
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
379
379
|
end
|
380
380
|
return data, status_code, headers
|
381
381
|
end
|