pulp_rpm_client 3.0.0b4.dev0.1561479614 → 3.0.0b4.dev0.1561651989

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_rpm_client might be problematic. Click here for more details.

@@ -24,8 +24,8 @@ module PulpRpmClient
24
24
  # @param data [RpmPublication]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
- def publications_rpm_rpm_create(data, opts = {})
28
- data, _status_code, _headers = publications_rpm_rpm_create_with_http_info(data, opts)
27
+ def create(data, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpRpmClient
34
34
  # @param data [RpmPublication]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
- def publications_rpm_rpm_create_with_http_info(data, opts = {})
37
+ def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.publications_rpm_rpm_create ...'
39
+ @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'data' is set
42
42
  if @api_client.config.client_side_validation && data.nil?
43
- fail ArgumentError, "Missing the required parameter 'data' when calling PublicationsRpmApi.publications_rpm_rpm_create"
43
+ fail ArgumentError, "Missing the required parameter 'data' when calling PublicationsRpmApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/publications/rpm/rpm/'
@@ -78,7 +78,7 @@ module PulpRpmClient
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: PublicationsRpmApi#publications_rpm_rpm_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: PublicationsRpmApi#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 PulpRpmClient
88
88
  # @param rpm_publication_href [String] URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def publications_rpm_rpm_delete(rpm_publication_href, opts = {})
92
- publications_rpm_rpm_delete_with_http_info(rpm_publication_href, opts)
91
+ def delete(rpm_publication_href, opts = {})
92
+ delete_with_http_info(rpm_publication_href, opts)
93
93
  nil
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpRpmClient
98
98
  # @param rpm_publication_href [String] URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
- def publications_rpm_rpm_delete_with_http_info(rpm_publication_href, opts = {})
101
+ def delete_with_http_info(rpm_publication_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.publications_rpm_rpm_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'rpm_publication_href' is set
106
106
  if @api_client.config.client_side_validation && rpm_publication_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'rpm_publication_href' when calling PublicationsRpmApi.publications_rpm_rpm_delete"
107
+ fail ArgumentError, "Missing the required parameter 'rpm_publication_href' when calling PublicationsRpmApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{rpm_publication_href}'.sub('{' + 'rpm_publication_href' + '}', rpm_publication_href.to_s)
@@ -138,7 +138,7 @@ module PulpRpmClient
138
138
 
139
139
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
140
140
  if @api_client.config.debugging
141
- @api_client.config.logger.debug "API called: PublicationsRpmApi#publications_rpm_rpm_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: PublicationsRpmApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -150,8 +150,8 @@ module PulpRpmClient
150
150
  # @option opts [Integer] :page A page number within the paginated result set.
151
151
  # @option opts [Integer] :page_size Number of results to return per page.
152
152
  # @return [InlineResponse2003]
153
- def publications_rpm_rpm_list(opts = {})
154
- data, _status_code, _headers = publications_rpm_rpm_list_with_http_info(opts)
153
+ def list(opts = {})
154
+ data, _status_code, _headers = list_with_http_info(opts)
155
155
  data
156
156
  end
157
157
 
@@ -162,9 +162,9 @@ module PulpRpmClient
162
162
  # @option opts [Integer] :page A page number within the paginated result set.
163
163
  # @option opts [Integer] :page_size Number of results to return per page.
164
164
  # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
165
- def publications_rpm_rpm_list_with_http_info(opts = {})
165
+ def list_with_http_info(opts = {})
166
166
  if @api_client.config.debugging
167
- @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.publications_rpm_rpm_list ...'
167
+ @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
168
168
  end
169
169
  # resource path
170
170
  local_var_path = '/pulp/api/v3/publications/rpm/rpm/'
@@ -203,7 +203,7 @@ module PulpRpmClient
203
203
 
204
204
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
205
205
  if @api_client.config.debugging
206
- @api_client.config.logger.debug "API called: PublicationsRpmApi#publications_rpm_rpm_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
+ @api_client.config.logger.debug "API called: PublicationsRpmApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
207
207
  end
208
208
  return data, status_code, headers
209
209
  end
@@ -213,8 +213,8 @@ module PulpRpmClient
213
213
  # @param rpm_publication_href [String] URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
214
214
  # @param [Hash] opts the optional parameters
215
215
  # @return [RpmPublication]
216
- def publications_rpm_rpm_read(rpm_publication_href, opts = {})
217
- data, _status_code, _headers = publications_rpm_rpm_read_with_http_info(rpm_publication_href, opts)
216
+ def read(rpm_publication_href, opts = {})
217
+ data, _status_code, _headers = read_with_http_info(rpm_publication_href, opts)
218
218
  data
219
219
  end
220
220
 
@@ -223,13 +223,13 @@ module PulpRpmClient
223
223
  # @param rpm_publication_href [String] URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
224
224
  # @param [Hash] opts the optional parameters
225
225
  # @return [Array<(RpmPublication, Integer, Hash)>] RpmPublication data, response status code and response headers
226
- def publications_rpm_rpm_read_with_http_info(rpm_publication_href, opts = {})
226
+ def read_with_http_info(rpm_publication_href, opts = {})
227
227
  if @api_client.config.debugging
228
- @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.publications_rpm_rpm_read ...'
228
+ @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.read ...'
229
229
  end
230
230
  # verify the required parameter 'rpm_publication_href' is set
231
231
  if @api_client.config.client_side_validation && rpm_publication_href.nil?
232
- fail ArgumentError, "Missing the required parameter 'rpm_publication_href' when calling PublicationsRpmApi.publications_rpm_rpm_read"
232
+ fail ArgumentError, "Missing the required parameter 'rpm_publication_href' when calling PublicationsRpmApi.read"
233
233
  end
234
234
  # resource path
235
235
  local_var_path = '{rpm_publication_href}'.sub('{' + 'rpm_publication_href' + '}', rpm_publication_href.to_s)
@@ -265,7 +265,7 @@ module PulpRpmClient
265
265
 
266
266
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
267
267
  if @api_client.config.debugging
268
- @api_client.config.logger.debug "API called: PublicationsRpmApi#publications_rpm_rpm_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
268
+ @api_client.config.logger.debug "API called: PublicationsRpmApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
269
269
  end
270
270
  return data, status_code, headers
271
271
  end
@@ -24,8 +24,8 @@ module PulpRpmClient
24
24
  # @param data [RpmRemote]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [RpmRemote]
27
- def remotes_rpm_rpm_create(data, opts = {})
28
- data, _status_code, _headers = remotes_rpm_rpm_create_with_http_info(data, opts)
27
+ def create(data, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpRpmClient
34
34
  # @param data [RpmRemote]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(RpmRemote, Integer, Hash)>] RpmRemote data, response status code and response headers
37
- def remotes_rpm_rpm_create_with_http_info(data, opts = {})
37
+ def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_create ...'
39
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'data' is set
42
42
  if @api_client.config.client_side_validation && data.nil?
43
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.remotes_rpm_rpm_create"
43
+ fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/remotes/rpm/rpm/'
@@ -78,7 +78,7 @@ module PulpRpmClient
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: RemotesRpmApi#remotes_rpm_rpm_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RemotesRpmApi#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 PulpRpmClient
88
88
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def remotes_rpm_rpm_delete(rpm_remote_href, opts = {})
92
- data, _status_code, _headers = remotes_rpm_rpm_delete_with_http_info(rpm_remote_href, opts)
91
+ def delete(rpm_remote_href, opts = {})
92
+ data, _status_code, _headers = delete_with_http_info(rpm_remote_href, opts)
93
93
  data
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpRpmClient
98
98
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
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 remotes_rpm_rpm_delete_with_http_info(rpm_remote_href, opts = {})
101
+ def delete_with_http_info(rpm_remote_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'rpm_remote_href' is set
106
106
  if @api_client.config.client_side_validation && rpm_remote_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.remotes_rpm_rpm_delete"
107
+ fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
@@ -140,7 +140,7 @@ module PulpRpmClient
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: RemotesRpmApi#remotes_rpm_rpm_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: RemotesRpmApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
144
  end
145
145
  return data, status_code, headers
146
146
  end
@@ -159,8 +159,8 @@ module PulpRpmClient
159
159
  # @option opts [Integer] :page A page number within the paginated result set.
160
160
  # @option opts [Integer] :page_size Number of results to return per page.
161
161
  # @return [InlineResponse2004]
162
- def remotes_rpm_rpm_list(opts = {})
163
- data, _status_code, _headers = remotes_rpm_rpm_list_with_http_info(opts)
162
+ def list(opts = {})
163
+ data, _status_code, _headers = list_with_http_info(opts)
164
164
  data
165
165
  end
166
166
 
@@ -178,9 +178,9 @@ module PulpRpmClient
178
178
  # @option opts [Integer] :page A page number within the paginated result set.
179
179
  # @option opts [Integer] :page_size Number of results to return per page.
180
180
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
181
- def remotes_rpm_rpm_list_with_http_info(opts = {})
181
+ def list_with_http_info(opts = {})
182
182
  if @api_client.config.debugging
183
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_list ...'
183
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.list ...'
184
184
  end
185
185
  # resource path
186
186
  local_var_path = '/pulp/api/v3/remotes/rpm/rpm/'
@@ -226,7 +226,7 @@ module PulpRpmClient
226
226
 
227
227
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
228
228
  if @api_client.config.debugging
229
- @api_client.config.logger.debug "API called: RemotesRpmApi#remotes_rpm_rpm_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
229
+ @api_client.config.logger.debug "API called: RemotesRpmApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
230
230
  end
231
231
  return data, status_code, headers
232
232
  end
@@ -237,8 +237,8 @@ module PulpRpmClient
237
237
  # @param data [RpmRemote]
238
238
  # @param [Hash] opts the optional parameters
239
239
  # @return [AsyncOperationResponse]
240
- def remotes_rpm_rpm_partial_update(rpm_remote_href, data, opts = {})
241
- data, _status_code, _headers = remotes_rpm_rpm_partial_update_with_http_info(rpm_remote_href, data, opts)
240
+ def partial_update(rpm_remote_href, data, opts = {})
241
+ data, _status_code, _headers = partial_update_with_http_info(rpm_remote_href, data, opts)
242
242
  data
243
243
  end
244
244
 
@@ -248,17 +248,17 @@ module PulpRpmClient
248
248
  # @param data [RpmRemote]
249
249
  # @param [Hash] opts the optional parameters
250
250
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
251
- def remotes_rpm_rpm_partial_update_with_http_info(rpm_remote_href, data, opts = {})
251
+ def partial_update_with_http_info(rpm_remote_href, data, opts = {})
252
252
  if @api_client.config.debugging
253
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_partial_update ...'
253
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.partial_update ...'
254
254
  end
255
255
  # verify the required parameter 'rpm_remote_href' is set
256
256
  if @api_client.config.client_side_validation && rpm_remote_href.nil?
257
- fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.remotes_rpm_rpm_partial_update"
257
+ fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.partial_update"
258
258
  end
259
259
  # verify the required parameter 'data' is set
260
260
  if @api_client.config.client_side_validation && data.nil?
261
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.remotes_rpm_rpm_partial_update"
261
+ fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.partial_update"
262
262
  end
263
263
  # resource path
264
264
  local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
@@ -296,7 +296,7 @@ module PulpRpmClient
296
296
 
297
297
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
298
298
  if @api_client.config.debugging
299
- @api_client.config.logger.debug "API called: RemotesRpmApi#remotes_rpm_rpm_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
299
+ @api_client.config.logger.debug "API called: RemotesRpmApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
300
300
  end
301
301
  return data, status_code, headers
302
302
  end
@@ -306,8 +306,8 @@ module PulpRpmClient
306
306
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
307
307
  # @param [Hash] opts the optional parameters
308
308
  # @return [RpmRemote]
309
- def remotes_rpm_rpm_read(rpm_remote_href, opts = {})
310
- data, _status_code, _headers = remotes_rpm_rpm_read_with_http_info(rpm_remote_href, opts)
309
+ def read(rpm_remote_href, opts = {})
310
+ data, _status_code, _headers = read_with_http_info(rpm_remote_href, opts)
311
311
  data
312
312
  end
313
313
 
@@ -316,13 +316,13 @@ module PulpRpmClient
316
316
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
317
317
  # @param [Hash] opts the optional parameters
318
318
  # @return [Array<(RpmRemote, Integer, Hash)>] RpmRemote data, response status code and response headers
319
- def remotes_rpm_rpm_read_with_http_info(rpm_remote_href, opts = {})
319
+ def read_with_http_info(rpm_remote_href, opts = {})
320
320
  if @api_client.config.debugging
321
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_read ...'
321
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.read ...'
322
322
  end
323
323
  # verify the required parameter 'rpm_remote_href' is set
324
324
  if @api_client.config.client_side_validation && rpm_remote_href.nil?
325
- fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.remotes_rpm_rpm_read"
325
+ fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.read"
326
326
  end
327
327
  # resource path
328
328
  local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
@@ -358,7 +358,7 @@ module PulpRpmClient
358
358
 
359
359
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
360
360
  if @api_client.config.debugging
361
- @api_client.config.logger.debug "API called: RemotesRpmApi#remotes_rpm_rpm_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
361
+ @api_client.config.logger.debug "API called: RemotesRpmApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
362
362
  end
363
363
  return data, status_code, headers
364
364
  end
@@ -369,8 +369,8 @@ module PulpRpmClient
369
369
  # @param data [RepositorySyncURL]
370
370
  # @param [Hash] opts the optional parameters
371
371
  # @return [AsyncOperationResponse]
372
- def remotes_rpm_rpm_sync(rpm_remote_href, data, opts = {})
373
- data, _status_code, _headers = remotes_rpm_rpm_sync_with_http_info(rpm_remote_href, data, opts)
372
+ def sync(rpm_remote_href, data, opts = {})
373
+ data, _status_code, _headers = sync_with_http_info(rpm_remote_href, data, opts)
374
374
  data
375
375
  end
376
376
 
@@ -380,17 +380,17 @@ module PulpRpmClient
380
380
  # @param data [RepositorySyncURL]
381
381
  # @param [Hash] opts the optional parameters
382
382
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
383
- def remotes_rpm_rpm_sync_with_http_info(rpm_remote_href, data, opts = {})
383
+ def sync_with_http_info(rpm_remote_href, data, opts = {})
384
384
  if @api_client.config.debugging
385
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_sync ...'
385
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.sync ...'
386
386
  end
387
387
  # verify the required parameter 'rpm_remote_href' is set
388
388
  if @api_client.config.client_side_validation && rpm_remote_href.nil?
389
- fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.remotes_rpm_rpm_sync"
389
+ fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.sync"
390
390
  end
391
391
  # verify the required parameter 'data' is set
392
392
  if @api_client.config.client_side_validation && data.nil?
393
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.remotes_rpm_rpm_sync"
393
+ fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.sync"
394
394
  end
395
395
  # resource path
396
396
  local_var_path = '{rpm_remote_href}sync/'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
@@ -428,7 +428,7 @@ module PulpRpmClient
428
428
 
429
429
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
430
430
  if @api_client.config.debugging
431
- @api_client.config.logger.debug "API called: RemotesRpmApi#remotes_rpm_rpm_sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
431
+ @api_client.config.logger.debug "API called: RemotesRpmApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
432
432
  end
433
433
  return data, status_code, headers
434
434
  end
@@ -439,8 +439,8 @@ module PulpRpmClient
439
439
  # @param data [RpmRemote]
440
440
  # @param [Hash] opts the optional parameters
441
441
  # @return [AsyncOperationResponse]
442
- def remotes_rpm_rpm_update(rpm_remote_href, data, opts = {})
443
- data, _status_code, _headers = remotes_rpm_rpm_update_with_http_info(rpm_remote_href, data, opts)
442
+ def update(rpm_remote_href, data, opts = {})
443
+ data, _status_code, _headers = update_with_http_info(rpm_remote_href, data, opts)
444
444
  data
445
445
  end
446
446
 
@@ -450,17 +450,17 @@ module PulpRpmClient
450
450
  # @param data [RpmRemote]
451
451
  # @param [Hash] opts the optional parameters
452
452
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
453
- def remotes_rpm_rpm_update_with_http_info(rpm_remote_href, data, opts = {})
453
+ def update_with_http_info(rpm_remote_href, data, opts = {})
454
454
  if @api_client.config.debugging
455
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.remotes_rpm_rpm_update ...'
455
+ @api_client.config.logger.debug 'Calling API: RemotesRpmApi.update ...'
456
456
  end
457
457
  # verify the required parameter 'rpm_remote_href' is set
458
458
  if @api_client.config.client_side_validation && rpm_remote_href.nil?
459
- fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.remotes_rpm_rpm_update"
459
+ fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.update"
460
460
  end
461
461
  # verify the required parameter 'data' is set
462
462
  if @api_client.config.client_side_validation && data.nil?
463
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.remotes_rpm_rpm_update"
463
+ fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.update"
464
464
  end
465
465
  # resource path
466
466
  local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
@@ -498,7 +498,7 @@ module PulpRpmClient
498
498
 
499
499
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
500
500
  if @api_client.config.debugging
501
- @api_client.config.logger.debug "API called: RemotesRpmApi#remotes_rpm_rpm_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
501
+ @api_client.config.logger.debug "API called: RemotesRpmApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
502
502
  end
503
503
  return data, status_code, headers
504
504
  end
@@ -14,15 +14,15 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class Package
17
- attr_accessor :_type
18
-
19
- attr_accessor :_href
17
+ # Artifact file representing the physical content
18
+ attr_accessor :_artifact
20
19
 
21
20
  # Timestamp of creation.
22
21
  attr_accessor :_created
23
22
 
24
- # Artifact file representing the physical content
25
- attr_accessor :_artifact
23
+ attr_accessor :_type
24
+
25
+ attr_accessor :_href
26
26
 
27
27
  # Name of the package
28
28
  attr_accessor :name
@@ -135,10 +135,10 @@ module PulpRpmClient
135
135
  # Attribute mapping from ruby-style variable name to JSON key.
136
136
  def self.attribute_map
137
137
  {
138
+ :'_artifact' => :'_artifact',
139
+ :'_created' => :'_created',
138
140
  :'_type' => :'_type',
139
141
  :'_href' => :'_href',
140
- :'_created' => :'_created',
141
- :'_artifact' => :'_artifact',
142
142
  :'name' => :'name',
143
143
  :'epoch' => :'epoch',
144
144
  :'version' => :'version',
@@ -181,10 +181,10 @@ module PulpRpmClient
181
181
  # Attribute type mapping.
182
182
  def self.openapi_types
183
183
  {
184
+ :'_artifact' => :'String',
185
+ :'_created' => :'DateTime',
184
186
  :'_type' => :'String',
185
187
  :'_href' => :'String',
186
- :'_created' => :'DateTime',
187
- :'_artifact' => :'String',
188
188
  :'name' => :'String',
189
189
  :'epoch' => :'String',
190
190
  :'version' => :'String',
@@ -239,20 +239,20 @@ module PulpRpmClient
239
239
  h[k.to_sym] = v
240
240
  }
241
241
 
242
- if attributes.key?(:'_type')
243
- self._type = attributes[:'_type']
244
- end
245
-
246
- if attributes.key?(:'_href')
247
- self._href = attributes[:'_href']
242
+ if attributes.key?(:'_artifact')
243
+ self._artifact = attributes[:'_artifact']
248
244
  end
249
245
 
250
246
  if attributes.key?(:'_created')
251
247
  self._created = attributes[:'_created']
252
248
  end
253
249
 
254
- if attributes.key?(:'_artifact')
255
- self._artifact = attributes[:'_artifact']
250
+ if attributes.key?(:'_type')
251
+ self._type = attributes[:'_type']
252
+ end
253
+
254
+ if attributes.key?(:'_href')
255
+ self._href = attributes[:'_href']
256
256
  end
257
257
 
258
258
  if attributes.key?(:'name')
@@ -424,14 +424,14 @@ module PulpRpmClient
424
424
  # @return Array for valid properties with the reasons
425
425
  def list_invalid_properties
426
426
  invalid_properties = Array.new
427
- if !@_type.nil? && @_type.to_s.length < 1
428
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
429
- end
430
-
431
427
  if @_artifact.nil?
432
428
  invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
433
429
  end
434
430
 
431
+ if !@_type.nil? && @_type.to_s.length < 1
432
+ invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
433
+ end
434
+
435
435
  if @name.nil?
436
436
  invalid_properties.push('invalid value for "name", name cannot be nil.')
437
437
  end
@@ -566,8 +566,8 @@ module PulpRpmClient
566
566
  # Check to see if the all the properties in the model are valid
567
567
  # @return true if the model is valid
568
568
  def valid?
569
- return false if !@_type.nil? && @_type.to_s.length < 1
570
569
  return false if @_artifact.nil?
570
+ return false if !@_type.nil? && @_type.to_s.length < 1
571
571
  return false if @name.nil?
572
572
  return false if @name.to_s.length < 1
573
573
  return false if @version.nil?
@@ -816,10 +816,10 @@ module PulpRpmClient
816
816
  def ==(o)
817
817
  return true if self.equal?(o)
818
818
  self.class == o.class &&
819
+ _artifact == o._artifact &&
820
+ _created == o._created &&
819
821
  _type == o._type &&
820
822
  _href == o._href &&
821
- _created == o._created &&
822
- _artifact == o._artifact &&
823
823
  name == o.name &&
824
824
  epoch == o.epoch &&
825
825
  version == o.version &&
@@ -867,7 +867,7 @@ module PulpRpmClient
867
867
  # Calculates hash code according to all attributes.
868
868
  # @return [Integer] Hash code
869
869
  def hash
870
- [_type, _href, _created, _artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, size_archive, size_installed, size_package, time_build, time_file, relative_path].hash
870
+ [_artifact, _created, _type, _href, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, size_archive, size_installed, size_package, time_build, time_file, relative_path].hash
871
871
  end
872
872
 
873
873
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.0.0b4.dev0.1561479614'
14
+ VERSION = '3.0.0b4.dev0.1561651989'
15
15
  end
@@ -32,19 +32,19 @@ describe 'ContentAdvisoriesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for content_rpm_advisories_create
35
+ # unit tests for create
36
36
  # Create an update record
37
37
  # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [UpdateRecord]
41
- describe 'content_rpm_advisories_create test' do
41
+ describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- # unit tests for content_rpm_advisories_list
47
+ # unit tests for list
48
48
  # List update records
49
49
  # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
50
50
  # @param [Hash] opts the optional parameters
@@ -62,19 +62,19 @@ describe 'ContentAdvisoriesApi' do
62
62
  # @option opts [Integer] :page A page number within the paginated result set.
63
63
  # @option opts [Integer] :page_size Number of results to return per page.
64
64
  # @return [InlineResponse200]
65
- describe 'content_rpm_advisories_list test' do
65
+ describe 'list test' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- # unit tests for content_rpm_advisories_read
71
+ # unit tests for read
72
72
  # Inspect an update record
73
73
  # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
74
74
  # @param update_record_href URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @return [UpdateRecord]
77
- describe 'content_rpm_advisories_read test' do
77
+ describe 'read test' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
@@ -32,19 +32,19 @@ describe 'ContentPackagesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for content_rpm_packages_create
35
+ # unit tests for create
36
36
  # Create a package
37
37
  # Create a new Package from a request.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [Package]
41
- describe 'content_rpm_packages_create test' do
41
+ describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- # unit tests for content_rpm_packages_list
47
+ # unit tests for list
48
48
  # List packages
49
49
  # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
50
50
  # @param [Hash] opts the optional parameters
@@ -68,19 +68,19 @@ describe 'ContentPackagesApi' do
68
68
  # @option opts [Integer] :page A page number within the paginated result set.
69
69
  # @option opts [Integer] :page_size Number of results to return per page.
70
70
  # @return [InlineResponse2001]
71
- describe 'content_rpm_packages_list test' do
71
+ describe 'list test' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- # unit tests for content_rpm_packages_read
77
+ # unit tests for read
78
78
  # Inspect a package
79
79
  # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
80
80
  # @param package_href URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @return [Package]
83
- describe 'content_rpm_packages_read test' do
83
+ describe 'read test' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  end