pulpcore_client 3.19.1 → 3.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +93 -16
  3. data/docs/AccessPoliciesApi.md +2 -2
  4. data/docs/AccessPolicy.md +3 -1
  5. data/docs/AccessPolicyResponse.md +3 -1
  6. data/docs/AcsApi.md +417 -0
  7. data/docs/AlternateContentSource.md +23 -0
  8. data/docs/AlternateContentSourceResponse.md +27 -0
  9. data/docs/ArtifactsApi.md +2 -2
  10. data/docs/ContentApi.md +117 -3
  11. data/docs/ContentGuard.md +19 -0
  12. data/docs/ContentguardsApi.md +282 -3
  13. data/docs/ContentguardsContentRedirectApi.md +230 -2
  14. data/docs/ContentguardsRbacApi.md +2 -2
  15. data/docs/Distribution.md +25 -0
  16. data/docs/DistributionsApi.md +283 -3
  17. data/docs/Export.md +17 -0
  18. data/docs/ExportResponse.md +25 -0
  19. data/docs/Exporter.md +17 -0
  20. data/docs/ExporterResponse.md +21 -0
  21. data/docs/ExportersApi.md +362 -0
  22. data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
  23. data/docs/ExportersFilesystemApi.md +2 -2
  24. data/docs/ExportersFilesystemExportsApi.md +0 -2
  25. data/docs/ExportersPulpApi.md +2 -2
  26. data/docs/ExportersPulpExportsApi.md +0 -2
  27. data/docs/GroupRole.md +1 -1
  28. data/docs/GroupRoleResponse.md +6 -2
  29. data/docs/GroupsApi.md +2 -2
  30. data/docs/GroupsRolesApi.md +2 -2
  31. data/docs/GroupsUsersApi.md +0 -2
  32. data/docs/Import.md +19 -0
  33. data/docs/Importer.md +17 -0
  34. data/docs/ImporterResponse.md +21 -0
  35. data/docs/ImportersApi.md +361 -0
  36. data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
  37. data/docs/ImportersPulpApi.md +2 -2
  38. data/docs/ImportersPulpImportsApi.md +0 -2
  39. data/docs/MultipleArtifactContent.md +17 -0
  40. data/docs/OrphansCleanup.md +1 -1
  41. data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
  42. data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
  43. data/docs/PaginatedExporterResponseList.md +23 -0
  44. data/docs/PaginatedImporterResponseList.md +23 -0
  45. data/docs/PaginatedRemoteResponseList.md +23 -0
  46. data/docs/PatchedAccessPolicy.md +3 -1
  47. data/docs/PatchedAlternateContentSource.md +23 -0
  48. data/docs/PatchedContentGuard.md +19 -0
  49. data/docs/PatchedDistribution.md +25 -0
  50. data/docs/PatchedExporter.md +17 -0
  51. data/docs/PatchedImporter.md +17 -0
  52. data/docs/PatchedRemote.md +57 -0
  53. data/docs/PatchedRepository.md +25 -0
  54. data/docs/PolicyEnum.md +16 -0
  55. data/docs/PublicationsApi.md +117 -2
  56. data/docs/Remote.md +57 -0
  57. data/docs/RemoteResponse.md +53 -0
  58. data/docs/RemotesApi.md +376 -0
  59. data/docs/RepositoriesApi.md +283 -3
  60. data/docs/RepositoriesVersionsApi.md +271 -0
  61. data/docs/Repository.md +25 -0
  62. data/docs/RepositoryVersionsApi.md +2 -0
  63. data/docs/RolesApi.md +6 -2
  64. data/docs/SigningServicesApi.md +0 -2
  65. data/docs/TaskGroupsApi.md +2 -2
  66. data/docs/TaskSchedulesApi.md +2 -2
  67. data/docs/TasksApi.md +2 -2
  68. data/docs/UploadsApi.md +0 -2
  69. data/docs/UserRole.md +1 -1
  70. data/docs/UserRoleResponse.md +6 -2
  71. data/docs/UsersApi.md +2 -61
  72. data/docs/UsersRolesApi.md +2 -2
  73. data/docs/VersionResponse.md +3 -1
  74. data/docs/WorkersApi.md +2 -2
  75. data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
  76. data/lib/pulpcore_client/api/acs_api.rb +514 -0
  77. data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
  78. data/lib/pulpcore_client/api/content_api.rb +141 -5
  79. data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
  80. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
  81. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
  82. data/lib/pulpcore_client/api/distributions_api.rb +343 -5
  83. data/lib/pulpcore_client/api/exporters_api.rb +446 -0
  84. data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
  85. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
  86. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
  87. data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
  88. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
  89. data/lib/pulpcore_client/api/groups_api.rb +7 -3
  90. data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
  91. data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
  92. data/lib/pulpcore_client/api/importers_api.rb +444 -0
  93. data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
  94. data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
  95. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
  96. data/lib/pulpcore_client/api/publications_api.rb +138 -3
  97. data/lib/pulpcore_client/api/remotes_api.rb +467 -0
  98. data/lib/pulpcore_client/api/repositories_api.rb +343 -5
  99. data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
  100. data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
  101. data/lib/pulpcore_client/api/roles_api.rb +13 -3
  102. data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
  103. data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
  104. data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
  105. data/lib/pulpcore_client/api/tasks_api.rb +7 -3
  106. data/lib/pulpcore_client/api/uploads_api.rb +0 -3
  107. data/lib/pulpcore_client/api/users_api.rb +7 -69
  108. data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
  109. data/lib/pulpcore_client/api/workers_api.rb +7 -3
  110. data/lib/pulpcore_client/models/access_policy.rb +14 -4
  111. data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
  112. data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
  113. data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
  114. data/lib/pulpcore_client/models/content_guard.rb +258 -0
  115. data/lib/pulpcore_client/models/distribution.rb +297 -0
  116. data/lib/pulpcore_client/models/export.rb +209 -0
  117. data/lib/pulpcore_client/models/export_response.rb +250 -0
  118. data/lib/pulpcore_client/models/exporter.rb +232 -0
  119. data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
  120. data/lib/pulpcore_client/models/group_role.rb +1 -1
  121. data/lib/pulpcore_client/models/group_role_response.rb +26 -6
  122. data/lib/pulpcore_client/models/import.rb +228 -0
  123. data/lib/pulpcore_client/models/importer.rb +232 -0
  124. data/lib/pulpcore_client/models/importer_response.rb +232 -0
  125. data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
  126. data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
  127. data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
  128. data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
  129. data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
  130. data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
  131. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
  132. data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
  133. data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
  134. data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
  135. data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
  136. data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
  137. data/lib/pulpcore_client/models/patched_importer.rb +223 -0
  138. data/lib/pulpcore_client/models/patched_remote.rb +649 -0
  139. data/lib/pulpcore_client/models/patched_repository.rb +295 -0
  140. data/lib/pulpcore_client/models/policy_enum.rb +36 -0
  141. data/lib/pulpcore_client/models/remote.rb +667 -0
  142. data/lib/pulpcore_client/models/remote_response.rb +483 -0
  143. data/lib/pulpcore_client/models/repository.rb +304 -0
  144. data/lib/pulpcore_client/models/user_role.rb +1 -1
  145. data/lib/pulpcore_client/models/user_role_response.rb +26 -6
  146. data/lib/pulpcore_client/models/version_response.rb +19 -4
  147. data/lib/pulpcore_client/version.rb +1 -1
  148. data/lib/pulpcore_client.rb +35 -4
  149. data/spec/api/access_policies_api_spec.rb +1 -1
  150. data/spec/api/acs_api_spec.rb +132 -0
  151. data/spec/api/artifacts_api_spec.rb +1 -1
  152. data/spec/api/content_api_spec.rb +28 -2
  153. data/spec/api/contentguards_api_spec.rb +66 -2
  154. data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
  155. data/spec/api/contentguards_rbac_api_spec.rb +1 -1
  156. data/spec/api/distributions_api_spec.rb +66 -2
  157. data/spec/api/exporters_api_spec.rb +120 -0
  158. data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
  159. data/spec/api/exporters_filesystem_api_spec.rb +1 -1
  160. data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
  161. data/spec/api/exporters_pulp_api_spec.rb +1 -1
  162. data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
  163. data/spec/api/groups_api_spec.rb +1 -1
  164. data/spec/api/groups_roles_api_spec.rb +1 -1
  165. data/spec/api/groups_users_api_spec.rb +0 -1
  166. data/spec/api/importers_api_spec.rb +120 -0
  167. data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
  168. data/spec/api/importers_pulp_api_spec.rb +1 -1
  169. data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
  170. data/spec/api/publications_api_spec.rb +28 -1
  171. data/spec/api/remotes_api_spec.rb +127 -0
  172. data/spec/api/repositories_api_spec.rb +66 -2
  173. data/spec/api/repositories_versions_api_spec.rb +104 -0
  174. data/spec/api/repository_versions_api_spec.rb +1 -0
  175. data/spec/api/roles_api_spec.rb +3 -1
  176. data/spec/api/signing_services_api_spec.rb +0 -1
  177. data/spec/api/task_groups_api_spec.rb +1 -1
  178. data/spec/api/task_schedules_api_spec.rb +1 -1
  179. data/spec/api/tasks_api_spec.rb +1 -1
  180. data/spec/api/uploads_api_spec.rb +0 -1
  181. data/spec/api/users_api_spec.rb +1 -14
  182. data/spec/api/users_roles_api_spec.rb +1 -1
  183. data/spec/api/workers_api_spec.rb +1 -1
  184. data/spec/models/access_policy_response_spec.rb +6 -0
  185. data/spec/models/access_policy_spec.rb +6 -0
  186. data/spec/models/alternate_content_source_response_spec.rb +71 -0
  187. data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
  188. data/spec/models/content_guard_spec.rb +47 -0
  189. data/spec/models/distribution_spec.rb +65 -0
  190. data/spec/models/export_response_spec.rb +65 -0
  191. data/spec/models/export_spec.rb +41 -0
  192. data/spec/models/exporter_response_spec.rb +53 -0
  193. data/spec/models/exporter_spec.rb +41 -0
  194. data/spec/models/group_role_response_spec.rb +12 -0
  195. data/spec/models/import_spec.rb +47 -0
  196. data/spec/models/importer_response_spec.rb +53 -0
  197. data/spec/models/importer_spec.rb +41 -0
  198. data/spec/models/multiple_artifact_content_spec.rb +41 -0
  199. data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
  200. data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
  201. data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
  202. data/spec/models/paginated_importer_response_list_spec.rb +59 -0
  203. data/spec/models/paginated_remote_response_list_spec.rb +59 -0
  204. data/spec/models/patched_access_policy_spec.rb +6 -0
  205. data/spec/models/patched_alternate_content_source_spec.rb +59 -0
  206. data/spec/models/patched_content_guard_spec.rb +47 -0
  207. data/spec/models/patched_distribution_spec.rb +65 -0
  208. data/spec/models/patched_exporter_spec.rb +41 -0
  209. data/spec/models/patched_importer_spec.rb +41 -0
  210. data/spec/models/patched_remote_spec.rb +161 -0
  211. data/spec/models/patched_repository_spec.rb +65 -0
  212. data/spec/models/policy_enum_spec.rb +35 -0
  213. data/spec/models/remote_response_spec.rb +149 -0
  214. data/spec/models/remote_spec.rb +161 -0
  215. data/spec/models/repository_spec.rb +65 -0
  216. data/spec/models/user_role_response_spec.rb +12 -0
  217. data/spec/models/version_response_spec.rb +6 -0
  218. metadata +263 -139
  219. data/docs/PermissionResponse.md +0 -23
