pulpcore_client 3.21.32 → 3.21.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -141
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactsApi.md +20 -20
  5. data/docs/ContentApi.md +5 -5
  6. data/docs/ContentguardsApi.md +5 -5
  7. data/docs/ContentguardsContentRedirectApi.md +50 -50
  8. data/docs/ContentguardsRbacApi.md +50 -50
  9. data/docs/DistributionsApi.md +5 -5
  10. data/docs/ExportersFilesystemApi.md +30 -30
  11. data/docs/ExportersFilesystemExportsApi.md +20 -20
  12. data/docs/ExportersPulpApi.md +30 -30
  13. data/docs/ExportersPulpExportsApi.md +20 -20
  14. data/docs/GroupsApi.md +50 -50
  15. data/docs/GroupsRolesApi.md +20 -20
  16. data/docs/GroupsUsersApi.md +15 -15
  17. data/docs/ImportersPulpApi.md +30 -30
  18. data/docs/ImportersPulpImportsApi.md +20 -20
  19. data/docs/OrphansApi.md +5 -5
  20. data/docs/OrphansCleanupApi.md +5 -5
  21. data/docs/PublicationsApi.md +5 -5
  22. data/docs/RemotesApi.md +5 -5
  23. data/docs/RepairApi.md +5 -5
  24. data/docs/RepositoriesApi.md +5 -5
  25. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  26. data/docs/RepositoryVersionsApi.md +5 -5
  27. data/docs/RolesApi.md +30 -30
  28. data/docs/SigningServicesApi.md +10 -10
  29. data/docs/TaskGroupsApi.md +10 -10
  30. data/docs/TaskSchedulesApi.md +30 -30
  31. data/docs/TasksApi.md +95 -95
  32. data/docs/UploadsApi.md +50 -50
  33. data/docs/UsersApi.md +30 -30
  34. data/docs/UsersRolesApi.md +20 -20
  35. data/docs/WorkersApi.md +10 -10
  36. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  37. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  38. data/lib/pulpcore_client/api/content_api.rb +5 -5
  39. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  40. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  41. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  42. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  43. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  44. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  45. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  46. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  47. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  48. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  49. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  50. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  51. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  52. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  53. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  54. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  55. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  56. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  57. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  58. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  59. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  60. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  61. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  62. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  63. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  64. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  65. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  66. data/lib/pulpcore_client/api/users_api.rb +37 -37
  67. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  68. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  69. data/lib/pulpcore_client/version.rb +1 -1
  70. data/lib/pulpcore_client.rb +0 -2
  71. data/spec/api/access_policies_api_spec.rb +10 -10
  72. data/spec/api/artifacts_api_spec.rb +8 -8
  73. data/spec/api/content_api_spec.rb +2 -2
  74. data/spec/api/contentguards_api_spec.rb +2 -2
  75. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  76. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  77. data/spec/api/distributions_api_spec.rb +2 -2
  78. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  79. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  80. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  81. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  82. data/spec/api/groups_api_spec.rb +20 -20
  83. data/spec/api/groups_roles_api_spec.rb +8 -8
  84. data/spec/api/groups_users_api_spec.rb +6 -6
  85. data/spec/api/importers_pulp_api_spec.rb +12 -12
  86. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  87. data/spec/api/orphans_api_spec.rb +2 -2
  88. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  89. data/spec/api/publications_api_spec.rb +2 -2
  90. data/spec/api/remotes_api_spec.rb +2 -2
  91. data/spec/api/repair_api_spec.rb +2 -2
  92. data/spec/api/repositories_api_spec.rb +2 -2
  93. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  94. data/spec/api/repository_versions_api_spec.rb +2 -2
  95. data/spec/api/roles_api_spec.rb +12 -12
  96. data/spec/api/signing_services_api_spec.rb +4 -4
  97. data/spec/api/task_groups_api_spec.rb +4 -4
  98. data/spec/api/task_schedules_api_spec.rb +12 -12
  99. data/spec/api/tasks_api_spec.rb +29 -29
  100. data/spec/api/uploads_api_spec.rb +20 -20
  101. data/spec/api/users_api_spec.rb +12 -12
  102. data/spec/api/users_roles_api_spec.rb +8 -8
  103. data/spec/api/workers_api_spec.rb +4 -4
  104. metadata +127 -135
  105. data/docs/DocsApiJsonApi.md +0 -61
  106. data/docs/DocsApiYamlApi.md +0 -61
  107. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  108. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  109. data/spec/api/docs_api_json_api_spec.rb +0 -48
  110. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/UsersApi.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
