pulp_rpm_client 3.0.0b5 → 3.0.0b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -6
  3. data/docs/ContentAdvisoriesApi.md +3 -3
  4. data/docs/ContentModulemdApi.md +210 -0
  5. data/docs/ContentModulemdDefaultsApi.md +200 -0
  6. data/docs/ContentPackagesApi.md +17 -9
  7. data/docs/DistributionTreesDistributionTreesApi.md +2 -2
  8. data/docs/DistributionsRpmApi.md +2 -2
  9. data/docs/InlineResponse2001.md +1 -1
  10. data/docs/InlineResponse2002.md +1 -1
  11. data/docs/InlineResponse2003.md +1 -1
  12. data/docs/InlineResponse2004.md +1 -1
  13. data/docs/InlineResponse2005.md +1 -1
  14. data/docs/InlineResponse2006.md +1 -1
  15. data/docs/InlineResponse2007.md +23 -0
  16. data/docs/InlineResponse2008.md +23 -0
  17. data/docs/Modulemd.md +45 -0
  18. data/docs/ModulemdDefaults.md +35 -0
  19. data/docs/Package.md +23 -19
  20. data/docs/PublicationsRpmApi.md +2 -2
  21. data/docs/RemotesRpmApi.md +2 -2
  22. data/docs/RepoMetadataFile.md +5 -1
  23. data/docs/RepoMetadataFilesRepoMetadataFilesApi.md +2 -2
  24. data/docs/RpmCopyApi.md +1 -1
  25. data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -5
  26. data/lib/pulp_rpm_client/api/content_modulemd_api.rb +319 -0
  27. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +272 -0
  28. data/lib/pulp_rpm_client/api/content_packages_api.rb +32 -18
  29. data/lib/pulp_rpm_client/api/distribution_trees_distribution_trees_api.rb +3 -3
  30. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
  31. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
  32. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +3 -3
  33. data/lib/pulp_rpm_client/api/repo_metadata_files_repo_metadata_files_api.rb +3 -3
  34. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
  35. data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
  36. data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
  37. data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
  38. data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
  39. data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
  40. data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
  41. data/lib/pulp_rpm_client/models/inline_response2007.rb +235 -0
  42. data/lib/pulp_rpm_client/models/inline_response2008.rb +235 -0
  43. data/lib/pulp_rpm_client/models/modulemd.rb +544 -0
  44. data/lib/pulp_rpm_client/models/modulemd_defaults.rb +396 -0
  45. data/lib/pulp_rpm_client/models/package.rb +73 -156
  46. data/lib/pulp_rpm_client/models/repo_metadata_file.rb +21 -6
  47. data/lib/pulp_rpm_client/version.rb +1 -1
  48. data/lib/pulp_rpm_client.rb +6 -1
  49. data/spec/api/content_advisories_api_spec.rb +2 -2
  50. data/spec/api/content_modulemd_api_spec.rb +88 -0
  51. data/spec/api/content_modulemd_defaults_api_spec.rb +83 -0
  52. data/spec/api/content_packages_api_spec.rb +7 -4
  53. data/spec/api/distribution_trees_distribution_trees_api_spec.rb +1 -1
  54. data/spec/api/distributions_rpm_api_spec.rb +1 -1
  55. data/spec/api/publications_rpm_api_spec.rb +1 -1
  56. data/spec/api/remotes_rpm_api_spec.rb +1 -1
  57. data/spec/api/repo_metadata_files_repo_metadata_files_api_spec.rb +1 -1
  58. data/spec/models/inline_response2007_spec.rb +59 -0
  59. data/spec/models/inline_response2008_spec.rb +59 -0
  60. data/spec/models/modulemd_defaults_spec.rb +95 -0
  61. data/spec/models/modulemd_spec.rb +125 -0
  62. data/spec/models/package_spec.rb +16 -4
  63. data/spec/models/repo_metadata_file_spec.rb +12 -0
  64. metadata +26 -6
  65. data/docs/RpmUploadApi.md +0 -66
  66. data/lib/pulp_rpm_client/api/rpm_upload_api.rb +0 -90
  67. data/spec/api/rpm_upload_api_spec.rb +0 -48
