pulpcore_client 3.21.32 → 3.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +147 -143
  3. data/docs/AccessPoliciesApi.md +28 -28
  4. data/docs/ArtifactDistributionResponse.md +29 -0
  5. data/docs/ArtifactsApi.md +21 -21
  6. data/docs/ContentApi.md +6 -6
  7. data/docs/ContentSettingsResponse.md +19 -0
  8. data/docs/ContentguardsApi.md +8 -8
  9. data/docs/ContentguardsContentRedirectApi.md +53 -53
  10. data/docs/ContentguardsRbacApi.md +53 -53
  11. data/docs/DistributionResponse.md +1 -1
  12. data/docs/DistributionsApi.md +11 -11
  13. data/docs/DistributionsArtifactsApi.md +154 -0
  14. data/docs/ExportersFilesystemApi.md +33 -33
  15. data/docs/ExportersFilesystemExportsApi.md +21 -21
  16. data/docs/ExportersPulpApi.md +33 -33
  17. data/docs/ExportersPulpExportsApi.md +21 -21
  18. data/docs/FilesystemExport.md +1 -3
  19. data/docs/GroupsApi.md +51 -51
  20. data/docs/GroupsRolesApi.md +21 -21
  21. data/docs/GroupsUsersApi.md +16 -16
  22. data/docs/ImportersPulpApi.md +33 -33
  23. data/docs/ImportersPulpImportCheckApi.md +1 -1
  24. data/docs/ImportersPulpImportsApi.md +21 -21
  25. data/docs/OrphansApi.md +6 -6
  26. data/docs/OrphansCleanupApi.md +6 -6
  27. data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
  28. data/docs/PublicationsApi.md +8 -8
  29. data/docs/RemoteResponse.md +4 -2
  30. data/docs/RemoteResponseHiddenFields.md +19 -0
  31. data/docs/RemotesApi.md +10 -10
  32. data/docs/RepairApi.md +6 -6
  33. data/docs/RepositoriesApi.md +9 -9
  34. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  35. data/docs/RepositoryResponse.md +1 -1
  36. data/docs/RepositoryVersionsApi.md +10 -10
  37. data/docs/RolesApi.md +31 -31
  38. data/docs/SigningServicesApi.md +15 -13
  39. data/docs/StatusApi.md +1 -1
  40. data/docs/StatusResponse.md +3 -1
  41. data/docs/TaskGroupsApi.md +11 -13
  42. data/docs/TaskSchedulesApi.md +35 -35
  43. data/docs/TasksApi.md +128 -114
  44. data/docs/UploadsApi.md +61 -51
  45. data/docs/UserResponse.md +3 -1
  46. data/docs/UsersApi.md +31 -31
  47. data/docs/UsersRolesApi.md +21 -21
  48. data/docs/WorkersApi.md +15 -15
  49. data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
  50. data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
  51. data/lib/pulpcore_client/api/content_api.rb +5 -5
  52. data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
  53. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
  54. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
  55. data/lib/pulpcore_client/api/distributions_api.rb +12 -12
  56. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
  57. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
  58. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  59. data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
  60. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  61. data/lib/pulpcore_client/api/groups_api.rb +64 -64
  62. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  63. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  64. data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
  65. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  66. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  67. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  68. data/lib/pulpcore_client/api/publications_api.rb +8 -8
  69. data/lib/pulpcore_client/api/remotes_api.rb +10 -10
  70. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  71. data/lib/pulpcore_client/api/repositories_api.rb +8 -8
  72. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  73. data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
  74. data/lib/pulpcore_client/api/roles_api.rb +38 -38
  75. data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
  76. data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
  77. data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
  78. data/lib/pulpcore_client/api/tasks_api.rb +159 -138
  79. data/lib/pulpcore_client/api/uploads_api.rb +84 -65
  80. data/lib/pulpcore_client/api/users_api.rb +38 -38
  81. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  82. data/lib/pulpcore_client/api/workers_api.rb +16 -16
  83. data/lib/pulpcore_client/configuration.rb +3 -3
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
  85. data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
  86. data/lib/pulpcore_client/models/distribution_response.rb +4 -2
  87. data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
  88. data/lib/pulpcore_client/models/group_role.rb +19 -0
  89. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
  90. data/lib/pulpcore_client/models/remote_response.rb +41 -27
  91. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
  92. data/lib/pulpcore_client/models/repository_response.rb +4 -2
  93. data/lib/pulpcore_client/models/status_response.rb +19 -4
  94. data/lib/pulpcore_client/models/user_response.rb +16 -4
  95. data/lib/pulpcore_client/models/user_role.rb +19 -0
  96. data/lib/pulpcore_client/version.rb +1 -1
  97. data/lib/pulpcore_client.rb +5 -2
  98. data/spec/api/access_policies_api_spec.rb +11 -11
  99. data/spec/api/artifacts_api_spec.rb +8 -8
  100. data/spec/api/content_api_spec.rb +2 -2
  101. data/spec/api/contentguards_api_spec.rb +3 -3
  102. data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
  103. data/spec/api/contentguards_rbac_api_spec.rb +21 -21
  104. data/spec/api/distributions_api_spec.rb +5 -5
  105. data/spec/api/distributions_artifacts_api_spec.rb +76 -0
  106. data/spec/api/exporters_filesystem_api_spec.rb +13 -13
  107. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  108. data/spec/api/exporters_pulp_api_spec.rb +13 -13
  109. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  110. data/spec/api/groups_api_spec.rb +20 -20
  111. data/spec/api/groups_roles_api_spec.rb +8 -8
  112. data/spec/api/groups_users_api_spec.rb +6 -6
  113. data/spec/api/importers_pulp_api_spec.rb +13 -13
  114. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  115. data/spec/api/orphans_api_spec.rb +2 -2
  116. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  117. data/spec/api/publications_api_spec.rb +3 -3
  118. data/spec/api/remotes_api_spec.rb +4 -4
  119. data/spec/api/repair_api_spec.rb +2 -2
  120. data/spec/api/repositories_api_spec.rb +3 -3
  121. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  122. data/spec/api/repository_versions_api_spec.rb +4 -4
  123. data/spec/api/roles_api_spec.rb +12 -12
  124. data/spec/api/signing_services_api_spec.rb +6 -5
  125. data/spec/api/task_groups_api_spec.rb +4 -5
  126. data/spec/api/task_schedules_api_spec.rb +14 -14
  127. data/spec/api/tasks_api_spec.rb +45 -38
  128. data/spec/api/uploads_api_spec.rb +25 -20
  129. data/spec/api/users_api_spec.rb +12 -12
  130. data/spec/api/users_roles_api_spec.rb +8 -8
  131. data/spec/api/workers_api_spec.rb +6 -6
  132. data/spec/configuration_spec.rb +3 -3
  133. data/spec/models/artifact_distribution_response_spec.rb +77 -0
  134. data/spec/models/content_settings_response_spec.rb +47 -0
  135. data/spec/models/filesystem_export_spec.rb +0 -6
  136. data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
  137. data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
  138. data/spec/models/remote_response_spec.rb +6 -0
  139. data/spec/models/status_response_spec.rb +6 -0
  140. data/spec/models/user_response_spec.rb +6 -0
  141. metadata +162 -150
  142. data/docs/DocsApiJsonApi.md +0 -61
  143. data/docs/DocsApiYamlApi.md +0 -61
  144. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  145. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  146. data/spec/api/docs_api_json_api_spec.rb +0 -48
  147. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -22,7 +22,7 @@ module PulpcoreClient
