pulp_rpm_client 3.0.0b3.dev.1560786621 → 3.0.0b4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +32 -32
  4. data/docs/ContentAdvisoriesApi.md +196 -0
  5. data/docs/ContentPackagesApi.md +208 -0
  6. data/docs/{DistributionsApi.md → DistributionsRpmApi.md} +37 -37
  7. data/docs/Package.md +2 -2
  8. data/docs/{PublicationsApi.md → PublicationsRpmApi.md} +25 -25
  9. data/docs/{RemotesApi.md → RemotesRpmApi.md} +43 -43
  10. data/docs/{RpmApi.md → RpmCopyApi.md} +4 -62
  11. data/docs/RpmRemote.md +3 -5
  12. data/docs/RpmUploadApi.md +66 -0
  13. data/lib/pulp_rpm_client.rb +7 -5
  14. data/lib/pulp_rpm_client/api/content_advisories_api.rb +243 -0
  15. data/lib/pulp_rpm_client/api/content_packages_api.rb +261 -0
  16. data/lib/pulp_rpm_client/api/{distributions_api.rb → distributions_rpm_api.rb} +38 -38
  17. data/lib/pulp_rpm_client/api/{publications_api.rb → publications_rpm_api.rb} +24 -24
  18. data/lib/pulp_rpm_client/api/{remotes_api.rb → remotes_rpm_api.rb} +45 -45
  19. data/lib/pulp_rpm_client/api/{rpm_api.rb → rpm_copy_api.rb} +4 -72
  20. data/lib/pulp_rpm_client/api/rpm_upload_api.rb +90 -0
  21. data/lib/pulp_rpm_client/models/package.rb +10 -10
  22. data/lib/pulp_rpm_client/models/rpm_remote.rb +4 -14
  23. data/lib/pulp_rpm_client/version.rb +1 -1
  24. data/spec/api/content_advisories_api_spec.rb +83 -0
  25. data/spec/api/{content_api_spec.rb → content_packages_api_spec.rb} +12 -60
  26. data/spec/api/{distributions_api_spec.rb → distributions_rpm_api_spec.rb} +18 -18
  27. data/spec/api/{publications_api_spec.rb → publications_rpm_api_spec.rb} +14 -14
  28. data/spec/api/{remotes_api_spec.rb → remotes_rpm_api_spec.rb} +20 -20
  29. data/spec/api/{rpm_api_spec.rb → rpm_copy_api_spec.rb} +6 -19
  30. data/spec/api/rpm_upload_api_spec.rb +48 -0
  31. data/spec/models/package_spec.rb +2 -2
  32. data/spec/models/rpm_remote_spec.rb +0 -6
  33. metadata +30 -22
  34. data/docs/ContentApi.md +0 -396
  35. data/lib/pulp_rpm_client/api/content_api.rb +0 -482
