pulpcore_client 3.28.28 → 3.28.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +157 -155
  3. data/docs/AccessPoliciesApi.md +26 -26
  4. data/docs/ArtifactDistributionResponse.md +12 -12
  5. data/docs/ArtifactsApi.md +21 -21
  6. data/docs/ContentApi.md +8 -8
  7. data/docs/ContentguardsApi.md +8 -8
  8. data/docs/ContentguardsContentRedirectApi.md +51 -51
  9. data/docs/ContentguardsRbacApi.md +51 -51
  10. data/docs/DistributionsApi.md +8 -8
  11. data/docs/DistributionsArtifactsApi.md +11 -11
  12. data/docs/DocsApiJsonApi.md +61 -0
  13. data/docs/DocsApiYamlApi.md +61 -0
  14. data/docs/DomainsApi.md +31 -31
  15. data/docs/ExportersFilesystemApi.md +31 -31
  16. data/docs/ExportersFilesystemExportsApi.md +21 -21
  17. data/docs/ExportersPulpApi.md +31 -31
  18. data/docs/ExportersPulpExportsApi.md +21 -21
  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 +31 -31
  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/PublicationsApi.md +8 -8
  28. data/docs/RemoteResponseHiddenFields.md +2 -2
  29. data/docs/RemotesApi.md +8 -8
  30. data/docs/RepairApi.md +6 -6
  31. data/docs/RepositoriesApi.md +8 -8
  32. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  33. data/docs/RepositoryVersionsApi.md +6 -6
  34. data/docs/RolesApi.md +31 -31
  35. data/docs/SigningServicesApi.md +11 -11
  36. data/docs/StatusApi.md +1 -1
  37. data/docs/TaskGroupsApi.md +11 -11
  38. data/docs/TaskSchedulesApi.md +31 -31
  39. data/docs/TasksApi.md +96 -96
  40. data/docs/UploadsApi.md +51 -51
  41. data/docs/UpstreamPulpsApi.md +36 -36
  42. data/docs/UsersApi.md +31 -31
  43. data/docs/UsersRolesApi.md +21 -21
  44. data/docs/WorkersApi.md +11 -11
  45. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  46. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  47. data/lib/pulpcore_client/api/content_api.rb +8 -8
  48. data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
  49. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  50. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  51. data/lib/pulpcore_client/api/distributions_api.rb +8 -8
  52. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  53. data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
  54. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
  55. data/lib/pulpcore_client/api/domains_api.rb +37 -37
  56. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  57. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  58. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  59. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  60. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  61. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  62. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  63. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  64. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  65. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  66. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  67. data/lib/pulpcore_client/api/publications_api.rb +7 -11
  68. data/lib/pulpcore_client/api/remotes_api.rb +7 -11
  69. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  70. data/lib/pulpcore_client/api/repositories_api.rb +7 -11
  71. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  72. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  73. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  74. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  75. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  76. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  77. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  78. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  79. data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
  80. data/lib/pulpcore_client/api/users_api.rb +37 -37
  81. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  82. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  83. data/lib/pulpcore_client/configuration.rb +3 -3
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +50 -50
  85. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  86. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
  87. data/lib/pulpcore_client/version.rb +1 -1
  88. data/lib/pulpcore_client.rb +2 -0
  89. data/spec/api/access_policies_api_spec.rb +10 -10
  90. data/spec/api/artifacts_api_spec.rb +8 -8
  91. data/spec/api/content_api_spec.rb +3 -3
  92. data/spec/api/contentguards_api_spec.rb +3 -3
  93. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  94. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  95. data/spec/api/distributions_api_spec.rb +3 -3
  96. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  97. data/spec/api/docs_api_json_api_spec.rb +48 -0
  98. data/spec/api/docs_api_yaml_api_spec.rb +48 -0
  99. data/spec/api/domains_api_spec.rb +12 -12
  100. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  101. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  102. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  103. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  104. data/spec/api/groups_api_spec.rb +20 -20
  105. data/spec/api/groups_roles_api_spec.rb +8 -8
  106. data/spec/api/groups_users_api_spec.rb +6 -6
  107. data/spec/api/importers_pulp_api_spec.rb +12 -12
  108. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  109. data/spec/api/orphans_api_spec.rb +2 -2
  110. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  111. data/spec/api/publications_api_spec.rb +3 -3
  112. data/spec/api/remotes_api_spec.rb +3 -3
  113. data/spec/api/repair_api_spec.rb +2 -2
  114. data/spec/api/repositories_api_spec.rb +3 -3
  115. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  116. data/spec/api/repository_versions_api_spec.rb +2 -2
  117. data/spec/api/roles_api_spec.rb +12 -12
  118. data/spec/api/signing_services_api_spec.rb +4 -4
  119. data/spec/api/task_groups_api_spec.rb +4 -4
  120. data/spec/api/task_schedules_api_spec.rb +12 -12
  121. data/spec/api/tasks_api_spec.rb +29 -29
  122. data/spec/api/uploads_api_spec.rb +20 -20
  123. data/spec/api/upstream_pulps_api_spec.rb +14 -14
  124. data/spec/api/users_api_spec.rb +12 -12
  125. data/spec/api/users_roles_api_spec.rb +8 -8
  126. data/spec/api/workers_api_spec.rb +4 -4
  127. data/spec/configuration_spec.rb +3 -3
  128. data/spec/models/artifact_distribution_response_spec.rb +8 -8
  129. metadata +164 -156
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param nested_role [NestedRole]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NestedRoleResponse]
27
- def add_role(r_b_a_c_content_guard_href, nested_role, opts = {})
28
- data, _status_code, _headers = add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
27
+ def contentguards_core_rbac_add_role(r_b_a_c_content_guard_href, nested_role, opts = {})
28
+ data, _status_code, _headers = contentguards_core_rbac_add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,17 +34,17 @@ module PulpcoreClient
34
34
  # @param nested_role [NestedRole]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
