pulpcore_client 3.16.24 → 3.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +70 -22
  3. data/docs/AccessPoliciesApi.md +53 -0
  4. data/docs/AccessPolicy.md +3 -1
  5. data/docs/AccessPolicyResponse.md +3 -1
  6. data/docs/ContentguardsRbacApi.md +138 -22
  7. data/docs/GroupRole.md +19 -0
  8. data/docs/GroupRoleResponse.md +23 -0
  9. data/docs/GroupsApi.md +248 -20
  10. data/docs/GroupsModelPermissionsApi.md +20 -20
  11. data/docs/GroupsObjectPermissionsApi.md +20 -20
  12. data/docs/GroupsRolesApi.md +255 -0
  13. data/docs/GroupsUsersApi.md +15 -15
  14. data/docs/MyPermissionsResponse.md +17 -0
  15. data/docs/NestedRole.md +21 -0
  16. data/docs/NestedRoleResponse.md +21 -0
  17. data/docs/ObjectRolesResponse.md +17 -0
  18. data/docs/PaginatedGroupRoleResponseList.md +23 -0
  19. data/docs/PaginatedRoleResponseList.md +23 -0
  20. data/docs/PaginatedUserRoleResponseList.md +23 -0
  21. data/docs/PatchedAccessPolicy.md +3 -1
  22. data/docs/PatchedRole.md +21 -0
  23. data/docs/PatchedUser.md +29 -0
  24. data/docs/PermissionResponse.md +1 -1
  25. data/docs/Purge.md +19 -0
  26. data/docs/Role.md +21 -0
  27. data/docs/RoleResponse.md +27 -0
  28. data/docs/RolesApi.md +363 -0
  29. data/docs/StatesEnum.md +16 -0
  30. data/docs/TasksApi.md +282 -0
  31. data/docs/User.md +29 -0
  32. data/docs/UserGroup.md +17 -0
  33. data/docs/UserResponse.md +3 -3
  34. data/docs/UserRole.md +19 -0
  35. data/docs/UserRoleResponse.md +23 -0
  36. data/docs/UsersApi.md +219 -0
  37. data/docs/UsersRolesApi.md +255 -0
  38. data/docs/WorkerResponse.md +3 -3
  39. data/git_push.sh +58 -0
  40. data/lib/pulpcore_client/api/access_policies_api.rb +60 -0
  41. data/lib/pulpcore_client/api/artifacts_api.rb +24 -0
  42. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +168 -40
  43. data/lib/pulpcore_client/api/groups_api.rb +304 -36
  44. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +36 -36
  45. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +36 -36
  46. data/lib/pulpcore_client/api/groups_roles_api.rb +315 -0
  47. data/lib/pulpcore_client/api/groups_users_api.rb +27 -27
  48. data/lib/pulpcore_client/api/roles_api.rb +443 -0
  49. data/lib/pulpcore_client/api/tasks_api.rb +332 -0
  50. data/lib/pulpcore_client/api/uploads_api.rb +4 -0
  51. data/lib/pulpcore_client/api/users_api.rb +264 -0
  52. data/lib/pulpcore_client/api/users_roles_api.rb +315 -0
  53. data/lib/pulpcore_client/api_client.rb +5 -2
  54. data/lib/pulpcore_client/configuration.rb +0 -1
  55. data/lib/pulpcore_client/models/access_policy.rb +19 -2
  56. data/lib/pulpcore_client/models/access_policy_response.rb +19 -2
  57. data/lib/pulpcore_client/models/artifact.rb +90 -0
  58. data/lib/pulpcore_client/models/filesystem_exporter.rb +38 -0
  59. data/lib/pulpcore_client/models/group.rb +9 -0
  60. data/lib/pulpcore_client/models/group_role.rb +238 -0
  61. data/lib/pulpcore_client/models/group_role_response.rb +242 -0
  62. data/lib/pulpcore_client/models/group_user.rb +9 -0
  63. data/lib/pulpcore_client/models/{rbac_content_guard_permission.rb → my_permissions_response.rb} +16 -22
  64. data/lib/pulpcore_client/models/nested_role.rb +234 -0
  65. data/lib/pulpcore_client/models/nested_role_response.rb +234 -0
  66. data/lib/pulpcore_client/models/object_roles_response.rb +213 -0
  67. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +237 -0
  68. data/lib/pulpcore_client/models/paginated_role_response_list.rb +237 -0
  69. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +237 -0
  70. data/lib/pulpcore_client/models/patched_access_policy.rb +14 -2
  71. data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +30 -0
  72. data/lib/pulpcore_client/models/patched_group.rb +9 -0
  73. data/lib/pulpcore_client/models/patched_pulp_exporter.rb +30 -0
  74. data/lib/pulpcore_client/models/patched_pulp_importer.rb +15 -0
  75. data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +30 -0
  76. data/lib/pulpcore_client/models/patched_role.rb +261 -0
  77. data/lib/pulpcore_client/models/patched_task_cancel.rb +15 -0
  78. data/lib/pulpcore_client/models/patched_user.rb +342 -0
  79. data/lib/pulpcore_client/models/permission_response.rb +1 -1
  80. data/lib/pulpcore_client/models/pulp_export.rb +15 -0
  81. data/lib/pulpcore_client/models/pulp_exporter.rb +38 -0
  82. data/lib/pulpcore_client/models/pulp_import.rb +30 -0
  83. data/lib/pulpcore_client/models/pulp_import_check.rb +45 -0
  84. data/lib/pulpcore_client/models/pulp_importer.rb +19 -0
  85. data/lib/pulpcore_client/models/purge.rb +219 -0
  86. data/lib/pulpcore_client/models/rbac_content_guard.rb +34 -0
  87. data/lib/pulpcore_client/models/role.rb +275 -0
  88. data/lib/pulpcore_client/models/role_response.rb +270 -0
  89. data/lib/pulpcore_client/models/states_enum.rb +38 -0
  90. data/lib/pulpcore_client/models/upload_chunk.rb +15 -0
  91. data/lib/pulpcore_client/models/upload_commit.rb +19 -0
  92. data/lib/pulpcore_client/models/user.rb +351 -0
  93. data/lib/pulpcore_client/models/user_group.rb +241 -0
  94. data/lib/pulpcore_client/models/user_response.rb +6 -29
  95. data/lib/pulpcore_client/models/user_role.rb +238 -0
  96. data/lib/pulpcore_client/models/user_role_response.rb +242 -0
  97. data/lib/pulpcore_client/models/worker_response.rb +10 -10
  98. data/lib/pulpcore_client/version.rb +1 -1
  99. data/lib/pulpcore_client.rb +22 -1
  100. data/pulpcore_client.gemspec +3 -3
  101. data/spec/api/access_policies_api_spec.rb +11 -0
  102. data/spec/api/contentguards_rbac_api_spec.rb +36 -12
  103. data/spec/api/groups_api_spec.rb +54 -4
  104. data/spec/api/groups_model_permissions_api_spec.rb +4 -4
  105. data/spec/api/groups_object_permissions_api_spec.rb +4 -4
  106. data/spec/api/groups_roles_api_spec.rb +97 -0
  107. data/spec/api/groups_users_api_spec.rb +3 -3
  108. data/spec/api/roles_api_spec.rb +121 -0
  109. data/spec/api/tasks_api_spec.rb +62 -0
  110. data/spec/api/users_api_spec.rb +50 -0
  111. data/spec/api/users_roles_api_spec.rb +97 -0
  112. data/spec/models/access_policy_response_spec.rb +6 -0
  113. data/spec/models/access_policy_spec.rb +6 -0
  114. data/spec/models/group_role_response_spec.rb +59 -0
  115. data/spec/models/{rbac_content_guard_permission_spec.rb → group_role_spec.rb} +8 -8
  116. data/spec/models/my_permissions_response_spec.rb +41 -0
  117. data/spec/models/nested_role_response_spec.rb +53 -0
  118. data/spec/models/nested_role_spec.rb +53 -0
  119. data/spec/models/object_roles_response_spec.rb +41 -0
  120. data/spec/models/paginated_group_role_response_list_spec.rb +59 -0
  121. data/spec/models/paginated_role_response_list_spec.rb +59 -0
  122. data/spec/models/paginated_user_role_response_list_spec.rb +59 -0
  123. data/spec/models/patched_access_policy_spec.rb +6 -0
  124. data/spec/models/patched_role_spec.rb +53 -0
  125. data/spec/models/patched_user_spec.rb +77 -0
  126. data/spec/models/purge_spec.rb +47 -0
  127. data/spec/models/role_response_spec.rb +71 -0
  128. data/spec/models/role_spec.rb +53 -0
  129. data/spec/models/states_enum_spec.rb +35 -0
  130. data/spec/models/user_group_spec.rb +41 -0
  131. data/spec/models/user_role_response_spec.rb +59 -0
  132. data/spec/models/user_role_spec.rb +47 -0
  133. data/spec/models/user_spec.rb +77 -0
  134. data/spec/models/worker_response_spec.rb +2 -2
  135. metadata +190 -111
  136. data/docs/RBACContentGuardPermission.md +0 -19
