pulpcore_client 3.28.29 → 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 +9 -9
  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 +48 -48
  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 +7 -7
  129. metadata +163 -155
@@ -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 DocsApiYamlApi
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_yaml_get(opts = {})
29
+ data, _status_code, _headers = docs_api_yaml_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_yaml_get_with_http_info(opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: DocsApiYamlApi.docs_api_yaml_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.yaml'
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', 'application/yaml'])
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: DocsApiYamlApi#docs_api_yaml_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ end
86
+ return data, status_code, headers
87
+ end
88
+ end
89
+ end
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param domain [Domain]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [DomainResponse]
27
- def create(domain, opts = {})
28
- data, _status_code, _headers = create_with_http_info(domain, opts)
27
+ def domains_create(domain, opts = {})
28
+ data, _status_code, _headers = domains_create_with_http_info(domain, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param domain [Domain]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(DomainResponse, Integer, Hash)>] DomainResponse data, response status code and response headers
37
- def create_with_http_info(domain, opts = {})
37
+ def domains_create_with_http_info(domain, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: DomainsApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: DomainsApi.domains_create ...'
40
40
  end
41
41
  # verify the required parameter 'domain' is set
42
42
  if @api_client.config.client_side_validation && domain.nil?
43
- fail ArgumentError, "Missing the required parameter 'domain' when calling DomainsApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'domain' when calling DomainsApi.domains_create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/domains/'
@@ -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: DomainsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: DomainsApi#domains_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 domain_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def delete(domain_href, opts = {})
92
- data, _status_code, _headers = delete_with_http_info(domain_href, opts)
91
+ def domains_delete(domain_href, opts = {})
92
+ data, _status_code, _headers = domains_delete_with_http_info(domain_href, opts)
93
93
  data
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpcoreClient
98
98
  # @param domain_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
101
- def delete_with_http_info(domain_href, opts = {})
101
+ def domains_delete_with_http_info(domain_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: DomainsApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: DomainsApi.domains_delete ...'
104
104
  end
105
105
  # verify the required parameter 'domain_href' is set
106
106
  if @api_client.config.client_side_validation && domain_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.delete"
107
+ fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.domains_delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{domain_href}'.sub('{' + 'domain_href' + '}', CGI.escape(domain_href.to_s).gsub('%2F', '/'))
@@ -140,7 +140,7 @@ module PulpcoreClient
140
140
 
141
141
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
142
142
  if @api_client.config.debugging
143
- @api_client.config.logger.debug "API called: DomainsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: DomainsApi#domains_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
144
  end
145
145
  return data, status_code, headers
146
146
  end
@@ -161,8 +161,8 @@ module PulpcoreClient
161
161
  # @option opts [Array<String>] :fields A list of fields to include in the response.
162
162
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
163
163
  # @return [PaginatedDomainResponseList]
164
- def list(opts = {})
165
- data, _status_code, _headers = list_with_http_info(opts)
164
+ def domains_list(opts = {})
165
+ data, _status_code, _headers = domains_list_with_http_info(opts)
166
166
  data
167
167
  end
168
168
 
@@ -182,9 +182,9 @@ module PulpcoreClient
182
182
  # @option opts [Array<String>] :fields A list of fields to include in the response.
183
183
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
184
184
  # @return [Array<(PaginatedDomainResponseList, Integer, Hash)>] PaginatedDomainResponseList data, response status code and response headers
185
- def list_with_http_info(opts = {})
185
+ def domains_list_with_http_info(opts = {})
186
186
  if @api_client.config.debugging
187
- @api_client.config.logger.debug 'Calling API: DomainsApi.list ...'
187
+ @api_client.config.logger.debug 'Calling API: DomainsApi.domains_list ...'
188
188
  end
189
189
  allowable_values = ["-description", "-hide_guarded_distributions", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-redirect_to_object_storage", "-storage_class", "-storage_settings", "description", "hide_guarded_distributions", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "redirect_to_object_storage", "storage_class", "storage_settings"]
190
190
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -236,7 +236,7 @@ module PulpcoreClient
236
236
 
237
237
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
238
238
  if @api_client.config.debugging
239
- @api_client.config.logger.debug "API called: DomainsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
239
+ @api_client.config.logger.debug "API called: DomainsApi#domains_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
240
240
  end
241
241
  return data, status_code, headers
242
242
  end
@@ -247,8 +247,8 @@ module PulpcoreClient
247
247
  # @param patched_domain [PatchedDomain]
248
248
  # @param [Hash] opts the optional parameters
249
249
  # @return [AsyncOperationResponse]
250
- def partial_update(domain_href, patched_domain, opts = {})
251
- data, _status_code, _headers = partial_update_with_http_info(domain_href, patched_domain, opts)
250
+ def domains_partial_update(domain_href, patched_domain, opts = {})
251
+ data, _status_code, _headers = domains_partial_update_with_http_info(domain_href, patched_domain, opts)
252
252
  data
253
253
  end
254
254
 
@@ -258,17 +258,17 @@ module PulpcoreClient
258
258
  # @param patched_domain [PatchedDomain]
259
259
  # @param [Hash] opts the optional parameters
260
260
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
261
- def partial_update_with_http_info(domain_href, patched_domain, opts = {})
261
+ def domains_partial_update_with_http_info(domain_href, patched_domain, opts = {})
262
262
  if @api_client.config.debugging
263
- @api_client.config.logger.debug 'Calling API: DomainsApi.partial_update ...'
263
+ @api_client.config.logger.debug 'Calling API: DomainsApi.domains_partial_update ...'
264
264
  end
265
265
  # verify the required parameter 'domain_href' is set
266
266
  if @api_client.config.client_side_validation && domain_href.nil?
267
- fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.partial_update"
267
+ fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.domains_partial_update"
268
268
  end
269
269
  # verify the required parameter 'patched_domain' is set
270
270
  if @api_client.config.client_side_validation && patched_domain.nil?
271
- fail ArgumentError, "Missing the required parameter 'patched_domain' when calling DomainsApi.partial_update"
271
+ fail ArgumentError, "Missing the required parameter 'patched_domain' when calling DomainsApi.domains_partial_update"
272
272
  end
273
273
  # resource path
274
274
  local_var_path = '{domain_href}'.sub('{' + 'domain_href' + '}', CGI.escape(domain_href.to_s).gsub('%2F', '/'))
@@ -306,7 +306,7 @@ module PulpcoreClient
306
306
 
307
307
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
308
308
  if @api_client.config.debugging
309
- @api_client.config.logger.debug "API called: DomainsApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
309
+ @api_client.config.logger.debug "API called: DomainsApi#domains_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
310
310
  end
311
311
  return data, status_code, headers
312
312
  end
@@ -318,8 +318,8 @@ module PulpcoreClient
318
318
  # @option opts [Array<String>] :fields A list of fields to include in the response.
319
319
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
320
320
  # @return [DomainResponse]
321
- def read(domain_href, opts = {})
322
- data, _status_code, _headers = read_with_http_info(domain_href, opts)
321
+ def domains_read(domain_href, opts = {})
322
+ data, _status_code, _headers = domains_read_with_http_info(domain_href, opts)
323
323
  data
324
324
  end
325
325
 
@@ -330,13 +330,13 @@ module PulpcoreClient
330
330
  # @option opts [Array<String>] :fields A list of fields to include in the response.
331
331
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
332
332
  # @return [Array<(DomainResponse, Integer, Hash)>] DomainResponse data, response status code and response headers
333
- def read_with_http_info(domain_href, opts = {})
333
+ def domains_read_with_http_info(domain_href, opts = {})
334
334
  if @api_client.config.debugging
335
- @api_client.config.logger.debug 'Calling API: DomainsApi.read ...'
335
+ @api_client.config.logger.debug 'Calling API: DomainsApi.domains_read ...'
336
336
  end
337
337
  # verify the required parameter 'domain_href' is set
338
338
  if @api_client.config.client_side_validation && domain_href.nil?
339
- fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.read"
339
+ fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.domains_read"
340
340
  end
341
341
  # resource path
342
342
  local_var_path = '{domain_href}'.sub('{' + 'domain_href' + '}', CGI.escape(domain_href.to_s).gsub('%2F', '/'))
@@ -374,7 +374,7 @@ module PulpcoreClient
374
374
 
375
375
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
376
376
  if @api_client.config.debugging
377
- @api_client.config.logger.debug "API called: DomainsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
377
+ @api_client.config.logger.debug "API called: DomainsApi#domains_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
378
  end
379
379
  return data, status_code, headers
380
380
  end
@@ -385,8 +385,8 @@ module PulpcoreClient
385
385
  # @param domain [Domain]
386
386
  # @param [Hash] opts the optional parameters
387
387
  # @return [AsyncOperationResponse]
388
- def update(domain_href, domain, opts = {})
389
- data, _status_code, _headers = update_with_http_info(domain_href, domain, opts)
388
+ def domains_update(domain_href, domain, opts = {})
389
+ data, _status_code, _headers = domains_update_with_http_info(domain_href, domain, opts)
390
390
  data
391
391
  end
392
392
 
@@ -396,17 +396,17 @@ module PulpcoreClient
396
396
  # @param domain [Domain]
397
397
  # @param [Hash] opts the optional parameters
398
398
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
399
- def update_with_http_info(domain_href, domain, opts = {})
399
+ def domains_update_with_http_info(domain_href, domain, opts = {})
400
400
  if @api_client.config.debugging
401
- @api_client.config.logger.debug 'Calling API: DomainsApi.update ...'
401
+ @api_client.config.logger.debug 'Calling API: DomainsApi.domains_update ...'
402
402
  end
403
403
  # verify the required parameter 'domain_href' is set
404
404
  if @api_client.config.client_side_validation && domain_href.nil?
405
- fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.update"
405
+ fail ArgumentError, "Missing the required parameter 'domain_href' when calling DomainsApi.domains_update"
406
406
  end
407
407
  # verify the required parameter 'domain' is set
408
408
  if @api_client.config.client_side_validation && domain.nil?
409
- fail ArgumentError, "Missing the required parameter 'domain' when calling DomainsApi.update"
409
+ fail ArgumentError, "Missing the required parameter 'domain' when calling DomainsApi.domains_update"
410
410
  end
411
411
  # resource path
412
412
  local_var_path = '{domain_href}'.sub('{' + 'domain_href' + '}', CGI.escape(domain_href.to_s).gsub('%2F', '/'))
@@ -444,7 +444,7 @@ module PulpcoreClient
444
444
 
445
445
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
446
446
  if @api_client.config.debugging
447
- @api_client.config.logger.debug "API called: DomainsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
447
+ @api_client.config.logger.debug "API called: DomainsApi#domains_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
448
448
  end
449
449
  return data, status_code, headers
450
450
  end
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param filesystem_exporter [FilesystemExporter]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [FilesystemExporterResponse]
27
- def create(filesystem_exporter, opts = {})
28
- data, _status_code, _headers = create_with_http_info(filesystem_exporter, opts)
27
+ def exporters_core_filesystem_create(filesystem_exporter, opts = {})
28
+ data, _status_code, _headers = exporters_core_filesystem_create_with_http_info(filesystem_exporter, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param filesystem_exporter [FilesystemExporter]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
37
- def create_with_http_info(filesystem_exporter, opts = {})
37
+ def exporters_core_filesystem_create_with_http_info(filesystem_exporter, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.exporters_core_filesystem_create ...'
40
40
  end
41
41
  # verify the required parameter 'filesystem_exporter' is set
42
42
  if @api_client.config.client_side_validation && filesystem_exporter.nil?
43
- fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.exporters_core_filesystem_create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/exporters/core/filesystem/'
@@ -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: ExportersFilesystemApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: ExportersFilesystemApi#exporters_core_filesystem_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 filesystem_exporter_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def delete(filesystem_exporter_href, opts = {})
92
- data, _status_code, _headers = delete_with_http_info(filesystem_exporter_href, opts)
91
+ def exporters_core_filesystem_delete(filesystem_exporter_href, opts = {})
92
+ data, _status_code, _headers = exporters_core_filesystem_delete_with_http_info(filesystem_exporter_href, opts)
93
93
  data
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpcoreClient
98
98
  # @param filesystem_exporter_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
101
- def delete_with_http_info(filesystem_exporter_href, opts = {})
101
+ def exporters_core_filesystem_delete_with_http_info(filesystem_exporter_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.exporters_core_filesystem_delete ...'
104
104
  end
105
105
  # verify the required parameter 'filesystem_exporter_href' is set
106
106
  if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.delete"
107
+ fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.exporters_core_filesystem_delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
@@ -140,7 +140,7 @@ module PulpcoreClient
140
140
 
141
141
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
142
142
  if @api_client.config.debugging
143
- @api_client.config.logger.debug "API called: ExportersFilesystemApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: ExportersFilesystemApi#exporters_core_filesystem_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
144
  end
145
145
  return data, status_code, headers
146
146
  end
@@ -161,8 +161,8 @@ module PulpcoreClient
161
161
  # @option opts [Array<String>] :fields A list of fields to include in the response.
162
162
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
163
163
  # @return [PaginatedFilesystemExporterResponseList]
164
- def list(opts = {})
165
- data, _status_code, _headers = list_with_http_info(opts)
164
+ def exporters_core_filesystem_list(opts = {})
165
+ data, _status_code, _headers = exporters_core_filesystem_list_with_http_info(opts)
166
166
  data
167
167
  end
168
168
 
@@ -182,9 +182,9 @@ module PulpcoreClient
182
182
  # @option opts [Array<String>] :fields A list of fields to include in the response.
183
183
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
184
184
  # @return [Array<(PaginatedFilesystemExporterResponseList, Integer, Hash)>] PaginatedFilesystemExporterResponseList data, response status code and response headers
185
- def list_with_http_info(opts = {})
185
+ def exporters_core_filesystem_list_with_http_info(opts = {})
186
186
  if @api_client.config.debugging
187
- @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.list ...'
187
+ @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.exporters_core_filesystem_list ...'
188
188
  end
189
189
  allowable_values = ["-method", "-name", "-path", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "method", "name", "path", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
190
190
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -236,7 +236,7 @@ module PulpcoreClient
236
236
 
237
237
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
238
238
  if @api_client.config.debugging
239
- @api_client.config.logger.debug "API called: ExportersFilesystemApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
239
+ @api_client.config.logger.debug "API called: ExportersFilesystemApi#exporters_core_filesystem_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
240
240
  end
241
241
  return data, status_code, headers
242
242
  end
@@ -247,8 +247,8 @@ module PulpcoreClient
247
247
  # @param patched_filesystem_exporter [PatchedFilesystemExporter]
248
248
  # @param [Hash] opts the optional parameters
249
249
  # @return [AsyncOperationResponse]
250
- def partial_update(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
251
- data, _status_code, _headers = partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts)
250
+ def exporters_core_filesystem_partial_update(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
251
+ data, _status_code, _headers = exporters_core_filesystem_partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts)
252
252
  data
253
253
  end
254
254
 
@@ -258,17 +258,17 @@ module PulpcoreClient
258
258
  # @param patched_filesystem_exporter [PatchedFilesystemExporter]
259
259
  # @param [Hash] opts the optional parameters
260
260
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
261
- def partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
261
+ def exporters_core_filesystem_partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
262
262
  if @api_client.config.debugging
263
- @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.partial_update ...'
263
+ @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.exporters_core_filesystem_partial_update ...'
264
264
  end
265
265
  # verify the required parameter 'filesystem_exporter_href' is set
266
266
  if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
267
- fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.partial_update"
267
+ fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.exporters_core_filesystem_partial_update"
268
268
  end
269
269
  # verify the required parameter 'patched_filesystem_exporter' is set
270
270
  if @api_client.config.client_side_validation && patched_filesystem_exporter.nil?
271
- fail ArgumentError, "Missing the required parameter 'patched_filesystem_exporter' when calling ExportersFilesystemApi.partial_update"
271
+ fail ArgumentError, "Missing the required parameter 'patched_filesystem_exporter' when calling ExportersFilesystemApi.exporters_core_filesystem_partial_update"
272
272
  end
273
273
  # resource path
274
274
  local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
@@ -306,7 +306,7 @@ module PulpcoreClient
306
306
 
307
307
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
308
308
  if @api_client.config.debugging
309
- @api_client.config.logger.debug "API called: ExportersFilesystemApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
309
+ @api_client.config.logger.debug "API called: ExportersFilesystemApi#exporters_core_filesystem_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
310
310
  end
311
311
  return data, status_code, headers
312
312
  end
@@ -318,8 +318,8 @@ module PulpcoreClient
318
318
  # @option opts [Array<String>] :fields A list of fields to include in the response.
319
319
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
320
320
  # @return [FilesystemExporterResponse]
321
- def read(filesystem_exporter_href, opts = {})
322
- data, _status_code, _headers = read_with_http_info(filesystem_exporter_href, opts)
321
+ def exporters_core_filesystem_read(filesystem_exporter_href, opts = {})
322
+ data, _status_code, _headers = exporters_core_filesystem_read_with_http_info(filesystem_exporter_href, opts)
323
323
  data
324
324
  end
325
325
 
@@ -330,13 +330,13 @@ module PulpcoreClient
330
330
  # @option opts [Array<String>] :fields A list of fields to include in the response.
331
331
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
332
332
  # @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
333
- def read_with_http_info(filesystem_exporter_href, opts = {})
333
+ def exporters_core_filesystem_read_with_http_info(filesystem_exporter_href, opts = {})
334
334
  if @api_client.config.debugging
335
- @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.read ...'
335
+ @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.exporters_core_filesystem_read ...'
336
336
  end
337
337
  # verify the required parameter 'filesystem_exporter_href' is set
338
338
  if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
339
- fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.read"
339
+ fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.exporters_core_filesystem_read"
340
340
  end
341
341
  # resource path
342
342
  local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
@@ -374,7 +374,7 @@ module PulpcoreClient
374
374
 
375
375
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
376
376
  if @api_client.config.debugging
377
- @api_client.config.logger.debug "API called: ExportersFilesystemApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
377
+ @api_client.config.logger.debug "API called: ExportersFilesystemApi#exporters_core_filesystem_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
378
  end
379
379
  return data, status_code, headers
380
380
  end
@@ -385,8 +385,8 @@ module PulpcoreClient
385
385
  # @param filesystem_exporter [FilesystemExporter]
386
386
  # @param [Hash] opts the optional parameters
387
387
  # @return [AsyncOperationResponse]
388
- def update(filesystem_exporter_href, filesystem_exporter, opts = {})
389
- data, _status_code, _headers = update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts)
388
+ def exporters_core_filesystem_update(filesystem_exporter_href, filesystem_exporter, opts = {})
389
+ data, _status_code, _headers = exporters_core_filesystem_update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts)
390
390
  data
391
391
  end
392
392
 
@@ -396,17 +396,17 @@ module PulpcoreClient
396
396
  # @param filesystem_exporter [FilesystemExporter]
397
397
  # @param [Hash] opts the optional parameters
398
398
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
399
- def update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts = {})
399
+ def exporters_core_filesystem_update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts = {})
400
400
  if @api_client.config.debugging
401
- @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.update ...'
401
+ @api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.exporters_core_filesystem_update ...'
402
402
  end
403
403
  # verify the required parameter 'filesystem_exporter_href' is set
404
404
  if @api_client.config.client_side_validation && filesystem_exporter_href.nil?
405
- fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.update"
405
+ fail ArgumentError, "Missing the required parameter 'filesystem_exporter_href' when calling ExportersFilesystemApi.exporters_core_filesystem_update"
406
406
  end
407
407
  # verify the required parameter 'filesystem_exporter' is set
408
408
  if @api_client.config.client_side_validation && filesystem_exporter.nil?
409
- fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.update"
409
+ fail ArgumentError, "Missing the required parameter 'filesystem_exporter' when calling ExportersFilesystemApi.exporters_core_filesystem_update"
410
410
  end
411
411
  # resource path
412
412
  local_var_path = '{filesystem_exporter_href}'.sub('{' + 'filesystem_exporter_href' + '}', CGI.escape(filesystem_exporter_href.to_s).gsub('%2F', '/'))
@@ -444,7 +444,7 @@ module PulpcoreClient
444
444
 
445
445
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
446
446
  if @api_client.config.debugging
447
- @api_client.config.logger.debug "API called: ExportersFilesystemApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
447
+ @api_client.config.logger.debug "API called: ExportersFilesystemApi#exporters_core_filesystem_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
448
448
  end
449
449
  return data, status_code, headers
450
450
  end