pulpcore_client 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +88 -44
  3. data/docs/AccessPoliciesApi.md +244 -0
  4. data/docs/AccessPolicy.md +21 -0
  5. data/docs/AccessPolicyResponse.md +25 -0
  6. data/docs/Artifact.md +2 -6
  7. data/docs/ArtifactResponse.md +35 -0
  8. data/docs/ArtifactsApi.md +40 -34
  9. data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
  10. data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
  11. data/docs/ExportersCoreExportsApi.md +33 -33
  12. data/docs/ExportersPulpApi.md +51 -51
  13. data/docs/Group.md +17 -0
  14. data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
  15. data/docs/GroupResponse.md +21 -0
  16. data/docs/GroupUser.md +17 -0
  17. data/docs/GroupUserResponse.md +19 -0
  18. data/docs/GroupsApi.md +351 -0
  19. data/docs/GroupsModelPermissionsApi.md +128 -0
  20. data/docs/GroupsObjectPermissionsApi.md +247 -0
  21. data/docs/GroupsUsersApi.md +183 -0
  22. data/docs/{Import.md → ImportResponse.md} +2 -2
  23. data/docs/ImportersCoreImportsApi.md +33 -33
  24. data/docs/ImportersPulpApi.md +51 -51
  25. data/docs/InlineResponse200.md +3 -3
  26. data/docs/InlineResponse2001.md +3 -3
  27. data/docs/InlineResponse20010.md +23 -0
  28. data/docs/InlineResponse20011.md +23 -0
  29. data/docs/InlineResponse20012.md +23 -0
  30. data/docs/InlineResponse20013.md +23 -0
  31. data/docs/InlineResponse20014.md +23 -0
  32. data/docs/InlineResponse2002.md +3 -3
  33. data/docs/InlineResponse2003.md +3 -3
  34. data/docs/InlineResponse2004.md +3 -3
  35. data/docs/InlineResponse2005.md +3 -3
  36. data/docs/InlineResponse2006.md +3 -3
  37. data/docs/InlineResponse2007.md +3 -3
  38. data/docs/InlineResponse2008.md +3 -3
  39. data/docs/InlineResponse2009.md +3 -3
  40. data/docs/OrphansApi.md +2 -2
  41. data/docs/PatchedAccessPolicy.md +21 -0
  42. data/docs/PatchedGroup.md +17 -0
  43. data/docs/PatchedPulpExporter.md +23 -0
  44. data/docs/PatchedPulpImporter.md +19 -0
  45. data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
  46. data/docs/PermissionResponse.md +23 -0
  47. data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
  48. data/docs/PulpExport.md +11 -11
  49. data/docs/PulpExportResponse.md +27 -0
  50. data/docs/PulpExporter.md +1 -5
  51. data/docs/PulpExporterResponse.md +27 -0
  52. data/docs/PulpImport.md +4 -2
  53. data/docs/PulpImporter.md +2 -6
  54. data/docs/PulpImporterResponse.md +23 -0
  55. data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
  56. data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
  57. data/docs/SigningServicesApi.md +14 -14
  58. data/docs/StatusApi.md +8 -22
  59. data/docs/StatusResponse.md +27 -0
  60. data/docs/{Storage.md → StorageResponse.md} +2 -2
  61. data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
  62. data/docs/TaskGroupsApi.md +16 -12
  63. data/docs/{Task.md → TaskResponse.md} +5 -7
  64. data/docs/TasksApi.md +144 -88
  65. data/docs/Upload.md +1 -7
  66. data/docs/UploadChunk.md +2 -6
  67. data/docs/UploadChunkResponse.md +19 -0
  68. data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
  69. data/docs/UploadResponse.md +23 -0
  70. data/docs/UploadsApi.md +42 -40
  71. data/docs/UserGroupResponse.md +19 -0
  72. data/docs/UserResponse.md +35 -0
  73. data/docs/UsersApi.md +191 -0
  74. data/docs/{Version.md → VersionResponse.md} +2 -2
  75. data/docs/{Worker.md → WorkerResponse.md} +2 -2
  76. data/docs/WorkersApi.md +36 -32
  77. data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
  78. data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
  79. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
  80. data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
  81. data/lib/pulpcore_client/api/groups_api.rb +425 -0
  82. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
  83. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
  84. data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
  85. data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
  86. data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
  87. data/lib/pulpcore_client/api/orphans_api.rb +3 -3
  88. data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
  89. data/lib/pulpcore_client/api/status_api.rb +11 -17
  90. data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
  91. data/lib/pulpcore_client/api/tasks_api.rb +203 -125
  92. data/lib/pulpcore_client/api/uploads_api.rb +60 -66
  93. data/lib/pulpcore_client/api/users_api.rb +227 -0
  94. data/lib/pulpcore_client/api/workers_api.rb +46 -42
  95. data/lib/pulpcore_client/api_client.rb +2 -2
  96. data/lib/pulpcore_client/api_error.rb +2 -2
  97. data/lib/pulpcore_client/configuration.rb +3 -3
  98. data/lib/pulpcore_client/models/access_policy.rb +247 -0
  99. data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
  100. data/lib/pulpcore_client/models/artifact.rb +8 -111
  101. data/lib/pulpcore_client/models/artifact_response.rb +308 -0
  102. data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
  103. data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
  104. data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
  105. data/lib/pulpcore_client/models/group.rb +232 -0
  106. data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
  107. data/lib/pulpcore_client/models/group_response.rb +250 -0
  108. data/lib/pulpcore_client/models/group_user.rb +232 -0
  109. data/lib/pulpcore_client/models/group_user_response.rb +241 -0
  110. data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
  111. data/lib/pulpcore_client/models/inline_response200.rb +3 -13
  112. data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
  113. data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
  114. data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
  115. data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
  116. data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
  117. data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
  118. data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
  119. data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
  120. data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
  121. data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
  122. data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
  123. data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
  124. data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
  125. data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
  126. data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
  127. data/lib/pulpcore_client/models/patched_group.rb +223 -0
  128. data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
  129. data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
  130. data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
  131. data/lib/pulpcore_client/models/permission_response.rb +235 -0
  132. data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
  133. data/lib/pulpcore_client/models/pulp_export.rb +50 -42
  134. data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
  135. data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
  136. data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
  137. data/lib/pulpcore_client/models/pulp_import.rb +17 -30
  138. data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
  139. data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
  140. data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
  141. data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
  142. data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
  143. data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
  144. data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
  145. data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
  146. data/lib/pulpcore_client/models/upload.rb +7 -35
  147. data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
  148. data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
  149. data/lib/pulpcore_client/models/upload_commit.rb +2 -21
  150. data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
  151. data/lib/pulpcore_client/models/upload_response.rb +242 -0
  152. data/lib/pulpcore_client/models/user_group_response.rb +241 -0
  153. data/lib/pulpcore_client/models/user_response.rb +378 -0
  154. data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
  155. data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
  156. data/lib/pulpcore_client/version.rb +3 -3
  157. data/lib/pulpcore_client.rb +47 -17
  158. data/pulpcore_client.gemspec +4 -4
  159. data/spec/api/access_policies_api_spec.rb +91 -0
  160. data/spec/api/artifacts_api_spec.rb +18 -15
  161. data/spec/api/exporters_core_exports_api_spec.rb +10 -10
  162. data/spec/api/exporters_pulp_api_spec.rb +18 -18
  163. data/spec/api/groups_api_spec.rb +115 -0
  164. data/spec/api/groups_model_permissions_api_spec.rb +64 -0
  165. data/spec/api/groups_object_permissions_api_spec.rb +92 -0
  166. data/spec/api/groups_users_api_spec.rb +77 -0
  167. data/spec/api/importers_core_imports_api_spec.rb +10 -10
  168. data/spec/api/importers_pulp_api_spec.rb +18 -18
  169. data/spec/api/orphans_api_spec.rb +2 -2
  170. data/spec/api/signing_services_api_spec.rb +7 -7
  171. data/spec/api/status_api_spec.rb +5 -7
  172. data/spec/api/task_groups_api_spec.rb +8 -6
  173. data/spec/api/tasks_api_spec.rb +69 -42
  174. data/spec/api/uploads_api_spec.rb +14 -13
  175. data/spec/api/users_api_spec.rb +78 -0
  176. data/spec/api/workers_api_spec.rb +18 -16
  177. data/spec/api_client_spec.rb +2 -2
  178. data/spec/configuration_spec.rb +2 -2
  179. data/spec/models/access_policy_response_spec.rb +65 -0
  180. data/spec/models/access_policy_spec.rb +53 -0
  181. data/spec/models/artifact_response_spec.rb +95 -0
  182. data/spec/models/artifact_spec.rb +2 -14
  183. data/spec/models/async_operation_response_spec.rb +2 -2
  184. data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
  185. data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
  186. data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
  187. data/spec/models/group_response_spec.rb +53 -0
  188. data/spec/models/group_spec.rb +41 -0
  189. data/spec/models/group_user_response_spec.rb +47 -0
  190. data/spec/models/group_user_spec.rb +41 -0
  191. data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
  192. data/spec/models/inline_response20010_spec.rb +59 -0
  193. data/spec/models/inline_response20011_spec.rb +59 -0
  194. data/spec/models/inline_response20012_spec.rb +59 -0
  195. data/spec/models/inline_response20013_spec.rb +59 -0
  196. data/spec/models/inline_response20014_spec.rb +59 -0
  197. data/spec/models/inline_response2001_spec.rb +2 -2
  198. data/spec/models/inline_response2002_spec.rb +2 -2
  199. data/spec/models/inline_response2003_spec.rb +2 -2
  200. data/spec/models/inline_response2004_spec.rb +2 -2
  201. data/spec/models/inline_response2005_spec.rb +2 -2
  202. data/spec/models/inline_response2006_spec.rb +2 -2
  203. data/spec/models/inline_response2007_spec.rb +2 -2
  204. data/spec/models/inline_response2008_spec.rb +2 -2
  205. data/spec/models/inline_response2009_spec.rb +2 -2
  206. data/spec/models/inline_response200_spec.rb +2 -2
  207. data/spec/models/patched_access_policy_spec.rb +53 -0
  208. data/spec/models/patched_group_spec.rb +41 -0
  209. data/spec/models/patched_pulp_exporter_spec.rb +59 -0
  210. data/spec/models/patched_pulp_importer_spec.rb +47 -0
  211. data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
  212. data/spec/models/permission_response_spec.rb +59 -0
  213. data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
  214. data/spec/models/pulp_export_response_spec.rb +71 -0
  215. data/spec/models/pulp_export_spec.rb +8 -8
  216. data/spec/models/pulp_exporter_response_spec.rb +71 -0
  217. data/spec/models/pulp_exporter_spec.rb +2 -14
  218. data/spec/models/pulp_import_spec.rb +8 -2
  219. data/spec/models/pulp_importer_response_spec.rb +59 -0
  220. data/spec/models/pulp_importer_spec.rb +2 -14
  221. data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
  222. data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
  223. data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
  224. data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
  225. data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
  226. data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
  227. data/spec/models/upload_chunk_response_spec.rb +47 -0
  228. data/spec/models/upload_chunk_spec.rb +2 -14
  229. data/spec/models/upload_commit_spec.rb +2 -2
  230. data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
  231. data/spec/models/upload_response_spec.rb +59 -0
  232. data/spec/models/upload_spec.rb +2 -20
  233. data/spec/models/user_group_response_spec.rb +47 -0
  234. data/spec/models/user_response_spec.rb +95 -0
  235. data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
  236. data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
  237. data/spec/spec_helper.rb +2 -2
  238. metadata +204 -84
  239. data/docs/Status.md +0 -27