@@ -0,0 +1,272 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpRpmClient
16
+ class ContentModulemdDefaultsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Create a modulemd defaults
23
+ # Trigger an asynchronous task to create content,optionally create new repository version.
24
+ # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
+ # @param _module [String] Modulemd name.
26
+ # @param stream [String] Modulemd default stream.
27
+ # @param profiles [String] Default profiles for modulemd streams.
28
+ # @param [Hash] opts the optional parameters
29
+ # @option opts [String] :artifact Artifact file representing the physical content
30
+ # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
31
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
32
+ # @return [AsyncOperationResponse]
33
+ def create(relative_path, _module, stream, profiles, opts = {})
34
+ data, _status_code, _headers = create_with_http_info(relative_path, _module, stream, profiles, opts)
35
+ data
36
+ end
37
+
38
+ # Create a modulemd defaults
39
+ # Trigger an asynchronous task to create content,optionally create new repository version.
40
+ # @param relative_path [String] Path where the artifact is located relative to distributions base_path
41
+ # @param _module [String] Modulemd name.
42
+ # @param stream [String] Modulemd default stream.
43
+ # @param profiles [String] Default profiles for modulemd streams.
44
+ # @param [Hash] opts the optional parameters
45
+ # @option opts [String] :artifact Artifact file representing the physical content
46
+ # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
47
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
48
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
49
+ def create_with_http_info(relative_path, _module, stream, profiles, opts = {})
50
+ if @api_client.config.debugging
51
+ @api_client.config.logger.debug 'Calling API: ContentModulemdDefaultsApi.create ...'
52
+ end
53
+ # verify the required parameter 'relative_path' is set
54
+ if @api_client.config.client_side_validation && relative_path.nil?
55
+ fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentModulemdDefaultsApi.create"
56
+ end
57
+ if @api_client.config.client_side_validation && relative_path.to_s.length < 1
58
+ fail ArgumentError, 'invalid value for "relative_path" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
59
+ end
60
+
61
+ # verify the required parameter '_module' is set
62
+ if @api_client.config.client_side_validation && _module.nil?
63
+ fail ArgumentError, "Missing the required parameter '_module' when calling ContentModulemdDefaultsApi.create"
64
+ end
65
+ if @api_client.config.client_side_validation && _module.to_s.length < 1
66
+ fail ArgumentError, 'invalid value for "_module" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
67
+ end
68
+
69
+ # verify the required parameter 'stream' is set
70
+ if @api_client.config.client_side_validation && stream.nil?
71
+ fail ArgumentError, "Missing the required parameter 'stream' when calling ContentModulemdDefaultsApi.create"
72
+ end
73
+ if @api_client.config.client_side_validation && stream.to_s.length < 1
74
+ fail ArgumentError, 'invalid value for "stream" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
75
+ end
76
+
77
+ # verify the required parameter 'profiles' is set
78
+ if @api_client.config.client_side_validation && profiles.nil?
79
+ fail ArgumentError, "Missing the required parameter 'profiles' when calling ContentModulemdDefaultsApi.create"
80
+ end
81
+ if @api_client.config.client_side_validation && profiles.to_s.length < 1
82
+ fail ArgumentError, 'invalid value for "profiles" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
83
+ end
84
+
85
+ # resource path
86
+ local_var_path = '/pulp/api/v3/content/rpm/modulemd-defaults/'
87
+
88
+ # query parameters
89
+ query_params = opts[:query_params] || {}
90
+
91
+ # header parameters
92
+ header_params = opts[:header_params] || {}
93
+ # HTTP header 'Accept' (if needed)
94
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
95
+ # HTTP header 'Content-Type'
96
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
97
+
98
+ # form parameters
99
+ form_params = opts[:form_params] || {}
100
+ form_params['relative_path'] = relative_path
101
+ form_params['module'] = _module
102
+ form_params['stream'] = stream
103
+ form_params['profiles'] = profiles
104
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
105
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
106
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
107
+
108
+ # http body (model)
109
+ post_body = opts[:body]
110
+
111
+ # return_type
112
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
113
+
114
+ # auth_names
115
+ auth_names = opts[:auth_names] || ['Basic']
116
+
117
+ new_options = opts.merge(
118
+ :header_params => header_params,
119
+ :query_params => query_params,
120
+ :form_params => form_params,
121
+ :body => post_body,
122
+ :auth_names => auth_names,
123
+ :return_type => return_type
124
+ )
125
+
126
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
127
+ if @api_client.config.debugging
128
+ @api_client.config.logger.debug "API called: ContentModulemdDefaultsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
129
+ end
130
+ return data, status_code, headers
131
+ end
132
+
133
+ # List modulemd defaultss
134
+ # ViewSet for Modulemd.
135
+ # @param [Hash] opts the optional parameters
136
+ # @option opts [String] :repository_version Repository Version referenced by HREF
137
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
138
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
139
+ # @option opts [Integer] :limit Number of results to return per page.
140
+ # @option opts [Integer] :offset The initial index from which to return the results.
141
+ # @option opts [String] :fields A list of fields to include in the response.
142
+ # @return [InlineResponse2001]
143
+ def list(opts = {})
144
+ data, _status_code, _headers = list_with_http_info(opts)
145
+ data
146
+ end
147
+
148
+ # List modulemd defaultss
149
+ # ViewSet for Modulemd.
150
+ # @param [Hash] opts the optional parameters
151
+ # @option opts [String] :repository_version Repository Version referenced by HREF
152
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
153
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
154
+ # @option opts [Integer] :limit Number of results to return per page.
155
+ # @option opts [Integer] :offset The initial index from which to return the results.
156
+ # @option opts [String] :fields A list of fields to include in the response.
157
+ # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
158
+ def list_with_http_info(opts = {})
159
+ if @api_client.config.debugging
160
+ @api_client.config.logger.debug 'Calling API: ContentModulemdDefaultsApi.list ...'
161
+ end
162
+ # resource path
163
+ local_var_path = '/pulp/api/v3/content/rpm/modulemd-defaults/'
164
+
165
+ # query parameters
166
+ query_params = opts[:query_params] || {}
167
+ query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
168
+ query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
169
+ query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
170
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
171
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
172
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
173
+
174
+ # header parameters
175
+ header_params = opts[:header_params] || {}
176
+ # HTTP header 'Accept' (if needed)
177
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
178
+
179
+ # form parameters
180
+ form_params = opts[:form_params] || {}
181
+
182
+ # http body (model)
183
+ post_body = opts[:body]
184
+
185
+ # return_type
186
+ return_type = opts[:return_type] || 'InlineResponse2001'
187
+
188
+ # auth_names
189
+ auth_names = opts[:auth_names] || ['Basic']
190
+
191
+ new_options = opts.merge(
192
+ :header_params => header_params,
193
+ :query_params => query_params,
194
+ :form_params => form_params,
195
+ :body => post_body,
196
+ :auth_names => auth_names,
197
+ :return_type => return_type
198
+ )
199
+
200
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
201
+ if @api_client.config.debugging
202
+ @api_client.config.logger.debug "API called: ContentModulemdDefaultsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
203
+ end
204
+ return data, status_code, headers
205
+ end
206
+
207
+ # Inspect a modulemd defaults
208
+ # ViewSet for Modulemd.
209
+ # @param modulemd_defaults_href [String] URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd-defaults/1/
210
+ # @param [Hash] opts the optional parameters
211
+ # @option opts [String] :fields A list of fields to include in the response.
212
+ # @return [ModulemdDefaults]
213
+ def read(modulemd_defaults_href, opts = {})
214
+ data, _status_code, _headers = read_with_http_info(modulemd_defaults_href, opts)
215
+ data
216
+ end
217
+
218
+ # Inspect a modulemd defaults
219
+ # ViewSet for Modulemd.
220
+ # @param modulemd_defaults_href [String] URI of Modulemd Defaults. e.g.: /pulp/api/v3/content/rpm/modulemd-defaults/1/
221
+ # @param [Hash] opts the optional parameters
222
+ # @option opts [String] :fields A list of fields to include in the response.
223
+ # @return [Array<(ModulemdDefaults, Integer, Hash)>] ModulemdDefaults data, response status code and response headers
224
+ def read_with_http_info(modulemd_defaults_href, opts = {})
225
+ if @api_client.config.debugging
226
+ @api_client.config.logger.debug 'Calling API: ContentModulemdDefaultsApi.read ...'
227
+ end
228
+ # verify the required parameter 'modulemd_defaults_href' is set
229
+ if @api_client.config.client_side_validation && modulemd_defaults_href.nil?
230
+ fail ArgumentError, "Missing the required parameter 'modulemd_defaults_href' when calling ContentModulemdDefaultsApi.read"
231
+ end
232
+ # resource path
233
+ local_var_path = '{modulemd_defaults_href}'.sub('{' + 'modulemd_defaults_href' + '}', CGI.escape(modulemd_defaults_href.to_s).gsub('%2F', '/'))
234
+
235
+ # query parameters
236
+ query_params = opts[:query_params] || {}
237
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
238
+
239
+ # header parameters
240
+ header_params = opts[:header_params] || {}
241
+ # HTTP header 'Accept' (if needed)
242
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
243
+
244
+ # form parameters
245
+ form_params = opts[:form_params] || {}
246
+
247
+ # http body (model)
248
+ post_body = opts[:body]
249
+
250
+ # return_type
251
+ return_type = opts[:return_type] || 'ModulemdDefaults'
252
+
253
+ # auth_names
254
+ auth_names = opts[:auth_names] || ['Basic']
255
+
256
+ new_options = opts.merge(
257
+ :header_params => header_params,
258
+ :query_params => query_params,
259
+ :form_params => form_params,
260
+ :body => post_body,
261
+ :auth_names => auth_names,
262
+ :return_type => return_type
263
+ )
264
+
265
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
266
+ if @api_client.config.debugging
267
+ @api_client.config.logger.debug "API called: ContentModulemdDefaultsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
268
+ end
269
+ return data, status_code, headers
270
+ end
271
+ end
272
+ end
@@ -20,28 +20,38 @@ module PulpRpmClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a package
23
- # Create a new Package from a request.
24
- # @param data [Package]
23
+ # Trigger an asynchronous task to create content,optionally create new repository version.
24
+ # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Package]
27
- def create(data, opts = {})
28
- data, _status_code, _headers = create_with_http_info(data, opts)
26
+ # @option opts [String] :artifact Artifact file representing the physical content
27
+ # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
28
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
+ # @return [AsyncOperationResponse]
30
+ def create(relative_path, opts = {})
31
+ data, _status_code, _headers = create_with_http_info(relative_path, opts)
29
32
  data
