pulpcore_client 3.9.1 → 3.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -16
  3. data/docs/AccessPoliciesApi.md +12 -0
  4. data/docs/AccessPolicy.md +1 -3
  5. data/docs/AccessPolicyResponse.md +4 -2
  6. data/docs/ContentApi.md +78 -0
  7. data/docs/ContentGuardResponse.md +23 -0
  8. data/docs/ContentGuardsApi.md +82 -0
  9. data/docs/EvaluationResponse.md +21 -0
  10. data/docs/ExportersCoreExportsApi.md +15 -15
  11. data/docs/ExportersPulpApi.md +6 -0
  12. data/docs/GroupsApi.md +14 -0
  13. data/docs/GroupsModelPermissionsApi.md +118 -5
  14. data/docs/GroupsObjectPermissionsApi.md +15 -15
  15. data/docs/GroupsUsersApi.md +10 -10
  16. data/docs/ImportersCoreImportCheckApi.md +62 -0
  17. data/docs/ImportersCoreImportsApi.md +15 -15
  18. data/docs/ImportersPulpApi.md +6 -0
  19. data/docs/MultipleArtifactContentResponse.md +21 -0
  20. data/docs/PaginatedContentGuardResponseList.md +23 -0
  21. data/docs/PaginatedMultipleArtifactContentResponseList.md +23 -0
  22. data/docs/PaginatedRepositoryResponseList.md +23 -0
  23. data/docs/PatchedAccessPolicy.md +1 -3
  24. data/docs/PermissionResponse.md +1 -1
  25. data/docs/PulpImportCheck.md +21 -0
  26. data/docs/PulpImportCheckResponse.md +21 -0
  27. data/docs/RepositoriesApi.md +84 -0
  28. data/docs/RepositoryResponse.md +31 -0
  29. data/docs/SigningServiceResponse.md +4 -0
  30. data/docs/UsersApi.md +44 -0
  31. data/docs/WorkerResponse.md +3 -3
  32. data/docs/WorkersApi.md +6 -0
  33. data/lib/pulpcore_client/api/access_policies_api.rb +18 -0
  34. data/lib/pulpcore_client/api/content_api.rb +102 -0
  35. data/lib/pulpcore_client/api/content_guards_api.rb +108 -0
  36. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +27 -27
  37. data/lib/pulpcore_client/api/exporters_pulp_api.rb +9 -0
  38. data/lib/pulpcore_client/api/groups_api.rb +21 -0
  39. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +137 -9
  40. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +27 -27
  41. data/lib/pulpcore_client/api/groups_users_api.rb +18 -18
  42. data/lib/pulpcore_client/api/importers_core_import_check_api.rb +86 -0
  43. data/lib/pulpcore_client/api/importers_core_imports_api.rb +27 -27
  44. data/lib/pulpcore_client/api/importers_pulp_api.rb +9 -0
  45. data/lib/pulpcore_client/api/repositories_api.rb +111 -0
  46. data/lib/pulpcore_client/api/users_api.rb +66 -0
  47. data/lib/pulpcore_client/api/workers_api.rb +9 -0
  48. data/lib/pulpcore_client/models/access_policy.rb +4 -19
  49. data/lib/pulpcore_client/models/access_policy_response.rb +14 -9
  50. data/lib/pulpcore_client/models/content_guard_response.rb +243 -0
  51. data/lib/pulpcore_client/models/evaluation_response.rb +245 -0
  52. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +232 -0
  53. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +237 -0
  54. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +237 -0
  55. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +237 -0
  56. data/lib/pulpcore_client/models/patched_access_policy.rb +4 -14
  57. data/lib/pulpcore_client/models/permission_response.rb +1 -1
  58. data/lib/pulpcore_client/models/pulp_import_check.rb +228 -0
  59. data/lib/pulpcore_client/models/pulp_import_check_response.rb +228 -0
  60. data/lib/pulpcore_client/models/repository_response.rb +280 -0
  61. data/lib/pulpcore_client/models/signing_service_response.rb +31 -1
  62. data/lib/pulpcore_client/models/worker_response.rb +10 -10
  63. data/lib/pulpcore_client/version.rb +1 -1
  64. data/lib/pulpcore_client.rb +13 -0
  65. data/spec/api/access_policies_api_spec.rb +6 -0
  66. data/spec/api/content_api_spec.rb +54 -0
  67. data/spec/api/content_guards_api_spec.rb +56 -0
  68. data/spec/api/exporters_core_exports_api_spec.rb +3 -3
  69. data/spec/api/exporters_pulp_api_spec.rb +3 -0
  70. data/spec/api/groups_api_spec.rb +7 -0
  71. data/spec/api/groups_model_permissions_api_spec.rb +27 -1
  72. data/spec/api/groups_object_permissions_api_spec.rb +3 -3
  73. data/spec/api/groups_users_api_spec.rb +2 -2
  74. data/spec/api/importers_core_import_check_api_spec.rb +47 -0
  75. data/spec/api/importers_core_imports_api_spec.rb +3 -3
  76. data/spec/api/importers_pulp_api_spec.rb +3 -0
  77. data/spec/api/repositories_api_spec.rb +57 -0
  78. data/spec/api/users_api_spec.rb +22 -0
  79. data/spec/api/workers_api_spec.rb +3 -0
  80. data/spec/models/access_policy_response_spec.rb +6 -0
  81. data/spec/models/access_policy_spec.rb +0 -6
  82. data/spec/models/content_guard_response_spec.rb +59 -0
  83. data/spec/models/evaluation_response_spec.rb +53 -0
  84. data/spec/models/multiple_artifact_content_response_spec.rb +53 -0
  85. data/spec/models/paginated_content_guard_response_list_spec.rb +59 -0
  86. data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +59 -0
  87. data/spec/models/paginated_repository_response_list_spec.rb +59 -0
  88. data/spec/models/patched_access_policy_spec.rb +0 -6
  89. data/spec/models/pulp_import_check_response_spec.rb +53 -0
  90. data/spec/models/pulp_import_check_spec.rb +53 -0
  91. data/spec/models/repository_response_spec.rb +83 -0
  92. data/spec/models/signing_service_response_spec.rb +12 -0
  93. data/spec/models/worker_response_spec.rb +2 -2
  94. metadata +112 -60