data/docs/UploadsApi.md CHANGED
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## commit
17
17
 
18
- > AsyncOperationResponse commit(upload_href, data)
18
+ > AsyncOperationResponse commit(upload_href, upload_commit)
19
19
 
20
20
  Finish an Upload
21
21
 
@@ -28,18 +28,18 @@ Queues a Task that creates an Artifact, and the Upload gets deleted and cannot b
28
28
  require 'pulpcore_client'
29
29
  # setup authorization
30
30
  PulpcoreClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpcoreClient::UploadsApi.new
37
- upload_href = 'upload_href_example' # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
38
- data = PulpcoreClient::UploadCommit.new # UploadCommit |
37
+ upload_href = 'upload_href_example' # String |
38
+ upload_commit = PulpcoreClient::UploadCommit.new # UploadCommit |
39
39
 
40
40
  begin
41
41
  #Finish an Upload
42
- result = api_instance.commit(upload_href, data)
42
+ result = api_instance.commit(upload_href, upload_commit)
43
43
  p result
44
44
  rescue PulpcoreClient::ApiError => e
45
45
  puts "Exception when calling UploadsApi->commit: #{e}"
@@ -51,8 +51,8 @@ end
51
51
 
52
52
  Name | Type | Description | Notes
53
53
  ------------- | ------------- | ------------- | -------------