30
33
  end
31
34
 
32
35
  # Create a package
33
- # Create a new Package from a request.
34
- # @param data [Package]
36
+ # Trigger an asynchronous task to create content,optionally create new repository version.
37
+ # @param relative_path [String] Path where the artifact is located relative to distributions base_path
35
38
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(Package, Integer, Hash)>] Package data, response status code and response headers
37
- def create_with_http_info(data, opts = {})
39
+ # @option opts [String] :artifact Artifact file representing the physical content
40
+ # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
41
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
43
+ def create_with_http_info(relative_path, opts = {})
38
44
  if @api_client.config.debugging
39
45
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.create ...'
40
46
  end
41
- # verify the required parameter 'data' is set
42
- if @api_client.config.client_side_validation && data.nil?
43
- fail ArgumentError, "Missing the required parameter 'data' when calling ContentPackagesApi.create"
47
+ # verify the required parameter 'relative_path' is set
48
+ if @api_client.config.client_side_validation && relative_path.nil?
49
+ fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentPackagesApi.create"
50
+ end
51
+ if @api_client.config.client_side_validation && relative_path.to_s.length < 1
52
+ fail ArgumentError, 'invalid value for "relative_path" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
44
53
  end
54
+
45
55
  # resource path
46
56
  local_var_path = '/pulp/api/v3/content/rpm/packages/'