37
- def add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
37
+ def contentguards_core_rbac_add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.add_role ...'
39
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_add_role ...'
40
40
  end
41
41
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
42
42
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.add_role"
43
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_add_role"
44
44
  end
45
45
  # verify the required parameter 'nested_role' is set
46
46
  if @api_client.config.client_side_validation && nested_role.nil?
47
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.add_role"
47
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.contentguards_core_rbac_add_role"
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '{r_b_a_c_content_guard_href}add_role/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -82,7 +82,7 @@ module PulpcoreClient
82
82
 
83
83
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
84
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
@@ -92,8 +92,8 @@ module PulpcoreClient
92
92
  # @param rbac_content_guard [RBACContentGuard]
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @return [RBACContentGuardResponse]
95
- def create(rbac_content_guard, opts = {})
96
- data, _status_code, _headers = create_with_http_info(rbac_content_guard, opts)
95
+ def contentguards_core_rbac_create(rbac_content_guard, opts = {})
96
+ data, _status_code, _headers = contentguards_core_rbac_create_with_http_info(rbac_content_guard, opts)
97
97
  data
98
98
  end
99
99
 
@@ -102,13 +102,13 @@ module PulpcoreClient
102
102
  # @param rbac_content_guard [RBACContentGuard]
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
105
- def create_with_http_info(rbac_content_guard, opts = {})
105
+ def contentguards_core_rbac_create_with_http_info(rbac_content_guard, opts = {})
106
106
  if @api_client.config.debugging
107
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.create ...'
107
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_create ...'
108
108
  end
109
109
  # verify the required parameter 'rbac_content_guard' is set
110
110
  if @api_client.config.client_side_validation && rbac_content_guard.nil?
111
- fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.create"
111
+ fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.contentguards_core_rbac_create"
112
112
  end
113
113
  # resource path
114
114
  local_var_path = '/pulp/api/v3/contentguards/core/rbac/'
@@ -146,7 +146,7 @@ module PulpcoreClient
146
146
 
