pulp_container_client 2.14.14 → 2.14.16
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 +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
|
@@ -20,33 +20,33 @@ module PulpContainerClient
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Create a group role
|
|
23
|
-
# ViewSet for GroupRole.
|
|
23
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
24
24
|
# @param group_href [String]
|
|
25
25
|
# @param group_role [GroupRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [GroupRoleResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def groups_roles_create(group_href, group_role, opts = {})
|
|
29
|
+
data, _status_code, _headers = groups_roles_create_with_http_info(group_href, group_role, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
# Create a group role
|
|
34
|
-
# ViewSet for GroupRole.
|
|
34
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
35
35
|
# @param group_href [String]
|
|
36
36
|
# @param group_role [GroupRole]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def groups_roles_create_with_http_info(group_href, group_role, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_create ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'group_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.groups_roles_create"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'group_role' is set
|
|
48
48
|
if @api_client.config.client_side_validation && group_role.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'group_role' when calling GroupsRolesApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'group_role' when calling GroupsRolesApi.groups_roles_create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{group_href}roles/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,33 +84,33 @@ module PulpContainerClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# Delete a group role
|
|
93
|
-
# ViewSet for GroupRole.
|
|
93
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
94
94
|
# @param groups_group_role_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def
|
|
98
|
-
|
|
97
|
+
def groups_roles_delete(groups_group_role_href, opts = {})
|
|
98
|
+
groups_roles_delete_with_http_info(groups_group_role_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
# Delete a group role
|
|
103
|
-
# ViewSet for GroupRole.
|
|
103
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
104
104
|
# @param groups_group_role_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def groups_roles_delete_with_http_info(groups_group_role_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_delete ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'groups_group_role_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && groups_group_role_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.groups_roles_delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
116
|
local_var_path = '{groups_group_role_href}'.sub('{' + 'groups_group_role_href' + '}', CGI.escape(groups_group_role_href.to_s).gsub('%2F', '/'))
|
|
@@ -144,22 +144,19 @@ module PulpContainerClient
|
|
|
144
144
|
|
|
145
145
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
147
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
# List group roles
|
|
153
|
-
# ViewSet for GroupRole.
|
|
153
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
154
154
|
# @param group_href [String]
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
156
|
# @option opts [String] :content_object content_object
|
|
157
|
-
# @option opts [String] :domain Foreign Key referenced by HREF
|
|
158
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
159
158
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
160
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
161
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
162
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
159
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
163
160
|
# @option opts [String] :role
|
|
164
161
|
# @option opts [String] :role__contains
|
|
165
162
|
# @option opts [String] :role__icontains
|
|
@@ -168,22 +165,19 @@ module PulpContainerClient
|
|
|
168
165
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
169
166
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
170
167
|
# @return [PaginatedGroupRoleResponseList]
|
|
171
|
-
def
|
|
172
|
-
data, _status_code, _headers =
|
|
168
|
+
def groups_roles_list(group_href, opts = {})
|
|
169
|
+
data, _status_code, _headers = groups_roles_list_with_http_info(group_href, opts)
|
|
173
170
|
data
|
|
174
171
|
end
|
|
175
172
|
|
|
176
173
|
# List group roles
|
|
177
|
-
# ViewSet for GroupRole.
|
|
174
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
178
175
|
# @param group_href [String]
|
|
179
176
|
# @param [Hash] opts the optional parameters
|
|
180
177
|
# @option opts [String] :content_object content_object
|
|
181
|
-
# @option opts [String] :domain Foreign Key referenced by HREF
|
|
182
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
183
179
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
184
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
185
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
186
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
180
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
187
181
|
# @option opts [String] :role
|
|
188
182
|
# @option opts [String] :role__contains
|
|
189
183
|
# @option opts [String] :role__icontains
|
|
@@ -192,13 +186,13 @@ module PulpContainerClient
|
|
|
192
186
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
193
187
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
194
188
|
# @return [Array<(PaginatedGroupRoleResponseList, Integer, Hash)>] PaginatedGroupRoleResponseList data, response status code and response headers
|
|
195
|
-
def
|
|
189
|
+
def groups_roles_list_with_http_info(group_href, opts = {})
|
|
196
190
|
if @api_client.config.debugging
|
|
197
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
191
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_list ...'
|
|
198
192
|
end
|
|
199
193
|
# verify the required parameter 'group_href' is set
|
|
200
194
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
201
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.
|
|
195
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.groups_roles_list"
|
|
202
196
|
end
|
|
203
197
|
allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
|
|
204
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -210,12 +204,9 @@ module PulpContainerClient
|
|
|
210
204
|
# query parameters
|
|
211
205
|
query_params = opts[:query_params] || {}
|
|
212
206
|
query_params[:'content_object'] = opts[:'content_object'] if !opts[:'content_object'].nil?
|
|
213
|
-
query_params[:'domain'] = opts[:'domain'] if !opts[:'domain'].nil?
|
|
214
207
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
215
208
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
216
209
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
217
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
218
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
219
210
|
query_params[:'role'] = opts[:'role'] if !opts[:'role'].nil?
|
|
220
211
|
query_params[:'role__contains'] = opts[:'role__contains'] if !opts[:'role__contains'].nil?
|
|
221
212
|
query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
|
|
@@ -252,37 +243,37 @@ module PulpContainerClient
|
|
|
252
243
|
|
|
253
244
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
254
245
|
if @api_client.config.debugging
|
|
255
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
246
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
256
247
|
end
|
|
257
248
|
return data, status_code, headers
|
|
258
249
|
end
|
|
259
250
|
|
|
260
251
|
# Inspect a group role
|
|
261
|
-
# ViewSet for GroupRole.
|
|
252
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
262
253
|
# @param groups_group_role_href [String]
|
|
263
254
|
# @param [Hash] opts the optional parameters
|
|
264
255
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
265
256
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
266
257
|
# @return [GroupRoleResponse]
|
|
267
|
-
def
|
|
268
|
-
data, _status_code, _headers =
|
|
258
|
+
def groups_roles_read(groups_group_role_href, opts = {})
|
|
259
|
+
data, _status_code, _headers = groups_roles_read_with_http_info(groups_group_role_href, opts)
|
|
269
260
|
data
|
|
270
261
|
end
|
|
271
262
|
|
|
272
263
|
# Inspect a group role
|
|
273
|
-
# ViewSet for GroupRole.
|
|
264
|
+
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
274
265
|
# @param groups_group_role_href [String]
|
|
275
266
|
# @param [Hash] opts the optional parameters
|
|
276
267
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
277
268
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
278
269
|
# @return [Array<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
|
|
279
|
-
def
|
|
270
|
+
def groups_roles_read_with_http_info(groups_group_role_href, opts = {})
|
|
280
271
|
if @api_client.config.debugging
|
|
281
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
272
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_read ...'
|
|
282
273
|
end
|
|
283
274
|
# verify the required parameter 'groups_group_role_href' is set
|
|
284
275
|
if @api_client.config.client_side_validation && groups_group_role_href.nil?
|
|
285
|
-
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.
|
|
276
|
+
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.groups_roles_read"
|
|
286
277
|
end
|
|
287
278
|
# resource path
|
|
288
279
|
local_var_path = '{groups_group_role_href}'.sub('{' + 'groups_group_role_href' + '}', CGI.escape(groups_group_role_href.to_s).gsub('%2F', '/'))
|
|
@@ -320,7 +311,7 @@ module PulpContainerClient
|
|
|
320
311
|
|
|
321
312
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
322
313
|
if @api_client.config.debugging
|
|
323
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
314
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
324
315
|
end
|
|
325
316
|
return data, status_code, headers
|
|
326
317
|
end
|
|
@@ -25,8 +25,8 @@ module PulpContainerClient
|
|
|
25
25
|
# @param group_user [GroupUser]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [GroupUserResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def groups_users_create(group_href, group_user, opts = {})
|
|
29
|
+
data, _status_code, _headers = groups_users_create_with_http_info(group_href, group_user, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module PulpContainerClient
|
|
|
36
36
|
# @param group_user [GroupUser]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(GroupUserResponse, Integer, Hash)>] GroupUserResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def groups_users_create_with_http_info(group_href, group_user, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.groups_users_create ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'group_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.groups_users_create"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'group_user' is set
|
|
48
48
|
if @api_client.config.client_side_validation && group_user.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'group_user' when calling GroupsUsersApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'group_user' when calling GroupsUsersApi.groups_users_create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{group_href}users/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,7 +84,7 @@ module PulpContainerClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: GroupsUsersApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: GroupsUsersApi#groups_users_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
@@ -94,8 +94,8 @@ module PulpContainerClient
|
|
|
94
94
|
# @param groups_user_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def
|
|
98
|
-
|
|
97
|
+
def groups_users_delete(groups_user_href, opts = {})
|
|
98
|
+
groups_users_delete_with_http_info(groups_user_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -104,13 +104,13 @@ module PulpContainerClient
|
|
|
104
104
|
# @param groups_user_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def groups_users_delete_with_http_info(groups_user_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.groups_users_delete ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'groups_user_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && groups_user_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'groups_user_href' when calling GroupsUsersApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'groups_user_href' when calling GroupsUsersApi.groups_users_delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
116
|
local_var_path = '{groups_user_href}'.sub('{' + 'groups_user_href' + '}', CGI.escape(groups_user_href.to_s).gsub('%2F', '/'))
|
|
@@ -144,7 +144,7 @@ module PulpContainerClient
|
|
|
144
144
|
|
|
145
145
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug "API called: GroupsUsersApi#
|
|
147
|
+
@api_client.config.logger.debug "API called: GroupsUsersApi#groups_users_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
@@ -158,8 +158,8 @@ module PulpContainerClient
|
|
|
158
158
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
159
159
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
160
160
|
# @return [PaginatedGroupUserResponseList]
|
|
161
|
-
def
|
|
162
|
-
data, _status_code, _headers =
|
|
161
|
+
def groups_users_list(group_href, opts = {})
|
|
162
|
+
data, _status_code, _headers = groups_users_list_with_http_info(group_href, opts)
|
|
163
163
|
data
|
|
164
164
|
end
|
|
165
165
|
|
|
@@ -172,13 +172,13 @@ module PulpContainerClient
|
|
|
172
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
173
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
174
174
|
# @return [Array<(PaginatedGroupUserResponseList, Integer, Hash)>] PaginatedGroupUserResponseList data, response status code and response headers
|
|
175
|
-
def
|
|
175
|
+
def groups_users_list_with_http_info(group_href, opts = {})
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.groups_users_list ...'
|
|
178
178
|
end
|
|
179
179
|
# verify the required parameter 'group_href' is set
|
|
180
180
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
181
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.groups_users_list"
|
|
182
182
|
end
|
|
183
183
|
# resource path
|
|
184
184
|
local_var_path = '{group_href}users/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -218,7 +218,7 @@ module PulpContainerClient
|
|
|
218
218
|
|
|
219
219
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
220
220
|
if @api_client.config.debugging
|
|
221
|
-
@api_client.config.logger.debug "API called: GroupsUsersApi#
|
|
221
|
+
@api_client.config.logger.debug "API called: GroupsUsersApi#groups_users_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
222
222
|
end
|
|
223
223
|
return data, status_code, headers
|
|
224
224
|
end
|
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
|
24
24
|
# @param pulp_importer [PulpImporter]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [PulpImporterResponse]
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
27
|
+
def importers_core_pulp_create(pulp_importer, opts = {})
|
|
28
|
+
data, _status_code, _headers = importers_core_pulp_create_with_http_info(pulp_importer, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
@@ -34,13 +34,13 @@ module PulpContainerClient
|
|
|
34
34
|
# @param pulp_importer [PulpImporter]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
37
|
-
def
|
|
37
|
+
def importers_core_pulp_create_with_http_info(pulp_importer, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.importers_core_pulp_create ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'pulp_importer' is set
|
|
42
42
|
if @api_client.config.client_side_validation && pulp_importer.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.importers_core_pulp_create"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
46
|
local_var_path = '/pulp/api/v3/importers/core/pulp/'
|
|
@@ -78,7 +78,7 @@ module PulpContainerClient
|
|
|
78
78
|
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
80
80
|
if @api_client.config.debugging
|
|
81
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
81
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#importers_core_pulp_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
82
|
end
|
|
83
83
|
return data, status_code, headers
|
|
84
84
|
end
|
|
@@ -88,8 +88,8 @@ module PulpContainerClient
|
|
|
88
88
|
# @param pulp_importer_href [String]
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
90
|
# @return [nil]
|
|
91
|
-
def
|
|
92
|
-
|
|
91
|
+
def importers_core_pulp_delete(pulp_importer_href, opts = {})
|
|
92
|
+
importers_core_pulp_delete_with_http_info(pulp_importer_href, opts)
|
|
93
93
|
nil
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -98,13 +98,13 @@ module PulpContainerClient
|
|
|
98
98
|
# @param pulp_importer_href [String]
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
|
-
def
|
|
101
|
+
def importers_core_pulp_delete_with_http_info(pulp_importer_href, opts = {})
|
|
102
102
|
if @api_client.config.debugging
|
|
103
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
103
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.importers_core_pulp_delete ...'
|
|
104
104
|
end
|
|
105
105
|
# verify the required parameter 'pulp_importer_href' is set
|
|
106
106
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
107
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
107
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.importers_core_pulp_delete"
|
|
108
108
|
end
|
|
109
109
|
# resource path
|
|
110
110
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -138,7 +138,7 @@ module PulpContainerClient
|
|
|
138
138
|
|
|
139
139
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
140
140
|
if @api_client.config.debugging
|
|
141
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
141
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#importers_core_pulp_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
142
142
|
end
|
|
143
143
|
return data, status_code, headers
|
|
144
144
|
end
|
|
@@ -153,14 +153,12 @@ module PulpContainerClient
|
|
|
153
153
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
154
154
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
155
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
156
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
157
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
158
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
156
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
159
157
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
160
158
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
161
159
|
# @return [PaginatedPulpImporterResponseList]
|
|
162
|
-
def
|
|
163
|
-
data, _status_code, _headers =
|
|
160
|
+
def importers_core_pulp_list(opts = {})
|
|
161
|
+
data, _status_code, _headers = importers_core_pulp_list_with_http_info(opts)
|
|
164
162
|
data
|
|
165
163
|
end
|
|
166
164
|
|
|
@@ -174,15 +172,13 @@ module PulpContainerClient
|
|
|
174
172
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
175
173
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
176
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
177
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
178
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
179
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
175
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
180
176
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
181
177
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
182
178
|
# @return [Array<(PaginatedPulpImporterResponseList, Integer, Hash)>] PaginatedPulpImporterResponseList data, response status code and response headers
|
|
183
|
-
def
|
|
179
|
+
def importers_core_pulp_list_with_http_info(opts = {})
|
|
184
180
|
if @api_client.config.debugging
|
|
185
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
181
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.importers_core_pulp_list ...'
|
|
186
182
|
end
|
|
187
183
|
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
|
188
184
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -201,8 +197,6 @@ module PulpContainerClient
|
|
|
201
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
202
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
203
199
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
204
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
205
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
206
200
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
207
201
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
208
202
|
|
|
@@ -234,7 +228,7 @@ module PulpContainerClient
|
|
|
234
228
|
|
|
235
229
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
236
230
|
if @api_client.config.debugging
|
|
237
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
231
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#importers_core_pulp_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
238
232
|
end
|
|
239
233
|
return data, status_code, headers
|
|
240
234
|
end
|
|
@@ -245,8 +239,8 @@ module PulpContainerClient
|
|
|
245
239
|
# @param patched_pulp_importer [PatchedPulpImporter]
|
|
246
240
|
# @param [Hash] opts the optional parameters
|
|
247
241
|
# @return [PulpImporterResponse]
|
|
248
|
-
def
|
|
249
|
-
data, _status_code, _headers =
|
|
242
|
+
def importers_core_pulp_partial_update(pulp_importer_href, patched_pulp_importer, opts = {})
|
|
243
|
+
data, _status_code, _headers = importers_core_pulp_partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts)
|
|
250
244
|
data
|
|
251
245
|
end
|
|
252
246
|
|
|
@@ -256,17 +250,17 @@ module PulpContainerClient
|
|
|
256
250
|
# @param patched_pulp_importer [PatchedPulpImporter]
|
|
257
251
|
# @param [Hash] opts the optional parameters
|
|
258
252
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
259
|
-
def
|
|
253
|
+
def importers_core_pulp_partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts = {})
|
|
260
254
|
if @api_client.config.debugging
|
|
261
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
255
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.importers_core_pulp_partial_update ...'
|
|
262
256
|
end
|
|
263
257
|
# verify the required parameter 'pulp_importer_href' is set
|
|
264
258
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
265
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
259
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.importers_core_pulp_partial_update"
|
|
266
260
|
end
|
|
267
261
|
# verify the required parameter 'patched_pulp_importer' is set
|
|
268
262
|
if @api_client.config.client_side_validation && patched_pulp_importer.nil?
|
|
269
|
-
fail ArgumentError, "Missing the required parameter 'patched_pulp_importer' when calling ImportersPulpApi.
|
|
263
|
+
fail ArgumentError, "Missing the required parameter 'patched_pulp_importer' when calling ImportersPulpApi.importers_core_pulp_partial_update"
|
|
270
264
|
end
|
|
271
265
|
# resource path
|
|
272
266
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -304,7 +298,7 @@ module PulpContainerClient
|
|
|
304
298
|
|
|
305
299
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
306
300
|
if @api_client.config.debugging
|
|
307
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
301
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#importers_core_pulp_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
308
302
|
end
|
|
309
303
|
return data, status_code, headers
|
|
310
304
|
end
|
|
@@ -316,8 +310,8 @@ module PulpContainerClient
|
|
|
316
310
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
317
311
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
318
312
|
# @return [PulpImporterResponse]
|
|
319
|
-
def
|
|
320
|
-
data, _status_code, _headers =
|
|
313
|
+
def importers_core_pulp_read(pulp_importer_href, opts = {})
|
|
314
|
+
data, _status_code, _headers = importers_core_pulp_read_with_http_info(pulp_importer_href, opts)
|
|
321
315
|
data
|
|
322
316
|
end
|
|
323
317
|
|
|
@@ -328,13 +322,13 @@ module PulpContainerClient
|
|
|
328
322
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
329
323
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
330
324
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
331
|
-
def
|
|
325
|
+
def importers_core_pulp_read_with_http_info(pulp_importer_href, opts = {})
|
|
332
326
|
if @api_client.config.debugging
|
|
333
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
327
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.importers_core_pulp_read ...'
|
|
334
328
|
end
|
|
335
329
|
# verify the required parameter 'pulp_importer_href' is set
|
|
336
330
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
337
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
331
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.importers_core_pulp_read"
|
|
338
332
|
end
|
|
339
333
|
# resource path
|
|
340
334
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -372,7 +366,7 @@ module PulpContainerClient
|
|
|
372
366
|
|
|
373
367
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
374
368
|
if @api_client.config.debugging
|
|
375
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
369
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#importers_core_pulp_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
376
370
|
end
|
|
377
371
|
return data, status_code, headers
|
|
378
372
|
end
|
|
@@ -383,8 +377,8 @@ module PulpContainerClient
|
|
|
383
377
|
# @param pulp_importer [PulpImporter]
|
|
384
378
|
# @param [Hash] opts the optional parameters
|
|
385
379
|
# @return [PulpImporterResponse]
|
|
386
|
-
def
|
|
387
|
-
data, _status_code, _headers =
|
|
380
|
+
def importers_core_pulp_update(pulp_importer_href, pulp_importer, opts = {})
|
|
381
|
+
data, _status_code, _headers = importers_core_pulp_update_with_http_info(pulp_importer_href, pulp_importer, opts)
|
|
388
382
|
data
|
|
389
383
|
end
|
|
390
384
|
|
|
@@ -394,17 +388,17 @@ module PulpContainerClient
|
|
|
394
388
|
# @param pulp_importer [PulpImporter]
|
|
395
389
|
# @param [Hash] opts the optional parameters
|
|
396
390
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
397
|
-
def
|
|
391
|
+
def importers_core_pulp_update_with_http_info(pulp_importer_href, pulp_importer, opts = {})
|
|
398
392
|
if @api_client.config.debugging
|
|
399
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
393
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.importers_core_pulp_update ...'
|
|
400
394
|
end
|
|
401
395
|
# verify the required parameter 'pulp_importer_href' is set
|
|
402
396
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
403
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
397
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.importers_core_pulp_update"
|
|
404
398
|
end
|
|
405
399
|
# verify the required parameter 'pulp_importer' is set
|
|
406
400
|
if @api_client.config.client_side_validation && pulp_importer.nil?
|
|
407
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.
|
|
401
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.importers_core_pulp_update"
|
|
408
402
|
end
|
|
409
403
|
# resource path
|
|
410
404
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -442,7 +436,7 @@ module PulpContainerClient
|
|
|
442
436
|
|
|
443
437
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
444
438
|
if @api_client.config.debugging
|
|
445
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
439
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#importers_core_pulp_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
446
440
|
end
|
|
447
441
|
return data, status_code, headers
|
|
448
442
|
end
|