47
57
 
@@ -53,16 +63,20 @@ module PulpRpmClient
53
63
  # HTTP header 'Accept' (if needed)
54
64
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
65
  # HTTP header 'Content-Type'
56
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
66
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
57
67
 
58
68
  # form parameters
59
69
  form_params = opts[:form_params] || {}
70
+ form_params['relative_path'] = relative_path
71
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
72
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
73
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
60
74
 
61
75
  # http body (model)
62
- post_body = opts[:body] || @api_client.object_to_http_body(data)
76
+ post_body = opts[:body]
63
77
 
64
78
  # return_type
65
- return_type = opts[:return_type] || 'Package'
79
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
66
80
 
67
81
  # auth_names
68
82
  auth_names = opts[:auth_names] || ['Basic']
@@ -106,7 +120,7 @@ module PulpRpmClient
106
120
  # @option opts [Integer] :limit Number of results to return per page.
107
121
  # @option opts [Integer] :offset The initial index from which to return the results.
108
122
  # @option opts [String] :fields A list of fields to include in the response.
109
- # @return [InlineResponse2001]
123
+ # @return [InlineResponse2003]
110
124
  def list(opts = {})
111
125
  data, _status_code, _headers = list_with_http_info(opts)
112
126
  data
@@ -135,7 +149,7 @@ module PulpRpmClient
135
149
  # @option opts [Integer] :limit Number of results to return per page.