@@ -1,21 +1,21 @@
1
- # PulpRpmClient::DistributionsApi
1
+ # PulpRpmClient::DistributionsRpmApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**distributions_rpm_rpm_create**](DistributionsApi.md#distributions_rpm_rpm_create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
8
- [**distributions_rpm_rpm_delete**](DistributionsApi.md#distributions_rpm_rpm_delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
9
- [**distributions_rpm_rpm_list**](DistributionsApi.md#distributions_rpm_rpm_list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
10
- [**distributions_rpm_rpm_partial_update**](DistributionsApi.md#distributions_rpm_rpm_partial_update) | **PATCH** {rpm_distribution_href} | Partially update a rpm distribution
11
- [**distributions_rpm_rpm_read**](DistributionsApi.md#distributions_rpm_rpm_read) | **GET** {rpm_distribution_href} | Inspect a rpm distribution
12
- [**distributions_rpm_rpm_update**](DistributionsApi.md#distributions_rpm_rpm_update) | **PUT** {rpm_distribution_href} | Update a rpm distribution
7
+ [**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
8
+ [**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
9
+ [**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
10
+ [**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_distribution_href} | Partially update a rpm distribution
11
+ [**read**](DistributionsRpmApi.md#read) | **GET** {rpm_distribution_href} | Inspect a rpm distribution
12
+ [**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_distribution_href} | Update a rpm distribution
13
13
 
14
14
 
15
15
 
16
- ## distributions_rpm_rpm_create
16
+ ## create
17
17
 
18
- > AsyncOperationResponse distributions_rpm_rpm_create(data)
18
+ > AsyncOperationResponse create(data)
19
19
 
20
20
  Create a rpm distribution
21
21
 
@@ -33,15 +33,15 @@ PulpRpmClient.configure do |config|
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
- api_instance = PulpRpmClient::DistributionsApi.new
36
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
37
37
  data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
38
38
 
39
39
  begin
40
40
  #Create a rpm distribution
41
- result = api_instance.distributions_rpm_rpm_create(data)
41
+ result = api_instance.create(data)
42
42
  p result
43
43
  rescue PulpRpmClient::ApiError => e
44
- puts "Exception when calling DistributionsApi->distributions_rpm_rpm_create: #{e}"
44
+ puts "Exception when calling DistributionsRpmApi->create: #{e}"
45
45
  end
46
46
  ```
47
47
 
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
- ## distributions_rpm_rpm_delete
69
+ ## delete
70
70
 
71
- > AsyncOperationResponse distributions_rpm_rpm_delete(rpm_distribution_href)
71
+ > AsyncOperationResponse delete(rpm_distribution_href)
72
72
 
73
73
  Delete a rpm distribution
74
74
 
@@ -86,15 +86,15 @@ PulpRpmClient.configure do |config|
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
- api_instance = PulpRpmClient::DistributionsApi.new
89
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
90
90
  rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
91
91
 
92
92
  begin
93
93
  #Delete a rpm distribution
94
- result = api_instance.distributions_rpm_rpm_delete(rpm_distribution_href)
94
+ result = api_instance.delete(rpm_distribution_href)
95
95
  p result
96
96
  rescue PulpRpmClient::ApiError => e
97
- puts "Exception when calling DistributionsApi->distributions_rpm_rpm_delete: #{e}"
97
+ puts "Exception when calling DistributionsRpmApi->delete: #{e}"
98
98
  end
99
99
  ```
100
100
 
@@ -119,9 +119,9 @@ Name | Type | Description | Notes
119
119
  - **Accept**: application/json
120
120
 
121
121
 
122
- ## distributions_rpm_rpm_list
122
+ ## list
123
123
 
124
- > InlineResponse2002 distributions_rpm_rpm_list(opts)
124
+ > InlineResponse2002 list(opts)
125
125
 
126
126
  List rpm distributions
127
127
 
@@ -139,7 +139,7 @@ PulpRpmClient.configure do |config|
139
139
  config.password = 'YOUR PASSWORD'
140
140
  end
141
141
 
142
- api_instance = PulpRpmClient::DistributionsApi.new
142
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
143
143
  opts = {
144
144
  name: 'name_example', # String |
145
145
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
@@ -153,10 +153,10 @@ opts = {
153
153
 
154
154
  begin
155
155
  #List rpm distributions
156
- result = api_instance.distributions_rpm_rpm_list(opts)
156
+ result = api_instance.list(opts)
157
157
  p result
158
158
  rescue PulpRpmClient::ApiError => e
159
- puts "Exception when calling DistributionsApi->distributions_rpm_rpm_list: #{e}"
159
+ puts "Exception when calling DistributionsRpmApi->list: #{e}"
160
160
  end
161
161
  ```
162
162
 
@@ -188,9 +188,9 @@ Name | Type | Description | Notes
188
188
  - **Accept**: application/json
189
189
 
190
190
 
191
- ## distributions_rpm_rpm_partial_update
191
+ ## partial_update
192
192
 
193
- > AsyncOperationResponse distributions_rpm_rpm_partial_update(rpm_distribution_href, data)
193
+ > AsyncOperationResponse partial_update(rpm_distribution_href, data)
194
194
 
195
195
  Partially update a rpm distribution
196
196
 
@@ -208,16 +208,16 @@ PulpRpmClient.configure do |config|
208
208
  config.password = 'YOUR PASSWORD'
209
209
  end
210
210
 
211
- api_instance = PulpRpmClient::DistributionsApi.new
211
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
212
212
  rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
213
213
  data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
214
214
 
215
215
  begin
216
216
  #Partially update a rpm distribution
217
- result = api_instance.distributions_rpm_rpm_partial_update(rpm_distribution_href, data)
217
+ result = api_instance.partial_update(rpm_distribution_href, data)
218
218
  p result
219
219
  rescue PulpRpmClient::ApiError => e
220
- puts "Exception when calling DistributionsApi->distributions_rpm_rpm_partial_update: #{e}"
220
+ puts "Exception when calling DistributionsRpmApi->partial_update: #{e}"
221
221
  end
222
222
  ```
223
223
 
@@ -243,9 +243,9 @@ Name | Type | Description | Notes
243
243
  - **Accept**: application/json
244
244
 
245
245
 
246
- ## distributions_rpm_rpm_read
246
+ ## read
247
247
 
248
- > RpmDistribution distributions_rpm_rpm_read(rpm_distribution_href)
248
+ > RpmDistribution read(rpm_distribution_href)
249
249
 
250
250
  Inspect a rpm distribution
251
251
 
@@ -263,15 +263,15 @@ PulpRpmClient.configure do |config|
263
263
  config.password = 'YOUR PASSWORD'
264
264
  end
265
265
 
266
- api_instance = PulpRpmClient::DistributionsApi.new
266
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
267
267
  rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
268
268
 
269
269
  begin
270
270
  #Inspect a rpm distribution
271
- result = api_instance.distributions_rpm_rpm_read(rpm_distribution_href)
271
+ result = api_instance.read(rpm_distribution_href)
272
272
  p result
273
273
  rescue PulpRpmClient::ApiError => e
274
- puts "Exception when calling DistributionsApi->distributions_rpm_rpm_read: #{e}"
274
+ puts "Exception when calling DistributionsRpmApi->read: #{e}"
275
275
  end
276
276
  ```
277
277
 
@@ -296,9 +296,9 @@ Name | Type | Description | Notes
296
296
  - **Accept**: application/json
297
297
 
298
298
 
299
- ## distributions_rpm_rpm_update
299
+ ## update
300
300
 
301
- > AsyncOperationResponse distributions_rpm_rpm_update(rpm_distribution_href, data)
301
+ > AsyncOperationResponse update(rpm_distribution_href, data)
302
302
 
303
303
  Update a rpm distribution
304
304
 
@@ -316,16 +316,16 @@ PulpRpmClient.configure do |config|
316
316
  config.password = 'YOUR PASSWORD'
317
317
  end
318
318
 
319
- api_instance = PulpRpmClient::DistributionsApi.new
319
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
320
320
  rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
321
321
  data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
322
322
 
323
323
  begin
324
324
  #Update a rpm distribution
325
- result = api_instance.distributions_rpm_rpm_update(rpm_distribution_href, data)
325
+ result = api_instance.update(rpm_distribution_href, data)
326
326
  p result
327
327
  rescue PulpRpmClient::ApiError => e
328
- puts "Exception when calling DistributionsApi->distributions_rpm_rpm_update: #{e}"
328
+ puts "Exception when calling DistributionsRpmApi->update: #{e}"
329
329
  end
330
330
  ```
331
331
 
data/docs/Package.md CHANGED
@@ -5,8 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
8
  **_type** | **String** | | [optional]
9
+ **_created** | **DateTime** | Timestamp of creation. | [optional]
10
10
  **_artifact** | **String** | Artifact file representing the physical content |
11
11
  **name** | **String** | Name of the package |
12
12
  **epoch** | **String** | The package's epoch | [optional]
@@ -51,8 +51,8 @@ Name | Type | Description | Notes
51
51
  require 'PulpRpmClient'
52
52
 
53
53
  instance = PulpRpmClient::Package.new(_href: null,
54
- _created: null,
55
54
  _type: null,
55
+ _created: null,
56
56
  _artifact: null,
57
57
  name: null,
58
58
  epoch: null,
@@ -1,19 +1,19 @@
1
- # PulpRpmClient::PublicationsApi
1
+ # PulpRpmClient::PublicationsRpmApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**publications_rpm_rpm_create**](PublicationsApi.md#publications_rpm_rpm_create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
8
- [**publications_rpm_rpm_delete**](PublicationsApi.md#publications_rpm_rpm_delete) | **DELETE** {rpm_publication_href} | Delete a rpm publication
9
- [**publications_rpm_rpm_list**](PublicationsApi.md#publications_rpm_rpm_list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
10
- [**publications_rpm_rpm_read**](PublicationsApi.md#publications_rpm_rpm_read) | **GET** {rpm_publication_href} | Inspect a rpm publication
7
+ [**create**](PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
8
+ [**delete**](PublicationsRpmApi.md#delete) | **DELETE** {rpm_publication_href} | Delete a rpm publication
9
+ [**list**](PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
10
+ [**read**](PublicationsRpmApi.md#read) | **GET** {rpm_publication_href} | Inspect a rpm publication
11
11
 
12
12
 
13
13
 
14
- ## publications_rpm_rpm_create
14
+ ## create
15
15
 
16
- > AsyncOperationResponse publications_rpm_rpm_create(data)
16
+ > AsyncOperationResponse create(data)
17
17
 
18
18
  Create a rpm publication
19
19
 
@@ -31,15 +31,15 @@ PulpRpmClient.configure do |config|
31
31
  config.password = 'YOUR PASSWORD'
32
32
  end
33
33
 
34
- api_instance = PulpRpmClient::PublicationsApi.new
34
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
35
35
  data = PulpRpmClient::RpmPublication.new # RpmPublication |
36
36
 
37
37
  begin
38
38
  #Create a rpm publication
39
- result = api_instance.publications_rpm_rpm_create(data)
39
+ result = api_instance.create(data)
40
40
  p result
41
41
  rescue PulpRpmClient::ApiError => e
42
- puts "Exception when calling PublicationsApi->publications_rpm_rpm_create: #{e}"
42
+ puts "Exception when calling PublicationsRpmApi->create: #{e}"
43
43
  end
44
44
  ```
45
45
 
@@ -64,9 +64,9 @@ Name | Type | Description | Notes
64
64
  - **Accept**: application/json
65
65
 
66
66
 
67
- ## publications_rpm_rpm_delete
67
+ ## delete
68
68
 
69
- > publications_rpm_rpm_delete(rpm_publication_href)
69
+ > delete(rpm_publication_href)
70
70
 
71
71
  Delete a rpm publication
72
72
 
@@ -84,14 +84,14 @@ PulpRpmClient.configure do |config|
84
84
  config.password = 'YOUR PASSWORD'
85
85
  end
86
86
 
87
- api_instance = PulpRpmClient::PublicationsApi.new
87
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
88
88
  rpm_publication_href = 'rpm_publication_href_example' # String | URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
89
89
 
90
90
  begin
91
91
  #Delete a rpm publication
92
- api_instance.publications_rpm_rpm_delete(rpm_publication_href)
92
+ api_instance.delete(rpm_publication_href)
93
93
  rescue PulpRpmClient::ApiError => e
94
- puts "Exception when calling PublicationsApi->publications_rpm_rpm_delete: #{e}"
94
+ puts "Exception when calling PublicationsRpmApi->delete: #{e}"
95
95
  end
96
96
  ```
97
97
 
@@ -116,9 +116,9 @@ nil (empty response body)
116
116
  - **Accept**: Not defined
117
117
 
118
118
 
119
- ## publications_rpm_rpm_list
119
+ ## list
120
120
 
121
- > InlineResponse2003 publications_rpm_rpm_list(opts)
121
+ > InlineResponse2003 list(opts)
122
122
 
123
123
  List rpm publications
124
124
 
@@ -136,7 +136,7 @@ PulpRpmClient.configure do |config|
136
136
  config.password = 'YOUR PASSWORD'
137
137
  end
138
138
 
139
- api_instance = PulpRpmClient::PublicationsApi.new
139
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
140
140
  opts = {
141
141
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
142
142
  page: 56, # Integer | A page number within the paginated result set.
@@ -145,10 +145,10 @@ opts = {
145
145
 
146
146
  begin
147
147
  #List rpm publications
148
- result = api_instance.publications_rpm_rpm_list(opts)
148
+ result = api_instance.list(opts)
149
149
  p result
150
150
  rescue PulpRpmClient::ApiError => e
151
- puts "Exception when calling PublicationsApi->publications_rpm_rpm_list: #{e}"
151
+ puts "Exception when calling PublicationsRpmApi->list: #{e}"
152
152
  end
153
153
  ```
154
154
 
@@ -175,9 +175,9 @@ Name | Type | Description | Notes
175
175
  - **Accept**: application/json
176
176
 
177
177
 
178
- ## publications_rpm_rpm_read
178
+ ## read
179
179
 
180
- > RpmPublication publications_rpm_rpm_read(rpm_publication_href)
180
+ > RpmPublication read(rpm_publication_href)
181
181
 
182
182
  Inspect a rpm publication
183
183
 
@@ -195,15 +195,15 @@ PulpRpmClient.configure do |config|
195
195
  config.password = 'YOUR PASSWORD'
196
196
  end
197
197
 
198
- api_instance = PulpRpmClient::PublicationsApi.new
198
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
199
199
  rpm_publication_href = 'rpm_publication_href_example' # String | URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
200
200
 
201
201
  begin
202
202
  #Inspect a rpm publication
203
- result = api_instance.publications_rpm_rpm_read(rpm_publication_href)
203
+ result = api_instance.read(rpm_publication_href)
204
204
  p result
205
205
  rescue PulpRpmClient::ApiError => e
206
- puts "Exception when calling PublicationsApi->publications_rpm_rpm_read: #{e}"
206
+ puts "Exception when calling PublicationsRpmApi->read: #{e}"
207
207
  end
208
208
  ```
209
209
 
@@ -1,22 +1,22 @@
1
- # PulpRpmClient::RemotesApi
1
+ # PulpRpmClient::RemotesRpmApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**remotes_rpm_rpm_create**](RemotesApi.md#remotes_rpm_rpm_create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
8
- [**remotes_rpm_rpm_delete**](RemotesApi.md#remotes_rpm_rpm_delete) | **DELETE** {rpm_remote_href} | Delete a rpm remote
9
- [**remotes_rpm_rpm_list**](RemotesApi.md#remotes_rpm_rpm_list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
10
- [**remotes_rpm_rpm_partial_update**](RemotesApi.md#remotes_rpm_rpm_partial_update) | **PATCH** {rpm_remote_href} | Partially update a rpm remote
11
- [**remotes_rpm_rpm_read**](RemotesApi.md#remotes_rpm_rpm_read) | **GET** {rpm_remote_href} | Inspect a rpm remote
12
- [**remotes_rpm_rpm_sync**](RemotesApi.md#remotes_rpm_rpm_sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
13
- [**remotes_rpm_rpm_update**](RemotesApi.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
 
@@ -34,15 +34,15 @@ PulpRpmClient.configure do |config|
34
34
  config.password = 'YOUR PASSWORD'
35
35
  end
36
36
 
37
- api_instance = PulpRpmClient::RemotesApi.new
37
+ api_instance = PulpRpmClient::RemotesRpmApi.new
38
38
  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 RemotesApi->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
 
@@ -87,15 +87,15 @@ PulpRpmClient.configure do |config|
87
87
  config.password = 'YOUR PASSWORD'
88
88
  end
89
89
 
90
- api_instance = PulpRpmClient::RemotesApi.new
90
+ api_instance = PulpRpmClient::RemotesRpmApi.new
91
91
  rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
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 RemotesApi->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
 
@@ -140,7 +140,7 @@ PulpRpmClient.configure do |config|
140
140
  config.password = 'YOUR PASSWORD'
141
141
  end
142
142
 
143
- api_instance = PulpRpmClient::RemotesApi.new
143
+ api_instance = PulpRpmClient::RemotesRpmApi.new
144
144
  opts = {
145
145
  name: 'name_example', # String |
146
146
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
@@ -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 RemotesApi->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
 
@@ -213,16 +213,16 @@ PulpRpmClient.configure do |config|
213
213
  config.password = 'YOUR PASSWORD'
214
214
  end
215
215
 
216
- api_instance = PulpRpmClient::RemotesApi.new
216
+ api_instance = PulpRpmClient::RemotesRpmApi.new
217
217
  rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
218
218
  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 RemotesApi->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
 
@@ -268,15 +268,15 @@ PulpRpmClient.configure do |config|
268
268
  config.password = 'YOUR PASSWORD'
269
269
  end
270
270
 
271
- api_instance = PulpRpmClient::RemotesApi.new
271
+ api_instance = PulpRpmClient::RemotesRpmApi.new
272
272
  rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
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 RemotesApi->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
 
@@ -321,16 +321,16 @@ PulpRpmClient.configure do |config|
321
321
  config.password = 'YOUR PASSWORD'
322
322
  end
323
323
 
324
- api_instance = PulpRpmClient::RemotesApi.new
324
+ api_instance = PulpRpmClient::RemotesRpmApi.new
325
325
  rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
326
326
  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 RemotesApi->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
 
@@ -376,16 +376,16 @@ PulpRpmClient.configure do |config|
376
376
  config.password = 'YOUR PASSWORD'
377
377
  end
378
378
 
379
- api_instance = PulpRpmClient::RemotesApi.new
379
+ api_instance = PulpRpmClient::RemotesRpmApi.new
380
380
  rpm_remote_href = 'rpm_remote_href_example' # String | URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
381
381
  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 RemotesApi->remotes_rpm_rpm_update: #{e}"
388
+ puts "Exception when calling RemotesRpmApi->update: #{e}"
389
389
  end
390
390
  ```
391
391