147
147
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
148
148
  if @api_client.config.debugging
149
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
150
150
  end
151
151
  return data, status_code, headers
152
152
  end
@@ -156,8 +156,8 @@ module PulpcoreClient
156
156
  # @param r_b_a_c_content_guard_href [String]
157
157
  # @param [Hash] opts the optional parameters
158
158
  # @return [nil]
159
- def delete(r_b_a_c_content_guard_href, opts = {})
160
- delete_with_http_info(r_b_a_c_content_guard_href, opts)
159
+ def contentguards_core_rbac_delete(r_b_a_c_content_guard_href, opts = {})
160
+ contentguards_core_rbac_delete_with_http_info(r_b_a_c_content_guard_href, opts)
161
161
  nil
162
162
  end
163
163
 
@@ -166,13 +166,13 @@ module PulpcoreClient
166
166
  # @param r_b_a_c_content_guard_href [String]
167
167
  # @param [Hash] opts the optional parameters
168
168
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
169
- def delete_with_http_info(r_b_a_c_content_guard_href, opts = {})
169
+ def contentguards_core_rbac_delete_with_http_info(r_b_a_c_content_guard_href, opts = {})
170
170
  if @api_client.config.debugging
171
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.delete ...'
171
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_delete ...'
172
172
  end
173
173
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
174
174
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
175
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.delete"
175
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_delete"
176
176
  end
177
177
  # resource path
178
178
  local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -206,7 +206,7 @@ module PulpcoreClient
206
206
 
207
207
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
208
208
  if @api_client.config.debugging
209
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
209
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
210
  end
211
211
  return data, status_code, headers
212
212
  end
@@ -227,8 +227,8 @@ module PulpcoreClient
227
227
  # @option opts [Array<String>] :fields A list of fields to include in the response.
228
228
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
229
229
  # @return [PaginatedRBACContentGuardResponseList]
230
- def list(opts = {})
231
- data, _status_code, _headers = list_with_http_info(opts)
230
+ def contentguards_core_rbac_list(opts = {})
231
+ data, _status_code, _headers = contentguards_core_rbac_list_with_http_info(opts)
232
232
  data
233
233
  end
234
234
 
@@ -248,9 +248,9 @@ module PulpcoreClient
248
248
  # @option opts [Array<String>] :fields A list of fields to include in the response.
249
249
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
250
250
  # @return [Array<(PaginatedRBACContentGuardResponseList, Integer, Hash)>] PaginatedRBACContentGuardResponseList data, response status code and response headers
251
- def list_with_http_info(opts = {})
251
+ def contentguards_core_rbac_list_with_http_info(opts = {})
252
252
  if @api_client.config.debugging
253
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.list ...'
253
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_list ...'
254
254
  end
255
255
  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"]
256
256
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -302,7 +302,7 @@ module PulpcoreClient
302
302
 
303
303
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
304
304
  if @api_client.config.debugging
305
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
305
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
306
306
  end
307
307
  return data, status_code, headers
308
308
  end
@@ -313,8 +313,8 @@ module PulpcoreClient
313
313
  # @option opts [Array<String>] :fields A list of fields to include in the response.
314
314
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
315
315
  # @return [ObjectRolesResponse]
316
- def list_roles(r_b_a_c_content_guard_href, opts = {})
317
- data, _status_code, _headers = list_roles_with_http_info(r_b_a_c_content_guard_href, opts)
316
+ def contentguards_core_rbac_list_roles(r_b_a_c_content_guard_href, opts = {})
317
+ data, _status_code, _headers = contentguards_core_rbac_list_roles_with_http_info(r_b_a_c_content_guard_href, opts)
318
318
  data
319
319
  end
320
320
 
@@ -324,13 +324,13 @@ module PulpcoreClient
324
324
  # @option opts [Array<String>] :fields A list of fields to include in the response.
