pulpcore_client 3.21.31 → 3.21.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +142 -140
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentguardsApi.md +6 -6
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +6 -6
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- 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 +6 -6
- data/docs/RemotesApi.md +6 -6
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +6 -6
- 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/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 +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +64 -64
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +64 -64
- data/lib/pulpcore_client/api/distributions_api.rb +6 -6
- 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/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 +6 -6
- data/lib/pulpcore_client/api/remotes_api.rb +6 -6
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -6
- 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/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/remote_response.rb +20 -20
- 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 +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- 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 +2 -2
- 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/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 +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- 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/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
- metadata +147 -139
|
@@ -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
|
|
@@ -205,8 +205,8 @@ module PulpcoreClient
|
|
|
205
205
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
206
206
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
207
207
|
# @return [PaginatedArtifactResponseList]
|
|
208
|
-
def
|
|
209
|
-
data, _status_code, _headers =
|
|
208
|
+
def artifacts_list(opts = {})
|
|
209
|
+
data, _status_code, _headers = artifacts_list_with_http_info(opts)
|
|
210
210
|
data
|
|
211
211
|
end
|
|
212
212
|
|
|
@@ -226,9 +226,9 @@ module PulpcoreClient
|
|
|
226
226
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
227
227
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
228
228
|
# @return [Array<(PaginatedArtifactResponseList, Integer, Hash)>] PaginatedArtifactResponseList data, response status code and response headers
|
|
229
|
-
def
|
|
229
|
+
def artifacts_list_with_http_info(opts = {})
|
|
230
230
|
if @api_client.config.debugging
|
|
231
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
|
231
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_list ...'
|
|
232
232
|
end
|
|
233
233
|
allowable_values = ["-content", "-content_memberships", "-file", "-group_roles", "-md5", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-sha1", "-sha224", "-sha256", "-sha384", "-sha512", "-size", "-timestamp_of_interest", "-user_roles", "content", "content_memberships", "file", "group_roles", "md5", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "sha1", "sha224", "sha256", "sha384", "sha512", "size", "timestamp_of_interest", "user_roles"]
|
|
234
234
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -280,7 +280,7 @@ module PulpcoreClient
|
|
|
280
280
|
|
|
281
281
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
282
282
|
if @api_client.config.debugging
|
|
283
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
|
283
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
284
284
|
end
|
|
285
285
|
return data, status_code, headers
|
|
286
286
|
end
|
|
@@ -292,8 +292,8 @@ module PulpcoreClient
|
|
|
292
292
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
293
293
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
294
294
|
# @return [ArtifactResponse]
|
|
295
|
-
def
|
|
296
|
-
data, _status_code, _headers =
|
|
295
|
+
def artifacts_read(artifact_href, opts = {})
|
|
296
|
+
data, _status_code, _headers = artifacts_read_with_http_info(artifact_href, opts)
|
|
297
297
|
data
|
|
298
298
|
end
|
|
299
299
|
|
|
@@ -304,13 +304,13 @@ module PulpcoreClient
|
|
|
304
304
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
305
305
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
306
306
|
# @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
|
|
307
|
-
def
|
|
307
|
+
def artifacts_read_with_http_info(artifact_href, opts = {})
|
|
308
308
|
if @api_client.config.debugging
|
|
309
|
-
@api_client.config.logger.debug 'Calling API: ArtifactsApi.
|
|
309
|
+
@api_client.config.logger.debug 'Calling API: ArtifactsApi.artifacts_read ...'
|
|
310
310
|
end
|
|
311
311
|
# verify the required parameter 'artifact_href' is set
|
|
312
312
|
if @api_client.config.client_side_validation && artifact_href.nil?
|
|
313
|
-
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.
|
|
313
|
+
fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.artifacts_read"
|
|
314
314
|
end
|
|
315
315
|
# resource path
|
|
316
316
|
local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
|
|
@@ -348,7 +348,7 @@ module PulpcoreClient
|
|
|
348
348
|
|
|
349
349
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
350
350
|
if @api_client.config.debugging
|
|
351
|
-
@api_client.config.logger.debug "API called: ArtifactsApi#
|
|
351
|
+
@api_client.config.logger.debug "API called: ArtifactsApi#artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
352
352
|
end
|
|
353
353
|
return data, status_code, headers
|
|
354
354
|
end
|
|
@@ -31,8 +31,8 @@ module PulpcoreClient
|
|
|
31
31
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
32
32
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
33
33
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
|
34
|
-
def
|
|
35
|
-
data, _status_code, _headers =
|
|
34
|
+
def content_list(opts = {})
|
|
35
|
+
data, _status_code, _headers = content_list_with_http_info(opts)
|
|
36
36
|
data
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -48,9 +48,9 @@ module PulpcoreClient
|
|
|
48
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
49
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
50
50
|
# @return [Array<(PaginatedMultipleArtifactContentResponseList, Integer, Hash)>] PaginatedMultipleArtifactContentResponseList data, response status code and response headers
|
|
51
|
-
def
|
|
51
|
+
def content_list_with_http_info(opts = {})
|
|
52
52
|
if @api_client.config.debugging
|
|
53
|
-
@api_client.config.logger.debug 'Calling API: ContentApi.
|
|
53
|
+
@api_client.config.logger.debug 'Calling API: ContentApi.content_list ...'
|
|
54
54
|
end
|
|
55
55
|
allowable_values = ["-pk", "pk"]
|
|
56
56
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -98,7 +98,7 @@ module PulpcoreClient
|
|
|
98
98
|
|
|
99
99
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
100
100
|
if @api_client.config.debugging
|
|
101
|
-
@api_client.config.logger.debug "API called: ContentApi#
|
|
101
|
+
@api_client.config.logger.debug "API called: ContentApi#content_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
102
102
|
end
|
|
103
103
|
return data, status_code, headers
|
|
104
104
|
end
|
|
@@ -33,8 +33,8 @@ module PulpcoreClient
|
|
|
33
33
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
34
34
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
35
35
|
# @return [PaginatedContentGuardResponseList]
|
|
36
|
-
def
|
|
37
|
-
data, _status_code, _headers =
|
|
36
|
+
def contentguards_list(opts = {})
|
|
37
|
+
data, _status_code, _headers = contentguards_list_with_http_info(opts)
|
|
38
38
|
data
|
|
39
39
|
end
|
|
40
40
|
|
|
@@ -52,11 +52,11 @@ module PulpcoreClient
|
|
|
52
52
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
53
53
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
54
54
|
# @return [Array<(PaginatedContentGuardResponseList, Integer, Hash)>] PaginatedContentGuardResponseList data, response status code and response headers
|
|
55
|
-
def
|
|
55
|
+
def contentguards_list_with_http_info(opts = {})
|
|
56
56
|
if @api_client.config.debugging
|
|
57
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsApi.
|
|
57
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsApi.contentguards_list ...'
|
|
58
58
|
end
|
|
59
|
-
allowable_values = ["-basedistribution", "-
|
|
59
|
+
allowable_values = ["-basedistribution", "-core_contentredirectcontentguard", "-core_rbaccontentguard", "-description", "-distribution", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "basedistribution", "core_contentredirectcontentguard", "core_rbaccontentguard", "description", "distribution", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
|
|
60
60
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
61
61
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
62
62
|
end
|
|
@@ -104,7 +104,7 @@ module PulpcoreClient
|
|
|
104
104
|
|
|
105
105
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
106
106
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug "API called: ContentguardsApi#
|
|
107
|
+
@api_client.config.logger.debug "API called: ContentguardsApi#contentguards_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
108
108
|
end
|
|
109
109
|
return data, status_code, headers
|
|
110
110
|
end
|