pulpcore_client 3.20.0 → 3.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -84
  3. data/docs/ContentApi.md +1 -115
  4. data/docs/ContentguardsApi.md +1 -280
  5. data/docs/DistributionsApi.md +3 -281
  6. data/docs/PublicationsApi.md +0 -113
  7. data/docs/PulpImport.md +3 -1
  8. data/docs/RemotesApi.md +0 -280
  9. data/docs/RepositoriesApi.md +3 -281
  10. data/docs/UploadsApi.md +228 -0
  11. data/lib/pulpcore_client/api/content_api.rb +2 -134
  12. data/lib/pulpcore_client/api/contentguards_api.rb +2 -334
  13. data/lib/pulpcore_client/api/distributions_api.rb +5 -336
  14. data/lib/pulpcore_client/api/publications_api.rb +0 -128
  15. data/lib/pulpcore_client/api/remotes_api.rb +0 -334
  16. data/lib/pulpcore_client/api/repositories_api.rb +5 -336
  17. data/lib/pulpcore_client/api/repository_versions_api.rb +1 -1
  18. data/lib/pulpcore_client/api/uploads_api.rb +268 -0
  19. data/lib/pulpcore_client/api_client.rb +1 -1
  20. data/lib/pulpcore_client/models/pulp_import.rb +16 -4
  21. data/lib/pulpcore_client/version.rb +1 -1
  22. data/lib/pulpcore_client.rb +0 -31
  23. data/pulpcore_client.gemspec +3 -3
  24. data/spec/api/content_api_spec.rb +1 -27
  25. data/spec/api/contentguards_api_spec.rb +1 -65
  26. data/spec/api/distributions_api_spec.rb +2 -65
  27. data/spec/api/publications_api_spec.rb +0 -26
  28. data/spec/api/remotes_api_spec.rb +0 -64
  29. data/spec/api/repositories_api_spec.rb +2 -65
  30. data/spec/api/uploads_api_spec.rb +50 -0
  31. data/spec/models/pulp_import_spec.rb +6 -0
  32. metadata +136 -261
  33. data/docs/AcsApi.md +0 -417
  34. data/docs/AlternateContentSource.md +0 -23
  35. data/docs/AlternateContentSourceResponse.md +0 -27
  36. data/docs/ContentGuard.md +0 -19
  37. data/docs/Distribution.md +0 -25
  38. data/docs/Export.md +0 -17
  39. data/docs/ExportResponse.md +0 -25
  40. data/docs/Exporter.md +0 -17
  41. data/docs/ExporterResponse.md +0 -21
  42. data/docs/ExportersApi.md +0 -362
  43. data/docs/ExportersExportsApi.md +0 -241
  44. data/docs/Import.md +0 -19
  45. data/docs/Importer.md +0 -17
  46. data/docs/ImporterResponse.md +0 -21
  47. data/docs/ImportersApi.md +0 -361
  48. data/docs/ImportersImportsApi.md +0 -241
  49. data/docs/MultipleArtifactContent.md +0 -17
  50. data/docs/PaginatedAlternateContentSourceResponseList.md +0 -23
  51. data/docs/PaginatedExportResponseList.md +0 -23
  52. data/docs/PaginatedExporterResponseList.md +0 -23
  53. data/docs/PaginatedImporterResponseList.md +0 -23
  54. data/docs/PatchedAlternateContentSource.md +0 -23
  55. data/docs/PatchedContentGuard.md +0 -19
  56. data/docs/PatchedDistribution.md +0 -25
  57. data/docs/PatchedExporter.md +0 -17
  58. data/docs/PatchedImporter.md +0 -17
  59. data/docs/PatchedRemote.md +0 -57
  60. data/docs/PatchedRepository.md +0 -25
  61. data/docs/Remote.md +0 -57
  62. data/docs/RepositoriesVersionsApi.md +0 -271
  63. data/docs/Repository.md +0 -25
  64. data/git_push.sh +0 -58
  65. data/lib/pulpcore_client/api/acs_api.rb +0 -514
  66. data/lib/pulpcore_client/api/exporters_api.rb +0 -446
  67. data/lib/pulpcore_client/api/exporters_exports_api.rb +0 -294
  68. data/lib/pulpcore_client/api/importers_api.rb +0 -444
  69. data/lib/pulpcore_client/api/importers_imports_api.rb +0 -294
  70. data/lib/pulpcore_client/api/repositories_versions_api.rb +0 -343
  71. data/lib/pulpcore_client/models/alternate_content_source.rb +0 -270
  72. data/lib/pulpcore_client/models/alternate_content_source_response.rb +0 -270
  73. data/lib/pulpcore_client/models/content_guard.rb +0 -258
  74. data/lib/pulpcore_client/models/distribution.rb +0 -297
  75. data/lib/pulpcore_client/models/export.rb +0 -209
  76. data/lib/pulpcore_client/models/export_response.rb +0 -250
  77. data/lib/pulpcore_client/models/exporter.rb +0 -232
  78. data/lib/pulpcore_client/models/exporter_response.rb +0 -232
  79. data/lib/pulpcore_client/models/import.rb +0 -228
  80. data/lib/pulpcore_client/models/importer.rb +0 -232
  81. data/lib/pulpcore_client/models/importer_response.rb +0 -232
  82. data/lib/pulpcore_client/models/multiple_artifact_content.rb +0 -213
  83. data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +0 -237
  84. data/lib/pulpcore_client/models/paginated_export_response_list.rb +0 -237
  85. data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +0 -237
  86. data/lib/pulpcore_client/models/paginated_importer_response_list.rb +0 -237
  87. data/lib/pulpcore_client/models/patched_alternate_content_source.rb +0 -256
  88. data/lib/pulpcore_client/models/patched_content_guard.rb +0 -249
  89. data/lib/pulpcore_client/models/patched_distribution.rb +0 -279
  90. data/lib/pulpcore_client/models/patched_exporter.rb +0 -223
  91. data/lib/pulpcore_client/models/patched_importer.rb +0 -223
  92. data/lib/pulpcore_client/models/patched_remote.rb +0 -649
  93. data/lib/pulpcore_client/models/patched_repository.rb +0 -295
  94. data/lib/pulpcore_client/models/remote.rb +0 -667
  95. data/lib/pulpcore_client/models/repository.rb +0 -304
  96. data/spec/api/acs_api_spec.rb +0 -132
  97. data/spec/api/exporters_api_spec.rb +0 -120
  98. data/spec/api/exporters_exports_api_spec.rb +0 -90
  99. data/spec/api/importers_api_spec.rb +0 -120
  100. data/spec/api/importers_imports_api_spec.rb +0 -90
  101. data/spec/api/repositories_versions_api_spec.rb +0 -104
  102. data/spec/models/alternate_content_source_response_spec.rb +0 -71
  103. data/spec/models/alternate_content_source_spec.rb +0 -59
  104. data/spec/models/content_guard_spec.rb +0 -47
  105. data/spec/models/distribution_spec.rb +0 -65
  106. data/spec/models/export_response_spec.rb +0 -65
  107. data/spec/models/export_spec.rb +0 -41
  108. data/spec/models/exporter_response_spec.rb +0 -53
  109. data/spec/models/exporter_spec.rb +0 -41
  110. data/spec/models/import_spec.rb +0 -47
  111. data/spec/models/importer_response_spec.rb +0 -53
  112. data/spec/models/importer_spec.rb +0 -41
  113. data/spec/models/multiple_artifact_content_spec.rb +0 -41
  114. data/spec/models/paginated_alternate_content_source_response_list_spec.rb +0 -59
  115. data/spec/models/paginated_export_response_list_spec.rb +0 -59
  116. data/spec/models/paginated_exporter_response_list_spec.rb +0 -59
  117. data/spec/models/paginated_importer_response_list_spec.rb +0 -59
  118. data/spec/models/patched_alternate_content_source_spec.rb +0 -59
  119. data/spec/models/patched_content_guard_spec.rb +0 -47
  120. data/spec/models/patched_distribution_spec.rb +0 -65
  121. data/spec/models/patched_exporter_spec.rb +0 -41
  122. data/spec/models/patched_importer_spec.rb +0 -41
  123. data/spec/models/patched_remote_spec.rb +0 -161
  124. data/spec/models/patched_repository_spec.rb +0 -65
  125. data/spec/models/remote_spec.rb +0 -161
  126. data/spec/models/repository_spec.rb +0 -65