325
325
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
326
326
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
327
- def list_roles_with_http_info(r_b_a_c_content_guard_href, opts = {})
327
+ def contentguards_core_rbac_list_roles_with_http_info(r_b_a_c_content_guard_href, opts = {})
328
328
  if @api_client.config.debugging
329
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.list_roles ...'
329
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_list_roles ...'
330
330
  end
331
331
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
332
332
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
333
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.list_roles"
333
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_list_roles"
334
334
  end
335
335
  # resource path
336
336
  local_var_path = '{r_b_a_c_content_guard_href}list_roles/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -368,7 +368,7 @@ module PulpcoreClient
368
368
 
369
369
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
370
370
  if @api_client.config.debugging
371
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
371
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
372
372
  end
373
373
  return data, status_code, headers
374
374
  end
@@ -379,8 +379,8 @@ 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 [MyPermissionsResponse]
382
- def my_permissions(r_b_a_c_content_guard_href, opts = {})
383
- data, _status_code, _headers = my_permissions_with_http_info(r_b_a_c_content_guard_href, opts)
382
+ def contentguards_core_rbac_my_permissions(r_b_a_c_content_guard_href, opts = {})
383
+ data, _status_code, _headers = contentguards_core_rbac_my_permissions_with_http_info(r_b_a_c_content_guard_href, opts)
384
384
  data
385
385
  end
386
386
 
@@ -390,13 +390,13 @@ module PulpcoreClient
390
390
  # @option opts [Array<String>] :fields A list of fields to include in the response.
391
391
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
392
392
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
393
- def my_permissions_with_http_info(r_b_a_c_content_guard_href, opts = {})
393
+ def contentguards_core_rbac_my_permissions_with_http_info(r_b_a_c_content_guard_href, opts = {})
394
394
  if @api_client.config.debugging
395
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.my_permissions ...'
395
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_my_permissions ...'
396
396
  end
397
397
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
398
398
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
399
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.my_permissions"
399
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_my_permissions"
400
400
  end
401
401
  # resource path
402
402
  local_var_path = '{r_b_a_c_content_guard_href}my_permissions/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -434,7 +434,7 @@ module PulpcoreClient
434
434
 
435
435
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
436
436
  if @api_client.config.debugging
437
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
437
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
438
438
  end
439
439
  return data, status_code, headers
440
440
  end
@@ -445,8 +445,8 @@ module PulpcoreClient
445
445
  # @param patched_rbac_content_guard [PatchedRBACContentGuard]
446
446
  # @param [Hash] opts the optional parameters
447
447
  # @return [RBACContentGuardResponse]
448
- def partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
449
- data, _status_code, _headers = partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
448
+ def contentguards_core_rbac_partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
449
+ data, _status_code, _headers = contentguards_core_rbac_partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
450
450
  data
451
451
  end
452
452
 
@@ -456,17 +456,17 @@ module PulpcoreClient
456
456
  # @param patched_rbac_content_guard [PatchedRBACContentGuard]
457
457
  # @param [Hash] opts the optional parameters
458
458
  # @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
459
- def partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
459
+ def contentguards_core_rbac_partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
460
460
  if @api_client.config.debugging
461
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.partial_update ...'
461
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_partial_update ...'
462
462
  end
463
463
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
464
464
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
465
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.partial_update"
465
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_partial_update"
466
466
  end
467
467
  # verify the required parameter 'patched_rbac_content_guard' is set
468
468
  if @api_client.config.client_side_validation && patched_rbac_content_guard.nil?
469
- fail ArgumentError, "Missing the required parameter 'patched_rbac_content_guard' when calling ContentguardsRbacApi.partial_update"
469
+ fail ArgumentError, "Missing the required parameter 'patched_rbac_content_guard' when calling ContentguardsRbacApi.contentguards_core_rbac_partial_update"
470
470
  end
471
471
  # resource path
472
472
  local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -504,7 +504,7 @@ module PulpcoreClient
504
504
 
505
505
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
506
506
  if @api_client.config.debugging
507
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
507
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
508
508
  end
509
509
  return data, status_code, headers
