pulpcore_client 3.5.0 → 3.6.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 (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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c44abfb566227f7c69a3520c3f243c3b6a27484bb18230c884359ab898cdc7f
4
- data.tar.gz: 7389d01d86128d2c626c5b22ca2e43c97b1c3fa8a78794c055d4f7984d235bf2
3
+ metadata.gz: f91ed9a552672861dc2a9c454bbe2fed84e6d0836c5e2400f598e661f1dc8ecb
4
+ data.tar.gz: 68edb6b044f54841cf327530a6749577c269e24e07fc0167241c3f188d2cb2be
5
5
  SHA512:
6
- metadata.gz: 42ac916fa600dc820a966fae736f8ffca3deaed6c68917780ec98407e890e4208d5a98c61f746b7cfcb2936251bcef144f651281d19e31a79bdf85075bd815ef
7
- data.tar.gz: 1af3150d33e87b5987e90b72742c05e59f5386e3654df16ccc65e10cc76f5f0767d7459fbcf80e8e38ac0cff6c91e9087ce3acafaa223316a4458b4525d97c0f
6
+ metadata.gz: bff42389e74bb24a70dfade2758d86af52736b40409efda70683a3b67202dbb83834e948d05b9d9153fc9b5fb0d10aa0065d24d87c7ab0fc89bf24f9325762d8
7
+ data.tar.gz: 234a02d7bec199079ca38bf409d2a39a1ecc6ba935325bd25fa82552f23beab029bc57582d56576fafc3d42aa710e48905119e1584fa93a0ae54449476ec4e32
data/README.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  PulpcoreClient - the Ruby gem for the Pulp 3 API
4
4
 
5
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ Fetch, Upload, Organize, and Distribute Software Packages
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.5.0
10
+ - Package version: 3.6.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
12
13
 
13
14
  ## Installation
14
15
 
@@ -23,16 +24,16 @@ gem build pulpcore_client.gemspec
23
24
  Then either install the gem locally:
24
25
 
25
26
  ```shell
26
- gem install ./pulpcore_client-3.5.0.gem
27
+ gem install ./pulpcore_client-3.6.0.gem
27
28
  ```
28
29
 
29
- (for development, run `gem install --dev ./pulpcore_client-3.5.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.6.0.gem` to install the development dependencies)
30
31
 
31
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
33
 
33
34
  Finally add this to the Gemfile:
34
35
 
35
- gem 'pulpcore_client', '~> 3.5.0'
36
+ gem 'pulpcore_client', '~> 3.6.0'
36
37
 
37
38
  ### Install from Git
38
39
 
@@ -58,29 +59,26 @@ require 'pulpcore_client'
58
59
 
59
60
  # Setup authorization
60
61
  PulpcoreClient.configure do |config|
61
- # Configure HTTP basic authorization: Basic
62
+ # Configure HTTP basic authorization: basicAuth
62
63
  config.username = 'YOUR_USERNAME'
63
64
  config.password = 'YOUR_PASSWORD'
64
65
  end
65
66
 
66
- api_instance = PulpcoreClient::ArtifactsApi.new
67
- file = File.new('/path/to/file') # File | The stored file.
67
+ api_instance = PulpcoreClient::AccessPoliciesApi.new
68
68
  opts = {
69
- size: 56, # Integer | The size of the file in bytes.
70
- md5: 'md5_example', # String | The MD5 checksum of the file if available.
71
- sha1: 'sha1_example', # String | The SHA-1 checksum of the file if available.
72
- sha224: 'sha224_example', # String | The SHA-224 checksum of the file if available.
73
- sha256: 'sha256_example', # String | The SHA-256 checksum of the file if available.
74
- sha384: 'sha384_example', # String | The SHA-384 checksum of the file if available.
75
- sha512: 'sha512_example' # String | The SHA-512 checksum of the file if available.
69
+ limit: 56, # Integer | Number of results to return per page.
70
+ offset: 56, # Integer | The initial index from which to return the results.
71
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
72
+ fields: 'fields_example', # String | A list of fields to include in the response.
73
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
76
74
  }
77
75
 
78
76
  begin
79
- #Create an artifact
80
- result = api_instance.create(file, opts)
77
+ #List access policys
78
+ result = api_instance.list(opts)
81
79
  p result
82
80
  rescue PulpcoreClient::ApiError => e
83
- puts "Exception when calling ArtifactsApi->create: #{e}"
81
+ puts "Exception when calling AccessPoliciesApi->list: #{e}"
84
82
  end
85
83
 
86
84
  ```
@@ -91,60 +89,94 @@ All URIs are relative to *http://pulp*
91
89
 
92
90
  Class | Method | HTTP request | Description
93
91
  ------------ | ------------- | ------------- | -------------
92
+ *PulpcoreClient::AccessPoliciesApi* | [**list**](docs/AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys
93
+ *PulpcoreClient::AccessPoliciesApi* | [**partial_update**](docs/AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy
94
+ *PulpcoreClient::AccessPoliciesApi* | [**read**](docs/AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy
95
+ *PulpcoreClient::AccessPoliciesApi* | [**update**](docs/AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy
94
96
  *PulpcoreClient::ArtifactsApi* | [**create**](docs/ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
95
97
  *PulpcoreClient::ArtifactsApi* | [**delete**](docs/ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
96
98
  *PulpcoreClient::ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
97
99
  *PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
98
- *PulpcoreClient::ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {pulp_exporter_href}exports/ | Create a pulp export
99
- *PulpcoreClient::ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {pulp_export_href} | Delete a pulp export
100
+ *PulpcoreClient::ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {core_pulp_pulp_export_href}exports/ | Create a pulp export
101
+ *PulpcoreClient::ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {core_pulp_pulp_export_href} | Delete a pulp export
100
102
  *PulpcoreClient::ExportersCoreExportsApi* | [**list**](docs/ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
101
- *PulpcoreClient::ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {pulp_export_href} | Inspect a pulp export
103
+ *PulpcoreClient::ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {core_pulp_pulp_export_href} | Inspect a pulp export
102
104
  *PulpcoreClient::ExportersPulpApi* | [**create**](docs/ExportersPulpApi.md#create) | **POST** /pulp/api/v3/exporters/core/pulp/ | Create a pulp exporter
103
105
  *PulpcoreClient::ExportersPulpApi* | [**delete**](docs/ExportersPulpApi.md#delete) | **DELETE** {pulp_exporter_href} | Delete a pulp exporter
104
106
  *PulpcoreClient::ExportersPulpApi* | [**list**](docs/ExportersPulpApi.md#list) | **GET** /pulp/api/v3/exporters/core/pulp/ | List pulp exporters
105
- *PulpcoreClient::ExportersPulpApi* | [**partial_update**](docs/ExportersPulpApi.md#partial_update) | **PATCH** {pulp_exporter_href} | Partially update a pulp exporter
107
+ *PulpcoreClient::ExportersPulpApi* | [**partial_update**](docs/ExportersPulpApi.md#partial_update) | **PATCH** {pulp_exporter_href} | Update a pulp exporter
106
108
  *PulpcoreClient::ExportersPulpApi* | [**read**](docs/ExportersPulpApi.md#read) | **GET** {pulp_exporter_href} | Inspect a pulp exporter
107
109
  *PulpcoreClient::ExportersPulpApi* | [**update**](docs/ExportersPulpApi.md#update) | **PUT** {pulp_exporter_href} | Update a pulp exporter
108
- *PulpcoreClient::ImportersCoreImportsApi* | [**create**](docs/ImportersCoreImportsApi.md#create) | **POST** {pulp_importer_href}imports/ | Create a pulp import
109
- *PulpcoreClient::ImportersCoreImportsApi* | [**delete**](docs/ImportersCoreImportsApi.md#delete) | **DELETE** {pulp_import_href} | Delete a pulp import
110
+ *PulpcoreClient::GroupsApi* | [**create**](docs/GroupsApi.md#create) | **POST** /pulp/api/v3/groups/ | Create a group
111
+ *PulpcoreClient::GroupsApi* | [**delete**](docs/GroupsApi.md#delete) | **DELETE** {auth_group_href} | Delete a group
112
+ *PulpcoreClient::GroupsApi* | [**list**](docs/GroupsApi.md#list) | **GET** /pulp/api/v3/groups/ | List groups
113
+ *PulpcoreClient::GroupsApi* | [**partial_update**](docs/GroupsApi.md#partial_update) | **PATCH** {auth_group_href} | Update a group
114
+ *PulpcoreClient::GroupsApi* | [**read**](docs/GroupsApi.md#read) | **GET** {auth_group_href} | Inspect a group
115
+ *PulpcoreClient::GroupsApi* | [**update**](docs/GroupsApi.md#update) | **PUT** {auth_group_href} | Update a group
116
+ *PulpcoreClient::GroupsModelPermissionsApi* | [**create**](docs/GroupsModelPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}model_permissions/ | Create a permission
117
+ *PulpcoreClient::GroupsModelPermissionsApi* | [**list**](docs/GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
118
+ *PulpcoreClient::GroupsObjectPermissionsApi* | [**create**](docs/GroupsObjectPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}object_permissions/ | Create a permission
119
+ *PulpcoreClient::GroupsObjectPermissionsApi* | [**delete**](docs/GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_auth_groups_permission_href} | Delete a permission
120
+ *PulpcoreClient::GroupsObjectPermissionsApi* | [**list**](docs/GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
121
+ *PulpcoreClient::GroupsObjectPermissionsApi* | [**read**](docs/GroupsObjectPermissionsApi.md#read) | **GET** {auth_auth_groups_permission_href} | Inspect a permission
122
+ *PulpcoreClient::GroupsUsersApi* | [**create**](docs/GroupsUsersApi.md#create) | **POST** {auth_auth_groups_user_href}users/ | Create an user
123
+ *PulpcoreClient::GroupsUsersApi* | [**delete**](docs/GroupsUsersApi.md#delete) | **DELETE** {auth_auth_groups_user_href} | Delete an user
124
+ *PulpcoreClient::GroupsUsersApi* | [**list**](docs/GroupsUsersApi.md#list) | **GET** {auth_group_href}users/ | List users
125
+ *PulpcoreClient::ImportersCoreImportsApi* | [**create**](docs/ImportersCoreImportsApi.md#create) | **POST** {core_pulp_pulp_import_href}imports/ | Create a pulp import
126
+ *PulpcoreClient::ImportersCoreImportsApi* | [**delete**](docs/ImportersCoreImportsApi.md#delete) | **DELETE** {core_pulp_pulp_import_href} | Delete a pulp import
110
127
  *PulpcoreClient::ImportersCoreImportsApi* | [**list**](docs/ImportersCoreImportsApi.md#list) | **GET** {pulp_importer_href}imports/ | List pulp imports
111
- *PulpcoreClient::ImportersCoreImportsApi* | [**read**](docs/ImportersCoreImportsApi.md#read) | **GET** {pulp_import_href} | Inspect a pulp import
128
+ *PulpcoreClient::ImportersCoreImportsApi* | [**read**](docs/ImportersCoreImportsApi.md#read) | **GET** {core_pulp_pulp_import_href} | Inspect a pulp import
112
129
  *PulpcoreClient::ImportersPulpApi* | [**create**](docs/ImportersPulpApi.md#create) | **POST** /pulp/api/v3/importers/core/pulp/ | Create a pulp importer
113
130
  *PulpcoreClient::ImportersPulpApi* | [**delete**](docs/ImportersPulpApi.md#delete) | **DELETE** {pulp_importer_href} | Delete a pulp importer
114
131
  *PulpcoreClient::ImportersPulpApi* | [**list**](docs/ImportersPulpApi.md#list) | **GET** /pulp/api/v3/importers/core/pulp/ | List pulp importers
115
- *PulpcoreClient::ImportersPulpApi* | [**partial_update**](docs/ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} | Partially update a pulp importer
132
+ *PulpcoreClient::ImportersPulpApi* | [**partial_update**](docs/ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} | Update a pulp importer
116
133
  *PulpcoreClient::ImportersPulpApi* | [**read**](docs/ImportersPulpApi.md#read) | **GET** {pulp_importer_href} | Inspect a pulp importer
117
134
  *PulpcoreClient::ImportersPulpApi* | [**update**](docs/ImportersPulpApi.md#update) | **PUT** {pulp_importer_href} | Update a pulp importer
118
135
  *PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
119
136
  *PulpcoreClient::SigningServicesApi* | [**list**](docs/SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
120
137
  *PulpcoreClient::SigningServicesApi* | [**read**](docs/SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
121
- *PulpcoreClient::StatusApi* | [**status_read**](docs/StatusApi.md#status_read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
138
+ *PulpcoreClient::StatusApi* | [**read**](docs/StatusApi.md#read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
122
139
  *PulpcoreClient::TaskGroupsApi* | [**list**](docs/TaskGroupsApi.md#list) | **GET** /pulp/api/v3/task-groups/ | List task groups
123
140
  *PulpcoreClient::TaskGroupsApi* | [**read**](docs/TaskGroupsApi.md#read) | **GET** {task_group_href} | Inspect a task group
124
141
  *PulpcoreClient::TasksApi* | [**delete**](docs/TasksApi.md#delete) | **DELETE** {task_href} | Delete a task
125
142
  *PulpcoreClient::TasksApi* | [**list**](docs/TasksApi.md#list) | **GET** /pulp/api/v3/tasks/ | List tasks
143
+ *PulpcoreClient::TasksApi* | [**partial_update**](docs/TasksApi.md#partial_update) | **PATCH** {task_href} | Cancel a task
126
144
  *PulpcoreClient::TasksApi* | [**read**](docs/TasksApi.md#read) | **GET** {task_href} | Inspect a task
127
- *PulpcoreClient::TasksApi* | [**tasks_cancel**](docs/TasksApi.md#tasks_cancel) | **PATCH** {task_href} | Cancel a task
128
145
  *PulpcoreClient::UploadsApi* | [**commit**](docs/UploadsApi.md#commit) | **POST** {upload_href}commit/ | Finish an Upload
129
146
  *PulpcoreClient::UploadsApi* | [**create**](docs/UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload
130
147
  *PulpcoreClient::UploadsApi* | [**delete**](docs/UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload
131
148
  *PulpcoreClient::UploadsApi* | [**list**](docs/UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads
132
149
  *PulpcoreClient::UploadsApi* | [**read**](docs/UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload
133
150
  *PulpcoreClient::UploadsApi* | [**update**](docs/UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk
151
+ *PulpcoreClient::UsersApi* | [**list**](docs/UsersApi.md#list) | **GET** /pulp/api/v3/users/ | List users
152
+ *PulpcoreClient::UsersApi* | [**permissions**](docs/UsersApi.md#permissions) | **GET** {auth_user_href}permissions/ |
153
+ *PulpcoreClient::UsersApi* | [**read**](docs/UsersApi.md#read) | **GET** {auth_user_href} | Inspect an user
134
154
  *PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List workers
135
155
  *PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect a worker
136
156
 
137
157
 
138
158
  ## Documentation for Models
139
159
 
160
+ - [PulpcoreClient::AccessPolicy](docs/AccessPolicy.md)
161
+ - [PulpcoreClient::AccessPolicyResponse](docs/AccessPolicyResponse.md)
140
162
  - [PulpcoreClient::Artifact](docs/Artifact.md)
163
+ - [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
141
164
  - [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
142
- - [PulpcoreClient::ContentAppStatus](docs/ContentAppStatus.md)
143
- - [PulpcoreClient::DatabaseConnection](docs/DatabaseConnection.md)
144
- - [PulpcoreClient::GroupProgressReport](docs/GroupProgressReport.md)
145
- - [PulpcoreClient::Import](docs/Import.md)
165
+ - [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
166
+ - [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
167
+ - [PulpcoreClient::Group](docs/Group.md)
168
+ - [PulpcoreClient::GroupProgressReportResponse](docs/GroupProgressReportResponse.md)
169
+ - [PulpcoreClient::GroupResponse](docs/GroupResponse.md)
170
+ - [PulpcoreClient::GroupUser](docs/GroupUser.md)
171
+ - [PulpcoreClient::GroupUserResponse](docs/GroupUserResponse.md)
172
+ - [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
146
173
  - [PulpcoreClient::InlineResponse200](docs/InlineResponse200.md)
147
174
  - [PulpcoreClient::InlineResponse2001](docs/InlineResponse2001.md)
175
+ - [PulpcoreClient::InlineResponse20010](docs/InlineResponse20010.md)
176
+ - [PulpcoreClient::InlineResponse20011](docs/InlineResponse20011.md)
177
+ - [PulpcoreClient::InlineResponse20012](docs/InlineResponse20012.md)
178
+ - [PulpcoreClient::InlineResponse20013](docs/InlineResponse20013.md)
179
+ - [PulpcoreClient::InlineResponse20014](docs/InlineResponse20014.md)
148
180
  - [PulpcoreClient::InlineResponse2002](docs/InlineResponse2002.md)
149
181
  - [PulpcoreClient::InlineResponse2003](docs/InlineResponse2003.md)
150
182
  - [PulpcoreClient::InlineResponse2004](docs/InlineResponse2004.md)
@@ -153,30 +185,42 @@ Class | Method | HTTP request | Description
153
185
  - [PulpcoreClient::InlineResponse2007](docs/InlineResponse2007.md)
154
186
  - [PulpcoreClient::InlineResponse2008](docs/InlineResponse2008.md)
155
187
  - [PulpcoreClient::InlineResponse2009](docs/InlineResponse2009.md)
156
- - [PulpcoreClient::ProgressReport](docs/ProgressReport.md)
188
+ - [PulpcoreClient::PatchedAccessPolicy](docs/PatchedAccessPolicy.md)
189
+ - [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
190
+ - [PulpcoreClient::PatchedPulpExporter](docs/PatchedPulpExporter.md)
191
+ - [PulpcoreClient::PatchedPulpImporter](docs/PatchedPulpImporter.md)
192
+ - [PulpcoreClient::PatchedTaskCancel](docs/PatchedTaskCancel.md)
193
+ - [PulpcoreClient::PermissionResponse](docs/PermissionResponse.md)
194
+ - [PulpcoreClient::ProgressReportResponse](docs/ProgressReportResponse.md)
157
195
  - [PulpcoreClient::PulpExport](docs/PulpExport.md)
196
+ - [PulpcoreClient::PulpExportResponse](docs/PulpExportResponse.md)
158
197
  - [PulpcoreClient::PulpExporter](docs/PulpExporter.md)
198
+ - [PulpcoreClient::PulpExporterResponse](docs/PulpExporterResponse.md)
159
199
  - [PulpcoreClient::PulpImport](docs/PulpImport.md)
160
200
  - [PulpcoreClient::PulpImporter](docs/PulpImporter.md)
161
- - [PulpcoreClient::RedisConnection](docs/RedisConnection.md)
162
- - [PulpcoreClient::SigningService](docs/SigningService.md)
163
- - [PulpcoreClient::Status](docs/Status.md)
164
- - [PulpcoreClient::Storage](docs/Storage.md)
165
- - [PulpcoreClient::Task](docs/Task.md)
166
- - [PulpcoreClient::TaskCancel](docs/TaskCancel.md)
167
- - [PulpcoreClient::TaskGroup](docs/TaskGroup.md)
201
+ - [PulpcoreClient::PulpImporterResponse](docs/PulpImporterResponse.md)
202
+ - [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
203
+ - [PulpcoreClient::SigningServiceResponse](docs/SigningServiceResponse.md)
204
+ - [PulpcoreClient::StatusResponse](docs/StatusResponse.md)
205
+ - [PulpcoreClient::StorageResponse](docs/StorageResponse.md)
206
+ - [PulpcoreClient::TaskGroupResponse](docs/TaskGroupResponse.md)
207
+ - [PulpcoreClient::TaskResponse](docs/TaskResponse.md)
168
208
  - [PulpcoreClient::Upload](docs/Upload.md)
169
209
  - [PulpcoreClient::UploadChunk](docs/UploadChunk.md)
210
+ - [PulpcoreClient::UploadChunkResponse](docs/UploadChunkResponse.md)
170
211
  - [PulpcoreClient::UploadCommit](docs/UploadCommit.md)
171
- - [PulpcoreClient::UploadDetail](docs/UploadDetail.md)
172
- - [PulpcoreClient::Version](docs/Version.md)
173
- - [PulpcoreClient::Worker](docs/Worker.md)
212
+ - [PulpcoreClient::UploadDetailResponse](docs/UploadDetailResponse.md)
213
+ - [PulpcoreClient::UploadResponse](docs/UploadResponse.md)
214
+ - [PulpcoreClient::UserGroupResponse](docs/UserGroupResponse.md)
215
+ - [PulpcoreClient::UserResponse](docs/UserResponse.md)
216
+ - [PulpcoreClient::VersionResponse](docs/VersionResponse.md)
217
+ - [PulpcoreClient::WorkerResponse](docs/WorkerResponse.md)
174
218
 
175
219
 
176
220
  ## Documentation for Authorization
177
221
 
178
222
 
179
- ### Basic
223
+ ### basicAuth
180
224
 
181
225
  - **Type**: HTTP basic authentication
182
226
 
@@ -0,0 +1,244 @@
1
+ # PulpcoreClient::AccessPoliciesApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys
8
+ [**partial_update**](AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy
9
+ [**read**](AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy
10
+ [**update**](AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy
11
+
12
+
13
+
14
+ ## list
15
+
16
+ > InlineResponse200 list(opts)
17
+
18
+ List access policys
19
+
20
+ ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
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::AccessPoliciesApi.new
35
+ opts = {
36
+ limit: 56, # Integer | Number of results to return per page.
37
+ offset: 56, # Integer | The initial index from which to return the results.
38
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
39
+ fields: 'fields_example', # String | A list of fields to include in the response.
40
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
41
+ }
42
+
43
+ begin
44
+ #List access policys
45
+ result = api_instance.list(opts)
46
+ p result
47
+ rescue PulpcoreClient::ApiError => e
48
+ puts "Exception when calling AccessPoliciesApi->list: #{e}"
49
+ end
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **limit** | **Integer**| Number of results to return per page. | [optional]
58
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
59
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
60
+ **fields** | **String**| A list of fields to include in the response. | [optional]
61
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
62
+
63
+ ### Return type
64
+
65
+ [**InlineResponse200**](InlineResponse200.md)
66
+
67
+ ### Authorization
68
+
69
+ [basicAuth](../README.md#basicAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: Not defined
74
+ - **Accept**: application/json
75
+
76
+
77
+ ## partial_update
78
+
79
+ > AccessPolicyResponse partial_update(access_policy_href, patched_access_policy)
80
+
81
+ Update an access policy
82
+
83
+ ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
84
+
85
+ ### Example
86
+
87
+ ```ruby
88
+ # load the gem
89
+ require 'pulpcore_client'
90
+ # setup authorization
91
+ PulpcoreClient.configure do |config|
92
+ # Configure HTTP basic authorization: basicAuth
93
+ config.username = 'YOUR USERNAME'
94
+ config.password = 'YOUR PASSWORD'
95
+ end
96
+
97
+ api_instance = PulpcoreClient::AccessPoliciesApi.new
98
+ access_policy_href = 'access_policy_href_example' # String |
99
+ patched_access_policy = PulpcoreClient::PatchedAccessPolicy.new # PatchedAccessPolicy |
100
+
101
+ begin
102
+ #Update an access policy
103
+ result = api_instance.partial_update(access_policy_href, patched_access_policy)
104
+ p result
105
+ rescue PulpcoreClient::ApiError => e
106
+ puts "Exception when calling AccessPoliciesApi->partial_update: #{e}"
107
+ end
108
+ ```
109
+
110
+ ### Parameters
111
+
112
+
113
+ Name | Type | Description | Notes
114
+ ------------- | ------------- | ------------- | -------------
115
+ **access_policy_href** | **String**| |
116
+ **patched_access_policy** | [**PatchedAccessPolicy**](PatchedAccessPolicy.md)| |
117
+
118
+ ### Return type
119
+
120
+ [**AccessPolicyResponse**](AccessPolicyResponse.md)
121
+
122
+ ### Authorization
123
+
124
+ [basicAuth](../README.md#basicAuth)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
129
+ - **Accept**: application/json
130
+
131
+
132
+ ## read
133
+
134
+ > AccessPolicyResponse read(access_policy_href, opts)
135
+
136
+ Inspect an access policy
137
+
138
+ ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
139
+
140
+ ### Example
141
+
142
+ ```ruby
143
+ # load the gem
144
+ require 'pulpcore_client'
145
+ # setup authorization
146
+ PulpcoreClient.configure do |config|
147
+ # Configure HTTP basic authorization: basicAuth
148
+ config.username = 'YOUR USERNAME'
149
+ config.password = 'YOUR PASSWORD'
150
+ end
151
+
152
+ api_instance = PulpcoreClient::AccessPoliciesApi.new
153
+ access_policy_href = 'access_policy_href_example' # String |
154
+ opts = {
155
+ fields: 'fields_example', # String | A list of fields to include in the response.
156
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
+ }
158
+
159
+ begin
160
+ #Inspect an access policy
161
+ result = api_instance.read(access_policy_href, opts)
162
+ p result
163
+ rescue PulpcoreClient::ApiError => e
164
+ puts "Exception when calling AccessPoliciesApi->read: #{e}"
165
+ end
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+
171
+ Name | Type | Description | Notes
172
+ ------------- | ------------- | ------------- | -------------
173
+ **access_policy_href** | **String**| |
174
+ **fields** | **String**| A list of fields to include in the response. | [optional]
175
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
176
+
177
+ ### Return type
178
+
179
+ [**AccessPolicyResponse**](AccessPolicyResponse.md)
180
+
181
+ ### Authorization
182
+
183
+ [basicAuth](../README.md#basicAuth)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: application/json
189
+
190
+
191
+ ## update
192
+
193
+ > AccessPolicyResponse update(access_policy_href, access_policy)
194
+
195
+ Update an access policy
196
+
197
+ ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
198
+
199
+ ### Example
200
+
201
+ ```ruby
202
+ # load the gem
203
+ require 'pulpcore_client'
204
+ # setup authorization
205
+ PulpcoreClient.configure do |config|
206
+ # Configure HTTP basic authorization: basicAuth
207
+ config.username = 'YOUR USERNAME'
208
+ config.password = 'YOUR PASSWORD'
209
+ end
210
+
211
+ api_instance = PulpcoreClient::AccessPoliciesApi.new
212
+ access_policy_href = 'access_policy_href_example' # String |
213
+ access_policy = PulpcoreClient::AccessPolicy.new # AccessPolicy |
214
+
215
+ begin
216
+ #Update an access policy
217
+ result = api_instance.update(access_policy_href, access_policy)
218
+ p result
219
+ rescue PulpcoreClient::ApiError => e
220
+ puts "Exception when calling AccessPoliciesApi->update: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+
227
+ Name | Type | Description | Notes
228
+ ------------- | ------------- | ------------- | -------------
229
+ **access_policy_href** | **String**| |
230
+ **access_policy** | [**AccessPolicy**](AccessPolicy.md)| |
231
+
232
+ ### Return type
233
+
234
+ [**AccessPolicyResponse**](AccessPolicyResponse.md)
235
+
236
+ ### Authorization
237
+
238
+ [basicAuth](../README.md#basicAuth)
239
+
240
+ ### HTTP request headers
241
+
242
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
243
+ - **Accept**: application/json
244
+
@@ -0,0 +1,21 @@
1
+ # PulpcoreClient::AccessPolicy
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. |
8
+ **statements** | **Array<Object>** | List of policy statements defining the policy. |
9
+ **viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpcoreClient'
15
+
16
+ instance = PulpcoreClient::AccessPolicy.new(permissions_assignment: null,
17
+ statements: null,
18
+ viewset_name: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,25 @@
1
+ # PulpcoreClient::AccessPolicyResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. |
10
+ **statements** | **Array<Object>** | List of policy statements defining the policy. |
11
+ **viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. |
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpcoreClient'
17
+
18
+ instance = PulpcoreClient::AccessPolicyResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ permissions_assignment: null,
21
+ statements: null,
22
+ viewset_name: null)
23
+ ```
24
+
25
+
data/docs/Artifact.md CHANGED
@@ -4,9 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **file** | **String** | The stored file. | [optional] [readonly]
7
+ **file** | **File** | The stored file. |
10
8
  **size** | **Integer** | The size of the file in bytes. | [optional]
11
9
  **md5** | **String** | The MD5 checksum of the file if available. | [optional]
12
10
  **sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
@@ -20,9 +18,7 @@ Name | Type | Description | Notes
20
18
  ```ruby
21
19
  require 'PulpcoreClient'
22
20
 
23
- instance = PulpcoreClient::Artifact.new(pulp_href: null,
24
- pulp_created: null,
25
- file: null,
21
+ instance = PulpcoreClient::Artifact.new(file: null,
26
22
  size: null,
27
23
  md5: null,
28
24
  sha1: null,
@@ -0,0 +1,35 @@
1
+ # PulpcoreClient::ArtifactResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **file** | **String** | The stored file. |
10
+ **size** | **Integer** | The size of the file in bytes. | [optional]
11
+ **md5** | **String** | The MD5 checksum of the file if available. | [optional]
12
+ **sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
13
+ **sha224** | **String** | The SHA-224 checksum of the file if available. | [optional]
14
+ **sha256** | **String** | The SHA-256 checksum of the file if available. | [optional]
15
+ **sha384** | **String** | The SHA-384 checksum of the file if available. | [optional]
16
+ **sha512** | **String** | The SHA-512 checksum of the file if available. | [optional]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'PulpcoreClient'
22
+
23
+ instance = PulpcoreClient::ArtifactResponse.new(pulp_href: null,
24
+ pulp_created: null,
25
+ file: null,
26
+ size: null,
27
+ md5: null,
28
+ sha1: null,
29
+ sha224: null,
30
+ sha256: null,
31
+ sha384: null,
32
+ sha512: null)
33
+ ```
34
+
35
+