- [**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
7
+ [**create**](UsersApi.md#create) | **POST** /pulp/api/v3/users/ | Create an user
8
+ [**delete**](UsersApi.md#delete) | **DELETE** {auth_user_href} | Delete an user
9
+ [**list**](UsersApi.md#list) | **GET** /pulp/api/v3/users/ | List users
10
+ [**partial_update**](UsersApi.md#partial_update) | **PATCH** {auth_user_href} | Update an user
11
+ [**read**](UsersApi.md#read) | **GET** {auth_user_href} | Inspect an user
12
+ [**update**](UsersApi.md#update) | **PUT** {auth_user_href} | Update an user
13
13
 
14
14
 
15
15
 
16
- ## users_create
16
+ ## create
17
17
 
18
- > UserResponse users_create(user)
18
+ > UserResponse 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.users_create(user)
41
+ result = api_instance.create(user)
42
42
  p result
43
43
  rescue PulpcoreClient::ApiError => e
44
- puts "Exception when calling UsersApi->users_create: #{e}"
44
+ puts "Exception when calling UsersApi->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
- ## users_delete
69
+ ## delete
70
70
 
71
- > users_delete(auth_user_href)
71
+ > 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.users_delete(auth_user_href)
94
+ api_instance.delete(auth_user_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
- puts "Exception when calling UsersApi->users_delete: #{e}"
96
+ puts "Exception when calling UsersApi->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
- ## users_list
121
+ ## list
122
122
 
123
- > PaginatedUserResponseList users_list(opts)
123
+ > PaginatedUserResponseList 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.users_list(opts)
174
+ result = api_instance.list(opts)
175
175
  p result
176
176
  rescue PulpcoreClient::ApiError => e
177
- puts "Exception when calling UsersApi->users_list: #{e}"
177
+ puts "Exception when calling UsersApi->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
- ## users_partial_update
228
+ ## partial_update
229
229
 
230
- > UserResponse users_partial_update(auth_user_href, patched_user)
230
+ > UserResponse 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.users_partial_update(auth_user_href, patched_user)
254
+ result = api_instance.partial_update(auth_user_href, patched_user)
255
255
  p result
256
256
  rescue PulpcoreClient::ApiError => e
257
- puts "Exception when calling UsersApi->users_partial_update: #{e}"
257
+ puts "Exception when calling UsersApi->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
- ## users_read
283
+ ## read
284
284
 
285
- > UserResponse users_read(auth_user_href, opts)
285
+ > UserResponse 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.users_read(auth_user_href, opts)
312
+ result = api_instance.read(auth_user_href, opts)
313
313
  p result
314
314
  rescue PulpcoreClient::ApiError => e
315
- puts "Exception when calling UsersApi->users_read: #{e}"
315
+ puts "Exception when calling UsersApi->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
- ## users_update
342
+ ## update
343
343
 
344
- > UserResponse users_update(auth_user_href, user)
344
+ > UserResponse 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.users_update(auth_user_href, user)
368
+ result = api_instance.update(auth_user_href, user)
369
369
  p result
370
370
  rescue PulpcoreClient::ApiError => e
371
- puts "Exception when calling UsersApi->users_update: #{e}"
371
+ puts "Exception when calling UsersApi->update: #{e}"
372
372
  end
373
373
  ```
374
374
 
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
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
7
+ [**create**](UsersRolesApi.md#create) | **POST** {auth_user_href}roles/ | Create an user role
8
+ [**delete**](UsersRolesApi.md#delete) | **DELETE** {auth_users_user_role_href} | Delete an user role
9
+ [**list**](UsersRolesApi.md#list) | **GET** {auth_user_href}roles/ | List user roles
10
+ [**read**](UsersRolesApi.md#read) | **GET** {auth_users_user_role_href} | Inspect an user role
11
11
 
12
12
 
13
13
 
14
- ## users_roles_create
14
+ ## create
15
15
 
16
- > UserRoleResponse users_roles_create(auth_user_href, user_role)
16
+ > UserRoleResponse 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.users_roles_create(auth_user_href, user_role)
40
+ result = api_instance.create(auth_user_href, user_role)
41
41
  p result
42
42
  rescue PulpcoreClient::ApiError => e
43
- puts "Exception when calling UsersRolesApi->users_roles_create: #{e}"
43
+ puts "Exception when calling UsersRolesApi->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
- ## users_roles_delete
69
+ ## delete
70
70
 
71
- > users_roles_delete(auth_users_user_role_href)
71
+ > 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.users_roles_delete(auth_users_user_role_href)
94
+ api_instance.delete(auth_users_user_role_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
- puts "Exception when calling UsersRolesApi->users_roles_delete: #{e}"
96
+ puts "Exception when calling UsersRolesApi->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
- ## users_roles_list
121
+ ## list
122
122
 
123
- > PaginatedUserRoleResponseList users_roles_list(auth_user_href, opts)
123
+ > PaginatedUserRoleResponseList 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.users_roles_list(auth_user_href, opts)
159
+ result = api_instance.list(auth_user_href, opts)
160
160
  p result
161
161
  rescue PulpcoreClient::ApiError => e
162
- puts "Exception when calling UsersRolesApi->users_roles_list: #{e}"
162
+ puts "Exception when calling UsersRolesApi->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
- ## users_roles_read
198
+ ## read
199
199
 
200
- > UserRoleResponse users_roles_read(auth_users_user_role_href, opts)
200
+ > UserRoleResponse 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.users_roles_read(auth_users_user_role_href, opts)
227
+ result = api_instance.read(auth_users_user_role_href, opts)
228
228
  p result
229
229
  rescue PulpcoreClient::ApiError => e
230
- puts "Exception when calling UsersRolesApi->users_roles_read: #{e}"
230
+ puts "Exception when calling UsersRolesApi->read: #{e}"
231
231
  end
232
232
  ```
233
233
 
data/docs/WorkersApi.md CHANGED
@@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
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
7
+ [**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List workers
8
+ [**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect a worker
9
9
 
10
10
 
11
11
 
12
- ## workers_list
12
+ ## list
13
13
 
14
- > PaginatedWorkerResponseList workers_list(opts)
14
+ > PaginatedWorkerResponseList 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.workers_list(opts)
56
+ result = api_instance.list(opts)
57
57
  p result
58
58
  rescue PulpcoreClient::ApiError => e
59
- puts "Exception when calling WorkersApi->workers_list: #{e}"
59
+ puts "Exception when calling WorkersApi->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
- ## workers_read
101
+ ## read
102
102
 
103
- > WorkerResponse workers_read(worker_href, opts)
103
+ > WorkerResponse 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.workers_read(worker_href, opts)
130
+ result = api_instance.read(worker_href, opts)
131
131
  p result
132
132
  rescue PulpcoreClient::ApiError => e
133
- puts "Exception when calling WorkersApi->workers_read: #{e}"
133
+ puts "Exception when calling WorkersApi->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 access_policies_list(opts = {})
38
- data, _status_code, _headers = access_policies_list_with_http_info(opts)
37
+ def list(opts = {})
38
+ data, _status_code, _headers = 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 access_policies_list_with_http_info(opts = {})
57
+ def list_with_http_info(opts = {})
58
58
  if @api_client.config.debugging
59
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_list ...'
59
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.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#access_policies_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
110
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#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 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)
121
+ def partial_update(access_policy_href, patched_access_policy, opts = {})
122
+ data, _status_code, _headers = 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 access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
132
+ def 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.access_policies_partial_update ...'
134
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.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.access_policies_partial_update"
138
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.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.access_policies_partial_update"
142
+ fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.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#access_policies_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
180
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#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 access_policies_read(access_policy_href, opts = {})
193
- data, _status_code, _headers = access_policies_read_with_http_info(access_policy_href, opts)
192
+ def read(access_policy_href, opts = {})
193
+ data, _status_code, _headers = 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 access_policies_read_with_http_info(access_policy_href, opts = {})
204
+ def read_with_http_info(access_policy_href, opts = {})
205
205
  if @api_client.config.debugging
206
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_read ...'
206
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.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.access_policies_read"
210
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.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#access_policies_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
248
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#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 access_policies_reset(access_policy_href, opts = {})
258
- data, _status_code, _headers = access_policies_reset_with_http_info(access_policy_href, opts)
257
+ def reset(access_policy_href, opts = {})
258
+ data, _status_code, _headers = 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 access_policies_reset_with_http_info(access_policy_href, opts = {})
266
+ def reset_with_http_info(access_policy_href, opts = {})
267
267
  if @api_client.config.debugging
268
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_reset ...'
268
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.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.access_policies_reset"
272
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.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#access_policies_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#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 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)
319
+ def update(access_policy_href, access_policy, opts = {})
320
+ data, _status_code, _headers = 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 access_policies_update_with_http_info(access_policy_href, access_policy, opts = {})
330
+ def 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.access_policies_update ...'
332
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.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.access_policies_update"
336
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.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.access_policies_update"
340
+ fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.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#access_policies_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
379
379
  end
380
380
  return data, status_code, headers
381
381
  end