data/docs/ImportersApi.md DELETED
@@ -1,361 +0,0 @@
1
- # PulpcoreClient::ImportersApi
2
-
3
- All URIs are relative to *https://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ImportersApi.md#create) | **POST** /pulp/api/v3/importers/ | Create an importer
8
- [**delete**](ImportersApi.md#delete) | **DELETE** {importer_href} | Delete an importer
9
- [**list**](ImportersApi.md#list) | **GET** /pulp/api/v3/importers/ | List importers
10
- [**partial_update**](ImportersApi.md#partial_update) | **PATCH** {importer_href} | Update an importer
11
- [**read**](ImportersApi.md#read) | **GET** {importer_href} | Inspect an importer
12
- [**update**](ImportersApi.md#update) | **PUT** {importer_href} | Update an importer
13
-
14
-
15
-
16
- ## create
17
-
18
- > ImporterResponse create(importer)
19
-
20
- Create an importer
21
-
22
- ViewSet for Importers.
23
-
24
- ### Example
25
-
26
- ```ruby
27
- # load the gem
28
- require 'pulpcore_client'
29
- # setup authorization
30
- PulpcoreClient.configure do |config|
31
- # Configure HTTP basic authorization: basicAuth
32
- config.username = 'YOUR USERNAME'
33
- config.password = 'YOUR PASSWORD'
34
- end
35
-
36
- api_instance = PulpcoreClient::ImportersApi.new
37
- importer = PulpcoreClient::Importer.new # Importer |
38
-
39
- begin
40
- #Create an importer
41
- result = api_instance.create(importer)
42
- p result
43
- rescue PulpcoreClient::ApiError => e
44
- puts "Exception when calling ImportersApi->create: #{e}"
45
- end
46
- ```
47
-
48
- ### Parameters
49
-
50
-
51
- Name | Type | Description | Notes
52
- ------------- | ------------- | ------------- | -------------
53
- **importer** | [**Importer**](Importer.md)| |
54
-
55
- ### Return type
56
-
57
- [**ImporterResponse**](ImporterResponse.md)
58
-
59
- ### Authorization
60
-
61
- [basicAuth](../README.md#basicAuth)
62
-
63
- ### HTTP request headers
64
-
65
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
- - **Accept**: application/json
67
-
68
-
69
- ## delete
70
-
71
- > delete(importer_href)
72
-
73
- Delete an importer
74
-
75
- ViewSet for Importers.
76
-
77
- ### Example
78
-
79
- ```ruby
80
- # load the gem
81
- require 'pulpcore_client'
82
- # setup authorization
83
- PulpcoreClient.configure do |config|
84
- # Configure HTTP basic authorization: basicAuth
85
- config.username = 'YOUR USERNAME'
86
- config.password = 'YOUR PASSWORD'
87
- end
88
-
89
- api_instance = PulpcoreClient::ImportersApi.new
90
- importer_href = 'importer_href_example' # String |
91
-
92
- begin
93
- #Delete an importer
94
- api_instance.delete(importer_href)
95
- rescue PulpcoreClient::ApiError => e
96
- puts "Exception when calling ImportersApi->delete: #{e}"
97
- end
98
- ```
99
-
100
- ### Parameters
101
-
102
-
103
- Name | Type | Description | Notes
104
- ------------- | ------------- | ------------- | -------------
105
- **importer_href** | **String**| |
106
-
107
- ### Return type
108
-
109
- nil (empty response body)
110
-
111
- ### Authorization
112
-
113
- [basicAuth](../README.md#basicAuth)
114
-
115
- ### HTTP request headers
116
-
117
- - **Content-Type**: Not defined
118
- - **Accept**: Not defined
119
-
120
-
121
- ## list
122
-
123
- > PaginatedImporterResponseList list(opts)
124
-
125
- List importers
126
-
127
- ViewSet for Importers.
128
-
129
- ### Example
130
-
131
- ```ruby
132
- # load the gem
133
- require 'pulpcore_client'
134
- # setup authorization
135
- PulpcoreClient.configure do |config|
136
- # Configure HTTP basic authorization: basicAuth
137
- config.username = 'YOUR USERNAME'
138
- config.password = 'YOUR PASSWORD'
139
- end
140
-
141
- api_instance = PulpcoreClient::ImportersApi.new
142
- opts = {
143
- limit: 56, # Integer | Number of results to return per page.
144
- name: 'name_example', # String |
145
- name__contains: 'name__contains_example', # String | Filter results where name contains value
146
- name__icontains: 'name__icontains_example', # String | Filter results where name contains value
147
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
148
- name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
149
- offset: 56, # Integer | The initial index from which to return the results.
150
- ordering: ['ordering_example'], # Array<String> | Ordering
151
- fields: 'fields_example', # String | A list of fields to include in the response.
152
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
- }
154
-
155
- begin
156
- #List importers
157
- result = api_instance.list(opts)
158
- p result
159
- rescue PulpcoreClient::ApiError => e
160
- puts "Exception when calling ImportersApi->list: #{e}"
161
- end
162
- ```
163
-
164
- ### Parameters
165
-
166
-
167
- Name | Type | Description | Notes
168
- ------------- | ------------- | ------------- | -------------
169
- **limit** | **Integer**| Number of results to return per page. | [optional]
170
- **name** | **String**| | [optional]
171
- **name__contains** | **String**| Filter results where name contains value | [optional]
172
- **name__icontains** | **String**| Filter results where name contains value | [optional]
173
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
174
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
175
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
176
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
177
- **fields** | **String**| A list of fields to include in the response. | [optional]
178
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
179
-
180
- ### Return type
181
-
182
- [**PaginatedImporterResponseList**](PaginatedImporterResponseList.md)
183
-
184
- ### Authorization
185
-
186
- [basicAuth](../README.md#basicAuth)
187
-
188
- ### HTTP request headers
189
-
190
- - **Content-Type**: Not defined
191
- - **Accept**: application/json
192
-
193
-
194
- ## partial_update
195
-
196
- > ImporterResponse partial_update(importer_href, patched_importer)
197
-
198
- Update an importer
199
-
200
- ViewSet for Importers.
201
-
202
- ### Example
203
-
204
- ```ruby
205
- # load the gem
206
- require 'pulpcore_client'
207
- # setup authorization
208
- PulpcoreClient.configure do |config|
209
- # Configure HTTP basic authorization: basicAuth
210
- config.username = 'YOUR USERNAME'
211
- config.password = 'YOUR PASSWORD'
212
- end
213
-
214
- api_instance = PulpcoreClient::ImportersApi.new
215
- importer_href = 'importer_href_example' # String |
216
- patched_importer = PulpcoreClient::PatchedImporter.new # PatchedImporter |
217
-
218
- begin
219
- #Update an importer
220
- result = api_instance.partial_update(importer_href, patched_importer)
221
- p result
222
- rescue PulpcoreClient::ApiError => e
223
- puts "Exception when calling ImportersApi->partial_update: #{e}"
224
- end
225
- ```
226
-
227
- ### Parameters
228
-
229
-
230
- Name | Type | Description | Notes
231
- ------------- | ------------- | ------------- | -------------
232
- **importer_href** | **String**| |
233
- **patched_importer** | [**PatchedImporter**](PatchedImporter.md)| |
234
-
235
- ### Return type
236
-
237
- [**ImporterResponse**](ImporterResponse.md)
238
-
239
- ### Authorization
240
-
241
- [basicAuth](../README.md#basicAuth)
242
-
243
- ### HTTP request headers
244
-
245
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
246
- - **Accept**: application/json
247
-
248
-
249
- ## read
250
-
251
- > ImporterResponse read(importer_href, opts)
252
-
253
- Inspect an importer
254
-
255
- ViewSet for Importers.
256
-
257
- ### Example
258
-
259
- ```ruby
260
- # load the gem
261
- require 'pulpcore_client'
262
- # setup authorization
263
- PulpcoreClient.configure do |config|
264
- # Configure HTTP basic authorization: basicAuth
265
- config.username = 'YOUR USERNAME'
266
- config.password = 'YOUR PASSWORD'
267
- end
268
-
269
- api_instance = PulpcoreClient::ImportersApi.new
270
- importer_href = 'importer_href_example' # String |
271
- opts = {
272
- fields: 'fields_example', # String | A list of fields to include in the response.
273
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
274
- }
275
-
276
- begin
277
- #Inspect an importer
278
- result = api_instance.read(importer_href, opts)
279
- p result
280
- rescue PulpcoreClient::ApiError => e
281
- puts "Exception when calling ImportersApi->read: #{e}"
282
- end
283
- ```
284
-
285
- ### Parameters
286
-
287
-
288
- Name | Type | Description | Notes
289
- ------------- | ------------- | ------------- | -------------
290
- **importer_href** | **String**| |
291
- **fields** | **String**| A list of fields to include in the response. | [optional]
292
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
293
-
294
- ### Return type
295
-
296
- [**ImporterResponse**](ImporterResponse.md)
297
-
298
- ### Authorization
299
-
300
- [basicAuth](../README.md#basicAuth)
301
-
302
- ### HTTP request headers
303
-
304
- - **Content-Type**: Not defined
305
- - **Accept**: application/json
306
-
307
-
308
- ## update
309
-
310
- > ImporterResponse update(importer_href, importer)
311
-
312
- Update an importer
313
-
314
- ViewSet for Importers.
315
-
316
- ### Example
317
-
318
- ```ruby
319
- # load the gem
320
- require 'pulpcore_client'
321
- # setup authorization
322
- PulpcoreClient.configure do |config|
323
- # Configure HTTP basic authorization: basicAuth
324
- config.username = 'YOUR USERNAME'
325
- config.password = 'YOUR PASSWORD'
326
- end
327
-
328
- api_instance = PulpcoreClient::ImportersApi.new
329
- importer_href = 'importer_href_example' # String |
330
- importer = PulpcoreClient::Importer.new # Importer |
331
-
332
- begin
333
- #Update an importer
334
- result = api_instance.update(importer_href, importer)
335
- p result
336
- rescue PulpcoreClient::ApiError => e
337
- puts "Exception when calling ImportersApi->update: #{e}"
338
- end
339
- ```
340
-
341
- ### Parameters
342
-
343
-
344
- Name | Type | Description | Notes
345
- ------------- | ------------- | ------------- | -------------
346
- **importer_href** | **String**| |
347
- **importer** | [**Importer**](Importer.md)| |
348
-
349
- ### Return type
350
-
351
- [**ImporterResponse**](ImporterResponse.md)
352
-
353
- ### Authorization
354
-
355
- [basicAuth](../README.md#basicAuth)
356
-
357
- ### HTTP request headers
358
-
359
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
360
- - **Accept**: application/json
361
-
@@ -1,241 +0,0 @@
1
- # PulpcoreClient::ImportersImportsApi
2
-
3
- All URIs are relative to *https://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ImportersImportsApi.md#create) | **POST** {importer_href}imports/ | Create an import
8
- [**delete**](ImportersImportsApi.md#delete) | **DELETE** {importers_import_href} | Delete an import
9
- [**list**](ImportersImportsApi.md#list) | **GET** {importer_href}imports/ | List imports
10
- [**read**](ImportersImportsApi.md#read) | **GET** {importers_import_href} | Inspect an import
11
-
12
-
13
-
14
- ## create
15
-
16
- > ImportResponse create(importer_href, import)
17
-
18
- Create an import
19
-
20
- ViewSet for viewing imports from an Importer.
21
-
22
- ### Example
23
-
24
- ```ruby
25
- # load the gem
26
- require 'pulpcore_client'
27
- # setup authorization
28
- PulpcoreClient.configure do |config|
29
- # Configure HTTP basic authorization: basicAuth
30
- config.username = 'YOUR USERNAME'
31
- config.password = 'YOUR PASSWORD'
32
- end
33
-
34
- api_instance = PulpcoreClient::ImportersImportsApi.new
35
- importer_href = 'importer_href_example' # String |
36
- import = PulpcoreClient::Import.new # Import |
37
-
38
- begin
39
- #Create an import
40
- result = api_instance.create(importer_href, import)
41
- p result
42
- rescue PulpcoreClient::ApiError => e
43
- puts "Exception when calling ImportersImportsApi->create: #{e}"
44
- end
45
- ```
46
-
47
- ### Parameters
48
-
49
-
50
- Name | Type | Description | Notes
51
- ------------- | ------------- | ------------- | -------------
52
- **importer_href** | **String**| |
53
- **import** | [**Import**](Import.md)| |
54
-
55
- ### Return type
56
-
57
- [**ImportResponse**](ImportResponse.md)
58
-
59
- ### Authorization
60
-
61
- [basicAuth](../README.md#basicAuth)
62
-
63
- ### HTTP request headers
64
-
65
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
- - **Accept**: application/json
67
-
68
-
69
- ## delete
70
-
71
- > delete(importers_import_href)
72
-
73
- Delete an import
74
-
75
- ViewSet for viewing imports from an Importer.
76
-
77
- ### Example
78
-
79
- ```ruby
80
- # load the gem
81
- require 'pulpcore_client'
82
- # setup authorization
83
- PulpcoreClient.configure do |config|
84
- # Configure HTTP basic authorization: basicAuth
85
- config.username = 'YOUR USERNAME'
86
- config.password = 'YOUR PASSWORD'
87
- end
88
-
89
- api_instance = PulpcoreClient::ImportersImportsApi.new
90
- importers_import_href = 'importers_import_href_example' # String |
91
-
92
- begin
93
- #Delete an import
94
- api_instance.delete(importers_import_href)
95
- rescue PulpcoreClient::ApiError => e
96
- puts "Exception when calling ImportersImportsApi->delete: #{e}"
97
- end
98
- ```
99
-
100
- ### Parameters
101
-
102
-
103
- Name | Type | Description | Notes
104
- ------------- | ------------- | ------------- | -------------
105
- **importers_import_href** | **String**| |
106
-
107
- ### Return type
108
-
109
- nil (empty response body)
110
-
111
- ### Authorization
112
-
113
- [basicAuth](../README.md#basicAuth)
114
-
115
- ### HTTP request headers
116
-
117
- - **Content-Type**: Not defined
118
- - **Accept**: Not defined
119
-
120
-
121
- ## list
122
-
123
- > PaginatedImportResponseList list(importer_href, opts)
124
-
125
- List imports
126
-
127
- ViewSet for viewing imports from an Importer.
128
-
129
- ### Example
130
-
131
- ```ruby
132
- # load the gem
133
- require 'pulpcore_client'
134
- # setup authorization
135
- PulpcoreClient.configure do |config|
136
- # Configure HTTP basic authorization: basicAuth
137
- config.username = 'YOUR USERNAME'
138
- config.password = 'YOUR PASSWORD'
139
- end
140
-
141
- api_instance = PulpcoreClient::ImportersImportsApi.new
142
- importer_href = 'importer_href_example' # String |
143
- opts = {
144
- limit: 56, # Integer | Number of results to return per page.
145
- offset: 56, # Integer | The initial index from which to return the results.
146
- fields: 'fields_example', # String | A list of fields to include in the response.
147
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
148
- }
149
-
150
- begin
151
- #List imports
152
- result = api_instance.list(importer_href, opts)
153
- p result
154
- rescue PulpcoreClient::ApiError => e
155
- puts "Exception when calling ImportersImportsApi->list: #{e}"
156
- end
157
- ```
158
-
159
- ### Parameters
160
-
161
-
162
- Name | Type | Description | Notes
163
- ------------- | ------------- | ------------- | -------------
164
- **importer_href** | **String**| |
165
- **limit** | **Integer**| Number of results to return per page. | [optional]
166
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
167
- **fields** | **String**| A list of fields to include in the response. | [optional]
168
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
169
-
170
- ### Return type
171
-
172
- [**PaginatedImportResponseList**](PaginatedImportResponseList.md)
173
-
174
- ### Authorization
175
-
176
- [basicAuth](../README.md#basicAuth)
177
-
178
- ### HTTP request headers
179
-
180
- - **Content-Type**: Not defined
181
- - **Accept**: application/json
182
-
183
-
184
- ## read
185
-
186
- > ImportResponse read(importers_import_href, opts)
187
-
188
- Inspect an import
189
-
190
- ViewSet for viewing imports from an Importer.
191
-
192
- ### Example
193
-
194
- ```ruby
195
- # load the gem
196
- require 'pulpcore_client'
197
- # setup authorization
198
- PulpcoreClient.configure do |config|
199
- # Configure HTTP basic authorization: basicAuth
200
- config.username = 'YOUR USERNAME'
201
- config.password = 'YOUR PASSWORD'
202
- end
203
-
204
- api_instance = PulpcoreClient::ImportersImportsApi.new
205
- importers_import_href = 'importers_import_href_example' # String |
206
- opts = {
207
- fields: 'fields_example', # String | A list of fields to include in the response.
208
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
209
- }
210
-
211
- begin
212
- #Inspect an import
213
- result = api_instance.read(importers_import_href, opts)
214
- p result
215
- rescue PulpcoreClient::ApiError => e
216
- puts "Exception when calling ImportersImportsApi->read: #{e}"
217
- end
218
- ```
219
-
220
- ### Parameters
221
-
222
-
223
- Name | Type | Description | Notes
224
- ------------- | ------------- | ------------- | -------------
225
- **importers_import_href** | **String**| |
226
- **fields** | **String**| A list of fields to include in the response. | [optional]
227
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
228
-
229
- ### Return type
230
-
231
- [**ImportResponse**](ImportResponse.md)
232
-
233
- ### Authorization
234
-
235
- [basicAuth](../README.md#basicAuth)
236
-
237
- ### HTTP request headers
238
-
239
- - **Content-Type**: Not defined
240
- - **Accept**: application/json
241
-
@@ -1,17 +0,0 @@
1
- # PulpcoreClient::MultipleArtifactContent
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; |
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'PulpcoreClient'
13
-
14
- instance = PulpcoreClient::MultipleArtifactContent.new(artifacts: null)
15
- ```
16
-
17
-
@@ -1,23 +0,0 @@
1
- # PulpcoreClient::PaginatedAlternateContentSourceResponseList
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array&lt;AlternateContentSourceResponse&gt;**](AlternateContentSourceResponse.md) | | [optional]
11
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'PulpcoreClient'
16
-
17
- instance = PulpcoreClient::PaginatedAlternateContentSourceResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
- previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
- results: null)
21
- ```
22
-
23
-
@@ -1,23 +0,0 @@
1
- # PulpcoreClient::PaginatedExportResponseList
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array&lt;ExportResponse&gt;**](ExportResponse.md) | | [optional]
11
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'PulpcoreClient'
16
-
17
- instance = PulpcoreClient::PaginatedExportResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
- previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
- results: null)
21
- ```
22
-
23
-
@@ -1,23 +0,0 @@
1
- # PulpcoreClient::PaginatedExporterResponseList
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array&lt;ExporterResponse&gt;**](ExporterResponse.md) | | [optional]
11
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'PulpcoreClient'
16
-
17
- instance = PulpcoreClient::PaginatedExporterResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
- previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
- results: null)
21
- ```
22
-
23
-
@@ -1,23 +0,0 @@
1
- # PulpcoreClient::PaginatedImporterResponseList
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array&lt;ImporterResponse&gt;**](ImporterResponse.md) | | [optional]
11
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'PulpcoreClient'
16
-
17
- instance = PulpcoreClient::PaginatedImporterResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
- previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
- results: null)
21
- ```
22
-
23
-