pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- 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/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- 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 +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
24
24
|
# @param nested_role [NestedRole]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [NestedRoleResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def contentguards_core_rbac_add_role(r_b_a_c_content_guard_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = contentguards_core_rbac_add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,17 +34,17 @@ module PulpContainerClient
|
|
34
34
|
# @param nested_role [NestedRole]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def contentguards_core_rbac_add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_add_role ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
42
42
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_add_role"
|
44
44
|
end
|
45
45
|
# verify the required parameter 'nested_role' is set
|
46
46
|
if @api_client.config.client_side_validation && nested_role.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.contentguards_core_rbac_add_role"
|
48
48
|
end
|
49
49
|
# resource path
|
50
50
|
local_var_path = '{r_b_a_c_content_guard_href}add_role/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -82,7 +82,7 @@ module PulpContainerClient
|
|
82
82
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
84
84
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
85
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
@@ -92,8 +92,8 @@ module PulpContainerClient
|
|
92
92
|
# @param rbac_content_guard [RBACContentGuard]
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @return [RBACContentGuardResponse]
|
95
|
-
def
|
96
|
-
data, _status_code, _headers =
|
95
|
+
def contentguards_core_rbac_create(rbac_content_guard, opts = {})
|
96
|
+
data, _status_code, _headers = contentguards_core_rbac_create_with_http_info(rbac_content_guard, opts)
|
97
97
|
data
|
98
98
|
end
|
99
99
|
|
@@ -102,13 +102,13 @@ module PulpContainerClient
|
|
102
102
|
# @param rbac_content_guard [RBACContentGuard]
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
104
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
105
|
-
def
|
105
|
+
def contentguards_core_rbac_create_with_http_info(rbac_content_guard, opts = {})
|
106
106
|
if @api_client.config.debugging
|
107
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
107
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_create ...'
|
108
108
|
end
|
109
109
|
# verify the required parameter 'rbac_content_guard' is set
|
110
110
|
if @api_client.config.client_side_validation && rbac_content_guard.nil?
|
111
|
-
fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.
|
111
|
+
fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.contentguards_core_rbac_create"
|
112
112
|
end
|
113
113
|
# resource path
|
114
114
|
local_var_path = '/pulp/api/v3/contentguards/core/rbac/'
|
@@ -146,7 +146,7 @@ module PulpContainerClient
|
|
146
146
|
|
147
147
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
148
148
|
if @api_client.config.debugging
|
149
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
149
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
150
|
end
|
151
151
|
return data, status_code, headers
|
152
152
|
end
|
@@ -156,8 +156,8 @@ module PulpContainerClient
|
|
156
156
|
# @param r_b_a_c_content_guard_href [String]
|
157
157
|
# @param [Hash] opts the optional parameters
|
158
158
|
# @return [nil]
|
159
|
-
def
|
160
|
-
|
159
|
+
def contentguards_core_rbac_delete(r_b_a_c_content_guard_href, opts = {})
|
160
|
+
contentguards_core_rbac_delete_with_http_info(r_b_a_c_content_guard_href, opts)
|
161
161
|
nil
|
162
162
|
end
|
163
163
|
|
@@ -166,13 +166,13 @@ module PulpContainerClient
|
|
166
166
|
# @param r_b_a_c_content_guard_href [String]
|
167
167
|
# @param [Hash] opts the optional parameters
|
168
168
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
169
|
-
def
|
169
|
+
def contentguards_core_rbac_delete_with_http_info(r_b_a_c_content_guard_href, opts = {})
|
170
170
|
if @api_client.config.debugging
|
171
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
171
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_delete ...'
|
172
172
|
end
|
173
173
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
174
174
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
175
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
175
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_delete"
|
176
176
|
end
|
177
177
|
# resource path
|
178
178
|
local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -206,7 +206,7 @@ module PulpContainerClient
|
|
206
206
|
|
207
207
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
208
208
|
if @api_client.config.debugging
|
209
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
209
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
210
210
|
end
|
211
211
|
return data, status_code, headers
|
212
212
|
end
|
@@ -221,14 +221,12 @@ module PulpContainerClient
|
|
221
221
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
222
222
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
223
223
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
224
|
-
# @option opts [Array<String>] :ordering Ordering
|
225
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
226
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
224
|
+
# @option opts [Array<String>] :ordering Ordering
|
227
225
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
228
226
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
229
227
|
# @return [PaginatedRBACContentGuardResponseList]
|
230
|
-
def
|
231
|
-
data, _status_code, _headers =
|
228
|
+
def contentguards_core_rbac_list(opts = {})
|
229
|
+
data, _status_code, _headers = contentguards_core_rbac_list_with_http_info(opts)
|
232
230
|
data
|
233
231
|
end
|
234
232
|
|
@@ -242,15 +240,13 @@ module PulpContainerClient
|
|
242
240
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
243
241
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
244
242
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
|
-
# @option opts [Array<String>] :ordering Ordering
|
246
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
247
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
243
|
+
# @option opts [Array<String>] :ordering Ordering
|
248
244
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
245
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
246
|
# @return [Array<(PaginatedRBACContentGuardResponseList, Integer, Hash)>] PaginatedRBACContentGuardResponseList data, response status code and response headers
|
251
|
-
def
|
247
|
+
def contentguards_core_rbac_list_with_http_info(opts = {})
|
252
248
|
if @api_client.config.debugging
|
253
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
249
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_list ...'
|
254
250
|
end
|
255
251
|
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"]
|
256
252
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -269,8 +265,6 @@ module PulpContainerClient
|
|
269
265
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
270
266
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
271
267
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
272
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
273
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
274
268
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
275
269
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
276
270
|
|
@@ -302,7 +296,7 @@ module PulpContainerClient
|
|
302
296
|
|
303
297
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
304
298
|
if @api_client.config.debugging
|
305
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
299
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
306
300
|
end
|
307
301
|
return data, status_code, headers
|
308
302
|
end
|
@@ -313,8 +307,8 @@ module PulpContainerClient
|
|
313
307
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
314
308
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
315
309
|
# @return [ObjectRolesResponse]
|
316
|
-
def
|
317
|
-
data, _status_code, _headers =
|
310
|
+
def contentguards_core_rbac_list_roles(r_b_a_c_content_guard_href, opts = {})
|
311
|
+
data, _status_code, _headers = contentguards_core_rbac_list_roles_with_http_info(r_b_a_c_content_guard_href, opts)
|
318
312
|
data
|
319
313
|
end
|
320
314
|
|
@@ -324,13 +318,13 @@ module PulpContainerClient
|
|
324
318
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
325
319
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
326
320
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
327
|
-
def
|
321
|
+
def contentguards_core_rbac_list_roles_with_http_info(r_b_a_c_content_guard_href, opts = {})
|
328
322
|
if @api_client.config.debugging
|
329
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
323
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_list_roles ...'
|
330
324
|
end
|
331
325
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
332
326
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
333
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
327
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_list_roles"
|
334
328
|
end
|
335
329
|
# resource path
|
336
330
|
local_var_path = '{r_b_a_c_content_guard_href}list_roles/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -368,7 +362,7 @@ module PulpContainerClient
|
|
368
362
|
|
369
363
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
370
364
|
if @api_client.config.debugging
|
371
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
365
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
372
366
|
end
|
373
367
|
return data, status_code, headers
|
374
368
|
end
|
@@ -379,8 +373,8 @@ module PulpContainerClient
|
|
379
373
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
380
374
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
381
375
|
# @return [MyPermissionsResponse]
|
382
|
-
def
|
383
|
-
data, _status_code, _headers =
|
376
|
+
def contentguards_core_rbac_my_permissions(r_b_a_c_content_guard_href, opts = {})
|
377
|
+
data, _status_code, _headers = contentguards_core_rbac_my_permissions_with_http_info(r_b_a_c_content_guard_href, opts)
|
384
378
|
data
|
385
379
|
end
|
386
380
|
|
@@ -390,13 +384,13 @@ module PulpContainerClient
|
|
390
384
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
391
385
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
392
386
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
393
|
-
def
|
387
|
+
def contentguards_core_rbac_my_permissions_with_http_info(r_b_a_c_content_guard_href, opts = {})
|
394
388
|
if @api_client.config.debugging
|
395
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
389
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_my_permissions ...'
|
396
390
|
end
|
397
391
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
398
392
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
399
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
393
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_my_permissions"
|
400
394
|
end
|
401
395
|
# resource path
|
402
396
|
local_var_path = '{r_b_a_c_content_guard_href}my_permissions/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -434,7 +428,7 @@ module PulpContainerClient
|
|
434
428
|
|
435
429
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
436
430
|
if @api_client.config.debugging
|
437
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
431
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
438
432
|
end
|
439
433
|
return data, status_code, headers
|
440
434
|
end
|
@@ -445,8 +439,8 @@ module PulpContainerClient
|
|
445
439
|
# @param patched_rbac_content_guard [PatchedRBACContentGuard]
|
446
440
|
# @param [Hash] opts the optional parameters
|
447
441
|
# @return [RBACContentGuardResponse]
|
448
|
-
def
|
449
|
-
data, _status_code, _headers =
|
442
|
+
def contentguards_core_rbac_partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
|
443
|
+
data, _status_code, _headers = contentguards_core_rbac_partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
|
450
444
|
data
|
451
445
|
end
|
452
446
|
|
@@ -456,17 +450,17 @@ module PulpContainerClient
|
|
456
450
|
# @param patched_rbac_content_guard [PatchedRBACContentGuard]
|
457
451
|
# @param [Hash] opts the optional parameters
|
458
452
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
459
|
-
def
|
453
|
+
def contentguards_core_rbac_partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
|
460
454
|
if @api_client.config.debugging
|
461
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
455
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_partial_update ...'
|
462
456
|
end
|
463
457
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
464
458
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
465
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
459
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_partial_update"
|
466
460
|
end
|
467
461
|
# verify the required parameter 'patched_rbac_content_guard' is set
|
468
462
|
if @api_client.config.client_side_validation && patched_rbac_content_guard.nil?
|
469
|
-
fail ArgumentError, "Missing the required parameter 'patched_rbac_content_guard' when calling ContentguardsRbacApi.
|
463
|
+
fail ArgumentError, "Missing the required parameter 'patched_rbac_content_guard' when calling ContentguardsRbacApi.contentguards_core_rbac_partial_update"
|
470
464
|
end
|
471
465
|
# resource path
|
472
466
|
local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -504,7 +498,7 @@ module PulpContainerClient
|
|
504
498
|
|
505
499
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
506
500
|
if @api_client.config.debugging
|
507
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
501
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
508
502
|
end
|
509
503
|
return data, status_code, headers
|
510
504
|
end
|
@@ -516,8 +510,8 @@ module PulpContainerClient
|
|
516
510
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
517
511
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
518
512
|
# @return [RBACContentGuardResponse]
|
519
|
-
def
|
520
|
-
data, _status_code, _headers =
|
513
|
+
def contentguards_core_rbac_read(r_b_a_c_content_guard_href, opts = {})
|
514
|
+
data, _status_code, _headers = contentguards_core_rbac_read_with_http_info(r_b_a_c_content_guard_href, opts)
|
521
515
|
data
|
522
516
|
end
|
523
517
|
|
@@ -528,13 +522,13 @@ module PulpContainerClient
|
|
528
522
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
529
523
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
530
524
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
531
|
-
def
|
525
|
+
def contentguards_core_rbac_read_with_http_info(r_b_a_c_content_guard_href, opts = {})
|
532
526
|
if @api_client.config.debugging
|
533
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
527
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_read ...'
|
534
528
|
end
|
535
529
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
536
530
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
537
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
531
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_read"
|
538
532
|
end
|
539
533
|
# resource path
|
540
534
|
local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -572,7 +566,7 @@ module PulpContainerClient
|
|
572
566
|
|
573
567
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
574
568
|
if @api_client.config.debugging
|
575
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
569
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
576
570
|
end
|
577
571
|
return data, status_code, headers
|
578
572
|
end
|
@@ -582,8 +576,8 @@ module PulpContainerClient
|
|
582
576
|
# @param nested_role [NestedRole]
|
583
577
|
# @param [Hash] opts the optional parameters
|
584
578
|
# @return [NestedRoleResponse]
|
585
|
-
def
|
586
|
-
data, _status_code, _headers =
|
579
|
+
def contentguards_core_rbac_remove_role(r_b_a_c_content_guard_href, nested_role, opts = {})
|
580
|
+
data, _status_code, _headers = contentguards_core_rbac_remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
|
587
581
|
data
|
588
582
|
end
|
589
583
|
|
@@ -592,17 +586,17 @@ module PulpContainerClient
|
|
592
586
|
# @param nested_role [NestedRole]
|
593
587
|
# @param [Hash] opts the optional parameters
|
594
588
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
595
|
-
def
|
589
|
+
def contentguards_core_rbac_remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
|
596
590
|
if @api_client.config.debugging
|
597
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
591
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_remove_role ...'
|
598
592
|
end
|
599
593
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
600
594
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
601
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
595
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_remove_role"
|
602
596
|
end
|
603
597
|
# verify the required parameter 'nested_role' is set
|
604
598
|
if @api_client.config.client_side_validation && nested_role.nil?
|
605
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.
|
599
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling ContentguardsRbacApi.contentguards_core_rbac_remove_role"
|
606
600
|
end
|
607
601
|
# resource path
|
608
602
|
local_var_path = '{r_b_a_c_content_guard_href}remove_role/'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -640,7 +634,7 @@ module PulpContainerClient
|
|
640
634
|
|
641
635
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
642
636
|
if @api_client.config.debugging
|
643
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
637
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
644
638
|
end
|
645
639
|
return data, status_code, headers
|
646
640
|
end
|
@@ -651,8 +645,8 @@ module PulpContainerClient
|
|
651
645
|
# @param rbac_content_guard [RBACContentGuard]
|
652
646
|
# @param [Hash] opts the optional parameters
|
653
647
|
# @return [RBACContentGuardResponse]
|
654
|
-
def
|
655
|
-
data, _status_code, _headers =
|
648
|
+
def contentguards_core_rbac_update(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
|
649
|
+
data, _status_code, _headers = contentguards_core_rbac_update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts)
|
656
650
|
data
|
657
651
|
end
|
658
652
|
|
@@ -662,17 +656,17 @@ module PulpContainerClient
|
|
662
656
|
# @param rbac_content_guard [RBACContentGuard]
|
663
657
|
# @param [Hash] opts the optional parameters
|
664
658
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
665
|
-
def
|
659
|
+
def contentguards_core_rbac_update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
|
666
660
|
if @api_client.config.debugging
|
667
|
-
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.
|
661
|
+
@api_client.config.logger.debug 'Calling API: ContentguardsRbacApi.contentguards_core_rbac_update ...'
|
668
662
|
end
|
669
663
|
# verify the required parameter 'r_b_a_c_content_guard_href' is set
|
670
664
|
if @api_client.config.client_side_validation && r_b_a_c_content_guard_href.nil?
|
671
|
-
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.
|
665
|
+
fail ArgumentError, "Missing the required parameter 'r_b_a_c_content_guard_href' when calling ContentguardsRbacApi.contentguards_core_rbac_update"
|
672
666
|
end
|
673
667
|
# verify the required parameter 'rbac_content_guard' is set
|
674
668
|
if @api_client.config.client_side_validation && rbac_content_guard.nil?
|
675
|
-
fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.
|
669
|
+
fail ArgumentError, "Missing the required parameter 'rbac_content_guard' when calling ContentguardsRbacApi.contentguards_core_rbac_update"
|
676
670
|
end
|
677
671
|
# resource path
|
678
672
|
local_var_path = '{r_b_a_c_content_guard_href}'.sub('{' + 'r_b_a_c_content_guard_href' + '}', CGI.escape(r_b_a_c_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -710,7 +704,7 @@ module PulpContainerClient
|
|
710
704
|
|
711
705
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
712
706
|
if @api_client.config.debugging
|
713
|
-
@api_client.config.logger.debug "API called: ContentguardsRbacApi#
|
707
|
+
@api_client.config.logger.debug "API called: ContentguardsRbacApi#contentguards_core_rbac_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
714
708
|
end
|
715
709
|
return data, status_code, headers
|
716
710
|
end
|
@@ -33,19 +33,14 @@ module PulpContainerClient
|
|
33
33
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
34
34
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
|
-
# @option opts [Array<String>] :ordering Ordering
|
37
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
38
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
36
|
+
# @option opts [Array<String>] :ordering Ordering
|
39
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
40
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.artifact` - core.artifact * `container.container` - container.container
|
41
|
-
# @option opts [String] :repository Filter results where repository matches value
|
42
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
43
38
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
44
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
45
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
46
41
|
# @return [PaginatedDistributionResponseList]
|
47
|
-
def
|
48
|
-
data, _status_code, _headers =
|
42
|
+
def distributions_list(opts = {})
|
43
|
+
data, _status_code, _headers = distributions_list_with_http_info(opts)
|
49
44
|
data
|
50
45
|
end
|
51
46
|
|
@@ -63,29 +58,20 @@ module PulpContainerClient
|
|
63
58
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
64
59
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
65
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
|
-
# @option opts [Array<String>] :ordering Ordering
|
67
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
68
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
|
+
# @option opts [Array<String>] :ordering Ordering
|
69
62
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
70
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.artifact` - core.artifact * `container.container` - container.container
|
71
|
-
# @option opts [String] :repository Filter results where repository matches value
|
72
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
73
63
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
74
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
75
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
76
66
|
# @return [Array<(PaginatedDistributionResponseList, Integer, Hash)>] PaginatedDistributionResponseList data, response status code and response headers
|
77
|
-
def
|
67
|
+
def distributions_list_with_http_info(opts = {})
|
78
68
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug 'Calling API: DistributionsApi.
|
69
|
+
@api_client.config.logger.debug 'Calling API: DistributionsApi.distributions_list ...'
|
80
70
|
end
|
81
71
|
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
82
72
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
83
73
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
84
74
|
end
|
85
|
-
allowable_values = ["container.container", "core.artifact"]
|
86
|
-
if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
|
87
|
-
fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
|
88
|
-
end
|
89
75
|
# resource path
|
90
76
|
local_var_path = '/pulp/api/v3/distributions/'
|
91
77
|
|
@@ -103,12 +89,7 @@ module PulpContainerClient
|
|
103
89
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
104
90
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
105
91
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
106
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
107
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
108
92
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
109
|
-
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
110
|
-
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
111
|
-
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
112
93
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
113
94
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
114
95
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -141,7 +122,7 @@ module PulpContainerClient
|
|
141
122
|
|
142
123
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
143
124
|
if @api_client.config.debugging
|
144
|
-
@api_client.config.logger.debug "API called: DistributionsApi#
|
125
|
+
@api_client.config.logger.debug "API called: DistributionsApi#distributions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
145
126
|
end
|
146
127
|
return data, status_code, headers
|
147
128
|
end
|
@@ -33,18 +33,14 @@ module PulpContainerClient
|
|
33
33
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
34
34
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
|
-
# @option opts [Array<String>] :ordering Ordering
|
37
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
38
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
36
|
+
# @option opts [Array<String>] :ordering Ordering
|
39
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
40
|
-
# @option opts [String] :repository Filter results where repository matches value
|
41
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
42
38
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
43
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
44
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
45
41
|
# @return [PaginatedArtifactDistributionResponseList]
|
46
|
-
def
|
47
|
-
data, _status_code, _headers =
|
42
|
+
def distributions_core_artifacts_list(opts = {})
|
43
|
+
data, _status_code, _headers = distributions_core_artifacts_list_with_http_info(opts)
|
48
44
|
data
|
49
45
|
end
|
50
46
|
|
@@ -62,19 +58,15 @@ module PulpContainerClient
|
|
62
58
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
63
59
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
64
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
|
-
# @option opts [Array<String>] :ordering Ordering
|
66
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
67
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
|
+
# @option opts [Array<String>] :ordering Ordering
|
68
62
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
69
|
-
# @option opts [String] :repository Filter results where repository matches value
|
70
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
71
63
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
72
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
73
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
66
|
# @return [Array<(PaginatedArtifactDistributionResponseList, Integer, Hash)>] PaginatedArtifactDistributionResponseList data, response status code and response headers
|
75
|
-
def
|
67
|
+
def distributions_core_artifacts_list_with_http_info(opts = {})
|
76
68
|
if @api_client.config.debugging
|
77
|
-
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.
|
69
|
+
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.distributions_core_artifacts_list ...'
|
78
70
|
end
|
79
71
|
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
80
72
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -97,11 +89,7 @@ module PulpContainerClient
|
|
97
89
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
98
90
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
99
91
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
100
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
101
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
102
92
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
103
|
-
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
104
|
-
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
105
93
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
106
94
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
107
95
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -134,7 +122,7 @@ module PulpContainerClient
|
|
134
122
|
|
135
123
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
136
124
|
if @api_client.config.debugging
|
137
|
-
@api_client.config.logger.debug "API called: DistributionsArtifactsApi#
|
125
|
+
@api_client.config.logger.debug "API called: DistributionsArtifactsApi#distributions_core_artifacts_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
138
126
|
end
|
139
127
|
return data, status_code, headers
|
140
128
|
end
|
@@ -146,8 +134,8 @@ module PulpContainerClient
|
|
146
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
147
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
148
136
|
# @return [ArtifactDistributionResponse]
|
149
|
-
def
|
150
|
-
data, _status_code, _headers =
|
137
|
+
def distributions_core_artifacts_read(artifact_distribution_href, opts = {})
|
138
|
+
data, _status_code, _headers = distributions_core_artifacts_read_with_http_info(artifact_distribution_href, opts)
|
151
139
|
data
|
152
140
|
end
|
153
141
|
|
@@ -158,13 +146,13 @@ module PulpContainerClient
|
|
158
146
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
159
147
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
160
148
|
# @return [Array<(ArtifactDistributionResponse, Integer, Hash)>] ArtifactDistributionResponse data, response status code and response headers
|
161
|
-
def
|
149
|
+
def distributions_core_artifacts_read_with_http_info(artifact_distribution_href, opts = {})
|
162
150
|
if @api_client.config.debugging
|
163
|
-
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.
|
151
|
+
@api_client.config.logger.debug 'Calling API: DistributionsArtifactsApi.distributions_core_artifacts_read ...'
|
164
152
|
end
|
165
153
|
# verify the required parameter 'artifact_distribution_href' is set
|
166
154
|
if @api_client.config.client_side_validation && artifact_distribution_href.nil?
|
167
|
-
fail ArgumentError, "Missing the required parameter 'artifact_distribution_href' when calling DistributionsArtifactsApi.
|
155
|
+
fail ArgumentError, "Missing the required parameter 'artifact_distribution_href' when calling DistributionsArtifactsApi.distributions_core_artifacts_read"
|
168
156
|
end
|
169
157
|
# resource path
|
170
158
|
local_var_path = '{artifact_distribution_href}'.sub('{' + 'artifact_distribution_href' + '}', CGI.escape(artifact_distribution_href.to_s).gsub('%2F', '/'))
|
@@ -202,7 +190,7 @@ module PulpContainerClient
|
|
202
190
|
|
203
191
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
204
192
|
if @api_client.config.debugging
|
205
|
-
@api_client.config.logger.debug "API called: DistributionsArtifactsApi#
|
193
|
+
@api_client.config.logger.debug "API called: DistributionsArtifactsApi#distributions_core_artifacts_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
206
194
|
end
|
207
195
|
return data, status_code, headers
|
208
196
|
end
|