pulpcore_client 3.28.30 → 3.28.32

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 (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +154 -156
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactDistributionResponse.md +9 -9
  5. data/docs/ArtifactsApi.md +20 -20
  6. data/docs/ContentApi.md +5 -5
  7. data/docs/ContentguardsApi.md +5 -5
  8. data/docs/ContentguardsContentRedirectApi.md +50 -50
  9. data/docs/ContentguardsRbacApi.md +50 -50
  10. data/docs/DistributionsApi.md +5 -5
  11. data/docs/DistributionsArtifactsApi.md +10 -10
  12. data/docs/DomainsApi.md +30 -30
  13. data/docs/ExportersFilesystemApi.md +30 -30
  14. data/docs/ExportersFilesystemExportsApi.md +20 -20
  15. data/docs/ExportersPulpApi.md +30 -30
  16. data/docs/ExportersPulpExportsApi.md +20 -20
  17. data/docs/GroupsApi.md +50 -50
  18. data/docs/GroupsRolesApi.md +20 -20
  19. data/docs/GroupsUsersApi.md +15 -15
  20. data/docs/ImportersPulpApi.md +30 -30
  21. data/docs/ImportersPulpImportsApi.md +20 -20
  22. data/docs/OrphansApi.md +5 -5
  23. data/docs/OrphansCleanupApi.md +5 -5
  24. data/docs/PublicationsApi.md +5 -5
  25. data/docs/RemotesApi.md +5 -5
  26. data/docs/RepairApi.md +5 -5
  27. data/docs/RepositoriesApi.md +5 -5
  28. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  29. data/docs/RepositoryVersionsApi.md +5 -5
  30. data/docs/RolesApi.md +30 -30
  31. data/docs/SigningServicesApi.md +10 -10
  32. data/docs/TaskGroupsApi.md +10 -10
  33. data/docs/TaskSchedulesApi.md +30 -30
  34. data/docs/TasksApi.md +95 -95
  35. data/docs/UploadsApi.md +50 -50
  36. data/docs/UpstreamPulpsApi.md +35 -35
  37. data/docs/UsersApi.md +30 -30
  38. data/docs/UsersRolesApi.md +20 -20
  39. data/docs/WorkersApi.md +10 -10
  40. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  41. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  42. data/lib/pulpcore_client/api/content_api.rb +5 -5
  43. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  44. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  45. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  46. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  47. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  48. data/lib/pulpcore_client/api/domains_api.rb +37 -37
  49. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  50. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  51. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  52. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  53. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  54. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  55. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  56. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  57. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  58. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  59. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  60. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  61. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  62. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  63. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  64. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  65. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  66. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  67. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  68. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  69. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  70. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  71. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  72. data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
  73. data/lib/pulpcore_client/api/users_api.rb +37 -37
  74. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  75. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  76. data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
  77. data/lib/pulpcore_client/version.rb +1 -1
  78. data/lib/pulpcore_client.rb +0 -2
  79. data/spec/api/access_policies_api_spec.rb +10 -10
  80. data/spec/api/artifacts_api_spec.rb +8 -8
  81. data/spec/api/content_api_spec.rb +2 -2
  82. data/spec/api/contentguards_api_spec.rb +2 -2
  83. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  84. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  85. data/spec/api/distributions_api_spec.rb +2 -2
  86. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  87. data/spec/api/domains_api_spec.rb +12 -12
  88. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  89. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  90. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  91. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  92. data/spec/api/groups_api_spec.rb +20 -20
  93. data/spec/api/groups_roles_api_spec.rb +8 -8
  94. data/spec/api/groups_users_api_spec.rb +6 -6
  95. data/spec/api/importers_pulp_api_spec.rb +12 -12
  96. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  97. data/spec/api/orphans_api_spec.rb +2 -2
  98. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  99. data/spec/api/publications_api_spec.rb +2 -2
  100. data/spec/api/remotes_api_spec.rb +2 -2
  101. data/spec/api/repair_api_spec.rb +2 -2
  102. data/spec/api/repositories_api_spec.rb +2 -2
  103. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  104. data/spec/api/repository_versions_api_spec.rb +2 -2
  105. data/spec/api/roles_api_spec.rb +12 -12
  106. data/spec/api/signing_services_api_spec.rb +4 -4
  107. data/spec/api/task_groups_api_spec.rb +4 -4
  108. data/spec/api/task_schedules_api_spec.rb +12 -12
  109. data/spec/api/tasks_api_spec.rb +29 -29
  110. data/spec/api/uploads_api_spec.rb +20 -20
  111. data/spec/api/upstream_pulps_api_spec.rb +14 -14
  112. data/spec/api/users_api_spec.rb +12 -12
  113. data/spec/api/users_roles_api_spec.rb +8 -8
  114. data/spec/api/workers_api_spec.rb +4 -4
  115. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  116. metadata +140 -148
  117. data/docs/DocsApiJsonApi.md +0 -61
  118. data/docs/DocsApiYamlApi.md +0 -61
  119. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  120. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  121. data/spec/api/docs_api_json_api_spec.rb +0 -48
  122. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -36,8 +36,8 @@ module PulpcoreClient
36
36
  # @option opts [Array<String>] :fields A list of fields to include in the response.
37
37
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
38
38
  # @return [PaginatedAccessPolicyResponseList]
39
- def access_policies_list(opts = {})
40
- data, _status_code, _headers = access_policies_list_with_http_info(opts)
39
+ def list(opts = {})
40
+ data, _status_code, _headers = list_with_http_info(opts)
41
41
  data
42
42
  end
43
43
 
@@ -58,9 +58,9 @@ module PulpcoreClient
58
58
  # @option opts [Array<String>] :fields A list of fields to include in the response.
59
59
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
60
60
  # @return [Array<(PaginatedAccessPolicyResponseList, Integer, Hash)>] PaginatedAccessPolicyResponseList data, response status code and response headers
61
- def access_policies_list_with_http_info(opts = {})
61
+ def list_with_http_info(opts = {})
62
62
  if @api_client.config.debugging
63
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_list ...'
63
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.list ...'
64
64
  end
65
65
  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"]
66
66
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -113,7 +113,7 @@ module PulpcoreClient
113
113
 
114
114
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
115
115
  if @api_client.config.debugging
116
- @api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
116
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
117
117
  end
118
118
  return data, status_code, headers
119
119
  end
@@ -124,8 +124,8 @@ module PulpcoreClient
124
124
  # @param patched_access_policy [PatchedAccessPolicy]
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @return [AccessPolicyResponse]
127
- def access_policies_partial_update(access_policy_href, patched_access_policy, opts = {})
128
- data, _status_code, _headers = access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
127
+ def partial_update(access_policy_href, patched_access_policy, opts = {})
128
+ data, _status_code, _headers = partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
129
129
  data
130
130
  end
131
131
 
@@ -135,17 +135,17 @@ module PulpcoreClient
135
135
  # @param patched_access_policy [PatchedAccessPolicy]
136
136
  # @param [Hash] opts the optional parameters
137
137
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
138
- def access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
138
+ def partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
139
139
  if @api_client.config.debugging
140
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_partial_update ...'
140
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.partial_update ...'
141
141
  end
142
142
  # verify the required parameter 'access_policy_href' is set
143
143
  if @api_client.config.client_side_validation && access_policy_href.nil?
144
- fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_partial_update"
144
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.partial_update"
145
145
  end
146
146
  # verify the required parameter 'patched_access_policy' is set
147
147
  if @api_client.config.client_side_validation && patched_access_policy.nil?
148
- fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.access_policies_partial_update"
148
+ fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.partial_update"
149
149
  end
150
150
  # resource path
151
151
  local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
@@ -183,7 +183,7 @@ module PulpcoreClient
183
183
 
184
184
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
185
185
  if @api_client.config.debugging
186
- @api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
186
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
187
187
  end
188
188
  return data, status_code, headers
189
189
  end
@@ -195,8 +195,8 @@ module PulpcoreClient
195
195
  # @option opts [Array<String>] :fields A list of fields to include in the response.
196
196
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
197
197
  # @return [AccessPolicyResponse]
198
- def access_policies_read(access_policy_href, opts = {})
199
- data, _status_code, _headers = access_policies_read_with_http_info(access_policy_href, opts)
198
+ def read(access_policy_href, opts = {})
199
+ data, _status_code, _headers = read_with_http_info(access_policy_href, opts)
200
200
  data
201
201
  end
202
202
 
@@ -207,13 +207,13 @@ module PulpcoreClient
207
207
  # @option opts [Array<String>] :fields A list of fields to include in the response.
208
208
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
209
209
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
210
- def access_policies_read_with_http_info(access_policy_href, opts = {})
210
+ def read_with_http_info(access_policy_href, opts = {})
211
211
  if @api_client.config.debugging
212
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_read ...'
212
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.read ...'
213
213
  end
214
214
  # verify the required parameter 'access_policy_href' is set
215
215
  if @api_client.config.client_side_validation && access_policy_href.nil?
216
- fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_read"
216
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.read"
217
217
  end
218
218
  # resource path
219
219
  local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
@@ -251,7 +251,7 @@ module PulpcoreClient
251
251
 
252
252
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
253
253
  if @api_client.config.debugging
254
- @api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
254
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
255
255
  end
256
256
  return data, status_code, headers
257
257
  end
@@ -260,8 +260,8 @@ module PulpcoreClient
260
260
  # @param access_policy_href [String]
261
261
  # @param [Hash] opts the optional parameters
262
262
  # @return [AccessPolicyResponse]
263
- def access_policies_reset(access_policy_href, opts = {})
264
- data, _status_code, _headers = access_policies_reset_with_http_info(access_policy_href, opts)
263
+ def reset(access_policy_href, opts = {})
264
+ data, _status_code, _headers = reset_with_http_info(access_policy_href, opts)
265
265
  data
266
266
  end
267
267
 
@@ -269,13 +269,13 @@ module PulpcoreClient
269
269
  # @param access_policy_href [String]
270
270
  # @param [Hash] opts the optional parameters
271
271
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
272
- def access_policies_reset_with_http_info(access_policy_href, opts = {})
272
+ def reset_with_http_info(access_policy_href, opts = {})
273
273
  if @api_client.config.debugging
274
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_reset ...'
274
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.reset ...'
275
275
  end
276
276
  # verify the required parameter 'access_policy_href' is set
277
277
  if @api_client.config.client_side_validation && access_policy_href.nil?
278
- fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_reset"
278
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.reset"
279
279
  end
280
280
  # resource path
281
281
  local_var_path = '{access_policy_href}reset/'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
@@ -311,7 +311,7 @@ module PulpcoreClient
311
311
 
312
312
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
313
313
  if @api_client.config.debugging
314
- @api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
314
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
315
  end
316
316
  return data, status_code, headers
317
317
  end
@@ -322,8 +322,8 @@ module PulpcoreClient
322
322
  # @param access_policy [AccessPolicy]
323
323
  # @param [Hash] opts the optional parameters
324
324
  # @return [AccessPolicyResponse]
325
- def access_policies_update(access_policy_href, access_policy, opts = {})
326
- data, _status_code, _headers = access_policies_update_with_http_info(access_policy_href, access_policy, opts)
325
+ def update(access_policy_href, access_policy, opts = {})
326
+ data, _status_code, _headers = update_with_http_info(access_policy_href, access_policy, opts)
327
327
  data
328
328
  end
329
329
 
@@ -333,17 +333,17 @@ module PulpcoreClient
333
333
  # @param access_policy [AccessPolicy]
334
334
  # @param [Hash] opts the optional parameters
335
335
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
336
- def access_policies_update_with_http_info(access_policy_href, access_policy, opts = {})
336
+ def update_with_http_info(access_policy_href, access_policy, opts = {})
337
337
  if @api_client.config.debugging
338
- @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_update ...'
338
+ @api_client.config.logger.debug 'Calling API: AccessPoliciesApi.update ...'
339
339
  end
340
340
  # verify the required parameter 'access_policy_href' is set
341
341
  if @api_client.config.client_side_validation && access_policy_href.nil?
342
- fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_update"
342
+ fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.update"
343
343
  end
344
344
  # verify the required parameter 'access_policy' is set
345
345
  if @api_client.config.client_side_validation && access_policy.nil?
346
- fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.access_policies_update"
346
+ fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.update"
347
347
  end
348
348
  # resource path
349
349
  local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
@@ -381,7 +381,7 @@ module PulpcoreClient
381
381
 
382
382
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
383
383
  if @api_client.config.debugging
384
- @api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
384
+ @api_client.config.logger.debug "API called: AccessPoliciesApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
385
385
  end
386
386
  return data, status_code, headers
387
387
  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
@@ -207,8 +207,8 @@ module PulpcoreClient
207
207
  # @option opts [Array<String>] :fields A list of fields to include in the response.
208
208
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
209
209
  # @return [PaginatedArtifactResponseList]
210
- def artifacts_list(opts = {})
211
- data, _status_code, _headers = artifacts_list_with_http_info(opts)
210
+ def list(opts = {})
211
+ data, _status_code, _headers = list_with_http_info(opts)
212
212
  data
213
213
  end
214
214
 
@@ -230,9 +230,9 @@ module PulpcoreClient
230
230
  # @option opts [Array<String>] :fields A list of fields to include in the response.
231
231
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
232
232
  # @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
233
- def artifacts_list_with_http_info(opts = {})
233
+ def list_with_http_info(opts = {})
234
234
  if @api_client.config.debugging
235
- @api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_list ...'
235
+ @api_client.config.logger.debug 'Calling API: ArtifactsApi.list ...'
236
236
  end
237
237
  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"]
238
238
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -286,7 +286,7 @@ module PulpcoreClient
286
286
 
287
287
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
288
288
  if @api_client.config.debugging
289
- @api_client.config.logger.debug "API called: ArtifactsApi#artifacts_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
289
+ @api_client.config.logger.debug "API called: ArtifactsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
290
290
  end
291
291
  return data, status_code, headers
292
292
  end
@@ -298,8 +298,8 @@ module PulpcoreClient
298
298
  # @option opts [Array<String>] :fields A list of fields to include in the response.
299
299
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
300
300
  # @return [ArtifactResponse]
301
- def artifacts_read(artifact_href, opts = {})
302
- data, _status_code, _headers = artifacts_read_with_http_info(artifact_href, opts)
301
+ def read(artifact_href, opts = {})
302
+ data, _status_code, _headers = read_with_http_info(artifact_href, opts)
303
303
  data
304
304
  end
305
305
 
@@ -310,13 +310,13 @@ module PulpcoreClient
310
310
  # @option opts [Array<String>] :fields A list of fields to include in the response.
311
311
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
312
312
  # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
313
- def artifacts_read_with_http_info(artifact_href, opts = {})
313
+ def read_with_http_info(artifact_href, opts = {})
314
314
  if @api_client.config.debugging
315
- @api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_read ...'
315
+ @api_client.config.logger.debug 'Calling API: ArtifactsApi.read ...'
316
316
  end
317
317
  # verify the required parameter 'artifact_href' is set
318
318
  if @api_client.config.client_side_validation && artifact_href.nil?
319
- fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_read"
319
+ fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.read"
320
320
  end
321
321
  # resource path
322
322
  local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
@@ -354,7 +354,7 @@ module PulpcoreClient
354
354
 
355
355
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
356
356
  if @api_client.config.debugging
357
- @api_client.config.logger.debug "API called: ArtifactsApi#artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
357
+ @api_client.config.logger.debug "API called: ArtifactsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
358
358
  end
359
359
  return data, status_code, headers
360
360
  end
@@ -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 [PaginatedMultipleArtifactContentResponseList]
37
- def content_list(opts = {})
38
- data, _status_code, _headers = content_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<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
57
- def content_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: ContentApi.content_list ...'
59
+ @api_client.config.logger.debug 'Calling API: ContentApi.list ...'
60
60
  end
61
61
  allowable_values = ["-pk", "pk"]
62
62
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -111,7 +111,7 @@ module PulpcoreClient
111
111
 
112
112
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
113
113
  if @api_client.config.debugging
114
- @api_client.config.logger.debug "API called: ContentApi#content_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
114
+ @api_client.config.logger.debug "API called: ContentApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
115
115
  end
116
116
  return data, status_code, headers
117
117
  end
@@ -36,8 +36,8 @@ module PulpcoreClient
36
36
  # @option opts [Array<String>] :fields A list of fields to include in the response.
37
37
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
38
38
  # @return [PaginatedContentGuardResponseList]
39
- def contentguards_list(opts = {})
40
- data, _status_code, _headers = contentguards_list_with_http_info(opts)
39
+ def list(opts = {})
40
+ data, _status_code, _headers = list_with_http_info(opts)
41
41
  data
42
42
  end
43
43
 
@@ -58,9 +58,9 @@ module PulpcoreClient
58
58
  # @option opts [Array<String>] :fields A list of fields to include in the response.
59
59
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
60
60
  # @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
61
- def contentguards_list_with_http_info(opts = {})
61
+ def list_with_http_info(opts = {})
62
62
  if @api_client.config.debugging
63
- @api_client.config.logger.debug 'Calling API: ContentguardsApi.contentguards_list ...'
63
+ @api_client.config.logger.debug 'Calling API: ContentguardsApi.list ...'
64
64
  end
65
65
  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"]
66
66
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -117,7 +117,7 @@ module PulpcoreClient
117
117
 
118
118
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
119
119
  if @api_client.config.debugging
120
- @api_client.config.logger.debug "API called: ContentguardsApi#contentguards_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
120
+ @api_client.config.logger.debug "API called: ContentguardsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
121
  end
122
122
  return data, status_code, headers
123
123
  end