@@ -0,0 +1,362 @@
1
+ # PulpcoreClient::ExportersApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ExportersApi.md#create) | **POST** /pulp/api/v3/exporters/ | Create an exporter
8
+ [**delete**](ExportersApi.md#delete) | **DELETE** {exporter_href} | Delete an exporter
9
+ [**list**](ExportersApi.md#list) | **GET** /pulp/api/v3/exporters/ | List exporters
10
+ [**partial_update**](ExportersApi.md#partial_update) | **PATCH** {exporter_href} | Update an exporter
11
+ [**read**](ExportersApi.md#read) | **GET** {exporter_href} | Inspect an exporter
12
+ [**update**](ExportersApi.md#update) | **PUT** {exporter_href} | Update an exporter
13
+
14
+
15
+
16
+ ## create
17
+
18
+ > ExporterResponse create(exporter)
19
+
20
+ Create an exporter
21
+
22
+ ViewSet for viewing exporters.
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::ExportersApi.new
37
+ exporter = PulpcoreClient::Exporter.new # Exporter |
38
+
39
+ begin
40
+ #Create an exporter
41
+ result = api_instance.create(exporter)
42
+ p result
43
+ rescue PulpcoreClient::ApiError => e
44
+ puts "Exception when calling ExportersApi->create: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **exporter** | [**Exporter**](Exporter.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**ExporterResponse**](ExporterResponse.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
+ > AsyncOperationResponse delete(exporter_href)
72
+
73
+ Delete an exporter
74
+
75
+ Trigger an asynchronous delete task
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::ExportersApi.new
90
+ exporter_href = 'exporter_href_example' # String |
91
+
92
+ begin
93
+ #Delete an exporter
94
+ result = api_instance.delete(exporter_href)
95
+ p result
96
+ rescue PulpcoreClient::ApiError => e
97
+ puts "Exception when calling ExportersApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **exporter_href** | **String**| |
107
+
108
+ ### Return type
109
+
110
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
111
+
112
+ ### Authorization
113
+
114
+ [basicAuth](../README.md#basicAuth)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+ ## list
123
+
124
+ > PaginatedExporterResponseList list(opts)
125
+
126
+ List exporters
127
+
128
+ ViewSet for viewing exporters.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulpcore_client'
135
+ # setup authorization
136
+ PulpcoreClient.configure do |config|
137
+ # Configure HTTP basic authorization: basicAuth
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpcoreClient::ExportersApi.new
143
+ opts = {
144
+ limit: 56, # Integer | Number of results to return per page.
145
+ name: 'name_example', # String |
146
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
147
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
148
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
+ offset: 56, # Integer | The initial index from which to return the results.
151
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
+ fields: 'fields_example', # String | A list of fields to include in the response.
153
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
154
+ }
155
+
156
+ begin
157
+ #List exporters
158
+ result = api_instance.list(opts)
159
+ p result
160
+ rescue PulpcoreClient::ApiError => e
161
+ puts "Exception when calling ExportersApi->list: #{e}"
162
+ end
163
+ ```
164
+
165
+ ### Parameters
166
+
167
+
168
+ Name | Type | Description | Notes
169
+ ------------- | ------------- | ------------- | -------------
170
+ **limit** | **Integer**| Number of results to return per page. | [optional]
171
+ **name** | **String**| | [optional]
172
+ **name__contains** | **String**| Filter results where name contains value | [optional]
173
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
174
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
175
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
176
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
178
+ **fields** | **String**| A list of fields to include in the response. | [optional]
179
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
180
+
181
+ ### Return type
182
+
183
+ [**PaginatedExporterResponseList**](PaginatedExporterResponseList.md)
184
+
185
+ ### Authorization
186
+
187
+ [basicAuth](../README.md#basicAuth)
188
+
189
+ ### HTTP request headers
190
+
191
+ - **Content-Type**: Not defined
192
+ - **Accept**: application/json
193
+
194
+
195
+ ## partial_update
196
+
197
+ > AsyncOperationResponse partial_update(exporter_href, patched_exporter)
198
+
199
+ Update an exporter
200
+
201
+ Trigger an asynchronous partial update task
202
+
203
+ ### Example
204
+
205
+ ```ruby
206
+ # load the gem
207
+ require 'pulpcore_client'
208
+ # setup authorization
209
+ PulpcoreClient.configure do |config|
210
+ # Configure HTTP basic authorization: basicAuth
211
+ config.username = 'YOUR USERNAME'
212
+ config.password = 'YOUR PASSWORD'
213
+ end
214
+
215
+ api_instance = PulpcoreClient::ExportersApi.new
216
+ exporter_href = 'exporter_href_example' # String |
217
+ patched_exporter = PulpcoreClient::PatchedExporter.new # PatchedExporter |
218
+
219
+ begin
220
+ #Update an exporter
221
+ result = api_instance.partial_update(exporter_href, patched_exporter)
222
+ p result
223
+ rescue PulpcoreClient::ApiError => e
224
+ puts "Exception when calling ExportersApi->partial_update: #{e}"
225
+ end
226
+ ```
227
+
228
+ ### Parameters
229
+
230
+
231
+ Name | Type | Description | Notes
232
+ ------------- | ------------- | ------------- | -------------
233
+ **exporter_href** | **String**| |
234
+ **patched_exporter** | [**PatchedExporter**](PatchedExporter.md)| |
235
+
236
+ ### Return type
237
+
238
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
239
+
240
+ ### Authorization
241
+
242
+ [basicAuth](../README.md#basicAuth)
243
+
244
+ ### HTTP request headers
245
+
246
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
247
+ - **Accept**: application/json
248
+
249
+
250
+ ## read
251
+
252
+ > ExporterResponse read(exporter_href, opts)
253
+
254
+ Inspect an exporter
255
+
256
+ ViewSet for viewing exporters.
257
+
258
+ ### Example
259
+
260
+ ```ruby
261
+ # load the gem
262
+ require 'pulpcore_client'
263
+ # setup authorization
264
+ PulpcoreClient.configure do |config|
265
+ # Configure HTTP basic authorization: basicAuth
266
+ config.username = 'YOUR USERNAME'
267
+ config.password = 'YOUR PASSWORD'
268
+ end
269
+
270
+ api_instance = PulpcoreClient::ExportersApi.new
271
+ exporter_href = 'exporter_href_example' # String |
272
+ opts = {
273
+ fields: 'fields_example', # String | A list of fields to include in the response.
274
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
275
+ }
276
+
277
+ begin
278
+ #Inspect an exporter
279
+ result = api_instance.read(exporter_href, opts)
280
+ p result
281
+ rescue PulpcoreClient::ApiError => e
282
+ puts "Exception when calling ExportersApi->read: #{e}"
283
+ end
284
+ ```
285
+
286
+ ### Parameters
287
+
288
+
289
+ Name | Type | Description | Notes
290
+ ------------- | ------------- | ------------- | -------------
291
+ **exporter_href** | **String**| |
292
+ **fields** | **String**| A list of fields to include in the response. | [optional]
293
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
294
+
295
+ ### Return type
296
+
297
+ [**ExporterResponse**](ExporterResponse.md)
298
+
299
+ ### Authorization
300
+
301
+ [basicAuth](../README.md#basicAuth)
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: Not defined
306
+ - **Accept**: application/json
307
+
308
+
309
+ ## update
310
+
311
+ > AsyncOperationResponse update(exporter_href, exporter)
312
+
313
+ Update an exporter
314
+
315
+ Trigger an asynchronous update task
316
+
317
+ ### Example
318
+
319
+ ```ruby
320
+ # load the gem
321
+ require 'pulpcore_client'
322
+ # setup authorization
323
+ PulpcoreClient.configure do |config|
324
+ # Configure HTTP basic authorization: basicAuth
325
+ config.username = 'YOUR USERNAME'
326
+ config.password = 'YOUR PASSWORD'
327
+ end
328
+
329
+ api_instance = PulpcoreClient::ExportersApi.new
330
+ exporter_href = 'exporter_href_example' # String |
331
+ exporter = PulpcoreClient::Exporter.new # Exporter |
332
+
333
+ begin
334
+ #Update an exporter
335
+ result = api_instance.update(exporter_href, exporter)
336
+ p result
337
+ rescue PulpcoreClient::ApiError => e
338
+ puts "Exception when calling ExportersApi->update: #{e}"
339
+ end
340
+ ```
341
+
342
+ ### Parameters
343
+
344
+
345
+ Name | Type | Description | Notes
346
+ ------------- | ------------- | ------------- | -------------
347
+ **exporter_href** | **String**| |
348
+ **exporter** | [**Exporter**](Exporter.md)| |
349
+
350
+ ### Return type
351
+
352
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
353
+
354
+ ### Authorization
355
+
356
+ [basicAuth](../README.md#basicAuth)
357
+
358
+ ### HTTP request headers
359
+
360
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
361
+ - **Accept**: application/json
362
+
@@ -1,23 +1,23 @@
1
- # PulpcoreClient::GroupsModelPermissionsApi
1
+ # PulpcoreClient::ExportersExportsApi
2
2
 
3
3
  All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsModelPermissionsApi.md#create) | **POST** {group_href}model_permissions/ | Create a permission
8
- [**delete**](GroupsModelPermissionsApi.md#delete) | **DELETE** {groups_model_permission_href} | Delete a permission
9
- [**list**](GroupsModelPermissionsApi.md#list) | **GET** {group_href}model_permissions/ | List permissions
10
- [**read**](GroupsModelPermissionsApi.md#read) | **GET** {groups_model_permission_href} | Inspect a permission
7
+ [**create**](ExportersExportsApi.md#create) | **POST** {exporter_href}exports/ | Create an export
8
+ [**delete**](ExportersExportsApi.md#delete) | **DELETE** {exporters_export_href} | Delete an export
9
+ [**list**](ExportersExportsApi.md#list) | **GET** {exporter_href}exports/ | List exports
10
+ [**read**](ExportersExportsApi.md#read) | **GET** {exporters_export_href} | Inspect an export
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > PermissionResponse create(group_href, body)
16
+ > ExportResponse create(exporter_href, export)
17
17
 
18
- Create a permission
18
+ Create an export
19
19
 
20
- Add a model permission to a group.
20
+ ViewSet for viewing exports from an Exporter.
21
21
 
22
22
  ### Example
23
23
 
@@ -31,16 +31,16 @@ PulpcoreClient.configure do |config|
31
31
  config.password = 'YOUR PASSWORD'
32
32
  end
33
33
 
34
- api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
35
- group_href = 'group_href_example' # String |
36
- body = nil # Object |
34
+ api_instance = PulpcoreClient::ExportersExportsApi.new
35
+ exporter_href = 'exporter_href_example' # String |
36
+ export = PulpcoreClient::Export.new # Export |
37
37
 
38
38
  begin
39
- #Create a permission
40
- result = api_instance.create(group_href, body)
39
+ #Create an export
40
+ result = api_instance.create(exporter_href, export)
41
41
  p result
42
42
  rescue PulpcoreClient::ApiError => e
43
- puts "Exception when calling GroupsModelPermissionsApi->create: #{e}"
43
+ puts "Exception when calling ExportersExportsApi->create: #{e}"
44
44
  end
45
45
  ```
46
46
 
@@ -49,12 +49,12 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **group_href** | **String**| |
53
- **body** | **Object**| |
52
+ **exporter_href** | **String**| |
53
+ **export** | [**Export**](Export.md)| |
54
54
 
55
55
  ### Return type
56
56
 
57
- [**PermissionResponse**](PermissionResponse.md)
57
+ [**ExportResponse**](ExportResponse.md)
58
58
 
59
59
  ### Authorization
60
60
 
@@ -68,11 +68,11 @@ Name | Type | Description | Notes
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(groups_model_permission_href)
71
+ > delete(exporters_export_href)
72
72
 
73
- Delete a permission
73
+ Delete an export
74
74
 
75
- Remove a model permission from a group.
75
+ ViewSet for viewing exports from an Exporter.
76
76
 
77
77
  ### Example
78
78
 
@@ -86,14 +86,14 @@ PulpcoreClient.configure do |config|
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
- api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
90
- groups_model_permission_href = 'groups_model_permission_href_example' # String |
89
+ api_instance = PulpcoreClient::ExportersExportsApi.new
90
+ exporters_export_href = 'exporters_export_href_example' # String |
91
91
 
92
92
  begin
93
- #Delete a permission
94
- api_instance.delete(groups_model_permission_href)
93
+ #Delete an export
94
+ api_instance.delete(exporters_export_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
- puts "Exception when calling GroupsModelPermissionsApi->delete: #{e}"
96
+ puts "Exception when calling ExportersExportsApi->delete: #{e}"
97
97
  end
98
98
  ```
99
99
 
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **groups_model_permission_href** | **String**| |
105
+ **exporters_export_href** | **String**| |
106
106
 
107
107
  ### Return type
108
108
 
@@ -120,11 +120,11 @@ nil (empty response body)
120
120
 
121
121
  ## list
122
122
 
123
- > PaginatedPermissionResponseList list(group_href, opts)
123
+ > PaginatedExportResponseList list(exporter_href, opts)
124
124
 
125
- List permissions
125
+ List exports
126
126
 
127
- List group permissions.
127
+ ViewSet for viewing exports from an Exporter.
128
128
 
129
129
  ### Example
130
130
 
@@ -138,22 +138,21 @@ PulpcoreClient.configure do |config|
138
138
  config.password = 'YOUR PASSWORD'
139
139
  end
140
140
 
141
- api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
142
- group_href = 'group_href_example' # String |
141
+ api_instance = PulpcoreClient::ExportersExportsApi.new
142
+ exporter_href = 'exporter_href_example' # String |
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
145
  offset: 56, # Integer | The initial index from which to return the results.
146
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
147
146
  fields: 'fields_example', # String | A list of fields to include in the response.
148
147
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
149
148
  }
150
149
 
151
150
  begin
152
- #List permissions
153
- result = api_instance.list(group_href, opts)
151
+ #List exports
152
+ result = api_instance.list(exporter_href, opts)
154
153
  p result
155
154
  rescue PulpcoreClient::ApiError => e
156
- puts "Exception when calling GroupsModelPermissionsApi->list: #{e}"
155
+ puts "Exception when calling ExportersExportsApi->list: #{e}"
157
156
  end
158
157
  ```
159
158
 
@@ -162,16 +161,15 @@ end
162
161
 
163
162
  Name | Type | Description | Notes
164
163
  ------------- | ------------- | ------------- | -------------
165
- **group_href** | **String**| |
164
+ **exporter_href** | **String**| |
166
165
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
166
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
167
  **fields** | **String**| A list of fields to include in the response. | [optional]
170
168
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
171
169
 
172
170
  ### Return type
173
171
 
174
- [**PaginatedPermissionResponseList**](PaginatedPermissionResponseList.md)
172
+ [**PaginatedExportResponseList**](PaginatedExportResponseList.md)
175
173
 
176
174
  ### Authorization
177
175
 
@@ -185,11 +183,11 @@ Name | Type | Description | Notes
185
183
 
186
184
  ## read
187
185
 
188
- > PermissionResponse read(groups_model_permission_href, opts)
186
+ > ExportResponse read(exporters_export_href, opts)
189
187
 
190
- Inspect a permission
188
+ Inspect an export
191
189
 
192
- Retrieve a model permission from a group.
190
+ ViewSet for viewing exports from an Exporter.
193
191
 
194
192
  ### Example
195
193
 
@@ -203,19 +201,19 @@ PulpcoreClient.configure do |config|
203
201
  config.password = 'YOUR PASSWORD'
204
202
  end
205
203
 
206
- api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
207
- groups_model_permission_href = 'groups_model_permission_href_example' # String |
204
+ api_instance = PulpcoreClient::ExportersExportsApi.new
205
+ exporters_export_href = 'exporters_export_href_example' # String |
208
206
  opts = {
209
207
  fields: 'fields_example', # String | A list of fields to include in the response.
210
208
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
211
209
  }
212
210
 
213
211
  begin
214
- #Inspect a permission
215
- result = api_instance.read(groups_model_permission_href, opts)
212
+ #Inspect an export
213
+ result = api_instance.read(exporters_export_href, opts)
216
214
  p result
217
215
  rescue PulpcoreClient::ApiError => e
218
- puts "Exception when calling GroupsModelPermissionsApi->read: #{e}"
216
+ puts "Exception when calling ExportersExportsApi->read: #{e}"
219
217
  end
220
218
  ```
221
219
 
@@ -224,13 +222,13 @@ end
224
222
 
225
223
  Name | Type | Description | Notes
226
224
  ------------- | ------------- | ------------- | -------------
227
- **groups_model_permission_href** | **String**| |
225
+ **exporters_export_href** | **String**| |
228
226
  **fields** | **String**| A list of fields to include in the response. | [optional]
229
227
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
228
 
231
229
  ### Return type
232
230
 
233
- [**PermissionResponse**](PermissionResponse.md)
231
+ [**ExportResponse**](ExportResponse.md)
234
232
 
235
233
  ### Authorization
236
234
 
@@ -148,7 +148,7 @@ opts = {
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
149
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  fields: 'fields_example', # String | A list of fields to include in the response.
153
153
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
154
154
  }
@@ -174,7 +174,7 @@ Name | Type | Description | Notes
174
174
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
175
175
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
176
176
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
177
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
178
178
  **fields** | **String**| A list of fields to include in the response. | [optional]
179
179
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
180
180
 
@@ -143,7 +143,6 @@ filesystem_exporter_href = 'filesystem_exporter_href_example' # String |
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
145
  offset: 56, # Integer | The initial index from which to return the results.
146
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
147
146
  fields: 'fields_example', # String | A list of fields to include in the response.
148
147
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
149
148
  }
@@ -165,7 +164,6 @@ Name | Type | Description | Notes
165
164
  **filesystem_exporter_href** | **String**| |
166
165
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
166
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
167
  **fields** | **String**| A list of fields to include in the response. | [optional]
170
168
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
171
169
 
@@ -148,7 +148,7 @@ opts = {
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
149
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  fields: 'fields_example', # String | A list of fields to include in the response.
153
153
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
154
154
  }
@@ -174,7 +174,7 @@ Name | Type | Description | Notes
174
174
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
175
175
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
176
176
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
177
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
178
178
  **fields** | **String**| A list of fields to include in the response. | [optional]
179
179
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
180
180
 
@@ -143,7 +143,6 @@ pulp_exporter_href = 'pulp_exporter_href_example' # String |
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
145
  offset: 56, # Integer | The initial index from which to return the results.
146
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
147
146
  fields: 'fields_example', # String | A list of fields to include in the response.
148
147
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
149
148
  }
@@ -165,7 +164,6 @@ Name | Type | Description | Notes
165
164
  **pulp_exporter_href** | **String**| |
166
165
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
166
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
167
  **fields** | **String**| A list of fields to include in the response. | [optional]
170
168
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
171
169
 
data/docs/GroupRole.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **role** | **String** | |
8
- **content_object** | **String** | Optional pulp_href of the object the permissions are to be asserted on. |
8
+ **content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to &#39;null&#39;, permissions will act on the model-level. |
9
9
 
10
10
  ## Code Sample
11
11