pulpcore_client 3.28.30 → 3.28.31

Sign up to get free protection for your applications and to get access to all the features.
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 +8 -8
  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 +31 -31
  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 +8 -8
  116. metadata +2 -10
  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
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param user [User]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [UserResponse]
27
- def users_create(user, opts = {})
28
- data, _status_code, _headers = users_create_with_http_info(user, opts)
27
+ def create(user, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(user, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param user [User]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
37
- def users_create_with_http_info(user, opts = {})
37
+ def create_with_http_info(user, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: UsersApi.users_create ...'
39
+ @api_client.config.logger.debug 'Calling API: UsersApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'user' is set
42
42
  if @api_client.config.client_side_validation && user.nil?
43
- fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.users_create"
43
+ fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/users/'
@@ -78,7 +78,7 @@ module PulpcoreClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: UsersApi#users_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: UsersApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -88,8 +88,8 @@ module PulpcoreClient
88
88
  # @param auth_user_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def users_delete(auth_user_href, opts = {})
92
- users_delete_with_http_info(auth_user_href, opts)
91
+ def delete(auth_user_href, opts = {})
92
+ delete_with_http_info(auth_user_href, opts)
93
93
  nil
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpcoreClient
98
98
  # @param auth_user_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
- def users_delete_with_http_info(auth_user_href, opts = {})
101
+ def delete_with_http_info(auth_user_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: UsersApi.users_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: UsersApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'auth_user_href' is set
106
106
  if @api_client.config.client_side_validation && auth_user_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_delete"
107
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -138,7 +138,7 @@ module PulpcoreClient
138
138
 
139
139
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
140
140
  if @api_client.config.debugging
141
- @api_client.config.logger.debug "API called: UsersApi#users_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: UsersApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -176,8 +176,8 @@ module PulpcoreClient
176
176
  # @option opts [Array<String>] :fields A list of fields to include in the response.
177
177
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
178
178
  # @return [PaginatedUserResponseList]
179
- def users_list(opts = {})
180
- data, _status_code, _headers = users_list_with_http_info(opts)
179
+ def list(opts = {})
180
+ data, _status_code, _headers = list_with_http_info(opts)
181
181
  data
182
182
  end
183
183
 
@@ -214,9 +214,9 @@ module PulpcoreClient
214
214
  # @option opts [Array<String>] :fields A list of fields to include in the response.
215
215
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
216
216
  # @return [Array<(PaginatedUserResponseList, Integer, Hash)>] PaginatedUserResponseList data, response status code and response headers
217
- def users_list_with_http_info(opts = {})
217
+ def list_with_http_info(opts = {})
218
218
  if @api_client.config.debugging
219
- @api_client.config.logger.debug 'Calling API: UsersApi.users_list ...'
219
+ @api_client.config.logger.debug 'Calling API: UsersApi.list ...'
220
220
  end
221
221
  allowable_values = ["-date_joined", "-email", "-first_name", "-id", "-is_active", "-is_staff", "-is_superuser", "-last_login", "-last_name", "-password", "-pk", "-username", "date_joined", "email", "first_name", "id", "is_active", "is_staff", "is_superuser", "last_login", "last_name", "password", "pk", "username"]
222
222
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -285,7 +285,7 @@ module PulpcoreClient
285
285
 
286
286
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
287
287
  if @api_client.config.debugging
288
- @api_client.config.logger.debug "API called: UsersApi#users_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
288
+ @api_client.config.logger.debug "API called: UsersApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
289
289
  end
290
290
  return data, status_code, headers
291
291
  end
@@ -296,8 +296,8 @@ module PulpcoreClient
296
296
  # @param patched_user [PatchedUser]
297
297
  # @param [Hash] opts the optional parameters
298
298
  # @return [UserResponse]
299
- def users_partial_update(auth_user_href, patched_user, opts = {})
300
- data, _status_code, _headers = users_partial_update_with_http_info(auth_user_href, patched_user, opts)
299
+ def partial_update(auth_user_href, patched_user, opts = {})
300
+ data, _status_code, _headers = partial_update_with_http_info(auth_user_href, patched_user, opts)
301
301
  data
302
302
  end
303
303
 
@@ -307,17 +307,17 @@ module PulpcoreClient
307
307
  # @param patched_user [PatchedUser]
308
308
  # @param [Hash] opts the optional parameters
309
309
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
310
- def users_partial_update_with_http_info(auth_user_href, patched_user, opts = {})
310
+ def partial_update_with_http_info(auth_user_href, patched_user, opts = {})
311
311
  if @api_client.config.debugging
312
- @api_client.config.logger.debug 'Calling API: UsersApi.users_partial_update ...'
312
+ @api_client.config.logger.debug 'Calling API: UsersApi.partial_update ...'
313
313
  end
314
314
  # verify the required parameter 'auth_user_href' is set
315
315
  if @api_client.config.client_side_validation && auth_user_href.nil?
316
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_partial_update"
316
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.partial_update"
317
317
  end
318
318
  # verify the required parameter 'patched_user' is set
319
319
  if @api_client.config.client_side_validation && patched_user.nil?
320
- fail ArgumentError, "Missing the required parameter 'patched_user' when calling UsersApi.users_partial_update"
320
+ fail ArgumentError, "Missing the required parameter 'patched_user' when calling UsersApi.partial_update"
321
321
  end
322
322
  # resource path
323
323
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -355,7 +355,7 @@ module PulpcoreClient
355
355
 
356
356
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
357
357
  if @api_client.config.debugging
358
- @api_client.config.logger.debug "API called: UsersApi#users_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
358
+ @api_client.config.logger.debug "API called: UsersApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
359
359
  end
360
360
  return data, status_code, headers
361
361
  end
@@ -367,8 +367,8 @@ module PulpcoreClient
367
367
  # @option opts [Array<String>] :fields A list of fields to include in the response.
368
368
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
369
369
  # @return [UserResponse]
370
- def users_read(auth_user_href, opts = {})
371
- data, _status_code, _headers = users_read_with_http_info(auth_user_href, opts)
370
+ def read(auth_user_href, opts = {})
371
+ data, _status_code, _headers = read_with_http_info(auth_user_href, opts)
372
372
  data
373
373
  end
374
374
 
@@ -379,13 +379,13 @@ module PulpcoreClient
379
379
  # @option opts [Array<String>] :fields A list of fields to include in the response.
380
380
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
381
381
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
382
- def users_read_with_http_info(auth_user_href, opts = {})
382
+ def read_with_http_info(auth_user_href, opts = {})
383
383
  if @api_client.config.debugging
384
- @api_client.config.logger.debug 'Calling API: UsersApi.users_read ...'
384
+ @api_client.config.logger.debug 'Calling API: UsersApi.read ...'
385
385
  end
386
386
  # verify the required parameter 'auth_user_href' is set
387
387
  if @api_client.config.client_side_validation && auth_user_href.nil?
388
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_read"
388
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.read"
389
389
  end
390
390
  # resource path
391
391
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -423,7 +423,7 @@ module PulpcoreClient
423
423
 
424
424
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
425
425
  if @api_client.config.debugging
426
- @api_client.config.logger.debug "API called: UsersApi#users_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
426
+ @api_client.config.logger.debug "API called: UsersApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
427
427
  end
428
428
  return data, status_code, headers
429
429
  end
@@ -434,8 +434,8 @@ module PulpcoreClient
434
434
  # @param user [User]
435
435
  # @param [Hash] opts the optional parameters
436
436
  # @return [UserResponse]
437
- def users_update(auth_user_href, user, opts = {})
438
- data, _status_code, _headers = users_update_with_http_info(auth_user_href, user, opts)
437
+ def update(auth_user_href, user, opts = {})
438
+ data, _status_code, _headers = update_with_http_info(auth_user_href, user, opts)
439
439
  data
440
440
  end
441
441
 
@@ -445,17 +445,17 @@ module PulpcoreClient
445
445
  # @param user [User]
446
446
  # @param [Hash] opts the optional parameters
447
447
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
448
- def users_update_with_http_info(auth_user_href, user, opts = {})
448
+ def update_with_http_info(auth_user_href, user, opts = {})
449
449
  if @api_client.config.debugging
450
- @api_client.config.logger.debug 'Calling API: UsersApi.users_update ...'
450
+ @api_client.config.logger.debug 'Calling API: UsersApi.update ...'
451
451
  end
452
452
  # verify the required parameter 'auth_user_href' is set
453
453
  if @api_client.config.client_side_validation && auth_user_href.nil?
454
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_update"
454
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.update"
455
455
  end
456
456
  # verify the required parameter 'user' is set
457
457
  if @api_client.config.client_side_validation && user.nil?
458
- fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.users_update"
458
+ fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.update"
459
459
  end
460
460
  # resource path
461
461
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -493,7 +493,7 @@ module PulpcoreClient
493
493
 
494
494
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
495
495
  if @api_client.config.debugging
496
- @api_client.config.logger.debug "API called: UsersApi#users_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
496
+ @api_client.config.logger.debug "API called: UsersApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
497
497
  end
498
498
  return data, status_code, headers
499
499
  end
@@ -25,8 +25,8 @@ module PulpcoreClient
25
25
  # @param user_role [UserRole]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [UserRoleResponse]
28
- def users_roles_create(auth_user_href, user_role, opts = {})
29
- data, _status_code, _headers = users_roles_create_with_http_info(auth_user_href, user_role, opts)
28
+ def create(auth_user_href, user_role, opts = {})
29
+ data, _status_code, _headers = create_with_http_info(auth_user_href, user_role, opts)
30
30
  data
31
31
  end
32
32
 
@@ -36,17 +36,17 @@ module PulpcoreClient
36
36
  # @param user_role [UserRole]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
39
- def users_roles_create_with_http_info(auth_user_href, user_role, opts = {})
39
+ def create_with_http_info(auth_user_href, user_role, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_create ...'
41
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.create ...'
42
42
  end
43
43
  # verify the required parameter 'auth_user_href' is set
44
44
  if @api_client.config.client_side_validation && auth_user_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.users_roles_create"
45
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.create"
46
46
  end
47
47
  # verify the required parameter 'user_role' is set
48
48
  if @api_client.config.client_side_validation && user_role.nil?
49
- fail ArgumentError, "Missing the required parameter 'user_role' when calling UsersRolesApi.users_roles_create"
49
+ fail ArgumentError, "Missing the required parameter 'user_role' when calling UsersRolesApi.create"
50
50
  end
51
51
  # resource path
52
52
  local_var_path = '{auth_user_href}roles/'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -84,7 +84,7 @@ module PulpcoreClient
84
84
 
85
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
86
  if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: UsersRolesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
88
  end
89
89
  return data, status_code, headers
90
90
  end
@@ -94,8 +94,8 @@ module PulpcoreClient
94
94
  # @param auth_users_user_role_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
97
- def users_roles_delete(auth_users_user_role_href, opts = {})
98
- users_roles_delete_with_http_info(auth_users_user_role_href, opts)
97
+ def delete(auth_users_user_role_href, opts = {})
98
+ delete_with_http_info(auth_users_user_role_href, opts)
99
99
  nil
100
100
  end
101
101
 
@@ -104,13 +104,13 @@ module PulpcoreClient
104
104
  # @param auth_users_user_role_href [String]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
107
- def users_roles_delete_with_http_info(auth_users_user_role_href, opts = {})
107
+ def delete_with_http_info(auth_users_user_role_href, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_delete ...'
109
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.delete ...'
110
110
  end
111
111
  # verify the required parameter 'auth_users_user_role_href' is set
112
112
  if @api_client.config.client_side_validation && auth_users_user_role_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.users_roles_delete"
113
+ fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.delete"
114
114
  end
115
115
  # resource path
116
116
  local_var_path = '{auth_users_user_role_href}'.sub('{' + 'auth_users_user_role_href' + '}', CGI.escape(auth_users_user_role_href.to_s).gsub('%2F', '/'))
@@ -144,7 +144,7 @@ module PulpcoreClient
144
144
 
145
145
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
146
146
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: UsersRolesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
@@ -168,8 +168,8 @@ module PulpcoreClient
168
168
  # @option opts [Array<String>] :fields A list of fields to include in the response.
169
169
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
170
170
  # @return [PaginatedUserRoleResponseList]
171
- def users_roles_list(auth_user_href, opts = {})
172
- data, _status_code, _headers = users_roles_list_with_http_info(auth_user_href, opts)
171
+ def list(auth_user_href, opts = {})
172
+ data, _status_code, _headers = list_with_http_info(auth_user_href, opts)
173
173
  data
174
174
  end
175
175
 
@@ -192,13 +192,13 @@ module PulpcoreClient
192
192
  # @option opts [Array<String>] :fields A list of fields to include in the response.
193
193
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(PaginatedUserRoleResponseList, Integer, Hash)>] PaginatedUserRoleResponseList data, response status code and response headers
195
- def users_roles_list_with_http_info(auth_user_href, opts = {})
195
+ def list_with_http_info(auth_user_href, opts = {})
196
196
  if @api_client.config.debugging
197
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_list ...'
197
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.list ...'
198
198
  end
199
199
  # verify the required parameter 'auth_user_href' is set
200
200
  if @api_client.config.client_side_validation && auth_user_href.nil?
201
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.users_roles_list"
201
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.list"
202
202
  end
203
203
  allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
204
204
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -252,7 +252,7 @@ module PulpcoreClient
252
252
 
253
253
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
254
254
  if @api_client.config.debugging
255
- @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
255
+ @api_client.config.logger.debug "API called: UsersRolesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
256
  end
257
257
  return data, status_code, headers
258
258
  end
@@ -264,8 +264,8 @@ module PulpcoreClient
264
264
  # @option opts [Array<String>] :fields A list of fields to include in the response.
265
265
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
266
266
  # @return [UserRoleResponse]
267
- def users_roles_read(auth_users_user_role_href, opts = {})
268
- data, _status_code, _headers = users_roles_read_with_http_info(auth_users_user_role_href, opts)
267
+ def read(auth_users_user_role_href, opts = {})
268
+ data, _status_code, _headers = read_with_http_info(auth_users_user_role_href, opts)
269
269
  data
270
270
  end
271
271
 
@@ -276,13 +276,13 @@ module PulpcoreClient
276
276
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
277
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
278
  # @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
279
- def users_roles_read_with_http_info(auth_users_user_role_href, opts = {})
279
+ def read_with_http_info(auth_users_user_role_href, opts = {})
280
280
  if @api_client.config.debugging
281
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_read ...'
281
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.read ...'
282
282
  end
283
283
  # verify the required parameter 'auth_users_user_role_href' is set
284
284
  if @api_client.config.client_side_validation && auth_users_user_role_href.nil?
285
- fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.users_roles_read"
285
+ fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.read"
286
286
  end
287
287
  # resource path
288
288
  local_var_path = '{auth_users_user_role_href}'.sub('{' + 'auth_users_user_role_href' + '}', CGI.escape(auth_users_user_role_href.to_s).gsub('%2F', '/'))
@@ -320,7 +320,7 @@ module PulpcoreClient
320
320
 
321
321
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
322
322
  if @api_client.config.debugging
323
- @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
323
+ @api_client.config.logger.debug "API called: UsersRolesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
324
324
  end
325
325
  return data, status_code, headers
326
326
  end
@@ -43,8 +43,8 @@ module PulpcoreClient
43
43
  # @option opts [Array<String>] :fields A list of fields to include in the response.
44
44
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
45
45
  # @return [PaginatedWorkerResponseList]
46
- def workers_list(opts = {})
47
- data, _status_code, _headers = workers_list_with_http_info(opts)
46
+ def list(opts = {})
47
+ data, _status_code, _headers = list_with_http_info(opts)
48
48
  data
49
49
  end
50
50
 
@@ -72,9 +72,9 @@ module PulpcoreClient
72
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
73
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
74
74
  # @return [Array<(PaginatedWorkerResponseList, Integer, Hash)>] PaginatedWorkerResponseList data, response status code and response headers
75
- def workers_list_with_http_info(opts = {})
75
+ def list_with_http_info(opts = {})
76
76
  if @api_client.config.debugging
77
- @api_client.config.logger.debug 'Calling API: WorkersApi.workers_list ...'
77
+ @api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
78
78
  end
79
79
  allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-versions", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "versions"]
80
80
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -134,7 +134,7 @@ module PulpcoreClient
134
134
 
135
135
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
136
136
  if @api_client.config.debugging
137
- @api_client.config.logger.debug "API called: WorkersApi#workers_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
137
+ @api_client.config.logger.debug "API called: WorkersApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
138
138
  end
139
139
  return data, status_code, headers
140
140
  end
@@ -146,8 +146,8 @@ module PulpcoreClient
146
146
  # @option opts [Array<String>] :fields A list of fields to include in the response.
147
147
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
148
148
  # @return [WorkerResponse]
149
- def workers_read(worker_href, opts = {})
150
- data, _status_code, _headers = workers_read_with_http_info(worker_href, opts)
149
+ def read(worker_href, opts = {})
150
+ data, _status_code, _headers = read_with_http_info(worker_href, opts)
151
151
  data
152
152
  end
153
153
 
@@ -158,13 +158,13 @@ module PulpcoreClient
158
158
  # @option opts [Array<String>] :fields A list of fields to include in the response.
159
159
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
160
160
  # @return [Array<(WorkerResponse, Integer, Hash)>] WorkerResponse data, response status code and response headers
161
- def workers_read_with_http_info(worker_href, opts = {})
161
+ def read_with_http_info(worker_href, opts = {})
162
162
  if @api_client.config.debugging
163
- @api_client.config.logger.debug 'Calling API: WorkersApi.workers_read ...'
163
+ @api_client.config.logger.debug 'Calling API: WorkersApi.read ...'
164
164
  end
165
165
  # verify the required parameter 'worker_href' is set
166
166
  if @api_client.config.client_side_validation && worker_href.nil?
167
- fail ArgumentError, "Missing the required parameter 'worker_href' when calling WorkersApi.workers_read"
167
+ fail ArgumentError, "Missing the required parameter 'worker_href' when calling WorkersApi.read"
168
168
  end
169
169
  # resource path
170
170
  local_var_path = '{worker_href}'.sub('{' + 'worker_href' + '}', CGI.escape(worker_href.to_s).gsub('%2F', '/'))
@@ -202,7 +202,7 @@ module PulpcoreClient
202
202
 
203
203
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
204
204
  if @api_client.config.debugging
205
- @api_client.config.logger.debug "API called: WorkersApi#workers_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
205
+ @api_client.config.logger.debug "API called: WorkersApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
206
  end
207
207
  return data, status_code, headers
208
208
  end
@@ -15,53 +15,53 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
20
-
21
- # An optional content-guard.
22
- attr_accessor :content_guard
23
-
24
18
  attr_accessor :pulp_href
25
19
 
26
20
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
21
  attr_accessor :base_path
28
22
 
29
- # The URL for accessing the publication as defined by this distribution.
30
- attr_accessor :base_url
23
+ # Timestamp of creation.
24
+ attr_accessor :pulp_created
31
25
 
32
26
  # A unique name. Ex, `rawhide` and `stable`.
33
27
  attr_accessor :name
34
28
 
35
29
  attr_accessor :pulp_labels
36
30
 
31
+ # An optional content-guard.
32
+ attr_accessor :content_guard
33
+
37
34
  # Whether this distribution should be shown in the content app.
38
35
  attr_accessor :hidden
39
36
 
37
+ # The URL for accessing the publication as defined by this distribution.
38
+ attr_accessor :base_url
39
+
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'pulp_created' => :'pulp_created',
44
- :'content_guard' => :'content_guard',
45
43
  :'pulp_href' => :'pulp_href',
46
44
  :'base_path' => :'base_path',
47
- :'base_url' => :'base_url',
45
+ :'pulp_created' => :'pulp_created',
48
46
  :'name' => :'name',
49
47
  :'pulp_labels' => :'pulp_labels',
50
- :'hidden' => :'hidden'
48
+ :'content_guard' => :'content_guard',
49
+ :'hidden' => :'hidden',
50
+ :'base_url' => :'base_url'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'pulp_created' => :'DateTime',
58
- :'content_guard' => :'String',
59
57
  :'pulp_href' => :'String',
60
58
  :'base_path' => :'String',
61
- :'base_url' => :'String',
59
+ :'pulp_created' => :'DateTime',
62
60
  :'name' => :'String',
63
61
  :'pulp_labels' => :'Hash<String, String>',
64
- :'hidden' => :'Boolean'
62
+ :'content_guard' => :'String',
63
+ :'hidden' => :'Boolean',
64
+ :'base_url' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -87,14 +87,6 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'pulp_created')
91
- self.pulp_created = attributes[:'pulp_created']
92
- end
93
-
94
- if attributes.key?(:'content_guard')
95
- self.content_guard = attributes[:'content_guard']
96
- end
97
-
98
90
  if attributes.key?(:'pulp_href')
99
91
  self.pulp_href = attributes[:'pulp_href']
100
92
  end
@@ -103,8 +95,8 @@ module PulpcoreClient
103
95
  self.base_path = attributes[:'base_path']
104
96
  end
105
97
 
106
- if attributes.key?(:'base_url')
107
- self.base_url = attributes[:'base_url']
98
+ if attributes.key?(:'pulp_created')
99
+ self.pulp_created = attributes[:'pulp_created']
108
100
  end
109
101
 
110
102
  if attributes.key?(:'name')
@@ -117,11 +109,19 @@ module PulpcoreClient
117
109
  end
118
110
  end
119
111
 
112
+ if attributes.key?(:'content_guard')
113
+ self.content_guard = attributes[:'content_guard']
114
+ end
115
+
120
116
  if attributes.key?(:'hidden')
121
117
  self.hidden = attributes[:'hidden']
122
118
  else
123
119
  self.hidden = false
124
120
  end
121
+
122
+ if attributes.key?(:'base_url')
123
+ self.base_url = attributes[:'base_url']
124
+ end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -152,14 +152,14 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
- pulp_created == o.pulp_created &&
156
- content_guard == o.content_guard &&
157
155
  pulp_href == o.pulp_href &&
158
156
  base_path == o.base_path &&
159
- base_url == o.base_url &&
157
+ pulp_created == o.pulp_created &&
160
158
  name == o.name &&
161
159
  pulp_labels == o.pulp_labels &&
162
- hidden == o.hidden
160
+ content_guard == o.content_guard &&
161
+ hidden == o.hidden &&
162
+ base_url == o.base_url
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module PulpcoreClient
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Integer] Hash code
173
173
  def hash
174
- [pulp_created, content_guard, pulp_href, base_path, base_url, name, pulp_labels, hidden].hash
174
+ [pulp_href, base_path, pulp_created, name, pulp_labels, content_guard, hidden, base_url].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.28.30'
14
+ VERSION = '3.28.31'
15
15
  end
@@ -157,8 +157,6 @@ require 'pulpcore_client/api/contentguards_content_redirect_api'
157
157
  require 'pulpcore_client/api/contentguards_rbac_api'
158
158
  require 'pulpcore_client/api/distributions_api'
159
159
  require 'pulpcore_client/api/distributions_artifacts_api'
160
- require 'pulpcore_client/api/docs_api_json_api'
161
- require 'pulpcore_client/api/docs_api_yaml_api'
162
160
  require 'pulpcore_client/api/domains_api'
163
161
  require 'pulpcore_client/api/exporters_filesystem_api'
164
162
  require 'pulpcore_client/api/exporters_filesystem_exports_api'