136
150
  # @option opts [Integer] :offset The initial index from which to return the results.
137
151
  # @option opts [String] :fields A list of fields to include in the response.
138
- # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
152
+ # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
139
153
  def list_with_http_info(opts = {})
140
154
  if @api_client.config.debugging
141
155
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
@@ -178,7 +192,7 @@ module PulpRpmClient
178
192
  post_body = opts[:body]
179
193
 
180
194
  # return_type
181
- return_type = opts[:return_type] || 'InlineResponse2001'
195
+ return_type = opts[:return_type] || 'InlineResponse2003'
182
196
 
183
197
  # auth_names
184
198
  auth_names = opts[:auth_names] || ['Basic']
@@ -85,7 +85,7 @@ module PulpRpmClient
85
85
  # @option opts [Integer] :limit Number of results to return per page.
86
86
  # @option opts [Integer] :offset The initial index from which to return the results.
87
87
  # @option opts [String] :fields A list of fields to include in the response.
88
- # @return [InlineResponse2002]
88
+ # @return [InlineResponse2004]
89
89
  def list(opts = {})
90
90
  data, _status_code, _headers = list_with_http_info(opts)
91
91
  data
@@ -97,7 +97,7 @@ module PulpRpmClient
97
97
  # @option opts [Integer] :limit Number of results to return per page.
98
98
  # @option opts [Integer] :offset The initial index from which to return the results.
99
99
  # @option opts [String] :fields A list of fields to include in the response.