510
510
  end
@@ -516,8 +516,8 @@ module PulpcoreClient
516
516
  # @option opts [Array<String>] :fields A list of fields to include in the response.
517
517
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
518
518
  # @return [RBACContentGuardResponse]
519
- def read(r_b_a_c_content_guard_href, opts = {})
520
- data, _status_code, _headers = read_with_http_info(r_b_a_c_content_guard_href, opts)
519
+ def contentguards_core_rbac_read(r_b_a_c_content_guard_href, opts = {})
520
+ data, _status_code, _headers = contentguards_core_rbac_read_with_http_info(r_b_a_c_content_guard_href, opts)
521
521
  data
522
522
  end
523
523
 
@@ -528,13 +528,13 @@ module PulpcoreClient
528
528
  # @option opts [Array<String>] :fields A list of fields to include in the response.
529
529
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
530
530
  # @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
531
- def read_with_http_info(r_b_a_c_content_guard_href, opts = {})
531
+ def contentguards_core_rbac_read_with_http_info(r_b_a_c_content_guard_href, opts = {})
532
532
  if @api_client.config.debugging
533
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.read ...'
533
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_read ...'
534
534
  end
535
535
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
536
536
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
537
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.read"
537
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_read"
538
538
  end
539
539
  # resource path
540
540
  local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -572,7 +572,7 @@ module PulpcoreClient
572
572
 
573
573
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
574
574
  if @api_client.config.debugging
575
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
575
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
576
576
  end
577
577
  return data, status_code, headers
578
578
  end
@@ -582,8 +582,8 @@ module PulpcoreClient
582
582
  # @param nested_role [NestedRole]
583
583
  # @param [Hash] opts the optional parameters
584
584
  # @return [NestedRoleResponse]
585
- def remove_role(r_b_a_c_content_guard_href, nested_role, opts = {})
586
- data, _status_code, _headers = remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
585
+ def contentguards_core_rbac_remove_role(r_b_a_c_content_guard_href, nested_role, opts = {})
586
+ data, _status_code, _headers = contentguards_core_rbac_remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
587
587
  data
588
588
  end
589
589
 
@@ -592,17 +592,17 @@ module PulpcoreClient
592
592
  # @param nested_role [NestedRole]
593
593
  # @param [Hash] opts the optional parameters
594
594
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
595
- def remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
595
+ def contentguards_core_rbac_remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
596
596
  if @api_client.config.debugging
597
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.remove_role ...'
597
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_remove_role ...'
598
598
  end
599
599
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
600
600
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
601
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.remove_role"
601
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_remove_role"
602
602
  end
603
603
  # verify the required parameter 'nested_role' is set
604
604
  if @api_client.config.client_side_validation && nested_role.nil?
605
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.remove_role"
605
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.contentguards_core_rbac_remove_role"
606
606
  end
607
607
  # resource path
608
608
  local_var_path = '{r_b_a_c_content_guard_href}remove_role/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -640,7 +640,7 @@ module PulpcoreClient
640
640
 
641
641
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
642
642
  if @api_client.config.debugging
643
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
643
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
644
644
  end
645
645
  return data, status_code, headers
646
646
  end
@@ -651,8 +651,8 @@ module PulpcoreClient
651
651
  # @param rbac_content_guard [RBACContentGuard]
652
652
  # @param [Hash] opts the optional parameters
653
653
  # @return [RBACContentGuardResponse]
654
- def update(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
655
- data, _status_code, _headers = update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts)
654
+ def contentguards_core_rbac_update(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
655
+ data, _status_code, _headers = contentguards_core_rbac_update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts)
656
656
  data
657
657
  end
658
658
 
@@ -662,17 +662,17 @@ module PulpcoreClient
662
662
  # @param rbac_content_guard [RBACContentGuard]
663
663
  # @param [Hash] opts the optional parameters
664
664
  # @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
665
- def update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
665
+ def contentguards_core_rbac_update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
666
666
  if @api_client.config.debugging
