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 container_container_push_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def repositories_container_container_push_versions_delete(container_container_push_repository_version_href, opts = {})
|
28
|
+
data, _status_code, _headers = repositories_container_container_push_versions_delete_with_http_info(container_container_push_repository_version_href, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,13 +34,13 @@ module PulpContainerClient
|
|
34
34
|
# @param container_container_push_repository_version_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def repositories_container_container_push_versions_delete_with_http_info(container_container_push_repository_version_href, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_delete ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_container_push_repository_version_href' is set
|
42
42
|
if @api_client.config.client_side_validation && container_container_push_repository_version_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerPushVersionsApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_delete"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '{container_container_push_repository_version_href}'.sub('{' + 'container_container_push_repository_version_href' + '}', CGI.escape(container_container_push_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -76,7 +76,7 @@ module PulpContainerClient
|
|
76
76
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#
|
79
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#repositories_container_container_push_versions_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
@@ -95,19 +95,18 @@ module PulpContainerClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
109
|
-
def
|
110
|
-
data, _status_code, _headers =
|
108
|
+
def repositories_container_container_push_versions_list(container_container_push_repository_href, opts = {})
|
109
|
+
data, _status_code, _headers = repositories_container_container_push_versions_list_with_http_info(container_container_push_repository_href, opts)
|
111
110
|
data
|
112
111
|
end
|
113
112
|
|
@@ -125,24 +124,23 @@ module PulpContainerClient
|
|
125
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
126
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
127
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
129
128
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
130
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
131
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
132
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
133
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
139
|
-
def
|
137
|
+
def repositories_container_container_push_versions_list_with_http_info(container_container_push_repository_href, opts = {})
|
140
138
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.
|
139
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_list ...'
|
142
140
|
end
|
143
141
|
# verify the required parameter 'container_container_push_repository_href' is set
|
144
142
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
145
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushVersionsApi.
|
143
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_list"
|
146
144
|
end
|
147
145
|
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
148
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -170,7 +168,6 @@ module PulpContainerClient
|
|
170
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
171
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
171
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
172
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
173
|
|
@@ -202,7 +199,7 @@ module PulpContainerClient
|
|
202
199
|
|
203
200
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
204
201
|
if @api_client.config.debugging
|
205
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#
|
202
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#repositories_container_container_push_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
206
203
|
end
|
207
204
|
return data, status_code, headers
|
208
205
|
end
|
@@ -214,8 +211,8 @@ module PulpContainerClient
|
|
214
211
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
215
212
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
216
213
|
# @return [RepositoryVersionResponse]
|
217
|
-
def
|
218
|
-
data, _status_code, _headers =
|
214
|
+
def repositories_container_container_push_versions_read(container_container_push_repository_version_href, opts = {})
|
215
|
+
data, _status_code, _headers = repositories_container_container_push_versions_read_with_http_info(container_container_push_repository_version_href, opts)
|
219
216
|
data
|
220
217
|
end
|
221
218
|
|
@@ -226,13 +223,13 @@ module PulpContainerClient
|
|
226
223
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
227
224
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
228
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
229
|
-
def
|
226
|
+
def repositories_container_container_push_versions_read_with_http_info(container_container_push_repository_version_href, opts = {})
|
230
227
|
if @api_client.config.debugging
|
231
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.
|
228
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_read ...'
|
232
229
|
end
|
233
230
|
# verify the required parameter 'container_container_push_repository_version_href' is set
|
234
231
|
if @api_client.config.client_side_validation && container_container_push_repository_version_href.nil?
|
235
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerPushVersionsApi.
|
232
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_read"
|
236
233
|
end
|
237
234
|
# resource path
|
238
235
|
local_var_path = '{container_container_push_repository_version_href}'.sub('{' + 'container_container_push_repository_version_href' + '}', CGI.escape(container_container_push_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -270,7 +267,7 @@ module PulpContainerClient
|
|
270
267
|
|
271
268
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
272
269
|
if @api_client.config.debugging
|
273
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#
|
270
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#repositories_container_container_push_versions_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
274
271
|
end
|
275
272
|
return data, status_code, headers
|
276
273
|
end
|
@@ -280,8 +277,8 @@ module PulpContainerClient
|
|
280
277
|
# @param repair [Repair]
|
281
278
|
# @param [Hash] opts the optional parameters
|
282
279
|
# @return [AsyncOperationResponse]
|
283
|
-
def
|
284
|
-
data, _status_code, _headers =
|
280
|
+
def repositories_container_container_push_versions_repair(container_container_push_repository_version_href, repair, opts = {})
|
281
|
+
data, _status_code, _headers = repositories_container_container_push_versions_repair_with_http_info(container_container_push_repository_version_href, repair, opts)
|
285
282
|
data
|
286
283
|
end
|
287
284
|
|
@@ -290,17 +287,17 @@ module PulpContainerClient
|
|
290
287
|
# @param repair [Repair]
|
291
288
|
# @param [Hash] opts the optional parameters
|
292
289
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
293
|
-
def
|
290
|
+
def repositories_container_container_push_versions_repair_with_http_info(container_container_push_repository_version_href, repair, opts = {})
|
294
291
|
if @api_client.config.debugging
|
295
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.
|
292
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_repair ...'
|
296
293
|
end
|
297
294
|
# verify the required parameter 'container_container_push_repository_version_href' is set
|
298
295
|
if @api_client.config.client_side_validation && container_container_push_repository_version_href.nil?
|
299
|
-
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerPushVersionsApi.
|
296
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_repair"
|
300
297
|
end
|
301
298
|
# verify the required parameter 'repair' is set
|
302
299
|
if @api_client.config.client_side_validation && repair.nil?
|
303
|
-
fail ArgumentError, "Missing the required parameter 'repair' when calling RepositoriesContainerPushVersionsApi.
|
300
|
+
fail ArgumentError, "Missing the required parameter 'repair' when calling RepositoriesContainerPushVersionsApi.repositories_container_container_push_versions_repair"
|
304
301
|
end
|
305
302
|
# resource path
|
306
303
|
local_var_path = '{container_container_push_repository_version_href}repair/'.sub('{' + 'container_container_push_repository_version_href' + '}', CGI.escape(container_container_push_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -338,7 +335,7 @@ module PulpContainerClient
|
|
338
335
|
|
339
336
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
340
337
|
if @api_client.config.debugging
|
341
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#
|
338
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerPushVersionsApi#repositories_container_container_push_versions_repair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
342
339
|
end
|
343
340
|
return data, status_code, headers
|
344
341
|
end
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
24
24
|
# @param container_container_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def repositories_container_container_versions_delete(container_container_repository_version_href, opts = {})
|
28
|
+
data, _status_code, _headers = repositories_container_container_versions_delete_with_http_info(container_container_repository_version_href, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,13 +34,13 @@ module PulpContainerClient
|
|
34
34
|
# @param container_container_repository_version_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def repositories_container_container_versions_delete_with_http_info(container_container_repository_version_href, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.repositories_container_container_versions_delete ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_container_repository_version_href' is set
|
42
42
|
if @api_client.config.client_side_validation && container_container_repository_version_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.repositories_container_container_versions_delete"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '{container_container_repository_version_href}'.sub('{' + 'container_container_repository_version_href' + '}', CGI.escape(container_container_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -76,7 +76,7 @@ module PulpContainerClient
|
|
76
76
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#
|
79
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#repositories_container_container_versions_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
@@ -95,19 +95,18 @@ module PulpContainerClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
109
|
-
def
|
110
|
-
data, _status_code, _headers =
|
108
|
+
def repositories_container_container_versions_list(container_container_repository_href, opts = {})
|
109
|
+
data, _status_code, _headers = repositories_container_container_versions_list_with_http_info(container_container_repository_href, opts)
|
111
110
|
data
|
112
111
|
end
|
113
112
|
|
@@ -125,24 +124,23 @@ module PulpContainerClient
|
|
125
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
126
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
127
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
129
128
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
130
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
131
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
132
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
133
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
139
|
-
def
|
137
|
+
def repositories_container_container_versions_list_with_http_info(container_container_repository_href, opts = {})
|
140
138
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.
|
139
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.repositories_container_container_versions_list ...'
|
142
140
|
end
|
143
141
|
# verify the required parameter 'container_container_repository_href' is set
|
144
142
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
145
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.
|
143
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.repositories_container_container_versions_list"
|
146
144
|
end
|
147
145
|
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
148
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -170,7 +168,6 @@ module PulpContainerClient
|
|
170
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
171
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
171
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
172
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
173
|
|
@@ -202,7 +199,7 @@ module PulpContainerClient
|
|
202
199
|
|
203
200
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
204
201
|
if @api_client.config.debugging
|
205
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#
|
202
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#repositories_container_container_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
206
203
|
end
|
207
204
|
return data, status_code, headers
|
208
205
|
end
|
@@ -214,8 +211,8 @@ module PulpContainerClient
|
|
214
211
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
215
212
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
216
213
|
# @return [RepositoryVersionResponse]
|
217
|
-
def
|
218
|
-
data, _status_code, _headers =
|
214
|
+
def repositories_container_container_versions_read(container_container_repository_version_href, opts = {})
|
215
|
+
data, _status_code, _headers = repositories_container_container_versions_read_with_http_info(container_container_repository_version_href, opts)
|
219
216
|
data
|
220
217
|
end
|
221
218
|
|
@@ -226,13 +223,13 @@ module PulpContainerClient
|
|
226
223
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
227
224
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
228
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
229
|
-
def
|
226
|
+
def repositories_container_container_versions_read_with_http_info(container_container_repository_version_href, opts = {})
|
230
227
|
if @api_client.config.debugging
|
231
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.
|
228
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.repositories_container_container_versions_read ...'
|
232
229
|
end
|
233
230
|
# verify the required parameter 'container_container_repository_version_href' is set
|
234
231
|
if @api_client.config.client_side_validation && container_container_repository_version_href.nil?
|
235
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.
|
232
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.repositories_container_container_versions_read"
|
236
233
|
end
|
237
234
|
# resource path
|
238
235
|
local_var_path = '{container_container_repository_version_href}'.sub('{' + 'container_container_repository_version_href' + '}', CGI.escape(container_container_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -270,7 +267,7 @@ module PulpContainerClient
|
|
270
267
|
|
271
268
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
272
269
|
if @api_client.config.debugging
|
273
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#
|
270
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#repositories_container_container_versions_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
274
271
|
end
|
275
272
|
return data, status_code, headers
|
276
273
|
end
|
@@ -280,8 +277,8 @@ module PulpContainerClient
|
|
280
277
|
# @param repair [Repair]
|
281
278
|
# @param [Hash] opts the optional parameters
|
282
279
|
# @return [AsyncOperationResponse]
|
283
|
-
def
|
284
|
-
data, _status_code, _headers =
|
280
|
+
def repositories_container_container_versions_repair(container_container_repository_version_href, repair, opts = {})
|
281
|
+
data, _status_code, _headers = repositories_container_container_versions_repair_with_http_info(container_container_repository_version_href, repair, opts)
|
285
282
|
data
|
286
283
|
end
|
287
284
|
|
@@ -290,17 +287,17 @@ module PulpContainerClient
|
|
290
287
|
# @param repair [Repair]
|
291
288
|
# @param [Hash] opts the optional parameters
|
292
289
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
293
|
-
def
|
290
|
+
def repositories_container_container_versions_repair_with_http_info(container_container_repository_version_href, repair, opts = {})
|
294
291
|
if @api_client.config.debugging
|
295
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.
|
292
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.repositories_container_container_versions_repair ...'
|
296
293
|
end
|
297
294
|
# verify the required parameter 'container_container_repository_version_href' is set
|
298
295
|
if @api_client.config.client_side_validation && container_container_repository_version_href.nil?
|
299
|
-
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.
|
296
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.repositories_container_container_versions_repair"
|
300
297
|
end
|
301
298
|
# verify the required parameter 'repair' is set
|
302
299
|
if @api_client.config.client_side_validation && repair.nil?
|
303
|
-
fail ArgumentError, "Missing the required parameter 'repair' when calling RepositoriesContainerVersionsApi.
|
300
|
+
fail ArgumentError, "Missing the required parameter 'repair' when calling RepositoriesContainerVersionsApi.repositories_container_container_versions_repair"
|
304
301
|
end
|
305
302
|
# resource path
|
306
303
|
local_var_path = '{container_container_repository_version_href}repair/'.sub('{' + 'container_container_repository_version_href' + '}', CGI.escape(container_container_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -338,7 +335,7 @@ module PulpContainerClient
|
|
338
335
|
|
339
336
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
340
337
|
if @api_client.config.debugging
|
341
|
-
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#
|
338
|
+
@api_client.config.logger.debug "API called: RepositoriesContainerVersionsApi#repositories_container_container_versions_repair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
342
339
|
end
|
343
340
|
return data, status_code, headers
|
344
341
|
end
|
@@ -23,8 +23,8 @@ module PulpContainerClient
|
|
23
23
|
# @param reclaim_space [ReclaimSpace]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @return [AsyncOperationResponse]
|
26
|
-
def
|
27
|
-
data, _status_code, _headers =
|
26
|
+
def repositories_reclaim_space_reclaim(reclaim_space, opts = {})
|
27
|
+
data, _status_code, _headers = repositories_reclaim_space_reclaim_with_http_info(reclaim_space, opts)
|
28
28
|
data
|
29
29
|
end
|
30
30
|
|
@@ -32,13 +32,13 @@ module PulpContainerClient
|
|
32
32
|
# @param reclaim_space [ReclaimSpace]
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
35
|
-
def
|
35
|
+
def repositories_reclaim_space_reclaim_with_http_info(reclaim_space, opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.
|
37
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.repositories_reclaim_space_reclaim ...'
|
38
38
|
end
|
39
39
|
# verify the required parameter 'reclaim_space' is set
|
40
40
|
if @api_client.config.client_side_validation && reclaim_space.nil?
|
41
|
-
fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.
|
41
|
+
fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.repositories_reclaim_space_reclaim"
|
42
42
|
end
|
43
43
|
# resource path
|
44
44
|
local_var_path = '/pulp/api/v3/repositories/reclaim_space/'
|
@@ -76,7 +76,7 @@ module PulpContainerClient
|
|
76
76
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#
|
79
|
+
@api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#repositories_reclaim_space_reclaim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
@@ -20,7 +20,6 @@ module PulpContainerClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# List repository versions
|
23
|
-
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
24
23
|
# @param [Hash] opts the optional parameters
|
25
24
|
# @option opts [String] :content Content Unit referenced by HREF
|
26
25
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
@@ -32,24 +31,22 @@ module PulpContainerClient
|
|
32
31
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
33
32
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
34
33
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
35
|
-
# @option opts [Array<String>] :ordering Ordering
|
34
|
+
# @option opts [Array<String>] :ordering Ordering
|
36
35
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
37
36
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
38
37
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
39
38
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
40
39
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
41
40
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
44
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
45
43
|
# @return [PaginatedRepositoryVersionResponseList]
|
46
|
-
def
|
47
|
-
data, _status_code, _headers =
|
44
|
+
def repository_versions_list(opts = {})
|
45
|
+
data, _status_code, _headers = repository_versions_list_with_http_info(opts)
|
48
46
|
data
|
49
47
|
end
|
50
48
|
|
51
49
|
# List repository versions
|
52
|
-
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
53
50
|
# @param [Hash] opts the optional parameters
|
54
51
|
# @option opts [String] :content Content Unit referenced by HREF
|
55
52
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
@@ -61,20 +58,19 @@ module PulpContainerClient
|
|
61
58
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
62
59
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
63
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
64
|
-
# @option opts [Array<String>] :ordering Ordering
|
61
|
+
# @option opts [Array<String>] :ordering Ordering
|
65
62
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
66
63
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
67
64
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
68
65
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
69
66
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
70
67
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
71
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
73
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
70
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
75
|
-
def
|
71
|
+
def repository_versions_list_with_http_info(opts = {})
|
76
72
|
if @api_client.config.debugging
|
77
|
-
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.
|
73
|
+
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.repository_versions_list ...'
|
78
74
|
end
|
79
75
|
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
80
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -102,7 +98,6 @@ module PulpContainerClient
|
|
102
98
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
103
99
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
104
100
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
105
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
106
101
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
107
102
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
108
103
|
|
@@ -134,7 +129,7 @@ module PulpContainerClient
|
|
134
129
|
|
135
130
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
136
131
|
if @api_client.config.debugging
|
137
|
-
@api_client.config.logger.debug "API called: RepositoryVersionsApi#
|
132
|
+
@api_client.config.logger.debug "API called: RepositoryVersionsApi#repository_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
138
133
|
end
|
139
134
|
return data, status_code, headers
|
140
135
|
end
|