100
- # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
100
+ # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
101
101
  def list_with_http_info(opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: DistributionTreesDistributionTreesApi.list ...'
@@ -123,7 +123,7 @@ module PulpRpmClient
123
123
  post_body = opts[:body]
124
124
 
125
125
  # return_type
126
- return_type = opts[:return_type] || 'InlineResponse2002'
126
+ return_type = opts[:return_type] || 'InlineResponse2004'
127
127
 
128
128
  # auth_names
129
129
  auth_names = opts[:auth_names] || ['Basic']
@@ -157,7 +157,7 @@ module PulpRpmClient
157
157
  # @option opts [Integer] :limit Number of results to return per page.
158
158
  # @option opts [Integer] :offset The initial index from which to return the results.
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
- # @return [InlineResponse2003]
160
+ # @return [InlineResponse2005]
161
161
  def list(opts = {})
162
162
  data, _status_code, _headers = list_with_http_info(opts)
163
163
  data
@@ -175,7 +175,7 @@ module PulpRpmClient
175
175
  # @option opts [Integer] :limit Number of results to return per page.
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
177
  # @option opts [String] :fields A list of fields to include in the response.
178
- # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
178
+ # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
179
179
  def list_with_http_info(opts = {})
180
180
  if @api_client.config.debugging
181
181
  @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
@@ -207,7 +207,7 @@ module PulpRpmClient
207
207
  post_body = opts[:body]
208
208
 
209
209
  # return_type
210
- return_type = opts[:return_type] || 'InlineResponse2003'
210
+ return_type = opts[:return_type] || 'InlineResponse2005'
211
211
 
212
212
  # auth_names
213
213
  auth_names = opts[:auth_names] || ['Basic']
@@ -150,7 +150,7 @@ module PulpRpmClient
150
150
  # @option opts [Integer] :limit Number of results to return per page.
151
151
  # @option opts [Integer] :offset The initial index from which to return the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
- # @return [InlineResponse2004]
153
+ # @return [InlineResponse2006]
154
154
  def list(opts = {})
155
155
  data, _status_code, _headers = list_with_http_info(opts)
156
156
  data
@@ -163,7 +163,7 @@ module PulpRpmClient
163
163
  # @option opts [Integer] :limit Number of results to return per page.
164
164
  # @option opts [Integer] :offset The initial index from which to return the results.
165
165
  # @option opts [String] :fields A list of fields to include in the response.
166
- # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
166
+ # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
167
167
  def list_with_http_info(opts = {})
168
168
  if @api_client.config.debugging
169
169
  @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
@@ -190,7 +190,7 @@ module PulpRpmClient
190
190
  post_body = opts[:body]
191
191
 
192
192
  # return_type
193
- return_type = opts[:return_type] || 'InlineResponse2004'
193
+ return_type = opts[:return_type] || 'InlineResponse2006'
194
194
 
195
195
  # auth_names
196
196
  auth_names = opts[:auth_names] || ['Basic']
@@ -159,7 +159,7 @@ module PulpRpmClient
159
159
  # @option opts [Integer] :limit Number of results to return per page.
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
162
- # @return [InlineResponse2005]
162
+ # @return [InlineResponse2007]
163
163
  def list(opts = {})
164
164
  data, _status_code, _headers = list_with_http_info(opts)
165
165
  data
@@ -179,7 +179,7 @@ module PulpRpmClient
179
179
  # @option opts [Integer] :limit Number of results to return per page.
180
180
  # @option opts [Integer] :offset The initial index from which to return the results.
181
181
  # @option opts [String] :fields A list of fields to include in the response.
182
- # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
182
+ # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
183
183
  def list_with_http_info(opts = {})
184
184
  if @api_client.config.debugging
185
185
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.list ...'
@@ -213,7 +213,7 @@ module PulpRpmClient
213
213
  post_body = opts[:body]
214
214
 
215
215
  # return_type
216
- return_type = opts[:return_type] || 'InlineResponse2005'
216
+ return_type = opts[:return_type] || 'InlineResponse2007'
217
217
 
218
218
  # auth_names
219
219
  auth_names = opts[:auth_names] || ['Basic']
@@ -85,7 +85,7 @@ module PulpRpmClient
85
85
  # @option opts [Integer] :limit Number of results to return per page.
86
86
  # @option opts [Integer] :offset The initial index from which to return the results.
87
87
  # @option opts [String] :fields A list of fields to include in the response.
88
- # @return [InlineResponse2006]
88
+ # @return [InlineResponse2008]
89
89
  def list(opts = {})
90
90
  data, _status_code, _headers = list_with_http_info(opts)
91
91
  data
@@ -97,7 +97,7 @@ module PulpRpmClient
97
97
  # @option opts [Integer] :limit Number of results to return per page.
98
98
  # @option opts [Integer] :offset The initial index from which to return the results.
99
99
  # @option opts [String] :fields A list of fields to include in the response.
100
- # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
100
+ # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
101
101
  def list_with_http_info(opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: RepoMetadataFilesRepoMetadataFilesApi.list ...'
@@ -123,7 +123,7 @@ module PulpRpmClient
123
123
  post_body = opts[:body]
124
124
 
125
125
  # return_type
126
- return_type = opts[:return_type] || 'InlineResponse2006'
126
+ return_type = opts[:return_type] || 'InlineResponse2008'
127
127
 
128
128
  # auth_names
129
129
  auth_names = opts[:auth_names] || ['Basic']
@@ -49,7 +49,7 @@ module PulpRpmClient
49
49
  fail ArgumentError, "Missing the required parameter 'dest_repo' when calling RpmCopyApi.copy_content"
50
50
  end
51
51
  # resource path
52
- local_var_path = '/rpm/copy/'
52
+ local_var_path = '/pulp/api/v3/rpm/copy/'
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<Package>'
41
+ :'results' => :'Array<ModulemdDefaults>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DistributionTree>'
41
+ :'results' => :'Array<Modulemd>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmDistribution>'
41
+ :'results' => :'Array<Package>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmPublication>'
41
+ :'results' => :'Array<DistributionTree>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmRemote>'
41
+ :'results' => :'Array<RpmDistribution>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RepoMetadataFile>'
41
+ :'results' => :'Array<RpmPublication>'
42
42
  }
43
43
  end
44
44