54
- **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
55
- **data** | [**UploadCommit**](UploadCommit.md)| |
54
+ **upload_href** | **String**| |
55
+ **upload_commit** | [**UploadCommit**](UploadCommit.md)| |
56
56
 
57
57
  ### Return type
58
58
 
@@ -60,17 +60,17 @@ Name | Type | Description | Notes
60
60
 
61
61
  ### Authorization
62
62
 
63
- [Basic](../README.md#Basic)
63
+ [basicAuth](../README.md#basicAuth)
64
64
 
65
65
  ### HTTP request headers
66
66
 
67
- - **Content-Type**: application/json
67
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
68
68
  - **Accept**: application/json
69
69
 
70
70
 
71
71
  ## create
72
72
 
73
- > Upload create(data)
73
+ > UploadResponse create(upload)
74
74
 
75
75
  Create an upload
76
76
 
@@ -83,17 +83,17 @@ View for chunked uploads.
83
83
  require 'pulpcore_client'
84
84
  # setup authorization
85
85
  PulpcoreClient.configure do |config|
86
- # Configure HTTP basic authorization: Basic
86
+ # Configure HTTP basic authorization: basicAuth
87
87
  config.username = 'YOUR USERNAME'
88
88
  config.password = 'YOUR PASSWORD'
89
89
  end
90
90
 
91
91
  api_instance = PulpcoreClient::UploadsApi.new
92
- data = PulpcoreClient::Upload.new # Upload |
92
+ upload = PulpcoreClient::Upload.new # Upload |
93
93
 
94
94
  begin
95
95
  #Create an upload
96
- result = api_instance.create(data)
96
+ result = api_instance.create(upload)
97
97
  p result
98
98
  rescue PulpcoreClient::ApiError => e
99
99
  puts "Exception when calling UploadsApi->create: #{e}"
@@ -105,19 +105,19 @@ end
105
105
 
106
106
  Name | Type | Description | Notes
107
107
  ------------- | ------------- | ------------- | -------------
108
- **data** | [**Upload**](Upload.md)| |
108
+ **upload** | [**Upload**](Upload.md)| |
109
109
 
110
110
  ### Return type
111
111
 
112
- [**Upload**](Upload.md)
112
+ [**UploadResponse**](UploadResponse.md)
113
113
 
114
114
  ### Authorization
115
115
 
116
- [Basic](../README.md#Basic)
116
+ [basicAuth](../README.md#basicAuth)
117
117
 
118
118
  ### HTTP request headers
119
119
 
120
- - **Content-Type**: application/json
120
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
121
121
  - **Accept**: application/json
122
122
 
123
123
 
@@ -136,13 +136,13 @@ View for chunked uploads.
136
136
  require 'pulpcore_client'
137
137
  # setup authorization
138
138
  PulpcoreClient.configure do |config|
139
- # Configure HTTP basic authorization: Basic
139
+ # Configure HTTP basic authorization: basicAuth
140
140
  config.username = 'YOUR USERNAME'
141
141
  config.password = 'YOUR PASSWORD'
142
142
  end
143
143
 
144
144
  api_instance = PulpcoreClient::UploadsApi.new
145
- upload_href = 'upload_href_example' # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
145
+ upload_href = 'upload_href_example' # String |
146
146
 
147
147
  begin
148
148
  #Delete an upload
@@ -157,7 +157,7 @@ end
157
157
 
158
158
  Name | Type | Description | Notes
159
159
  ------------- | ------------- | ------------- | -------------
160
- **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
160
+ **upload_href** | **String**| |
161
161
 
162
162
  ### Return type
163
163
 
@@ -165,7 +165,7 @@ nil (empty response body)
165
165
 
166
166
  ### Authorization
167
167
 
168
- [Basic](../README.md#Basic)
168
+ [basicAuth](../README.md#basicAuth)
169
169
 
170
170
  ### HTTP request headers
171
171
 
@@ -175,7 +175,7 @@ nil (empty response body)
175
175
 
176
176
  ## list
177
177
 
178
- > InlineResponse2008 list(opts)
178
+ > InlineResponse20012 list(opts)
179
179
 
180
180
  List uploads
181
181
 
@@ -188,16 +188,16 @@ View for chunked uploads.
188
188
  require 'pulpcore_client'
189
189
  # setup authorization
190
190
  PulpcoreClient.configure do |config|
191
- # Configure HTTP basic authorization: Basic
191
+ # Configure HTTP basic authorization: basicAuth
192
192
  config.username = 'YOUR USERNAME'
193
193
  config.password = 'YOUR PASSWORD'
194
194
  end
195
195
 
196
196
  api_instance = PulpcoreClient::UploadsApi.new
197
197
  opts = {
198
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
199
198
  limit: 56, # Integer | Number of results to return per page.
200
199
  offset: 56, # Integer | The initial index from which to return the results.
200
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
201
201
  fields: 'fields_example', # String | A list of fields to include in the response.
202
202
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
203
203
  }
@@ -216,19 +216,19 @@ end
216
216
 
217
217
  Name | Type | Description | Notes
218
218
  ------------- | ------------- | ------------- | -------------
219
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
220
219
  **limit** | **Integer**| Number of results to return per page. | [optional]
221
220
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
221
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
222
222
  **fields** | **String**| A list of fields to include in the response. | [optional]
223
223
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
224
224
 
225
225
  ### Return type
226
226
 
227
- [**InlineResponse2008**](InlineResponse2008.md)
227
+ [**InlineResponse20012**](InlineResponse20012.md)
228
228
 
229
229
  ### Authorization
230
230
 
231
- [Basic](../README.md#Basic)
231
+ [basicAuth](../README.md#basicAuth)
232
232
 
233
233
  ### HTTP request headers
234
234
 
@@ -238,7 +238,7 @@ Name | Type | Description | Notes
238
238
 
239
239
  ## read
240
240
 
241
- > UploadDetail read(upload_href, opts)
241
+ > UploadDetailResponse read(upload_href, opts)
242
242
 
243
243
  Inspect an upload
244
244
 
@@ -251,13 +251,13 @@ View for chunked uploads.
251
251
  require 'pulpcore_client'
252
252
  # setup authorization
253
253
  PulpcoreClient.configure do |config|
254
- # Configure HTTP basic authorization: Basic
254
+ # Configure HTTP basic authorization: basicAuth
255
255
  config.username = 'YOUR USERNAME'
256
256
  config.password = 'YOUR PASSWORD'
257
257
  end
258
258
 
259
259
  api_instance = PulpcoreClient::UploadsApi.new
260
- upload_href = 'upload_href_example' # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
260
+ upload_href = 'upload_href_example' # String |
261
261
  opts = {
262
262
  fields: 'fields_example', # String | A list of fields to include in the response.
263
263
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -277,17 +277,17 @@ end
277
277
 
278
278
  Name | Type | Description | Notes
279
279
  ------------- | ------------- | ------------- | -------------
280
- **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
280
+ **upload_href** | **String**| |
281
281
  **fields** | **String**| A list of fields to include in the response. | [optional]
282
282
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
283
283
 
284
284
  ### Return type
285
285
 
286
- [**UploadDetail**](UploadDetail.md)
286
+ [**UploadDetailResponse**](UploadDetailResponse.md)
287
287
 
288
288
  ### Authorization
289
289
 
290
- [Basic](../README.md#Basic)
290
+ [basicAuth](../README.md#basicAuth)
291
291
 
292
292
  ### HTTP request headers
293
293
 
@@ -297,7 +297,7 @@ Name | Type | Description | Notes
297
297
 
298
298
  ## update
299
299
 
300
- > Upload update(upload_href, content_range, file, opts)
300
+ > UploadResponse update(content_range, upload_href, file, opts)
301
301
 
302
302
  Upload a file chunk
303
303
 
@@ -310,22 +310,23 @@ Upload a chunk for an upload.
310
310
  require 'pulpcore_client'
311
311
  # setup authorization
312
312
  PulpcoreClient.configure do |config|
313
- # Configure HTTP basic authorization: Basic
313
+ # Configure HTTP basic authorization: basicAuth
314
314
  config.username = 'YOUR USERNAME'
315
315
  config.password = 'YOUR PASSWORD'
316
316
  end
317
317
 
318
318
  api_instance = PulpcoreClient::UploadsApi.new
319
- upload_href = 'upload_href_example' # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
320
319
  content_range = 'content_range_example' # String | The Content-Range header specifies the location of the file chunk within the file.
320
+ upload_href = 'upload_href_example' # String |
321
321
  file = File.new('/path/to/file') # File | A chunk of the uploaded file.
322
322
  opts = {
323
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
323
324
  sha256: 'sha256_example' # String | The SHA-256 checksum of the chunk if available.
324
325
  }
325
326
 
326
327
  begin
327
328
  #Upload a file chunk
328
- result = api_instance.update(upload_href, content_range, file, opts)
329
+ result = api_instance.update(content_range, upload_href, file, opts)
329
330
  p result
330
331
  rescue PulpcoreClient::ApiError => e
331
332
  puts "Exception when calling UploadsApi->update: #{e}"
@@ -337,18 +338,19 @@ end
337
338
 
338
339
  Name | Type | Description | Notes
339
340
  ------------- | ------------- | ------------- | -------------
340
- **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
341
341
  **content_range** | **String**| The Content-Range header specifies the location of the file chunk within the file. |
342
+ **upload_href** | **String**| |
342
343
  **file** | **File**| A chunk of the uploaded file. |
344
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
343
345
  **sha256** | **String**| The SHA-256 checksum of the chunk if available. | [optional]
344
346
 
345
347
  ### Return type
346
348
 
347
- [**Upload**](Upload.md)
349
+ [**UploadResponse**](UploadResponse.md)
348
350
 
349
351
  ### Authorization
350
352
 
351
- [Basic](../README.md#Basic)
353
+ [basicAuth](../README.md#basicAuth)
352
354
 
353
355
  ### HTTP request headers
354
356
 
@@ -0,0 +1,19 @@
1
+ # PulpcoreClient::UserGroupResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | Name. |
8
+ **pulp_href** | **String** | | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpcoreClient'
14
+
15
+ instance = PulpcoreClient::UserGroupResponse.new(name: null,
16
+ pulp_href: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,35 @@
1
+ # PulpcoreClient::UserResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **id** | **Integer** | | [optional] [readonly]
9
+ **username** | **String** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
10
+ **first_name** | **String** | First name |
11
+ **last_name** | **String** | Last name |
12
+ **email** | **String** | Email address |
13
+ **is_staff** | **Boolean** | Designates whether the user can log into this admin site. | [optional] [default to false]
14
+ **is_active** | **Boolean** | Designates whether this user should be treated as active. | [optional] [default to true]
15
+ **date_joined** | **DateTime** | Date joined | [optional] [readonly]
16
+ **groups** | [**Array<UserGroupResponse>**](UserGroupResponse.md) | | [optional] [readonly]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'PulpcoreClient'
22
+
23
+ instance = PulpcoreClient::UserResponse.new(pulp_href: null,
24
+ id: null,
25
+ username: null,
26
+ first_name: null,
27
+ last_name: null,
28
+ email: null,
29
+ is_staff: null,
30
+ is_active: null,
31
+ date_joined: null,
32
+ groups: null)
33
+ ```
34
+
35
+
data/docs/UsersApi.md ADDED
@@ -0,0 +1,191 @@
1
+ # PulpcoreClient::UsersApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](UsersApi.md#list) | **GET** /pulp/api/v3/users/ | List users
8
+ [**permissions**](UsersApi.md#permissions) | **GET** {auth_user_href}permissions/ |
9
+ [**read**](UsersApi.md#read) | **GET** {auth_user_href} | Inspect an user
10
+
11
+
12
+
13
+ ## list
14
+
15
+ > InlineResponse20013 list(opts)
16
+
17
+ List users
18
+
19
+ ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulpcore_client'
26
+ # setup authorization
27
+ PulpcoreClient.configure do |config|
28
+ # Configure HTTP basic authorization: basicAuth
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpcoreClient::UsersApi.new
34
+ opts = {
35
+ limit: 56, # Integer | Number of results to return per page.
36
+ offset: 56, # Integer | The initial index from which to return the results.
37
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
38
+ fields: 'fields_example', # String | A list of fields to include in the response.
39
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
40
+ }
41
+
42
+ begin
43
+ #List users
44
+ result = api_instance.list(opts)
45
+ p result
46
+ rescue PulpcoreClient::ApiError => e
47
+ puts "Exception when calling UsersApi->list: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+
54
+ Name | Type | Description | Notes
55
+ ------------- | ------------- | ------------- | -------------
56
+ **limit** | **Integer**| Number of results to return per page. | [optional]
57
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
58
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
59
+ **fields** | **String**| A list of fields to include in the response. | [optional]
60
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
61
+
62
+ ### Return type
63
+
64
+ [**InlineResponse20013**](InlineResponse20013.md)
65
+
66
+ ### Authorization
67
+
68
+ [basicAuth](../README.md#basicAuth)
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: Not defined
73
+ - **Accept**: application/json
74
+
75
+
76
+ ## permissions
77
+
78
+ > PermissionResponse permissions(auth_user_href, opts)
79
+
80
+
81
+
82
+ List user permissions.
83
+
84
+ ### Example
85
+
86
+ ```ruby
87
+ # load the gem
88
+ require 'pulpcore_client'
89
+ # setup authorization
90
+ PulpcoreClient.configure do |config|
91
+ # Configure HTTP basic authorization: basicAuth
92
+ config.username = 'YOUR USERNAME'
93
+ config.password = 'YOUR PASSWORD'
94
+ end
95
+
96
+ api_instance = PulpcoreClient::UsersApi.new
97
+ auth_user_href = 'auth_user_href_example' # String |
98
+ opts = {
99
+ fields: 'fields_example', # String | A list of fields to include in the response.
100
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
101
+ }
102
+
103
+ begin
104
+ result = api_instance.permissions(auth_user_href, opts)
105
+ p result
106
+ rescue PulpcoreClient::ApiError => e
107
+ puts "Exception when calling UsersApi->permissions: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+
114
+ Name | Type | Description | Notes
115
+ ------------- | ------------- | ------------- | -------------
116
+ **auth_user_href** | **String**| |
117
+ **fields** | **String**| A list of fields to include in the response. | [optional]
118
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
119
+
120
+ ### Return type
121
+
122
+ [**PermissionResponse**](PermissionResponse.md)
123
+
124
+ ### Authorization
125
+
126
+ [basicAuth](../README.md#basicAuth)
127
+
128
+ ### HTTP request headers
129
+
130
+ - **Content-Type**: Not defined
131
+ - **Accept**: application/json
132
+
133
+
134
+ ## read
135
+
136
+ > UserResponse read(auth_user_href, opts)
137
+
138
+ Inspect an user
139
+
140
+ ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
141
+
142
+ ### Example
143
+
144
+ ```ruby
145
+ # load the gem
146
+ require 'pulpcore_client'
147
+ # setup authorization
148
+ PulpcoreClient.configure do |config|
149
+ # Configure HTTP basic authorization: basicAuth
150
+ config.username = 'YOUR USERNAME'
151
+ config.password = 'YOUR PASSWORD'
152
+ end
153
+
154
+ api_instance = PulpcoreClient::UsersApi.new
155
+ auth_user_href = 'auth_user_href_example' # String |
156
+ opts = {
157
+ fields: 'fields_example', # String | A list of fields to include in the response.
158
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
159
+ }
160
+
161
+ begin
162
+ #Inspect an user
163
+ result = api_instance.read(auth_user_href, opts)
164
+ p result
165
+ rescue PulpcoreClient::ApiError => e
166
+ puts "Exception when calling UsersApi->read: #{e}"
167
+ end
168
+ ```
169
+
170
+ ### Parameters
171
+
172
+
173
+ Name | Type | Description | Notes
174
+ ------------- | ------------- | ------------- | -------------
175
+ **auth_user_href** | **String**| |
176
+ **fields** | **String**| A list of fields to include in the response. | [optional]
177
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
178
+
179
+ ### Return type
180
+
181
+ [**UserResponse**](UserResponse.md)
182
+
183
+ ### Authorization
184
+
185
+ [basicAuth](../README.md#basicAuth)
186
+
187
+ ### HTTP request headers
188
+
189
+ - **Content-Type**: Not defined
190
+ - **Accept**: application/json
191
+
@@ -1,4 +1,4 @@
1
- # PulpcoreClient::Version
1
+ # PulpcoreClient::VersionResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  ```ruby
13
13
  require 'PulpcoreClient'
14
14
 
15
- instance = PulpcoreClient::Version.new(component: null,
15
+ instance = PulpcoreClient::VersionResponse.new(component: null,
16
16
  version: null)
17
17
  ```
18
18
 
@@ -1,4 +1,4 @@
1
- # PulpcoreClient::Worker
1
+ # PulpcoreClient::WorkerResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpcoreClient'
16
16
 
17
- instance = PulpcoreClient::Worker.new(pulp_href: null,
17
+ instance = PulpcoreClient::WorkerResponse.new(pulp_href: null,
18
18
  pulp_created: null,
19
19
  name: null,
20
20
  last_heartbeat: null)