667
- @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.update ...'
667
+ @api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_update ...'
668
668
  end
669
669
  # verify the required parameter 'r_b_a_c_content_guard_href' is set
670
670
  if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
671
- fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.update"
671
+ fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_update"
672
672
  end
673
673
  # verify the required parameter 'rbac_content_guard' is set
674
674
  if @api_client.config.client_side_validation && rbac_content_guard.nil?
675
- fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.update"
675
+ fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.contentguards_core_rbac_update"
676
676
  end
677
677
  # resource path
678
678
  local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
@@ -710,7 +710,7 @@ module PulpcoreClient
710
710
 
711
711
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
712
712
  if @api_client.config.debugging
713
- @api_client.config.logger.debug "API called: ContentguardsRbacApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
713
+ @api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
714
714
  end
715
715
  return data, status_code, headers
716
716
  end
@@ -37,15 +37,15 @@ module PulpcoreClient
37
37
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
38
38
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
39
39
  # @option opts [String] :pulp_label_select Filter labels by search string
40
- # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
40
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.artifact&#x60; - core.artifact
41
41
  # @option opts [String] :repository Filter results where repository matches value
42
42
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
43
43
  # @option opts [String] :with_content Filter distributions based on the content served by them
44
44
  # @option opts [Array<String>] :fields A list of fields to include in the response.
45
45
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
46
  # @return [PaginatedDistributionResponseList]
47
- def list(opts = {})
48
- data, _status_code, _headers = list_with_http_info(opts)
47
+ def distributions_list(opts = {})
48
+ data, _status_code, _headers = distributions_list_with_http_info(opts)
49
49
  data
50
50
  end
51
51
 
@@ -67,22 +67,22 @@ module PulpcoreClient
67
67
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
68
68
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
69
69
  # @option opts [String] :pulp_label_select Filter labels by search string
70
- # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
70
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.artifact&#x60; - core.artifact
71
71
  # @option opts [String] :repository Filter results where repository matches value
72
72
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
73
73
  # @option opts [String] :with_content Filter distributions based on the content served by them
74
74
  # @option opts [Array<String>] :fields A list of fields to include in the response.
75
75
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
76
76
  # @return [Array<(PaginatedDistributionResponseList, Integer, Hash)>] PaginatedDistributionResponseList data, response status code and response headers
77
- def list_with_http_info(opts = {})
77
+ def distributions_list_with_http_info(opts = {})
78
78
  if @api_client.config.debugging
79
- @api_client.config.logger.debug 'Calling API: DistributionsApi.list ...'
79
+ @api_client.config.logger.debug 'Calling API: DistributionsApi.distributions_list ...'
80
80
  end
81
81
  allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
82
82
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
83
83
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
84
84
  end
85
- allowable_values = ["core.artifact", "file.file"]
85
+ allowable_values = ["core.artifact"]
86
86
  if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
87
87
  fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
88
88
  end
@@ -141,7 +141,7 @@ module PulpcoreClient
141
141
 
142
142
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
143
143
  if @api_client.config.debugging
144
- @api_client.config.logger.debug "API called: DistributionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
+ @api_client.config.logger.debug "API called: DistributionsApi#distributions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
145
  end
146
146
  return data, status_code, headers
147
147
  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 [PaginatedArtifactDistributionResponseList]
46
- def list(opts = {})
47
- data, _status_code, _headers = list_with_http_info(opts)
46
+ def distributions_core_artifacts_list(opts = {})
47
+ data, _status_code, _headers = distributions_core_artifacts_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<(PaginatedArtifactDistributionResponseList, Integer, Hash)>] PaginatedArtifactDistributionResponseList data, response status code and response headers
75
- def list_with_http_info(opts = {})
75
+ def distributions_core_artifacts_list_with_http_info(opts = {})
76
76
  if @api_client.config.debugging
77
- @api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.list ...'
77
+ @api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.distributions_core_artifacts_list ...'
78
78
  end
