pulpcore_client 3.28.28 → 3.28.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +157 -155
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +8 -8
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +8 -8
- data/docs/DistributionsArtifactsApi.md +11 -11
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- data/docs/DomainsApi.md +31 -31
- data/docs/ExportersFilesystemApi.md +31 -31
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +31 -31
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +31 -31
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -8
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -8
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryVersionsApi.md +6 -6
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +11 -11
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +31 -31
- data/docs/TasksApi.md +96 -96
- data/docs/UploadsApi.md +51 -51
- data/docs/UpstreamPulpsApi.md +36 -36
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +11 -11
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +8 -8
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +7 -11
- data/lib/pulpcore_client/api/remotes_api.rb +7 -11
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +7 -11
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +50 -50
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -0
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/docs_api_json_api_spec.rb +48 -0
- data/spec/api/docs_api_yaml_api_spec.rb +48 -0
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +3 -3
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +164 -156
data/docs/UsersRolesApi.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# PulpcoreClient::UsersRolesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**users_roles_create**](UsersRolesApi.md#users_roles_create) | **POST** {auth_user_href}roles/ | Create an user role
|
8
|
+
[**users_roles_delete**](UsersRolesApi.md#users_roles_delete) | **DELETE** {auth_users_user_role_href} | Delete an user role
|
9
|
+
[**users_roles_list**](UsersRolesApi.md#users_roles_list) | **GET** {auth_user_href}roles/ | List user roles
|
10
|
+
[**users_roles_read**](UsersRolesApi.md#users_roles_read) | **GET** {auth_users_user_role_href} | Inspect an user role
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## users_roles_create
|
15
15
|
|
16
|
-
> UserRoleResponse
|
16
|
+
> UserRoleResponse users_roles_create(auth_user_href, user_role)
|
17
17
|
|
18
18
|
Create an user role
|
19
19
|
|
@@ -37,10 +37,10 @@ user_role = PulpcoreClient::UserRole.new # UserRole |
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create an user role
|
40
|
-
result = api_instance.
|
40
|
+
result = api_instance.users_roles_create(auth_user_href, user_role)
|
41
41
|
p result
|
42
42
|
rescue PulpcoreClient::ApiError => e
|
43
|
-
puts "Exception when calling UsersRolesApi->
|
43
|
+
puts "Exception when calling UsersRolesApi->users_roles_create: #{e}"
|
44
44
|
end
|
45
45
|
```
|
46
46
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
66
66
|
- **Accept**: application/json
|
67
67
|
|
68
68
|
|
69
|
-
##
|
69
|
+
## users_roles_delete
|
70
70
|
|
71
|
-
>
|
71
|
+
> users_roles_delete(auth_users_user_role_href)
|
72
72
|
|
73
73
|
Delete an user role
|
74
74
|
|
@@ -91,9 +91,9 @@ auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete an user role
|
94
|
-
api_instance.
|
94
|
+
api_instance.users_roles_delete(auth_users_user_role_href)
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
96
|
-
puts "Exception when calling UsersRolesApi->
|
96
|
+
puts "Exception when calling UsersRolesApi->users_roles_delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
118
118
|
- **Accept**: Not defined
|
119
119
|
|
120
120
|
|
121
|
-
##
|
121
|
+
## users_roles_list
|
122
122
|
|
123
|
-
> PaginatedUserRoleResponseList
|
123
|
+
> PaginatedUserRoleResponseList users_roles_list(auth_user_href, opts)
|
124
124
|
|
125
125
|
List user roles
|
126
126
|
|
@@ -159,10 +159,10 @@ opts = {
|
|
159
159
|
|
160
160
|
begin
|
161
161
|
#List user roles
|
162
|
-
result = api_instance.
|
162
|
+
result = api_instance.users_roles_list(auth_user_href, opts)
|
163
163
|
p result
|
164
164
|
rescue PulpcoreClient::ApiError => e
|
165
|
-
puts "Exception when calling UsersRolesApi->
|
165
|
+
puts "Exception when calling UsersRolesApi->users_roles_list: #{e}"
|
166
166
|
end
|
167
167
|
```
|
168
168
|
|
@@ -201,9 +201,9 @@ Name | Type | Description | Notes
|
|
201
201
|
- **Accept**: application/json
|
202
202
|
|
203
203
|
|
204
|
-
##
|
204
|
+
## users_roles_read
|
205
205
|
|
206
|
-
> UserRoleResponse
|
206
|
+
> UserRoleResponse users_roles_read(auth_users_user_role_href, opts)
|
207
207
|
|
208
208
|
Inspect an user role
|
209
209
|
|
@@ -230,10 +230,10 @@ opts = {
|
|
230
230
|
|
231
231
|
begin
|
232
232
|
#Inspect an user role
|
233
|
-
result = api_instance.
|
233
|
+
result = api_instance.users_roles_read(auth_users_user_role_href, opts)
|
234
234
|
p result
|
235
235
|
rescue PulpcoreClient::ApiError => e
|
236
|
-
puts "Exception when calling UsersRolesApi->
|
236
|
+
puts "Exception when calling UsersRolesApi->users_roles_read: #{e}"
|
237
237
|
end
|
238
238
|
```
|
239
239
|
|
data/docs/WorkersApi.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
# PulpcoreClient::WorkersApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
7
|
+
[**workers_list**](WorkersApi.md#workers_list) | **GET** /pulp/api/v3/workers/ | List workers
|
8
|
+
[**workers_read**](WorkersApi.md#workers_read) | **GET** {worker_href} | Inspect a worker
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
##
|
12
|
+
## workers_list
|
13
13
|
|
14
|
-
> PaginatedWorkerResponseList
|
14
|
+
> PaginatedWorkerResponseList workers_list(opts)
|
15
15
|
|
16
16
|
List workers
|
17
17
|
|
@@ -55,10 +55,10 @@ opts = {
|
|
55
55
|
|
56
56
|
begin
|
57
57
|
#List workers
|
58
|
-
result = api_instance.
|
58
|
+
result = api_instance.workers_list(opts)
|
59
59
|
p result
|
60
60
|
rescue PulpcoreClient::ApiError => e
|
61
|
-
puts "Exception when calling WorkersApi->
|
61
|
+
puts "Exception when calling WorkersApi->workers_list: #{e}"
|
62
62
|
end
|
63
63
|
```
|
64
64
|
|
@@ -102,9 +102,9 @@ Name | Type | Description | Notes
|
|
102
102
|
- **Accept**: application/json
|
103
103
|
|
104
104
|
|
105
|
-
##
|
105
|
+
## workers_read
|
106
106
|
|
107
|
-
> WorkerResponse
|
107
|
+
> WorkerResponse workers_read(worker_href, opts)
|
108
108
|
|
109
109
|
Inspect a worker
|
110
110
|
|
@@ -131,10 +131,10 @@ opts = {
|
|
131
131
|
|
132
132
|
begin
|
133
133
|
#Inspect a worker
|
134
|
-
result = api_instance.
|
134
|
+
result = api_instance.workers_read(worker_href, opts)
|
135
135
|
p result
|
136
136
|
rescue PulpcoreClient::ApiError => e
|
137
|
-
puts "Exception when calling WorkersApi->
|
137
|
+
puts "Exception when calling WorkersApi->workers_read: #{e}"
|
138
138
|
end
|
139
139
|
```
|
140
140
|
|
@@ -36,8 +36,8 @@ module PulpcoreClient
|
|
36
36
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
37
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [PaginatedAccessPolicyResponseList]
|
39
|
-
def
|
40
|
-
data, _status_code, _headers =
|
39
|
+
def access_policies_list(opts = {})
|
40
|
+
data, _status_code, _headers = access_policies_list_with_http_info(opts)
|
41
41
|
data
|
42
42
|
end
|
43
43
|
|
@@ -58,9 +58,9 @@ module PulpcoreClient
|
|
58
58
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
59
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
60
|
# @return [Array<(PaginatedAccessPolicyResponseList, Integer, Hash)>] PaginatedAccessPolicyResponseList data, response status code and response headers
|
61
|
-
def
|
61
|
+
def access_policies_list_with_http_info(opts = {})
|
62
62
|
if @api_client.config.debugging
|
63
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
63
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_list ...'
|
64
64
|
end
|
65
65
|
allowable_values = ["-creation_hooks", "-customized", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-queryset_scoping", "-statements", "-viewset_name", "creation_hooks", "customized", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "queryset_scoping", "statements", "viewset_name"]
|
66
66
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -113,7 +113,7 @@ module PulpcoreClient
|
|
113
113
|
|
114
114
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
115
115
|
if @api_client.config.debugging
|
116
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
116
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
117
117
|
end
|
118
118
|
return data, status_code, headers
|
119
119
|
end
|
@@ -124,8 +124,8 @@ module PulpcoreClient
|
|
124
124
|
# @param patched_access_policy [PatchedAccessPolicy]
|
125
125
|
# @param [Hash] opts the optional parameters
|
126
126
|
# @return [AccessPolicyResponse]
|
127
|
-
def
|
128
|
-
data, _status_code, _headers =
|
127
|
+
def access_policies_partial_update(access_policy_href, patched_access_policy, opts = {})
|
128
|
+
data, _status_code, _headers = access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
|
129
129
|
data
|
130
130
|
end
|
131
131
|
|
@@ -135,17 +135,17 @@ module PulpcoreClient
|
|
135
135
|
# @param patched_access_policy [PatchedAccessPolicy]
|
136
136
|
# @param [Hash] opts the optional parameters
|
137
137
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
138
|
-
def
|
138
|
+
def access_policies_partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
|
139
139
|
if @api_client.config.debugging
|
140
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
140
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_partial_update ...'
|
141
141
|
end
|
142
142
|
# verify the required parameter 'access_policy_href' is set
|
143
143
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
144
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
144
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_partial_update"
|
145
145
|
end
|
146
146
|
# verify the required parameter 'patched_access_policy' is set
|
147
147
|
if @api_client.config.client_side_validation && patched_access_policy.nil?
|
148
|
-
fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.
|
148
|
+
fail ArgumentError, "Missing the required parameter 'patched_access_policy' when calling AccessPoliciesApi.access_policies_partial_update"
|
149
149
|
end
|
150
150
|
# resource path
|
151
151
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -183,7 +183,7 @@ module PulpcoreClient
|
|
183
183
|
|
184
184
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
185
185
|
if @api_client.config.debugging
|
186
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
186
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
187
187
|
end
|
188
188
|
return data, status_code, headers
|
189
189
|
end
|
@@ -195,8 +195,8 @@ module PulpcoreClient
|
|
195
195
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
196
196
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
197
197
|
# @return [AccessPolicyResponse]
|
198
|
-
def
|
199
|
-
data, _status_code, _headers =
|
198
|
+
def access_policies_read(access_policy_href, opts = {})
|
199
|
+
data, _status_code, _headers = access_policies_read_with_http_info(access_policy_href, opts)
|
200
200
|
data
|
201
201
|
end
|
202
202
|
|
@@ -207,13 +207,13 @@ module PulpcoreClient
|
|
207
207
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
208
208
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
209
209
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
210
|
-
def
|
210
|
+
def access_policies_read_with_http_info(access_policy_href, opts = {})
|
211
211
|
if @api_client.config.debugging
|
212
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
212
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_read ...'
|
213
213
|
end
|
214
214
|
# verify the required parameter 'access_policy_href' is set
|
215
215
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
216
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
216
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_read"
|
217
217
|
end
|
218
218
|
# resource path
|
219
219
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -251,7 +251,7 @@ module PulpcoreClient
|
|
251
251
|
|
252
252
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
253
253
|
if @api_client.config.debugging
|
254
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
254
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
255
255
|
end
|
256
256
|
return data, status_code, headers
|
257
257
|
end
|
@@ -260,8 +260,8 @@ module PulpcoreClient
|
|
260
260
|
# @param access_policy_href [String]
|
261
261
|
# @param [Hash] opts the optional parameters
|
262
262
|
# @return [AccessPolicyResponse]
|
263
|
-
def
|
264
|
-
data, _status_code, _headers =
|
263
|
+
def access_policies_reset(access_policy_href, opts = {})
|
264
|
+
data, _status_code, _headers = access_policies_reset_with_http_info(access_policy_href, opts)
|
265
265
|
data
|
266
266
|
end
|
267
267
|
|
@@ -269,13 +269,13 @@ module PulpcoreClient
|
|
269
269
|
# @param access_policy_href [String]
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
271
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
272
|
-
def
|
272
|
+
def access_policies_reset_with_http_info(access_policy_href, opts = {})
|
273
273
|
if @api_client.config.debugging
|
274
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
274
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_reset ...'
|
275
275
|
end
|
276
276
|
# verify the required parameter 'access_policy_href' is set
|
277
277
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
278
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
278
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_reset"
|
279
279
|
end
|
280
280
|
# resource path
|
281
281
|
local_var_path = '{access_policy_href}reset/'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -311,7 +311,7 @@ module PulpcoreClient
|
|
311
311
|
|
312
312
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
313
313
|
if @api_client.config.debugging
|
314
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
314
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
315
315
|
end
|
316
316
|
return data, status_code, headers
|
317
317
|
end
|
@@ -322,8 +322,8 @@ module PulpcoreClient
|
|
322
322
|
# @param access_policy [AccessPolicy]
|
323
323
|
# @param [Hash] opts the optional parameters
|
324
324
|
# @return [AccessPolicyResponse]
|
325
|
-
def
|
326
|
-
data, _status_code, _headers =
|
325
|
+
def access_policies_update(access_policy_href, access_policy, opts = {})
|
326
|
+
data, _status_code, _headers = access_policies_update_with_http_info(access_policy_href, access_policy, opts)
|
327
327
|
data
|
328
328
|
end
|
329
329
|
|
@@ -333,17 +333,17 @@ module PulpcoreClient
|
|
333
333
|
# @param access_policy [AccessPolicy]
|
334
334
|
# @param [Hash] opts the optional parameters
|
335
335
|
# @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
|
336
|
-
def
|
336
|
+
def access_policies_update_with_http_info(access_policy_href, access_policy, opts = {})
|
337
337
|
if @api_client.config.debugging
|
338
|
-
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.
|
338
|
+
@api_client.config.logger.debug 'Calling API: AccessPoliciesApi.access_policies_update ...'
|
339
339
|
end
|
340
340
|
# verify the required parameter 'access_policy_href' is set
|
341
341
|
if @api_client.config.client_side_validation && access_policy_href.nil?
|
342
|
-
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.
|
342
|
+
fail ArgumentError, "Missing the required parameter 'access_policy_href' when calling AccessPoliciesApi.access_policies_update"
|
343
343
|
end
|
344
344
|
# verify the required parameter 'access_policy' is set
|
345
345
|
if @api_client.config.client_side_validation && access_policy.nil?
|
346
|
-
fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.
|
346
|
+
fail ArgumentError, "Missing the required parameter 'access_policy' when calling AccessPoliciesApi.access_policies_update"
|
347
347
|
end
|
348
348
|
# resource path
|
349
349
|
local_var_path = '{access_policy_href}'.sub('{' + 'access_policy_href' + '}', CGI.escape(access_policy_href.to_s).gsub('%2F', '/'))
|
@@ -381,7 +381,7 @@ module PulpcoreClient
|
|
381
381
|
|
382
382
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
383
383
|
if @api_client.config.debugging
|
384
|
-
@api_client.config.logger.debug "API called: AccessPoliciesApi#
|
384
|
+
@api_client.config.logger.debug "API called: AccessPoliciesApi#access_policies_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
385
385
|
end
|
386
386
|
return data, status_code, headers
|
387
387
|
end
|
@@ -31,8 +31,8 @@ module PulpcoreClient
|
|
31
31
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
32
32
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
33
33
|
# @return [ArtifactResponse]
|
34
|
-
def
|
35
|
-
data, _status_code, _headers =
|
34
|
+
def artifacts_create(file, opts = {})
|
35
|
+
data, _status_code, _headers = artifacts_create_with_http_info(file, opts)
|
36
36
|
data
|
37
37
|
end
|
38
38
|
|
@@ -48,36 +48,36 @@ module PulpcoreClient
|
|
48
48
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
49
49
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
50
50
|
# @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
|
51
|
-
def
|
51
|
+
def artifacts_create_with_http_info(file, opts = {})
|
52
52
|
if @api_client.config.debugging
|
53
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
53
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_create ...'
|
54
54
|
end
|
55
55
|
# verify the required parameter 'file' is set
|
56
56
|
if @api_client.config.client_side_validation && file.nil?
|
57
|
-
fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.
|
57
|
+
fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.artifacts_create"
|
58
58
|
end
|
59
59
|
if @api_client.config.client_side_validation && !opts[:'md5'].nil? && opts[:'md5'].to_s.length < 1
|
60
|
-
fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
61
61
|
end
|
62
62
|
|
63
63
|
if @api_client.config.client_side_validation && !opts[:'sha1'].nil? && opts[:'sha1'].to_s.length < 1
|
64
|
-
fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.
|
64
|
+
fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
65
65
|
end
|
66
66
|
|
67
67
|
if @api_client.config.client_side_validation && !opts[:'sha224'].nil? && opts[:'sha224'].to_s.length < 1
|
68
|
-
fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.
|
68
|
+
fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
69
69
|
end
|
70
70
|
|
71
71
|
if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
|
72
|
-
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.
|
72
|
+
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
73
73
|
end
|
74
74
|
|
75
75
|
if @api_client.config.client_side_validation && !opts[:'sha384'].nil? && opts[:'sha384'].to_s.length < 1
|
76
|
-
fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.
|
76
|
+
fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
77
77
|
end
|
78
78
|
|
79
79
|
if @api_client.config.client_side_validation && !opts[:'sha512'].nil? && opts[:'sha512'].to_s.length < 1
|
80
|
-
fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.
|
80
|
+
fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.artifacts_create, the character length must be great than or equal to 1.'
|
81
81
|
end
|
82
82
|
|
83
83
|
# resource path
|
@@ -124,7 +124,7 @@ module PulpcoreClient
|
|
124
124
|
|
125
125
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
126
126
|
if @api_client.config.debugging
|
127
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
127
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
128
128
|
end
|
129
129
|
return data, status_code, headers
|
130
130
|
end
|
@@ -134,8 +134,8 @@ module PulpcoreClient
|
|
134
134
|
# @param artifact_href [String]
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
136
|
# @return [nil]
|
137
|
-
def
|
138
|
-
|
137
|
+
def artifacts_delete(artifact_href, opts = {})
|
138
|
+
artifacts_delete_with_http_info(artifact_href, opts)
|
139
139
|
nil
|
140
140
|
end
|
141
141
|
|
@@ -144,13 +144,13 @@ module PulpcoreClient
|
|
144
144
|
# @param artifact_href [String]
|
145
145
|
# @param [Hash] opts the optional parameters
|
146
146
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
147
|
-
def
|
147
|
+
def artifacts_delete_with_http_info(artifact_href, opts = {})
|
148
148
|
if @api_client.config.debugging
|
149
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
149
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_delete ...'
|
150
150
|
end
|
151
151
|
# verify the required parameter 'artifact_href' is set
|
152
152
|
if @api_client.config.client_side_validation && artifact_href.nil?
|
153
|
-
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.
|
153
|
+
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_delete"
|
154
154
|
end
|
155
155
|
# resource path
|
156
156
|
local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
|
@@ -184,7 +184,7 @@ module PulpcoreClient
|
|
184
184
|
|
185
185
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
186
186
|
if @api_client.config.debugging
|
187
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
187
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
188
188
|
end
|
189
189
|
return data, status_code, headers
|
190
190
|
end
|
@@ -207,8 +207,8 @@ module PulpcoreClient
|
|
207
207
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
208
208
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
209
209
|
# @return [PaginatedArtifactResponseList]
|
210
|
-
def
|
211
|
-
data, _status_code, _headers =
|
210
|
+
def artifacts_list(opts = {})
|
211
|
+
data, _status_code, _headers = artifacts_list_with_http_info(opts)
|
212
212
|
data
|
213
213
|
end
|
214
214
|
|
@@ -230,9 +230,9 @@ module PulpcoreClient
|
|
230
230
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
231
231
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
232
232
|
# @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
|
233
|
-
def
|
233
|
+
def artifacts_list_with_http_info(opts = {})
|
234
234
|
if @api_client.config.debugging
|
235
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
235
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_list ...'
|
236
236
|
end
|
237
237
|
allowable_values = ["-file", "-md5", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-sha1", "-sha224", "-sha256", "-sha384", "-sha512", "-size", "-timestamp_of_interest", "file", "md5", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "sha1", "sha224", "sha256", "sha384", "sha512", "size", "timestamp_of_interest"]
|
238
238
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -286,7 +286,7 @@ module PulpcoreClient
|
|
286
286
|
|
287
287
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
288
288
|
if @api_client.config.debugging
|
289
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
289
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
290
290
|
end
|
291
291
|
return data, status_code, headers
|
292
292
|
end
|
@@ -298,8 +298,8 @@ module PulpcoreClient
|
|
298
298
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
299
299
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
300
300
|
# @return [ArtifactResponse]
|
301
|
-
def
|
302
|
-
data, _status_code, _headers =
|
301
|
+
def artifacts_read(artifact_href, opts = {})
|
302
|
+
data, _status_code, _headers = artifacts_read_with_http_info(artifact_href, opts)
|
303
303
|
data
|
304
304
|
end
|
305
305
|
|
@@ -310,13 +310,13 @@ module PulpcoreClient
|
|
310
310
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
311
311
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
312
312
|
# @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
|
313
|
-
def
|
313
|
+
def artifacts_read_with_http_info(artifact_href, opts = {})
|
314
314
|
if @api_client.config.debugging
|
315
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
315
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_read ...'
|
316
316
|
end
|
317
317
|
# verify the required parameter 'artifact_href' is set
|
318
318
|
if @api_client.config.client_side_validation && artifact_href.nil?
|
319
|
-
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.
|
319
|
+
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_read"
|
320
320
|
end
|
321
321
|
# resource path
|
322
322
|
local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
|
@@ -354,7 +354,7 @@ module PulpcoreClient
|
|
354
354
|
|
355
355
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
356
356
|
if @api_client.config.debugging
|
357
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
357
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
358
358
|
end
|
359
359
|
return data, status_code, headers
|
360
360
|
end
|
@@ -27,15 +27,15 @@ module PulpcoreClient
|
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
29
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
30
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata
|
30
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata
|
31
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
32
32
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
33
33
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
34
34
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
35
35
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
36
36
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
37
|
-
def
|
38
|
-
data, _status_code, _headers =
|
37
|
+
def content_list(opts = {})
|
38
|
+
data, _status_code, _headers = content_list_with_http_info(opts)
|
39
39
|
data
|
40
40
|
end
|
41
41
|
|
@@ -47,22 +47,22 @@ module PulpcoreClient
|
|
47
47
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
48
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
49
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
50
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata
|
50
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata
|
51
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
52
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
53
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
54
54
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
55
55
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
56
56
|
# @return [Array<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
|
57
|
-
def
|
57
|
+
def content_list_with_http_info(opts = {})
|
58
58
|
if @api_client.config.debugging
|
59
|
-
@api_client.config.logger.debug 'Calling API: ContentApi.
|
59
|
+
@api_client.config.logger.debug 'Calling API: ContentApi.content_list ...'
|
60
60
|
end
|
61
61
|
allowable_values = ["-pk", "pk"]
|
62
62
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
63
63
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
64
64
|
end
|
65
|
-
allowable_values = ["core.publishedmetadata"
|
65
|
+
allowable_values = ["core.publishedmetadata"]
|
66
66
|
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
67
67
|
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
68
68
|
end
|
@@ -111,7 +111,7 @@ module PulpcoreClient
|
|
111
111
|
|
112
112
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
113
113
|
if @api_client.config.debugging
|
114
|
-
@api_client.config.logger.debug "API called: ContentApi#
|
114
|
+
@api_client.config.logger.debug "API called: ContentApi#content_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
115
115
|
end
|
116
116
|
return data, status_code, headers
|
117
117
|
end
|
@@ -32,12 +32,12 @@ module PulpcoreClient
|
|
32
32
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
33
33
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
34
34
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
35
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect
|
35
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect
|
36
36
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
37
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [PaginatedContentGuardResponseList]
|
39
|
-
def
|
40
|
-
data, _status_code, _headers =
|
39
|
+
def contentguards_list(opts = {})
|
40
|
+
data, _status_code, _headers = contentguards_list_with_http_info(opts)
|
41
41
|
data
|
42
42
|
end
|
43
43
|
|
@@ -54,19 +54,19 @@ module PulpcoreClient
|
|
54
54
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
56
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect
|
57
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect
|
58
58
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
59
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
60
|
# @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
|
61
|
-
def
|
61
|
+
def contentguards_list_with_http_info(opts = {})
|
62
62
|
if @api_client.config.debugging
|
63
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsApi.
|
63
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsApi.contentguards_list ...'
|
64
64
|
end
|
65
65
|
allowable_values = ["-description", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "description", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
66
66
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
67
67
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
68
68
|
end
|
69
|
-
allowable_values = ["
|
69
|
+
allowable_values = ["core.content_redirect", "core.rbac"]
|
70
70
|
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
71
71
|
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
72
72
|
end
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
117
117
|
|
118
118
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
119
119
|
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug "API called: ContentguardsApi#
|
120
|
+
@api_client.config.logger.debug "API called: ContentguardsApi#contentguards_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
121
|
end
|
122
122
|
return data, status_code, headers
|
123
123
|
end
|