22
22
  # List access policys
23
23
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [Boolean] :customized
25
+ # @option opts [Boolean] :customized Filter results where customized matches value
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
27
  # @option opts [Integer] :offset The initial index from which to return the results.
28
28
  # @option opts [Array<String>] :ordering Ordering
@@ -34,15 +34,15 @@ 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
 
42
42
  # List access policys
43
43
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
44
44
  # @param [Hash] opts the optional parameters
45
- # @option opts [Boolean] :customized
45
+ # @option opts [Boolean] :customized Filter results where customized matches value
46
46
  # @option opts [Integer] :limit Number of results to return per page.
47
47
  # @option opts [Integer] :offset The initial index from which to return the results.
48
48
  # @option opts [Array<String>] :ordering Ordering
@@ -54,11 +54,11 @@ 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
- 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"]
61
+ allowable_values = ["-creation_hooks", "-customized", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-queryset_scoping", "-statements", "-viewset_name", "creation_hooks", "customized", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "queryset_scoping", "statements", "viewset_name"]
62
62
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
63
63
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
64
64
  end
@@ -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
@@ -31,8 +31,8 @@ module PulpcoreClient
31
31
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
32
32
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
33
33
  # @return [ArtifactResponse]
34
- def artifacts_create(file, opts = {})
35
- data, _status_code, _headers = artifacts_create_with_http_info(file, opts)
34
+ def create(file, opts = {})
35
+ data, _status_code, _headers = create_with_http_info(file, opts)
36
36
  data
37
37
  end
38
38
 
@@ -48,36 +48,36 @@ module PulpcoreClient
48
48
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
49
49
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
50
50
  # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
51
- def artifacts_create_with_http_info(file, opts = {})
51
+ def create_with_http_info(file, opts = {})
52
52
  if @api_client.config.debugging
53
- @api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_create ...'
53
+ @api_client.config.logger.debug 'Calling API: ArtifactsApi.create ...'
54
54
  end
55
55
  # verify the required parameter 'file' is set
56
56
  if @api_client.config.client_side_validation && file.nil?
57
- fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.artifacts_create"
57
+ fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.create"
58
58
  end
59
59
  if @api_client.config.client_side_validation && !opts[:'md5'].nil? && opts[:'md5'].to_s.length < 1
60
- fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
60
+ fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
61
61
  end
62
62
 
63
63
  if @api_client.config.client_side_validation && !opts[:'sha1'].nil? && opts[:'sha1'].to_s.length < 1
64
- fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
64
+ fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
65
65
  end
66
66
 
67
67
  if @api_client.config.client_side_validation && !opts[:'sha224'].nil? && opts[:'sha224'].to_s.length < 1
68
- fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
68
+ fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
69
69
  end
70
70
 
71
71
  if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
72
- fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
72
+ fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
73
73
  end
74
74
 
75
75
  if @api_client.config.client_side_validation && !opts[:'sha384'].nil? && opts[:'sha384'].to_s.length < 1
76
- fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
76
+ fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
77
77
  end
78
78
 
79
79
  if @api_client.config.client_side_validation && !opts[:'sha512'].nil? && opts[:'sha512'].to_s.length < 1
80
- fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
80
+ fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
81
81
  end
82
82
 
83
83
  # resource path
@@ -124,7 +124,7 @@ module PulpcoreClient
124
124
 
125
125
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
126
126
  if @api_client.config.debugging
127
- @api_client.config.logger.debug "API called: ArtifactsApi#artifacts_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
+ @api_client.config.logger.debug "API called: ArtifactsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
128
128
  end
129
129
  return data, status_code, headers
130
130
  end
@@ -134,8 +134,8 @@ module PulpcoreClient
134
134
  # @param artifact_href [String]
135
135
  # @param [Hash] opts the optional parameters
136
136
  # @return [nil]
137
- def artifacts_delete(artifact_href, opts = {})
138
- artifacts_delete_with_http_info(artifact_href, opts)
137
+ def delete(artifact_href, opts = {})
138
+ delete_with_http_info(artifact_href, opts)
139
139
  nil
140
140
  end
141
141
 
@@ -144,13 +144,13 @@ module PulpcoreClient
144
144
  # @param artifact_href [String]
145
145
  # @param [Hash] opts the optional parameters
146
146
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
147
- def artifacts_delete_with_http_info(artifact_href, opts = {})
147
+ def delete_with_http_info(artifact_href, opts = {})
148
148
  if @api_client.config.debugging
149
- @api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_delete ...'
149
+ @api_client.config.logger.debug 'Calling API: ArtifactsApi.delete ...'
150
150
  end
151
151
  # verify the required parameter 'artifact_href' is set
152
152
  if @api_client.config.client_side_validation && artifact_href.nil?
153
- fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_delete"
153
+ fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.delete"
154
154
  end
155
155
  # resource path
156
156
  local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
@@ -184,7 +184,7 @@ module PulpcoreClient
184
184
 
185
185
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
186
186
  if @api_client.config.debugging
187
- @api_client.config.logger.debug "API called: ArtifactsApi#artifacts_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
187
+ @api_client.config.logger.debug "API called: ArtifactsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
188
188
  end
189
189
  return data, status_code, headers
190
190
  end
@@ -205,8 +205,8 @@ module PulpcoreClient
205
205
  # @option opts [Array<String>] :fields A list of fields to include in the response.
206
206
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
207
207
  # @return [PaginatedArtifactResponseList]
208
- def artifacts_list(opts = {})
209
- data, _status_code, _headers = artifacts_list_with_http_info(opts)
208
+ def list(opts = {})
209
+ data, _status_code, _headers = list_with_http_info(opts)
210
210
  data
211
211
  end
212
212
 
@@ -226,11 +226,11 @@ module PulpcoreClient
226
226
  # @option opts [Array<String>] :fields A list of fields to include in the response.
227
227
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
228
228
  # @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
229
- def artifacts_list_with_http_info(opts = {})
229
+ def list_with_http_info(opts = {})
230
230
  if @api_client.config.debugging
231
- @api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_list ...'
231
+ @api_client.config.logger.debug 'Calling API: ArtifactsApi.list ...'
232
232
  end
233
- allowable_values = ["-content", "-content_memberships", "-file", "-group_roles", "-md5", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-sha1", "-sha224", "-sha256", "-sha384", "-sha512", "-size", "-timestamp_of_interest", "-user_roles", "content", "content_memberships", "file", "group_roles", "md5", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "sha1", "sha224", "sha256", "sha384", "sha512", "size", "timestamp_of_interest", "user_roles"]
233
+ allowable_values = ["-file", "-md5", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-sha1", "-sha224", "-sha256", "-sha384", "-sha512", "-size", "-timestamp_of_interest", "file", "md5", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "sha1", "sha224", "sha256", "sha384", "sha512", "size", "timestamp_of_interest"]
234
234
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
235
235
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
236
236
  end
@@ -280,7 +280,7 @@ module PulpcoreClient
280
280
 
281
281
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
282
282
  if @api_client.config.debugging
283
- @api_client.config.logger.debug "API called: ArtifactsApi#artifacts_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
283
+ @api_client.config.logger.debug "API called: ArtifactsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
284
284
  end
285
285
  return data, status_code, headers
286
286
  end
@@ -292,8 +292,8 @@ module PulpcoreClient
292
292
  # @option opts [Array<String>] :fields A list of fields to include in the response.
293
293
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
294
294
  # @return [ArtifactResponse]
295
- def artifacts_read(artifact_href, opts = {})
296
- data, _status_code, _headers = artifacts_read_with_http_info(artifact_href, opts)
295
+ def read(artifact_href, opts = {})
296
+ data, _status_code, _headers = read_with_http_info(artifact_href, opts)
297
297
  data
298
298
  end
299
299
 
@@ -304,13 +304,13 @@ module PulpcoreClient
304
304
  # @option opts [Array<String>] :fields A list of fields to include in the response.
305
305
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
306
306
  # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
307
- def artifacts_read_with_http_info(artifact_href, opts = {})
307
+ def read_with_http_info(artifact_href, opts = {})
308
308
  if @api_client.config.debugging
309
- @api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_read ...'
309
+ @api_client.config.logger.debug 'Calling API: ArtifactsApi.read ...'
310
310
  end
311
311
  # verify the required parameter 'artifact_href' is set
312
312
  if @api_client.config.client_side_validation && artifact_href.nil?
313
- fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_read"
313
+ fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.read"
314
314
  end
315
315
  # resource path
316
316
  local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
@@ -348,7 +348,7 @@ module PulpcoreClient
348
348
 
349
349
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
350
350
  if @api_client.config.debugging
351
- @api_client.config.logger.debug "API called: ArtifactsApi#artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
351
+ @api_client.config.logger.debug "API called: ArtifactsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
352
352
  end
353
353
  return data, status_code, headers
354
354
  end
@@ -31,8 +31,8 @@ module PulpcoreClient
31
31
  # @option opts [Array<String>] :fields A list of fields to include in the response.
32
32
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedMultipleArtifactContentResponseList]
34
- def content_list(opts = {})
35
- data, _status_code, _headers = content_list_with_http_info(opts)
34
+ def list(opts = {})
35
+ data, _status_code, _headers = list_with_http_info(opts)
36
36
  data
37
37
  end
38
38
 
@@ -48,9 +48,9 @@ module PulpcoreClient
48
48
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
49
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
51
- def content_list_with_http_info(opts = {})
51
+ def list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
53
- @api_client.config.logger.debug 'Calling API: ContentApi.content_list ...'
53
+ @api_client.config.logger.debug 'Calling API: ContentApi.list ...'
54
54
  end
55
55
  allowable_values = ["-pk", "pk"]
56
56
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -98,7 +98,7 @@ module PulpcoreClient
98
98
 
99
99
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
100
100
  if @api_client.config.debugging
101
- @api_client.config.logger.debug "API called: ContentApi#content_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
101
+ @api_client.config.logger.debug "API called: ContentApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
102
102
  end
103
103
  return data, status_code, headers
104
104
  end
@@ -23,7 +23,7 @@ module PulpcoreClient
23
23
  # Endpoint to list all contentguards.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
- # @option opts [String] :name
26
+ # @option opts [String] :name Filter results where name matches value
27
27
  # @option opts [String] :name__contains Filter results where name contains value
28
28
  # @option opts [String] :name__icontains Filter results where name contains value
29
29
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -33,8 +33,8 @@ module PulpcoreClient
33
33
  # @option opts [Array<String>] :fields A list of fields to include in the response.
34
34
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
35
35
  # @return [PaginatedContentGuardResponseList]
36
- def contentguards_list(opts = {})
37
- data, _status_code, _headers = contentguards_list_with_http_info(opts)
36
+ def list(opts = {})
37
+ data, _status_code, _headers = list_with_http_info(opts)
38
38
  data
39
39
  end
40
40
 
@@ -42,7 +42,7 @@ module PulpcoreClient
42
42
  # Endpoint to list all contentguards.
43
43
  # @param [Hash] opts the optional parameters
44
44
  # @option opts [Integer] :limit Number of results to return per page.
45
- # @option opts [String] :name
45
+ # @option opts [String] :name Filter results where name matches value
46
46
  # @option opts [String] :name__contains Filter results where name contains value
47
47
  # @option opts [String] :name__icontains Filter results where name contains value
48
48
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -52,11 +52,11 @@ module PulpcoreClient
52
52
  # @option opts [Array<String>] :fields A list of fields to include in the response.
53
53
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
54
54
  # @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
55
- def contentguards_list_with_http_info(opts = {})
55
+ def list_with_http_info(opts = {})
56
56
  if @api_client.config.debugging
57
- @api_client.config.logger.debug 'Calling API: ContentguardsApi.contentguards_list ...'
57
+ @api_client.config.logger.debug 'Calling API: ContentguardsApi.list ...'
58
58
  end
59
- allowable_values = ["-basedistribution", "-core_contentredirectcontentguard", "-core_rbaccontentguard", "-description", "-distribution", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "basedistribution", "core_contentredirectcontentguard", "core_rbaccontentguard", "description", "distribution", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
59
+ allowable_values = ["-description", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "description", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
60
60
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
61
61
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
62
62
  end
@@ -104,7 +104,7 @@ module PulpcoreClient
104
104
 
105
105
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
106
106
  if @api_client.config.debugging
107
- @api_client.config.logger.debug "API called: ContentguardsApi#contentguards_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
107
+ @api_client.config.logger.debug "API called: ContentguardsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
108
108
  end
109
109
  return data, status_code, headers
110
110
  end