79
79
  allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
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: DistributionsArtifactsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
137
+ @api_client.config.logger.debug "API called: DistributionsArtifactsApi#distributions_core_artifacts_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 [ArtifactDistributionResponse]
149
- def read(artifact_distribution_href, opts = {})
150
- data, _status_code, _headers = read_with_http_info(artifact_distribution_href, opts)
149
+ def distributions_core_artifacts_read(artifact_distribution_href, opts = {})
150
+ data, _status_code, _headers = distributions_core_artifacts_read_with_http_info(artifact_distribution_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<(ArtifactDistributionResponse, Integer, Hash)>] ArtifactDistributionResponse data, response status code and response headers
161
- def read_with_http_info(artifact_distribution_href, opts = {})
161
+ def distributions_core_artifacts_read_with_http_info(artifact_distribution_href, opts = {})
162
162
  if @api_client.config.debugging
163
- @api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.read ...'
163
+ @api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.distributions_core_artifacts_read ...'
164
164
  end
165
165
  # verify the required parameter 'artifact_distribution_href' is set
166
166
  if @api_client.config.client_side_validation && artifact_distribution_href.nil?
167
- fail ArgumentError, "Missing the required parameter 'artifact_distribution_href' when calling DistributionsArtifactsApi.read"
167
+ fail ArgumentError, "Missing the required parameter 'artifact_distribution_href' when calling DistributionsArtifactsApi.distributions_core_artifacts_read"
168
168
  end
169
169
  # resource path
170
170
  local_var_path = '{artifact_distribution_href}'.sub('{' + 'artifact_distribution_href' + '}', CGI.escape(artifact_distribution_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: DistributionsArtifactsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
205
+ @api_client.config.logger.debug "API called: DistributionsArtifactsApi#distributions_core_artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
206
  end
207
207
  return data, status_code, headers
208
208
  end
@@ -0,0 +1,89 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpcoreClient
16
+ class DocsApiJsonApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
23
+ # @param [Hash] opts the optional parameters
24
+ # @option opts [String] :lang
25
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
26
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
27
+ # @return [Object]
28
+ def docs_api_json_get(opts = {})
29
+ data, _status_code, _headers = docs_api_json_get_with_http_info(opts)
30
+ data
31
+ end
32
+
33
+ # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [String] :lang
36
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
37
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
38
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
39
+ def docs_api_json_get_with_http_info(opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: DocsApiJsonApi.docs_api_json_get ...'
42
+ end
43
+ allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
44
+ if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
45
+ fail ArgumentError, "invalid value for \"lang\", must be one of #{allowable_values}"
46
+ end
47
+ # resource path
48
+ local_var_path = '/pulp/api/v3/docs/api.json'
49
+
50
+ # query parameters
51
+ query_params = opts[:query_params] || {}
52
+ query_params[:'lang'] = opts[:'lang'] if !opts[:'lang'].nil?
53
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
54
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
55
+
56
+ # header parameters
57
+ header_params = opts[:header_params] || {}
58
+ # HTTP header 'Accept' (if needed)
59
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.oai.openapi+json', 'application/json'])
60
+
61
+ # form parameters
62
+ form_params = opts[:form_params] || {}
63
+
64
+ # http body (model)
65
+ post_body = opts[:body]
66
+
67
+ # return_type
68
+ return_type = opts[:return_type] || 'Object'
69
+
70
+ # auth_names
71
+ auth_names = opts[:auth_names] || []
72
+
73
+ new_options = opts.merge(
74
+ :header_params => header_params,
75
+ :query_params => query_params,
76
+ :form_params => form_params,
77
+ :body => post_body,
78
+ :auth_names => auth_names,
79
+ :return_type => return_type
80
+ )
81
+
82
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
83
+ if @api_client.config.debugging
84
+ @api_client.config.logger.debug "API called: DocsApiJsonApi#docs_api_json_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ end
86
+ return data, status_code, headers
87
+ end
88
+ end
89
+ end