@@ -4,14 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsModelPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}model_permissions/ | Create a permission
7
+ [**create**](GroupsModelPermissionsApi.md#create) | **POST** {auth_group_href}model_permissions/ | Create a permission
8
+ [**delete**](GroupsModelPermissionsApi.md#delete) | **DELETE** {auth_groups_model_permission_href} | Delete a permission
8
9
  [**list**](GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
10
+ [**read**](GroupsModelPermissionsApi.md#read) | **GET** {auth_groups_model_permission_href} | Inspect a permission
9
11
 
10
12
 
11
13
 
12
14
  ## create
13
15
 
14
- > PermissionResponse create(auth_auth_groups_permission_href, body)
16
+ > PermissionResponse create(auth_group_href, body)
15
17
 
16
18
  Create a permission
17
19
 
@@ -30,12 +32,12 @@ PulpcoreClient.configure do |config|
30
32
  end
31
33
 
32
34
  api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
33
- auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
35
+ auth_group_href = 'auth_group_href_example' # String |
34
36
  body = nil # Object |
35
37
 
36
38
  begin
37
39
  #Create a permission
38
- result = api_instance.create(auth_auth_groups_permission_href, body)
40
+ result = api_instance.create(auth_group_href, body)
39
41
  p result
40
42
  rescue PulpcoreClient::ApiError => e
41
43
  puts "Exception when calling GroupsModelPermissionsApi->create: #{e}"
@@ -47,7 +49,7 @@ end
47
49
 
48
50
  Name | Type | Description | Notes
49
51
  ------------- | ------------- | ------------- | -------------
50
- **auth_auth_groups_permission_href** | **String**| |
52
+ **auth_group_href** | **String**| |
51
53
  **body** | **Object**| |
52
54
 
53
55
  ### Return type
@@ -64,6 +66,58 @@ Name | Type | Description | Notes
64
66
  - **Accept**: application/json
65
67
 
66
68
 
69
+ ## delete
70
+
71
+ > delete(auth_groups_model_permission_href)
72
+
73
+ Delete a permission
74
+
75
+ Remove a model permission from a group.
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::GroupsModelPermissionsApi.new
90
+ auth_groups_model_permission_href = 'auth_groups_model_permission_href_example' # String |
91
+
92
+ begin
93
+ #Delete a permission
94
+ api_instance.delete(auth_groups_model_permission_href)
95
+ rescue PulpcoreClient::ApiError => e
96
+ puts "Exception when calling GroupsModelPermissionsApi->delete: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+
103
+ Name | Type | Description | Notes
104
+ ------------- | ------------- | ------------- | -------------
105
+ **auth_groups_model_permission_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
+
67
121
  ## list
68
122
 
69
123
  > PaginatedPermissionResponseList list(auth_group_href, opts)
@@ -128,3 +182,62 @@ Name | Type | Description | Notes
128
182
  - **Content-Type**: Not defined
129
183
  - **Accept**: application/json
130
184
 
185
+
186
+ ## read
187
+
188
+ > PermissionResponse read(auth_groups_model_permission_href, opts)
189
+
190
+ Inspect a permission
191
+
192
+ Retrieve a model permission from a group.
193
+
194
+ ### Example
195
+
196
+ ```ruby
197
+ # load the gem
198
+ require 'pulpcore_client'
199
+ # setup authorization
200
+ PulpcoreClient.configure do |config|
201
+ # Configure HTTP basic authorization: basicAuth
202
+ config.username = 'YOUR USERNAME'
203
+ config.password = 'YOUR PASSWORD'
204
+ end
205
+
206
+ api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
207
+ auth_groups_model_permission_href = 'auth_groups_model_permission_href_example' # String |
208
+ opts = {
209
+ fields: 'fields_example', # String | A list of fields to include in the response.
210
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
211
+ }
212
+
213
+ begin
214
+ #Inspect a permission
215
+ result = api_instance.read(auth_groups_model_permission_href, opts)
216
+ p result
217
+ rescue PulpcoreClient::ApiError => e
218
+ puts "Exception when calling GroupsModelPermissionsApi->read: #{e}"
219
+ end
220
+ ```
221
+
222
+ ### Parameters
223
+
224
+
225
+ Name | Type | Description | Notes
226
+ ------------- | ------------- | ------------- | -------------
227
+ **auth_groups_model_permission_href** | **String**| |
228
+ **fields** | **String**| A list of fields to include in the response. | [optional]
229
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
+
231
+ ### Return type
232
+
233
+ [**PermissionResponse**](PermissionResponse.md)
234
+
235
+ ### Authorization
236
+
237
+ [basicAuth](../README.md#basicAuth)
238
+
239
+ ### HTTP request headers
240
+
241
+ - **Content-Type**: Not defined
242
+ - **Accept**: application/json
243
+
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsObjectPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}object_permissions/ | Create a permission
8
- [**delete**](GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_auth_groups_permission_href} | Delete a permission
7
+ [**create**](GroupsObjectPermissionsApi.md#create) | **POST** {auth_group_href}object_permissions/ | Create a permission
8
+ [**delete**](GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_groups_object_permission_href} | Delete a permission
9
9
  [**list**](GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
10
- [**read**](GroupsObjectPermissionsApi.md#read) | **GET** {auth_auth_groups_permission_href} | Inspect a permission
10
+ [**read**](GroupsObjectPermissionsApi.md#read) | **GET** {auth_groups_object_permission_href} | Inspect a permission
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > PermissionResponse create(auth_auth_groups_permission_href, body)
16
+ > PermissionResponse create(auth_group_href, body)
17
17
 
18
18
  Create a permission
19
19
 
@@ -32,12 +32,12 @@ PulpcoreClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
35
- auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
35
+ auth_group_href = 'auth_group_href_example' # String |
36
36
  body = nil # Object |
37
37
 
38
38
  begin
39
39
  #Create a permission
40
- result = api_instance.create(auth_auth_groups_permission_href, body)
40
+ result = api_instance.create(auth_group_href, body)
41
41
  p result
42
42
  rescue PulpcoreClient::ApiError => e
43
43
  puts "Exception when calling GroupsObjectPermissionsApi->create: #{e}"
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **auth_auth_groups_permission_href** | **String**| |
52
+ **auth_group_href** | **String**| |
53
53
  **body** | **Object**| |
54
54
 
55
55
  ### Return type
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(auth_auth_groups_permission_href)
71
+ > delete(auth_groups_object_permission_href)
72
72
 
73
73
  Delete a permission
74
74
 
@@ -87,11 +87,11 @@ PulpcoreClient.configure do |config|
87
87
  end
88
88
 
89
89
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
90
- auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
90
+ auth_groups_object_permission_href = 'auth_groups_object_permission_href_example' # String |
91
91
 
92
92
  begin
93
93
  #Delete a permission
94
- api_instance.delete(auth_auth_groups_permission_href)
94
+ api_instance.delete(auth_groups_object_permission_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
96
  puts "Exception when calling GroupsObjectPermissionsApi->delete: #{e}"
97
97
  end
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **auth_auth_groups_permission_href** | **String**| |
105
+ **auth_groups_object_permission_href** | **String**| |
106
106
 
107
107
  ### Return type
108
108
 
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
185
185
 
186
186
  ## read
187
187
 
188
- > PermissionResponse read(auth_auth_groups_permission_href, opts)
188
+ > PermissionResponse read(auth_groups_object_permission_href, opts)
189
189
 
190
190
  Inspect a permission
191
191
 
@@ -204,7 +204,7 @@ PulpcoreClient.configure do |config|
204
204
  end
205
205
 
206
206
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
207
- auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
207
+ auth_groups_object_permission_href = 'auth_groups_object_permission_href_example' # String |
208
208
  opts = {
209
209
  fields: 'fields_example', # String | A list of fields to include in the response.
210
210
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -212,7 +212,7 @@ opts = {
212
212
 
213
213
  begin
214
214
  #Inspect a permission
215
- result = api_instance.read(auth_auth_groups_permission_href, opts)
215
+ result = api_instance.read(auth_groups_object_permission_href, opts)
216
216
  p result
217
217
  rescue PulpcoreClient::ApiError => e
218
218
  puts "Exception when calling GroupsObjectPermissionsApi->read: #{e}"
@@ -224,7 +224,7 @@ end
224
224
 
225
225
  Name | Type | Description | Notes
226
226
  ------------- | ------------- | ------------- | -------------
227
- **auth_auth_groups_permission_href** | **String**| |
227
+ **auth_groups_object_permission_href** | **String**| |
228
228
  **fields** | **String**| A list of fields to include in the response. | [optional]
229
229
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
230
 
@@ -4,15 +4,15 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsUsersApi.md#create) | **POST** {auth_auth_groups_user_href}users/ | Create an user
8
- [**delete**](GroupsUsersApi.md#delete) | **DELETE** {auth_auth_groups_user_href} | Delete an user
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
9
  [**list**](GroupsUsersApi.md#list) | **GET** {auth_group_href}users/ | List users
10
10
 
11
11
 
12
12
 
13
13
  ## create
14
14
 
15
- > GroupUserResponse create(auth_auth_groups_user_href, group_user)
15
+ > GroupUserResponse create(auth_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_auth_groups_user_href = 'auth_auth_groups_user_href_example' # String |
34
+ auth_group_href = 'auth_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_auth_groups_user_href, group_user)
39
+ result = api_instance.create(auth_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_auth_groups_user_href** | **String**| |
51
+ **auth_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_auth_groups_user_href)
70
+ > delete(auth_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_auth_groups_user_href = 'auth_auth_groups_user_href_example' # String |
89
+ auth_groups_user_href = 'auth_groups_user_href_example' # String |
90
90
 
91
91
  begin
92
92
  #Delete an user
93
- api_instance.delete(auth_auth_groups_user_href)
93
+ api_instance.delete(auth_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_auth_groups_user_href** | **String**| |
104
+ **auth_groups_user_href** | **String**| |
105
105
 
106
106
  ### Return type
107
107
 
@@ -0,0 +1,62 @@
1
+ # PulpcoreClient::ImportersCoreImportCheckApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**pulp_import_check_post**](ImportersCoreImportCheckApi.md#pulp_import_check_post) | **POST** /pulp/api/v3/importers/core/pulp/import-check/ | Validate the parameters to be used for a PulpImport call
8
+
9
+
10
+
11
+ ## pulp_import_check_post
12
+
13
+ > PulpImportCheckResponse pulp_import_check_post(pulp_import_check)
14
+
15
+ Validate the parameters to be used for a PulpImport call
16
+
17
+ Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'. * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED: * Checks that toc, path exist and are readable * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulpcore_client'
24
+ # setup authorization
25
+ PulpcoreClient.configure do |config|
26
+ # Configure HTTP basic authorization: basicAuth
27
+ config.username = 'YOUR USERNAME'
28
+ config.password = 'YOUR PASSWORD'
29
+ end
30
+
31
+ api_instance = PulpcoreClient::ImportersCoreImportCheckApi.new
32
+ pulp_import_check = PulpcoreClient::PulpImportCheck.new # PulpImportCheck |
33
+
34
+ begin
35
+ #Validate the parameters to be used for a PulpImport call
36
+ result = api_instance.pulp_import_check_post(pulp_import_check)
37
+ p result
38
+ rescue PulpcoreClient::ApiError => e
39
+ puts "Exception when calling ImportersCoreImportCheckApi->pulp_import_check_post: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+
46
+ Name | Type | Description | Notes
47
+ ------------- | ------------- | ------------- | -------------
48
+ **pulp_import_check** | [**PulpImportCheck**](PulpImportCheck.md)| |
49
+
50
+ ### Return type
51
+
52
+ [**PulpImportCheckResponse**](PulpImportCheckResponse.md)
53
+
54
+ ### Authorization
55
+
56
+ [basicAuth](../README.md#basicAuth)
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
61
+ - **Accept**: application/json
62
+
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](ImportersCoreImportsApi.md#create) | **POST** {core_pulp_pulp_import_href}imports/ | Create a pulp import
8
- [**delete**](ImportersCoreImportsApi.md#delete) | **DELETE** {core_pulp_pulp_import_href} | Delete a pulp import
7
+ [**create**](ImportersCoreImportsApi.md#create) | **POST** {pulp_importer_href}imports/ | Create a pulp import
8
+ [**delete**](ImportersCoreImportsApi.md#delete) | **DELETE** {pulp_pulp_import_href} | Delete a pulp import
9
9
  [**list**](ImportersCoreImportsApi.md#list) | **GET** {pulp_importer_href}imports/ | List pulp imports
10
- [**read**](ImportersCoreImportsApi.md#read) | **GET** {core_pulp_pulp_import_href} | Inspect a pulp import
10
+ [**read**](ImportersCoreImportsApi.md#read) | **GET** {pulp_pulp_import_href} | Inspect a pulp import
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > AsyncOperationResponse create(core_pulp_pulp_import_href, pulp_import)
16
+ > AsyncOperationResponse create(pulp_importer_href, pulp_import)
17
17
 
18
18
  Create a pulp import
19
19
 
@@ -32,12 +32,12 @@ PulpcoreClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpcoreClient::ImportersCoreImportsApi.new
35
- core_pulp_pulp_import_href = 'core_pulp_pulp_import_href_example' # String |
35
+ pulp_importer_href = 'pulp_importer_href_example' # String |
36
36
  pulp_import = PulpcoreClient::PulpImport.new # PulpImport |
37
37
 
38
38
  begin
39
39
  #Create a pulp import
40
- result = api_instance.create(core_pulp_pulp_import_href, pulp_import)
40
+ result = api_instance.create(pulp_importer_href, pulp_import)
41
41
  p result
42
42
  rescue PulpcoreClient::ApiError => e
43
43
  puts "Exception when calling ImportersCoreImportsApi->create: #{e}"
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **core_pulp_pulp_import_href** | **String**| |
52
+ **pulp_importer_href** | **String**| |
53
53
  **pulp_import** | [**PulpImport**](PulpImport.md)| |
54
54
 
55
55
  ### Return type
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(core_pulp_pulp_import_href)
71
+ > delete(pulp_pulp_import_href)
72
72
 
73
73
  Delete a pulp import
74
74
 
@@ -87,11 +87,11 @@ PulpcoreClient.configure do |config|
87
87
  end
88
88
 
89
89
  api_instance = PulpcoreClient::ImportersCoreImportsApi.new
90
- core_pulp_pulp_import_href = 'core_pulp_pulp_import_href_example' # String |
90
+ pulp_pulp_import_href = 'pulp_pulp_import_href_example' # String |
91
91
 
92
92
  begin
93
93
  #Delete a pulp import
94
- api_instance.delete(core_pulp_pulp_import_href)
94
+ api_instance.delete(pulp_pulp_import_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
96
  puts "Exception when calling ImportersCoreImportsApi->delete: #{e}"
97
97
  end
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **core_pulp_pulp_import_href** | **String**| |
105
+ **pulp_pulp_import_href** | **String**| |
106
106
 
107
107
  ### Return type
108
108
 
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
185
185
 
186
186
  ## read
187
187
 
188
- > ImportResponse read(core_pulp_pulp_import_href, opts)
188
+ > ImportResponse read(pulp_pulp_import_href, opts)
189
189
 
190
190
  Inspect a pulp import
191
191
 
@@ -204,7 +204,7 @@ PulpcoreClient.configure do |config|
204
204
  end
205
205
 
206
206
  api_instance = PulpcoreClient::ImportersCoreImportsApi.new
207
- core_pulp_pulp_import_href = 'core_pulp_pulp_import_href_example' # String |
207
+ pulp_pulp_import_href = 'pulp_pulp_import_href_example' # String |
208
208
  opts = {
209
209
  fields: 'fields_example', # String | A list of fields to include in the response.
210
210
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -212,7 +212,7 @@ opts = {
212
212
 
213
213
  begin
214
214
  #Inspect a pulp import
215
- result = api_instance.read(core_pulp_pulp_import_href, opts)
215
+ result = api_instance.read(pulp_pulp_import_href, opts)
216
216
  p result
217
217
  rescue PulpcoreClient::ApiError => e
218
218
  puts "Exception when calling ImportersCoreImportsApi->read: #{e}"
@@ -224,7 +224,7 @@ end
224
224
 
225
225
  Name | Type | Description | Notes
226
226
  ------------- | ------------- | ------------- | -------------
227
- **core_pulp_pulp_import_href** | **String**| |
227
+ **pulp_pulp_import_href** | **String**| |
228
228
  **fields** | **String**| A list of fields to include in the response. | [optional]
229
229
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
230
 
@@ -142,7 +142,10 @@ api_instance = PulpcoreClient::ImportersPulpApi.new
142
142
  opts = {
143
143
  limit: 56, # Integer | Number of results to return per page.
144
144
  name: 'name_example', # String | name
145
+ name__contains: 'name__contains_example', # String | name__contains
146
+ name__icontains: 'name__icontains_example', # String | name__icontains
145
147
  name__in: 'name__in_example', # String | name__in
148
+ name__startswith: 'name__startswith_example', # String | name__startswith
146
149
  offset: 56, # Integer | The initial index from which to return the results.
147
150
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
148
151
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -165,7 +168,10 @@ Name | Type | Description | Notes
165
168
  ------------- | ------------- | ------------- | -------------
166
169
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
170
  **name** | **String**| name | [optional]
171
+ **name__contains** | **String**| name__contains | [optional]
172
+ **name__icontains** | **String**| name__icontains | [optional]
168
173
  **name__in** | **String**| name__in | [optional]
174
+ **name__startswith** | **String**| name__startswith | [optional]
169
175
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
170
176
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
171
177
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -0,0 +1,21 @@
1
+ # PulpcoreClient::MultipleArtifactContentResponse
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
+ **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpcoreClient'
15
+
16
+ instance = PulpcoreClient::MultipleArtifactContentResponse.new(pulp_href: null,
17
+ pulp_created: null,
18
+ artifacts: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedContentGuardResponseList
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<ContentGuardResponse>**](ContentGuardResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedContentGuardResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedMultipleArtifactContentResponseList
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<MultipleArtifactContentResponse>**](MultipleArtifactContentResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedMultipleArtifactContentResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::PaginatedRepositoryResponseList
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<RepositoryResponse>**](RepositoryResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::PaginatedRepositoryResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. | [optional]
8
8
  **statements** | **Array<Object>** | List of policy statements defining the policy. | [optional]
9
- **viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. | [optional]
10
9
 
11
10
  ## Code Sample
12
11
 
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
14
13
  require 'PulpcoreClient'
15
14
 
16
15
  instance = PulpcoreClient::PatchedAccessPolicy.new(permissions_assignment: null,
17
- statements: null,
18
- viewset_name: null)
16
+ statements: null)
19
17
  ```
20
18
 
21
19
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **id** | **String** | | [optional] [readonly]
8
+ **id** | **Integer** | | [optional] [readonly]
9
9
  **permission** | **String** | | [optional] [readonly]
10
10
  **obj** | **String** | Content object. | [optional] [readonly]
11
11