@@ -0,0 +1,255 @@
1
+ # PulpcoreClient::GroupsRolesApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](GroupsRolesApi.md#create) | **POST** {group_href}roles/ | Create a group role
8
+ [**delete**](GroupsRolesApi.md#delete) | **DELETE** {groups_group_role_href} | Delete a group role
9
+ [**list**](GroupsRolesApi.md#list) | **GET** {group_href}roles/ | List group roles
10
+ [**read**](GroupsRolesApi.md#read) | **GET** {groups_group_role_href} | Inspect a group role
11
+
12
+
13
+
14
+ ## create
15
+
16
+ > GroupRoleResponse create(group_href, group_role)
17
+
18
+ Create a group role
19
+
20
+ ViewSet for GroupRole. 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::GroupsRolesApi.new
35
+ group_href = 'group_href_example' # String |
36
+ group_role = PulpcoreClient::GroupRole.new # GroupRole |
37
+
38
+ begin
39
+ #Create a group role
40
+ result = api_instance.create(group_href, group_role)
41
+ p result
42
+ rescue PulpcoreClient::ApiError => e
43
+ puts "Exception when calling GroupsRolesApi->create: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **group_href** | **String**| |
53
+ **group_role** | [**GroupRole**](GroupRole.md)| |
54
+
55
+ ### Return type
56
+
57
+ [**GroupRoleResponse**](GroupRoleResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## delete
70
+
71
+ > delete(groups_group_role_href)
72
+
73
+ Delete a group role
74
+
75
+ ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
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::GroupsRolesApi.new
90
+ groups_group_role_href = 'groups_group_role_href_example' # String |
91
+
92
+ begin
93
+ #Delete a group role
94
+ api_instance.delete(groups_group_role_href)
95
+ rescue PulpcoreClient::ApiError => e
96
+ puts "Exception when calling GroupsRolesApi->delete: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+
103
+ Name | Type | Description | Notes
104
+ ------------- | ------------- | ------------- | -------------
105
+ **groups_group_role_href** | **String**| |
106
+
107
+ ### Return type
108
+
109
+ nil (empty response body)
110
+
111
+ ### Authorization
112
+
113
+ [basicAuth](../README.md#basicAuth)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: Not defined
118
+ - **Accept**: Not defined
119
+
120
+
121
+ ## list
122
+
123
+ > PaginatedGroupRoleResponseList list(group_href, opts)
124
+
125
+ List group roles
126
+
127
+ ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
128
+
129
+ ### Example
130
+
131
+ ```ruby
132
+ # load the gem
133
+ require 'pulpcore_client'
134
+ # setup authorization
135
+ PulpcoreClient.configure do |config|
136
+ # Configure HTTP basic authorization: basicAuth
137
+ config.username = 'YOUR USERNAME'
138
+ config.password = 'YOUR PASSWORD'
139
+ end
140
+
141
+ api_instance = PulpcoreClient::GroupsRolesApi.new
142
+ group_href = 'group_href_example' # String |
143
+ opts = {
144
+ content_object: 'content_object_example', # String | content_object
145
+ limit: 56, # Integer | Number of results to return per page.
146
+ offset: 56, # Integer | The initial index from which to return the results.
147
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
148
+ role: 'role_example', # String |
149
+ role__contains: 'role__contains_example', # String |
150
+ role__icontains: 'role__icontains_example', # String |
151
+ role__in: ['role__in_example'], # Array<String> | Multiple values may be separated by commas.
152
+ role__startswith: 'role__startswith_example', # String |
153
+ fields: 'fields_example', # String | A list of fields to include in the response.
154
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
+ }
156
+
157
+ begin
158
+ #List group roles
159
+ result = api_instance.list(group_href, opts)
160
+ p result
161
+ rescue PulpcoreClient::ApiError => e
162
+ puts "Exception when calling GroupsRolesApi->list: #{e}"
163
+ end
164
+ ```
165
+
166
+ ### Parameters
167
+
168
+
169
+ Name | Type | Description | Notes
170
+ ------------- | ------------- | ------------- | -------------
171
+ **group_href** | **String**| |
172
+ **content_object** | **String**| content_object | [optional]
173
+ **limit** | **Integer**| Number of results to return per page. | [optional]
174
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
175
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
176
+ **role** | **String**| | [optional]
177
+ **role__contains** | **String**| | [optional]
178
+ **role__icontains** | **String**| | [optional]
179
+ **role__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
180
+ **role__startswith** | **String**| | [optional]
181
+ **fields** | **String**| A list of fields to include in the response. | [optional]
182
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
183
+
184
+ ### Return type
185
+
186
+ [**PaginatedGroupRoleResponseList**](PaginatedGroupRoleResponseList.md)
187
+
188
+ ### Authorization
189
+
190
+ [basicAuth](../README.md#basicAuth)
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: Not defined
195
+ - **Accept**: application/json
196
+
197
+
198
+ ## read
199
+
200
+ > GroupRoleResponse read(groups_group_role_href, opts)
201
+
202
+ Inspect a group role
203
+
204
+ ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
205
+
206
+ ### Example
207
+
208
+ ```ruby
209
+ # load the gem
210
+ require 'pulpcore_client'
211
+ # setup authorization
212
+ PulpcoreClient.configure do |config|
213
+ # Configure HTTP basic authorization: basicAuth
214
+ config.username = 'YOUR USERNAME'
215
+ config.password = 'YOUR PASSWORD'
216
+ end
217
+
218
+ api_instance = PulpcoreClient::GroupsRolesApi.new
219
+ groups_group_role_href = 'groups_group_role_href_example' # String |
220
+ opts = {
221
+ fields: 'fields_example', # String | A list of fields to include in the response.
222
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
223
+ }
224
+
225
+ begin
226
+ #Inspect a group role
227
+ result = api_instance.read(groups_group_role_href, opts)
228
+ p result
229
+ rescue PulpcoreClient::ApiError => e
230
+ puts "Exception when calling GroupsRolesApi->read: #{e}"
231
+ end
232
+ ```
233
+
234
+ ### Parameters
235
+
236
+
237
+ Name | Type | Description | Notes
238
+ ------------- | ------------- | ------------- | -------------
239
+ **groups_group_role_href** | **String**| |
240
+ **fields** | **String**| A list of fields to include in the response. | [optional]
241
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
242
+
243
+ ### Return type
244
+
245
+ [**GroupRoleResponse**](GroupRoleResponse.md)
246
+
247
+ ### Authorization
248
+
249
+ [basicAuth](../README.md#basicAuth)
250
+
251
+ ### HTTP request headers
252
+
253
+ - **Content-Type**: Not defined
254
+ - **Accept**: application/json
255
+
@@ -4,15 +4,15 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsUsersApi.md#create) | **POST** {auth_group_href}users/ | Create an user
8
- [**delete**](GroupsUsersApi.md#delete) | **DELETE** {auth_groups_user_href} | Delete an user
9
- [**list**](GroupsUsersApi.md#list) | **GET** {auth_group_href}users/ | List users
7
+ [**create**](GroupsUsersApi.md#create) | **POST** {group_href}users/ | Create an user
8
+ [**delete**](GroupsUsersApi.md#delete) | **DELETE** {groups_user_href} | Delete an user
9
+ [**list**](GroupsUsersApi.md#list) | **GET** {group_href}users/ | List users
10
10
 
11
11
 
12
12
 
13
13
  ## create
14
14
 
15
- > GroupUserResponse create(auth_group_href, group_user)
15
+ > GroupUserResponse create(group_href, group_user)
16
16
 
17
17
  Create an user
18
18
 
@@ -31,12 +31,12 @@ PulpcoreClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpcoreClient::GroupsUsersApi.new
34
- auth_group_href = 'auth_group_href_example' # String |
34
+ group_href = 'group_href_example' # String |
35
35
  group_user = PulpcoreClient::GroupUser.new # GroupUser |
36
36
 
37
37
  begin
38
38
  #Create an user
39
- result = api_instance.create(auth_group_href, group_user)
39
+ result = api_instance.create(group_href, group_user)
40
40
  p result
41
41
  rescue PulpcoreClient::ApiError => e
42
42
  puts "Exception when calling GroupsUsersApi->create: #{e}"
@@ -48,7 +48,7 @@ end
48
48
 
49
49
  Name | Type | Description | Notes
50
50
  ------------- | ------------- | ------------- | -------------
51
- **auth_group_href** | **String**| |
51
+ **group_href** | **String**| |
52
52
  **group_user** | [**GroupUser**](GroupUser.md)| |
53
53
 
54
54
  ### Return type
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
67
67
 
68
68
  ## delete
69
69
 
70
- > delete(auth_groups_user_href)
70
+ > delete(groups_user_href)
71
71
 
72
72
  Delete an user
73
73
 
@@ -86,11 +86,11 @@ PulpcoreClient.configure do |config|
86
86
  end
87
87
 
88
88
  api_instance = PulpcoreClient::GroupsUsersApi.new
89
- auth_groups_user_href = 'auth_groups_user_href_example' # String |
89
+ groups_user_href = 'groups_user_href_example' # String |
90
90
 
91
91
  begin
92
92
  #Delete an user
93
- api_instance.delete(auth_groups_user_href)
93
+ api_instance.delete(groups_user_href)
94
94
  rescue PulpcoreClient::ApiError => e
95
95
  puts "Exception when calling GroupsUsersApi->delete: #{e}"
96
96
  end
@@ -101,7 +101,7 @@ end
101
101
 
102
102
  Name | Type | Description | Notes
103
103
  ------------- | ------------- | ------------- | -------------
104
- **auth_groups_user_href** | **String**| |
104
+ **groups_user_href** | **String**| |
105
105
 
106
106
  ### Return type
107
107
 
@@ -119,7 +119,7 @@ nil (empty response body)
119
119
 
120
120
  ## list
121
121
 
122
- > PaginatedGroupUserResponseList list(auth_group_href, opts)
122
+ > PaginatedGroupUserResponseList list(group_href, opts)
123
123
 
124
124
  List users
125
125
 
@@ -138,7 +138,7 @@ PulpcoreClient.configure do |config|
138
138
  end
139
139
 
140
140
  api_instance = PulpcoreClient::GroupsUsersApi.new
141
- auth_group_href = 'auth_group_href_example' # String |
141
+ group_href = 'group_href_example' # String |
142
142
  opts = {
143
143
  limit: 56, # Integer | Number of results to return per page.
144
144
  offset: 56, # Integer | The initial index from which to return the results.
@@ -149,7 +149,7 @@ opts = {
149
149
 
150
150
  begin
151
151
  #List users
152
- result = api_instance.list(auth_group_href, opts)
152
+ result = api_instance.list(group_href, opts)
153
153
  p result
154
154
  rescue PulpcoreClient::ApiError => e
155
155
  puts "Exception when calling GroupsUsersApi->list: #{e}"
@@ -161,7 +161,7 @@ end
161
161
 
162
162
  Name | Type | Description | Notes
163
163
  ------------- | ------------- | ------------- | -------------
164
- **auth_group_href** | **String**| |
164
+ **group_href** | **String**| |
165
165
  **limit** | **Integer**| Number of results to return per page. | [optional]
166
166
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
167
167
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -0,0 +1,17 @@
1
+ # PulpcoreClient::MyPermissionsResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **permissions** | **Array&lt;String&gt;** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpcoreClient'
13
+
14
+ instance = PulpcoreClient::MyPermissionsResponse.new(permissions: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # PulpcoreClient::NestedRole
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpcoreClient'
15
+
16
+ instance = PulpcoreClient::NestedRole.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # PulpcoreClient::NestedRoleResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpcoreClient'
15
+
16
+ instance = PulpcoreClient::NestedRoleResponse.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,17 @@
1
+ # PulpcoreClient::ObjectRolesResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **roles** | [**Array&lt;NestedRoleResponse&gt;**](NestedRoleResponse.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpcoreClient'
13
+
14
+ instance = PulpcoreClient::ObjectRolesResponse.new(roles: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedGroupRoleResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array&lt;GroupRoleResponse&gt;**](GroupRoleResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedGroupRoleResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedRoleResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array&lt;RoleResponse&gt;**](RoleResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedRoleResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedUserRoleResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array&lt;UserRoleResponse&gt;**](UserRoleResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedUserRoleResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset&#x3D;400&amp;limit&#x3D;100,
19
+ previous: http://api.example.org/accounts/?offset&#x3D;200&amp;limit&#x3D;100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -4,7 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **permissions_assignment** | **Array&lt;Object&gt;** | List of callables that define the new permissions to be created for new objects. | [optional]
7
+ **permissions_assignment** | **Array&lt;Object&gt;** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use &#x60;creation_hooks&#x60; instead. | [optional]
8
+ **creation_hooks** | **Array&lt;Object&gt;** | List of callables that may associate user roles for new objects. | [optional]
8
9
  **statements** | **Array&lt;Object&gt;** | List of policy statements defining the policy. | [optional]
9
10
 
10
11
  ## Code Sample
@@ -13,6 +14,7 @@ Name | Type | Description | Notes
13
14
  require 'PulpcoreClient'
14
15
 
15
16
  instance = PulpcoreClient::PatchedAccessPolicy.new(permissions_assignment: null,
17
+ creation_hooks: null,
16
18
  statements: null)
17
19
  ```
18
20
 
@@ -0,0 +1,21 @@
1
+ # PulpcoreClient::PatchedRole
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of this role. | [optional]
8
+ **description** | **String** | An optional description. | [optional]
9
+ **permissions** | **Array&lt;String&gt;** | List of permissions defining the role. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpcoreClient'
15
+
16
+ instance = PulpcoreClient::PatchedRole.new(name: null,
17
+ description: null,
18
+ permissions: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,29 @@
1
+ # PulpcoreClient::PatchedUser
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **username** | **String** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | [optional]
8
+ **password** | **String** | Users password. Set to &#x60;&#x60;null&#x60;&#x60; to disable password authentication. | [optional]
9
+ **first_name** | **String** | First name | [optional]
10
+ **last_name** | **String** | Last name | [optional]
11
+ **email** | **String** | Email address | [optional]
12
+ **is_staff** | **Boolean** | Designates whether the user can log into this admin site. | [optional] [default to false]
13
+ **is_active** | **Boolean** | Designates whether this user should be treated as active. | [optional] [default to true]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'PulpcoreClient'
19
+
20
+ instance = PulpcoreClient::PatchedUser.new(username: null,
21
+ password: null,
22
+ first_name: null,
23
+ last_name: null,
24
+ email: null,
25
+ is_staff: null,
26
+ is_active: null)
27
+ ```
28
+
29
+
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **id** | **Integer** | | [optional] [readonly]
9
9
  **permission** | **String** | | [optional] [readonly]
10
- **obj** | **String** | Content object. | [optional] [readonly]
10
+ **obj** | **String** | pulp_href of the object the permission is to be asserted on. | [optional] [readonly]
11
11
 
12
12
  ## Code Sample
13
13
 
data/docs/Purge.md ADDED
@@ -0,0 +1,19 @@
1
+ # PulpcoreClient::Purge
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **finished_before** | **DateTime** | Purge tasks completed earlier than this timestamp. Format &#39;%Y-%m-%d[T%H:%M:%S]&#39; | [optional]
8
+ **states** | [**Array&lt;StatesEnum&gt;**](StatesEnum.md) | List of task-states to be purged. Only &#39;final&#39; states are allowed. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpcoreClient'
14
+
15
+ instance = PulpcoreClient::Purge.new(finished_before: null,
16
+ states: null)
17
+ ```
18
+
19
+
data/docs/Role.md ADDED
@@ -0,0 +1,21 @@
1
+ # PulpcoreClient::Role
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of this role. |
8
+ **description** | **String** | An optional description. | [optional]
9
+ **permissions** | **Array&lt;String&gt;** | List of permissions defining the role. |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpcoreClient'
15
+
16
+ instance = PulpcoreClient::Role.new(name: null,
17
+ description: null,
18
+ permissions: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,27 @@
1
+ # PulpcoreClient::RoleResponse
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
+ **name** | **String** | The name of this role. |
10
+ **description** | **String** | An optional description. | [optional]
11
+ **permissions** | **Array&lt;String&gt;** | List of permissions defining the role. |
12
+ **locked** | **Boolean** | True if the role is system managed. | [optional] [readonly]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpcoreClient'
18
+
19
+ instance = PulpcoreClient::RoleResponse.new(pulp_href: null,
20
+ pulp_created: null,
21
+ name: null,
22
+ description: null,
23
+ permissions: null,
24
+ locked: null)
25
+ ```
26
+
27
+