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.

@@ -4,19 +4,19 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**remotes_rpm_rpm_create**](RemotesRpmApi.md#remotes_rpm_rpm_create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
8
- [**remotes_rpm_rpm_delete**](RemotesRpmApi.md#remotes_rpm_rpm_delete) | **DELETE** {rpm_remote_href} | Delete a rpm remote
9
- [**remotes_rpm_rpm_list**](RemotesRpmApi.md#remotes_rpm_rpm_list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
10
- [**remotes_rpm_rpm_partial_update**](RemotesRpmApi.md#remotes_rpm_rpm_partial_update) | **PATCH** {rpm_remote_href} | Partially update a rpm remote
11
- [**remotes_rpm_rpm_read**](RemotesRpmApi.md#remotes_rpm_rpm_read) | **GET** {rpm_remote_href} | Inspect a rpm remote
12
- [**remotes_rpm_rpm_sync**](RemotesRpmApi.md#remotes_rpm_rpm_sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
13
- [**remotes_rpm_rpm_update**](RemotesRpmApi.md#remotes_rpm_rpm_update) | **PUT** {rpm_remote_href} | Update a rpm remote
7
+ [**create**](RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
8
+ [**delete**](RemotesRpmApi.md#delete) | **DELETE** {rpm_remote_href} | Delete a rpm remote
9
+ [**list**](RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
10
+ [**partial_update**](RemotesRpmApi.md#partial_update) | **PATCH** {rpm_remote_href} | Partially update a rpm remote
11
+ [**read**](RemotesRpmApi.md#read) | **GET** {rpm_remote_href} | Inspect a rpm remote
12
+ [**sync**](RemotesRpmApi.md#sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
13
+ [**update**](RemotesRpmApi.md#update) | **PUT** {rpm_remote_href} | Update a rpm remote
14
14
 
15
15
 
16
16
 
17
- ## remotes_rpm_rpm_create
17
+ ## create
18
18
 
19
- > RpmRemote remotes_rpm_rpm_create(data)
19
+ > RpmRemote create(data)
20
20
 
21
21
  Create a rpm remote
22
22
 
@@ -39,10 +39,10 @@ data = PulpRpmClient::RpmRemote.new # RpmRemote |
39
39
 
40
40
  begin
41
41
  #Create a rpm remote
42
- result = api_instance.remotes_rpm_rpm_create(data)
42
+ result = api_instance.create(data)
43
43
  p result
44
44
  rescue PulpRpmClient::ApiError => e
45
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_create: #{e}"
45
+ puts "Exception when calling RemotesRpmApi->create: #{e}"
46
46
  end
47
47
  ```
48
48
 
@@ -67,9 +67,9 @@ Name | Type | Description | Notes
67
67
  - **Accept**: application/json
68
68
 
69
69
 
70
- ## remotes_rpm_rpm_delete
70
+ ## delete
71
71
 
72
- > AsyncOperationResponse remotes_rpm_rpm_delete(rpm_remote_href)
72
+ > AsyncOperationResponse delete(rpm_remote_href)
73
73
 
74
74
  Delete a rpm remote
75
75
 
@@ -92,10 +92,10 @@ rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.:
92
92
 
93
93
  begin
94
94
  #Delete a rpm remote
95
- result = api_instance.remotes_rpm_rpm_delete(rpm_remote_href)
95
+ result = api_instance.delete(rpm_remote_href)
96
96
  p result
97
97
  rescue PulpRpmClient::ApiError => e
98
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_delete: #{e}"
98
+ puts "Exception when calling RemotesRpmApi->delete: #{e}"
99
99
  end
100
100
  ```
101
101
 
@@ -120,9 +120,9 @@ Name | Type | Description | Notes
120
120
  - **Accept**: application/json
121
121
 
122
122
 
123
- ## remotes_rpm_rpm_list
123
+ ## list
124
124
 
125
- > InlineResponse2004 remotes_rpm_rpm_list(opts)
125
+ > InlineResponse2004 list(opts)
126
126
 
127
127
  List rpm remotes
128
128
 
@@ -156,10 +156,10 @@ opts = {
156
156
 
157
157
  begin
158
158
  #List rpm remotes
159
- result = api_instance.remotes_rpm_rpm_list(opts)
159
+ result = api_instance.list(opts)
160
160
  p result
161
161
  rescue PulpRpmClient::ApiError => e
162
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_list: #{e}"
162
+ puts "Exception when calling RemotesRpmApi->list: #{e}"
163
163
  end
164
164
  ```
165
165
 
@@ -193,9 +193,9 @@ Name | Type | Description | Notes
193
193
  - **Accept**: application/json
194
194
 
195
195
 
196
- ## remotes_rpm_rpm_partial_update
196
+ ## partial_update
197
197
 
198
- > AsyncOperationResponse remotes_rpm_rpm_partial_update(rpm_remote_href, data)
198
+ > AsyncOperationResponse partial_update(rpm_remote_href, data)
199
199
 
200
200
  Partially update a rpm remote
201
201
 
@@ -219,10 +219,10 @@ data = PulpRpmClient::RpmRemote.new # RpmRemote |
219
219
 
220
220
  begin
221
221
  #Partially update a rpm remote
222
- result = api_instance.remotes_rpm_rpm_partial_update(rpm_remote_href, data)
222
+ result = api_instance.partial_update(rpm_remote_href, data)
223
223
  p result
224
224
  rescue PulpRpmClient::ApiError => e
225
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_partial_update: #{e}"
225
+ puts "Exception when calling RemotesRpmApi->partial_update: #{e}"
226
226
  end
227
227
  ```
228
228
 
@@ -248,9 +248,9 @@ Name | Type | Description | Notes
248
248
  - **Accept**: application/json
249
249
 
250
250
 
251
- ## remotes_rpm_rpm_read
251
+ ## read
252
252
 
253
- > RpmRemote remotes_rpm_rpm_read(rpm_remote_href)
253
+ > RpmRemote read(rpm_remote_href)
254
254
 
255
255
  Inspect a rpm remote
256
256
 
@@ -273,10 +273,10 @@ rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.:
273
273
 
274
274
  begin
275
275
  #Inspect a rpm remote
276
- result = api_instance.remotes_rpm_rpm_read(rpm_remote_href)
276
+ result = api_instance.read(rpm_remote_href)
277
277
  p result
278
278
  rescue PulpRpmClient::ApiError => e
279
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_read: #{e}"
279
+ puts "Exception when calling RemotesRpmApi->read: #{e}"
280
280
  end
281
281
  ```
282
282
 
@@ -301,9 +301,9 @@ Name | Type | Description | Notes
301
301
  - **Accept**: application/json
302
302
 
303
303
 
304
- ## remotes_rpm_rpm_sync
304
+ ## sync
305
305
 
306
- > AsyncOperationResponse remotes_rpm_rpm_sync(rpm_remote_href, data)
306
+ > AsyncOperationResponse sync(rpm_remote_href, data)
307
307
 
308
308
  Sync from remote
309
309
 
@@ -327,10 +327,10 @@ data = PulpRpmClient::RepositorySyncURL.new # RepositorySyncURL |
327
327
 
328
328
  begin
329
329
  #Sync from remote
330
- result = api_instance.remotes_rpm_rpm_sync(rpm_remote_href, data)
330
+ result = api_instance.sync(rpm_remote_href, data)
331
331
  p result
332
332
  rescue PulpRpmClient::ApiError => e
333
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_sync: #{e}"
333
+ puts "Exception when calling RemotesRpmApi->sync: #{e}"
334
334
  end
335
335
  ```
336
336
 
@@ -356,9 +356,9 @@ Name | Type | Description | Notes
356
356
  - **Accept**: application/json
357
357
 
358
358
 
359
- ## remotes_rpm_rpm_update
359
+ ## update
360
360
 
361
- > AsyncOperationResponse remotes_rpm_rpm_update(rpm_remote_href, data)
361
+ > AsyncOperationResponse update(rpm_remote_href, data)
362
362
 
363
363
  Update a rpm remote
364
364
 
@@ -382,10 +382,10 @@ data = PulpRpmClient::RpmRemote.new # RpmRemote |
382
382
 
383
383
  begin
384
384
  #Update a rpm remote
385
- result = api_instance.remotes_rpm_rpm_update(rpm_remote_href, data)
385
+ result = api_instance.update(rpm_remote_href, data)
386
386
  p result
387
387
  rescue PulpRpmClient::ApiError => e
388
- puts "Exception when calling RemotesRpmApi->remotes_rpm_rpm_update: #{e}"
388
+ puts "Exception when calling RemotesRpmApi->update: #{e}"
389
389
  end
390
390
  ```
391
391
 
@@ -24,8 +24,8 @@ module PulpRpmClient
24
24
  # @param data [UpdateRecord]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [UpdateRecord]
27
- def content_rpm_advisories_create(data, opts = {})
28
- data, _status_code, _headers = content_rpm_advisories_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 [UpdateRecord]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(UpdateRecord, Integer, Hash)>] UpdateRecord data, response status code and response headers
37
- def content_rpm_advisories_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: ContentAdvisoriesApi.content_rpm_advisories_create ...'
39
+ @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.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 ContentAdvisoriesApi.content_rpm_advisories_create"
43
+ fail ArgumentError, "Missing the required parameter 'data' when calling ContentAdvisoriesApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/content/rpm/advisories/'
@@ -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: ContentAdvisoriesApi#content_rpm_advisories_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: ContentAdvisoriesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -100,8 +100,8 @@ module PulpRpmClient
100
100
  # @option opts [Integer] :page A page number within the paginated result set.
101
101
  # @option opts [Integer] :page_size Number of results to return per page.
102
102
  # @return [InlineResponse200]
103
- def content_rpm_advisories_list(opts = {})
104
- data, _status_code, _headers = content_rpm_advisories_list_with_http_info(opts)
103
+ def list(opts = {})
104
+ data, _status_code, _headers = list_with_http_info(opts)
105
105
  data
106
106
  end
107
107
 
@@ -122,9 +122,9 @@ module PulpRpmClient
122
122
  # @option opts [Integer] :page A page number within the paginated result set.
123
123
  # @option opts [Integer] :page_size Number of results to return per page.
124
124
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
125
- def content_rpm_advisories_list_with_http_info(opts = {})
125
+ def list_with_http_info(opts = {})
126
126
  if @api_client.config.debugging
127
- @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.content_rpm_advisories_list ...'
127
+ @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.list ...'
128
128
  end
129
129
  # resource path
130
130
  local_var_path = '/pulp/api/v3/content/rpm/advisories/'
@@ -173,7 +173,7 @@ module PulpRpmClient
173
173
 
174
174
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
175
175
  if @api_client.config.debugging
176
- @api_client.config.logger.debug "API called: ContentAdvisoriesApi#content_rpm_advisories_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
176
+ @api_client.config.logger.debug "API called: ContentAdvisoriesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
177
177
  end
178
178
  return data, status_code, headers
179
179
  end
@@ -183,8 +183,8 @@ module PulpRpmClient
183
183
  # @param update_record_href [String] URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
184
184
  # @param [Hash] opts the optional parameters
185
185
  # @return [UpdateRecord]
186
- def content_rpm_advisories_read(update_record_href, opts = {})
187
- data, _status_code, _headers = content_rpm_advisories_read_with_http_info(update_record_href, opts)
186
+ def read(update_record_href, opts = {})
187
+ data, _status_code, _headers = read_with_http_info(update_record_href, opts)
188
188
  data
189
189
  end
190
190
 
@@ -193,13 +193,13 @@ module PulpRpmClient
193
193
  # @param update_record_href [String] URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
194
194
  # @param [Hash] opts the optional parameters
195
195
  # @return [Array<(UpdateRecord, Integer, Hash)>] UpdateRecord data, response status code and response headers
196
- def content_rpm_advisories_read_with_http_info(update_record_href, opts = {})
196
+ def read_with_http_info(update_record_href, opts = {})
197
197
  if @api_client.config.debugging
198
- @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.content_rpm_advisories_read ...'
198
+ @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.read ...'
199
199
  end
200
200
  # verify the required parameter 'update_record_href' is set
201
201
  if @api_client.config.client_side_validation && update_record_href.nil?
202
- fail ArgumentError, "Missing the required parameter 'update_record_href' when calling ContentAdvisoriesApi.content_rpm_advisories_read"
202
+ fail ArgumentError, "Missing the required parameter 'update_record_href' when calling ContentAdvisoriesApi.read"
203
203
  end
204
204
  # resource path
205
205
  local_var_path = '{update_record_href}'.sub('{' + 'update_record_href' + '}', update_record_href.to_s)
@@ -235,7 +235,7 @@ module PulpRpmClient
235
235
 
236
236
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
237
237
  if @api_client.config.debugging
238
- @api_client.config.logger.debug "API called: ContentAdvisoriesApi#content_rpm_advisories_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
238
+ @api_client.config.logger.debug "API called: ContentAdvisoriesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
239
239
  end
240
240
  return data, status_code, headers
241
241
  end
@@ -24,8 +24,8 @@ module PulpRpmClient
24
24
  # @param data [Package]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [Package]
27
- def content_rpm_packages_create(data, opts = {})
28
- data, _status_code, _headers = content_rpm_packages_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 [Package]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(Package, Integer, Hash)>] Package data, response status code and response headers
37
- def content_rpm_packages_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: ContentPackagesApi.content_rpm_packages_create ...'
39
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.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 ContentPackagesApi.content_rpm_packages_create"
43
+ fail ArgumentError, "Missing the required parameter 'data' when calling ContentPackagesApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/content/rpm/packages/'
@@ -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: ContentPackagesApi#content_rpm_packages_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: ContentPackagesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -106,8 +106,8 @@ module PulpRpmClient
106
106
  # @option opts [Integer] :page A page number within the paginated result set.
107
107
  # @option opts [Integer] :page_size Number of results to return per page.
108
108
  # @return [InlineResponse2001]
109
- def content_rpm_packages_list(opts = {})
110
- data, _status_code, _headers = content_rpm_packages_list_with_http_info(opts)
109
+ def list(opts = {})
110
+ data, _status_code, _headers = list_with_http_info(opts)
111
111
  data
112
112
  end
113
113
 
@@ -134,9 +134,9 @@ module PulpRpmClient
134
134
  # @option opts [Integer] :page A page number within the paginated result set.
135
135
  # @option opts [Integer] :page_size Number of results to return per page.
136
136
  # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
137
- def content_rpm_packages_list_with_http_info(opts = {})
137
+ def list_with_http_info(opts = {})
138
138
  if @api_client.config.debugging
139
- @api_client.config.logger.debug 'Calling API: ContentPackagesApi.content_rpm_packages_list ...'
139
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
140
140
  end
141
141
  # resource path
142
142
  local_var_path = '/pulp/api/v3/content/rpm/packages/'
@@ -191,7 +191,7 @@ module PulpRpmClient
191
191
 
192
192
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
193
193
  if @api_client.config.debugging
194
- @api_client.config.logger.debug "API called: ContentPackagesApi#content_rpm_packages_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
194
+ @api_client.config.logger.debug "API called: ContentPackagesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
195
195
  end
196
196
  return data, status_code, headers
197
197
  end
@@ -201,8 +201,8 @@ module PulpRpmClient
201
201
  # @param package_href [String] URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/
202
202
  # @param [Hash] opts the optional parameters
203
203
  # @return [Package]
204
- def content_rpm_packages_read(package_href, opts = {})
205
- data, _status_code, _headers = content_rpm_packages_read_with_http_info(package_href, opts)
204
+ def read(package_href, opts = {})
205
+ data, _status_code, _headers = read_with_http_info(package_href, opts)
206
206
  data
207
207
  end
208
208
 
@@ -211,13 +211,13 @@ module PulpRpmClient
211
211
  # @param package_href [String] URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/
212
212
  # @param [Hash] opts the optional parameters
213
213
  # @return [Array<(Package, Integer, Hash)>] Package data, response status code and response headers
214
- def content_rpm_packages_read_with_http_info(package_href, opts = {})
214
+ def read_with_http_info(package_href, opts = {})
215
215
  if @api_client.config.debugging
216
- @api_client.config.logger.debug 'Calling API: ContentPackagesApi.content_rpm_packages_read ...'
216
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
217
217
  end
218
218
  # verify the required parameter 'package_href' is set
219
219
  if @api_client.config.client_side_validation && package_href.nil?
220
- fail ArgumentError, "Missing the required parameter 'package_href' when calling ContentPackagesApi.content_rpm_packages_read"
220
+ fail ArgumentError, "Missing the required parameter 'package_href' when calling ContentPackagesApi.read"
221
221
  end
222
222
  # resource path
223
223
  local_var_path = '{package_href}'.sub('{' + 'package_href' + '}', package_href.to_s)
@@ -253,7 +253,7 @@ module PulpRpmClient
253
253
 
254
254
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
255
255
  if @api_client.config.debugging
256
- @api_client.config.logger.debug "API called: ContentPackagesApi#content_rpm_packages_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
+ @api_client.config.logger.debug "API called: ContentPackagesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
257
257
  end
258
258
  return data, status_code, headers
259
259
  end
@@ -24,8 +24,8 @@ module PulpRpmClient
24
24
  # @param data [RpmDistribution]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
- def distributions_rpm_rpm_create(data, opts = {})
28
- data, _status_code, _headers = distributions_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 [RpmDistribution]
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 distributions_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: DistributionsRpmApi.distributions_rpm_rpm_create ...'
39
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.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 DistributionsRpmApi.distributions_rpm_rpm_create"
43
+ fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsRpmApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/distributions/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: DistributionsRpmApi#distributions_rpm_rpm_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#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_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
91
- def distributions_rpm_rpm_delete(rpm_distribution_href, opts = {})
92
- data, _status_code, _headers = distributions_rpm_rpm_delete_with_http_info(rpm_distribution_href, opts)
91
+ def delete(rpm_distribution_href, opts = {})
92
+ data, _status_code, _headers = delete_with_http_info(rpm_distribution_href, opts)
93
93
  data
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpRpmClient
98
98
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/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 distributions_rpm_rpm_delete_with_http_info(rpm_distribution_href, opts = {})
101
+ def delete_with_http_info(rpm_distribution_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.distributions_rpm_rpm_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'rpm_distribution_href' is set
106
106
  if @api_client.config.client_side_validation && rpm_distribution_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.distributions_rpm_rpm_delete"
107
+ fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_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: DistributionsRpmApi#distributions_rpm_rpm_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
144
  end
145
145
  return data, status_code, headers
146
146
  end
@@ -157,8 +157,8 @@ module PulpRpmClient
157
157
  # @option opts [Integer] :page A page number within the paginated result set.
158
158
  # @option opts [Integer] :page_size Number of results to return per page.
159
159
  # @return [InlineResponse2002]
160
- def distributions_rpm_rpm_list(opts = {})
161
- data, _status_code, _headers = distributions_rpm_rpm_list_with_http_info(opts)
160
+ def list(opts = {})
161
+ data, _status_code, _headers = list_with_http_info(opts)
162
162
  data
163
163
  end
164
164
 
@@ -174,9 +174,9 @@ module PulpRpmClient
174
174
  # @option opts [Integer] :page A page number within the paginated result set.
175
175
  # @option opts [Integer] :page_size Number of results to return per page.
176
176
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
177
- def distributions_rpm_rpm_list_with_http_info(opts = {})
177
+ def list_with_http_info(opts = {})
178
178
  if @api_client.config.debugging
179
- @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.distributions_rpm_rpm_list ...'
179
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
180
180
  end
181
181
  # resource path
182
182
  local_var_path = '/pulp/api/v3/distributions/rpm/rpm/'
@@ -220,7 +220,7 @@ module PulpRpmClient
220
220
 
221
221
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
222
222
  if @api_client.config.debugging
223
- @api_client.config.logger.debug "API called: DistributionsRpmApi#distributions_rpm_rpm_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
223
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
224
  end
225
225
  return data, status_code, headers
226
226
  end
@@ -231,8 +231,8 @@ module PulpRpmClient
231
231
  # @param data [RpmDistribution]
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @return [AsyncOperationResponse]
234
- def distributions_rpm_rpm_partial_update(rpm_distribution_href, data, opts = {})
235
- data, _status_code, _headers = distributions_rpm_rpm_partial_update_with_http_info(rpm_distribution_href, data, opts)
234
+ def partial_update(rpm_distribution_href, data, opts = {})
235
+ data, _status_code, _headers = partial_update_with_http_info(rpm_distribution_href, data, opts)
236
236
  data
237
237
  end
238
238
 
@@ -242,17 +242,17 @@ module PulpRpmClient
242
242
  # @param data [RpmDistribution]
243
243
  # @param [Hash] opts the optional parameters
244
244
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
245
- def distributions_rpm_rpm_partial_update_with_http_info(rpm_distribution_href, data, opts = {})
245
+ def partial_update_with_http_info(rpm_distribution_href, data, opts = {})
246
246
  if @api_client.config.debugging
247
- @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.distributions_rpm_rpm_partial_update ...'
247
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.partial_update ...'
248
248
  end
249
249
  # verify the required parameter 'rpm_distribution_href' is set
250
250
  if @api_client.config.client_side_validation && rpm_distribution_href.nil?
251
- fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.distributions_rpm_rpm_partial_update"
251
+ fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.partial_update"
252
252
  end
253
253
  # verify the required parameter 'data' is set
254
254
  if @api_client.config.client_side_validation && data.nil?
255
- fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsRpmApi.distributions_rpm_rpm_partial_update"
255
+ fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsRpmApi.partial_update"
256
256
  end
257
257
  # resource path
258
258
  local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
@@ -290,7 +290,7 @@ module PulpRpmClient
290
290
 
291
291
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
292
292
  if @api_client.config.debugging
293
- @api_client.config.logger.debug "API called: DistributionsRpmApi#distributions_rpm_rpm_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
293
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
294
294
  end
295
295
  return data, status_code, headers
296
296
  end
@@ -300,8 +300,8 @@ module PulpRpmClient
300
300
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
301
301
  # @param [Hash] opts the optional parameters
302
302
  # @return [RpmDistribution]
303
- def distributions_rpm_rpm_read(rpm_distribution_href, opts = {})
304
- data, _status_code, _headers = distributions_rpm_rpm_read_with_http_info(rpm_distribution_href, opts)
303
+ def read(rpm_distribution_href, opts = {})
304
+ data, _status_code, _headers = read_with_http_info(rpm_distribution_href, opts)
305
305
  data
306
306
  end
307
307
 
@@ -310,13 +310,13 @@ module PulpRpmClient
310
310
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
311
311
  # @param [Hash] opts the optional parameters
312
312
  # @return [Array<(RpmDistribution, Integer, Hash)>] RpmDistribution data, response status code and response headers
313
- def distributions_rpm_rpm_read_with_http_info(rpm_distribution_href, opts = {})
313
+ def read_with_http_info(rpm_distribution_href, opts = {})
314
314
  if @api_client.config.debugging
315
- @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.distributions_rpm_rpm_read ...'
315
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.read ...'
316
316
  end
317
317
  # verify the required parameter 'rpm_distribution_href' is set
318
318
  if @api_client.config.client_side_validation && rpm_distribution_href.nil?
319
- fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.distributions_rpm_rpm_read"
319
+ fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.read"
320
320
  end
321
321
  # resource path
322
322
  local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
@@ -352,7 +352,7 @@ module PulpRpmClient
352
352
 
353
353
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
354
354
  if @api_client.config.debugging
355
- @api_client.config.logger.debug "API called: DistributionsRpmApi#distributions_rpm_rpm_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
355
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
356
356
  end
357
357
  return data, status_code, headers
358
358
  end
@@ -363,8 +363,8 @@ module PulpRpmClient
363
363
  # @param data [RpmDistribution]
364
364
  # @param [Hash] opts the optional parameters
365
365
  # @return [AsyncOperationResponse]
366
- def distributions_rpm_rpm_update(rpm_distribution_href, data, opts = {})
367
- data, _status_code, _headers = distributions_rpm_rpm_update_with_http_info(rpm_distribution_href, data, opts)
366
+ def update(rpm_distribution_href, data, opts = {})
367
+ data, _status_code, _headers = update_with_http_info(rpm_distribution_href, data, opts)
368
368
  data
369
369
  end
370
370
 
@@ -374,17 +374,17 @@ module PulpRpmClient
374
374
  # @param data [RpmDistribution]
375
375
  # @param [Hash] opts the optional parameters
376
376
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
377
- def distributions_rpm_rpm_update_with_http_info(rpm_distribution_href, data, opts = {})
377
+ def update_with_http_info(rpm_distribution_href, data, opts = {})
378
378
  if @api_client.config.debugging
379
- @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.distributions_rpm_rpm_update ...'
379
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.update ...'
380
380
  end
381
381
  # verify the required parameter 'rpm_distribution_href' is set
382
382
  if @api_client.config.client_side_validation && rpm_distribution_href.nil?
383
- fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.distributions_rpm_rpm_update"
383
+ fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsRpmApi.update"
384
384
  end
385
385
  # verify the required parameter 'data' is set
386
386
  if @api_client.config.client_side_validation && data.nil?
387
- fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsRpmApi.distributions_rpm_rpm_update"
387
+ fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsRpmApi.update"
388
388
  end
389
389
  # resource path
390
390
  local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
@@ -422,7 +422,7 @@ module PulpRpmClient
422
422
 
423
423
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
424
424
  if @api_client.config.debugging
425
- @api_client.config.logger.debug "API called: DistributionsRpmApi#distributions_rpm_rpm_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
425
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
426
426
  end
427
427
  return data, status_code, headers
428
428
  end