pulp_deb_client 3.5.0 → 3.5.2
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 +37 -9
- data/docs/AptRepositorySyncURL.md +12 -11
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentGenericContentsApi.md +264 -64
- data/docs/ContentInstallerFileIndicesApi.md +259 -61
- data/docs/ContentInstallerPackagesApi.md +280 -80
- data/docs/ContentPackageIndicesApi.md +259 -61
- data/docs/ContentPackageReleaseComponentsApi.md +259 -61
- data/docs/ContentPackagesApi.md +294 -94
- data/docs/ContentReleaseArchitecturesApi.md +257 -59
- data/docs/ContentReleaseComponentsApi.md +258 -60
- data/docs/ContentReleaseFilesApi.md +259 -61
- data/docs/ContentReleasesApi.md +262 -64
- data/docs/ContentSourceIndicesApi.md +258 -60
- data/docs/ContentSourcePackagesApi.md +285 -87
- data/docs/ContentSourceReleaseComponentsApi.md +259 -61
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +12 -11
- data/docs/DebAptDistribution.md +20 -19
- data/docs/DebAptDistributionResponse.md +32 -31
- data/docs/DebAptPublication.md +18 -17
- data/docs/DebAptPublicationResponse.md +26 -25
- data/docs/DebAptRemote.md +64 -63
- data/docs/DebAptRemoteResponse.md +64 -63
- data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/DebAptRepository.md +22 -21
- data/docs/DebAptRepositoryResponse.md +34 -33
- data/docs/DebCopyApi.md +30 -14
- data/docs/DebGenericContentResponse.md +32 -29
- data/docs/DebInstallerFileIndex.md +18 -15
- data/docs/DebInstallerFileIndexResponse.md +24 -21
- data/docs/DebInstallerPackageResponse.md +90 -87
- data/docs/DebPackageIndex.md +18 -15
- data/docs/DebPackageIndexResponse.md +24 -21
- data/docs/DebPackageReleaseComponent.md +14 -11
- data/docs/DebPackageReleaseComponentResponse.md +20 -17
- data/docs/DebPackageResponse.md +94 -91
- data/docs/DebRelease.md +28 -25
- data/docs/DebReleaseArchitecture.md +14 -11
- data/docs/DebReleaseArchitectureResponse.md +20 -17
- data/docs/DebReleaseComponent.md +14 -11
- data/docs/DebReleaseComponentResponse.md +22 -19
- data/docs/DebReleaseFile.md +20 -17
- data/docs/DebReleaseFileResponse.md +26 -23
- data/docs/DebReleaseResponse.md +34 -31
- data/docs/DebSourceIndex.md +18 -15
- data/docs/DebSourceIndexResponse.md +24 -21
- data/docs/DebSourcePackage.md +14 -11
- data/docs/DebSourcePackageReleaseComponent.md +14 -11
- data/docs/DebSourcePackageReleaseComponentResponse.md +20 -17
- data/docs/DebSourcePackageResponse.md +76 -73
- data/docs/DebVerbatimPublication.md +10 -9
- data/docs/DebVerbatimPublicationResponse.md +18 -17
- data/docs/DistributionsAptApi.md +387 -182
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginateddebAptDistributionResponseList.md +14 -13
- data/docs/PaginateddebAptPublicationResponseList.md +14 -13
- data/docs/PaginateddebAptRemoteResponseList.md +14 -13
- data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
- data/docs/PaginateddebGenericContentResponseList.md +14 -13
- data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
- data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
- data/docs/PaginateddebPackageIndexResponseList.md +14 -13
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebPackageResponseList.md +14 -13
- data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
- data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebReleaseFileResponseList.md +14 -13
- data/docs/PaginateddebReleaseResponseList.md +14 -13
- data/docs/PaginateddebSourceIndexResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageResponseList.md +14 -13
- data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
- data/docs/PatcheddebAptDistribution.md +20 -19
- data/docs/PatcheddebAptRemote.md +64 -63
- data/docs/PatcheddebAptRepository.md +22 -21
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsAptApi.md +269 -130
- data/docs/PublicationsVerbatimApi.md +269 -130
- data/docs/RemotesAptApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesAptApi.md +444 -207
- data/docs/RepositoriesAptVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +177 -17
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +177 -25
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_packages_api.rb +177 -25
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_release_components_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_release_files_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_releases_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +174 -17
- data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +95 -59
- data/lib/pulp_deb_client/api/publications_apt_api.rb +73 -50
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +73 -50
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +104 -68
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +107 -66
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
- data/lib/pulp_deb_client/api_client.rb +137 -102
- data/lib/pulp_deb_client/api_error.rb +2 -1
- data/lib/pulp_deb_client/configuration.rb +162 -21
- data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
- data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_deb_client/models/copy.rb +34 -28
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +58 -22
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +61 -25
- data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +47 -25
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +54 -24
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +51 -25
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +45 -25
- data/lib/pulp_deb_client/models/deb_package_index.rb +60 -26
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +47 -25
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +47 -23
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_package_response.rb +45 -25
- data/lib/pulp_deb_client/models/deb_release.rb +49 -23
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +47 -23
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_component.rb +47 -23
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_file.rb +62 -26
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_response.rb +51 -25
- data/lib/pulp_deb_client/models/deb_source_index.rb +54 -24
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +51 -25
- data/lib/pulp_deb_client/models/deb_source_package.rb +50 -24
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +47 -23
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +47 -25
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_deb_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +67 -25
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
- data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
- data/lib/pulp_deb_client/models/repair.rb +30 -22
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_deb_client/models/set_label.rb +34 -22
- data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
- data/lib/pulp_deb_client/models/unset_label.rb +33 -23
- data/lib/pulp_deb_client/models/unset_label_response.rb +33 -23
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +2 -5
- data/pulp_deb_client.gemspec +7 -5
- data/spec/api/content_generic_contents_api_spec.rb +33 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +32 -5
- data/spec/api/content_installer_packages_api_spec.rb +33 -5
- data/spec/api/content_package_indices_api_spec.rb +32 -5
- data/spec/api/content_package_release_components_api_spec.rb +32 -5
- data/spec/api/content_packages_api_spec.rb +33 -5
- data/spec/api/content_release_architectures_api_spec.rb +32 -5
- data/spec/api/content_release_components_api_spec.rb +32 -5
- data/spec/api/content_release_files_api_spec.rb +32 -5
- data/spec/api/content_releases_api_spec.rb +32 -5
- data/spec/api/content_source_indices_api_spec.rb +32 -5
- data/spec/api/content_source_packages_api_spec.rb +32 -5
- data/spec/api/content_source_release_components_api_spec.rb +32 -5
- data/spec/api/deb_copy_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +15 -14
- data/spec/api/publications_apt_api_spec.rb +18 -16
- data/spec/api/publications_verbatim_api_spec.rb +18 -16
- data/spec/api/remotes_apt_api_spec.rb +20 -19
- data/spec/api/repositories_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
- data/spec/models/apt_repository_sync_url_spec.rb +9 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +9 -14
- data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
- data/spec/models/deb_apt_distribution_spec.rb +13 -18
- data/spec/models/deb_apt_publication_response_spec.rb +16 -21
- data/spec/models/deb_apt_publication_spec.rb +12 -17
- data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/deb_apt_remote_response_spec.rb +35 -40
- data/spec/models/deb_apt_remote_spec.rb +35 -40
- data/spec/models/deb_apt_repository_response_spec.rb +20 -25
- data/spec/models/deb_apt_repository_spec.rb +14 -19
- data/spec/models/deb_generic_content_response_spec.rb +24 -23
- data/spec/models/deb_installer_file_index_response_spec.rb +20 -19
- data/spec/models/deb_installer_file_index_spec.rb +17 -16
- data/spec/models/deb_installer_package_response_spec.rb +53 -52
- data/spec/models/deb_package_index_response_spec.rb +20 -19
- data/spec/models/deb_package_index_spec.rb +17 -16
- data/spec/models/deb_package_release_component_response_spec.rb +18 -17
- data/spec/models/deb_package_release_component_spec.rb +15 -14
- data/spec/models/deb_package_response_spec.rb +55 -54
- data/spec/models/deb_release_architecture_response_spec.rb +18 -17
- data/spec/models/deb_release_architecture_spec.rb +15 -14
- data/spec/models/deb_release_component_response_spec.rb +19 -18
- data/spec/models/deb_release_component_spec.rb +15 -14
- data/spec/models/deb_release_file_response_spec.rb +21 -20
- data/spec/models/deb_release_file_spec.rb +18 -17
- data/spec/models/deb_release_response_spec.rb +25 -24
- data/spec/models/deb_release_spec.rb +22 -21
- data/spec/models/deb_source_index_response_spec.rb +20 -19
- data/spec/models/deb_source_index_spec.rb +17 -16
- data/spec/models/deb_source_package_release_component_response_spec.rb +18 -17
- data/spec/models/deb_source_package_release_component_spec.rb +15 -14
- data/spec/models/deb_source_package_response_spec.rb +46 -45
- data/spec/models/deb_source_package_spec.rb +15 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
- data/spec/models/deb_verbatim_publication_spec.rb +8 -13
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
- data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
- data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
- data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +92 -100
- data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
- data/docs/DebGenericContent.md +0 -27
- data/docs/DebInstallerPackage.md +0 -27
- data/docs/DebPackage.md +0 -31
- data/lib/pulp_deb_client/models/deb_generic_content.rb +0 -297
- data/lib/pulp_deb_client/models/deb_installer_package.rb +0 -288
- data/lib/pulp_deb_client/models/deb_package.rb +0 -338
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/deb_generic_content_spec.rb +0 -71
- data/spec/models/deb_installer_package_spec.rb +0 -71
- data/spec/models/deb_package_spec.rb +0 -83
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -51,23 +51,27 @@ module PulpDebClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
# HTTP header 'Content-Type'
|
56
|
-
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
|
+
if !content_type.nil?
|
58
|
+
header_params['Content-Type'] = content_type
|
59
|
+
end
|
57
60
|
|
58
61
|
# form parameters
|
59
62
|
form_params = opts[:form_params] || {}
|
60
63
|
|
61
64
|
# http body (model)
|
62
|
-
post_body = opts[:
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(deb_source_index)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'DebSourceIndexResponse'
|
66
69
|
|
67
70
|
# auth_names
|
68
|
-
auth_names = opts[:
|
71
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
69
72
|
|
70
73
|
new_options = opts.merge(
|
74
|
+
:operation => :"ContentSourceIndicesApi.create",
|
71
75
|
:header_params => header_params,
|
72
76
|
:query_params => query_params,
|
73
77
|
:form_params => form_params,
|
@@ -89,11 +93,12 @@ module PulpDebClient
|
|
89
93
|
# @option opts [String] :component Filter results where component matches value
|
90
94
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
92
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
93
97
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
94
98
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
95
99
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
96
100
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
101
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
97
102
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
98
103
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
99
104
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -114,11 +119,12 @@ module PulpDebClient
|
|
114
119
|
# @option opts [String] :component Filter results where component matches value
|
115
120
|
# @option opts [Integer] :limit Number of results to return per page.
|
116
121
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
122
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
118
123
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
119
124
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
120
125
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
121
126
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
127
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
122
128
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
123
129
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
124
130
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -132,7 +138,7 @@ module PulpDebClient
|
|
132
138
|
if @api_client.config.debugging
|
133
139
|
@api_client.config.logger.debug 'Calling API: ContentSourceIndicesApi.list ...'
|
134
140
|
end
|
135
|
-
allowable_values = ["-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
141
|
+
allowable_values = ["-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "component", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
136
142
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
137
143
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
138
144
|
end
|
@@ -149,6 +155,7 @@ module PulpDebClient
|
|
149
155
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
150
156
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
157
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
158
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
152
159
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
153
160
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
154
161
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
@@ -161,21 +168,22 @@ module PulpDebClient
|
|
161
168
|
# header parameters
|
162
169
|
header_params = opts[:header_params] || {}
|
163
170
|
# HTTP header 'Accept' (if needed)
|
164
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
171
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
165
172
|
|
166
173
|
# form parameters
|
167
174
|
form_params = opts[:form_params] || {}
|
168
175
|
|
169
176
|
# http body (model)
|
170
|
-
post_body = opts[:
|
177
|
+
post_body = opts[:debug_body]
|
171
178
|
|
172
179
|
# return_type
|
173
|
-
return_type = opts[:
|
180
|
+
return_type = opts[:debug_return_type] || 'PaginateddebSourceIndexResponseList'
|
174
181
|
|
175
182
|
# auth_names
|
176
|
-
auth_names = opts[:
|
183
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
177
184
|
|
178
185
|
new_options = opts.merge(
|
186
|
+
:operation => :"ContentSourceIndicesApi.list",
|
179
187
|
:header_params => header_params,
|
180
188
|
:query_params => query_params,
|
181
189
|
:form_params => form_params,
|
@@ -229,21 +237,22 @@ module PulpDebClient
|
|
229
237
|
# header parameters
|
230
238
|
header_params = opts[:header_params] || {}
|
231
239
|
# HTTP header 'Accept' (if needed)
|
232
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
240
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
233
241
|
|
234
242
|
# form parameters
|
235
243
|
form_params = opts[:form_params] || {}
|
236
244
|
|
237
245
|
# http body (model)
|
238
|
-
post_body = opts[:
|
246
|
+
post_body = opts[:debug_body]
|
239
247
|
|
240
248
|
# return_type
|
241
|
-
return_type = opts[:
|
249
|
+
return_type = opts[:debug_return_type] || 'DebSourceIndexResponse'
|
242
250
|
|
243
251
|
# auth_names
|
244
|
-
auth_names = opts[:
|
252
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
245
253
|
|
246
254
|
new_options = opts.merge(
|
255
|
+
:operation => :"ContentSourceIndicesApi.read",
|
247
256
|
:header_params => header_params,
|
248
257
|
:query_params => query_params,
|
249
258
|
:form_params => form_params,
|
@@ -258,5 +267,153 @@ module PulpDebClient
|
|
258
267
|
end
|
259
268
|
return data, status_code, headers
|
260
269
|
end
|
270
|
+
|
271
|
+
# Set a label
|
272
|
+
# Set a single pulp_label on the object to a specific value or null.
|
273
|
+
# @param deb_source_index_href [String]
|
274
|
+
# @param set_label [SetLabel]
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [SetLabelResponse]
|
277
|
+
def set_label(deb_source_index_href, set_label, opts = {})
|
278
|
+
data, _status_code, _headers = set_label_with_http_info(deb_source_index_href, set_label, opts)
|
279
|
+
data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Set a label
|
283
|
+
# Set a single pulp_label on the object to a specific value or null.
|
284
|
+
# @param deb_source_index_href [String]
|
285
|
+
# @param set_label [SetLabel]
|
286
|
+
# @param [Hash] opts the optional parameters
|
287
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
288
|
+
def set_label_with_http_info(deb_source_index_href, set_label, opts = {})
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug 'Calling API: ContentSourceIndicesApi.set_label ...'
|
291
|
+
end
|
292
|
+
# verify the required parameter 'deb_source_index_href' is set
|
293
|
+
if @api_client.config.client_side_validation && deb_source_index_href.nil?
|
294
|
+
fail ArgumentError, "Missing the required parameter 'deb_source_index_href' when calling ContentSourceIndicesApi.set_label"
|
295
|
+
end
|
296
|
+
# verify the required parameter 'set_label' is set
|
297
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
298
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentSourceIndicesApi.set_label"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '{deb_source_index_href}set_label/'.sub('{' + 'deb_source_index_href' + '}', CGI.escape(deb_source_index_href.to_s).gsub('%2F', '/'))
|
302
|
+
|
303
|
+
# query parameters
|
304
|
+
query_params = opts[:query_params] || {}
|
305
|
+
|
306
|
+
# header parameters
|
307
|
+
header_params = opts[:header_params] || {}
|
308
|
+
# HTTP header 'Accept' (if needed)
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
310
|
+
# HTTP header 'Content-Type'
|
311
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
312
|
+
if !content_type.nil?
|
313
|
+
header_params['Content-Type'] = content_type
|
314
|
+
end
|
315
|
+
|
316
|
+
# form parameters
|
317
|
+
form_params = opts[:form_params] || {}
|
318
|
+
|
319
|
+
# http body (model)
|
320
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
321
|
+
|
322
|
+
# return_type
|
323
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
324
|
+
|
325
|
+
# auth_names
|
326
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
327
|
+
|
328
|
+
new_options = opts.merge(
|
329
|
+
:operation => :"ContentSourceIndicesApi.set_label",
|
330
|
+
:header_params => header_params,
|
331
|
+
:query_params => query_params,
|
332
|
+
:form_params => form_params,
|
333
|
+
:body => post_body,
|
334
|
+
:auth_names => auth_names,
|
335
|
+
:return_type => return_type
|
336
|
+
)
|
337
|
+
|
338
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
339
|
+
if @api_client.config.debugging
|
340
|
+
@api_client.config.logger.debug "API called: ContentSourceIndicesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
|
+
end
|
342
|
+
return data, status_code, headers
|
343
|
+
end
|
344
|
+
|
345
|
+
# Unset a label
|
346
|
+
# Unset a single pulp_label on the object.
|
347
|
+
# @param deb_source_index_href [String]
|
348
|
+
# @param unset_label [UnsetLabel]
|
349
|
+
# @param [Hash] opts the optional parameters
|
350
|
+
# @return [UnsetLabelResponse]
|
351
|
+
def unset_label(deb_source_index_href, unset_label, opts = {})
|
352
|
+
data, _status_code, _headers = unset_label_with_http_info(deb_source_index_href, unset_label, opts)
|
353
|
+
data
|
354
|
+
end
|
355
|
+
|
356
|
+
# Unset a label
|
357
|
+
# Unset a single pulp_label on the object.
|
358
|
+
# @param deb_source_index_href [String]
|
359
|
+
# @param unset_label [UnsetLabel]
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
362
|
+
def unset_label_with_http_info(deb_source_index_href, unset_label, opts = {})
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug 'Calling API: ContentSourceIndicesApi.unset_label ...'
|
365
|
+
end
|
366
|
+
# verify the required parameter 'deb_source_index_href' is set
|
367
|
+
if @api_client.config.client_side_validation && deb_source_index_href.nil?
|
368
|
+
fail ArgumentError, "Missing the required parameter 'deb_source_index_href' when calling ContentSourceIndicesApi.unset_label"
|
369
|
+
end
|
370
|
+
# verify the required parameter 'unset_label' is set
|
371
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
372
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentSourceIndicesApi.unset_label"
|
373
|
+
end
|
374
|
+
# resource path
|
375
|
+
local_var_path = '{deb_source_index_href}unset_label/'.sub('{' + 'deb_source_index_href' + '}', CGI.escape(deb_source_index_href.to_s).gsub('%2F', '/'))
|
376
|
+
|
377
|
+
# query parameters
|
378
|
+
query_params = opts[:query_params] || {}
|
379
|
+
|
380
|
+
# header parameters
|
381
|
+
header_params = opts[:header_params] || {}
|
382
|
+
# HTTP header 'Accept' (if needed)
|
383
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
384
|
+
# HTTP header 'Content-Type'
|
385
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
386
|
+
if !content_type.nil?
|
387
|
+
header_params['Content-Type'] = content_type
|
388
|
+
end
|
389
|
+
|
390
|
+
# form parameters
|
391
|
+
form_params = opts[:form_params] || {}
|
392
|
+
|
393
|
+
# http body (model)
|
394
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
395
|
+
|
396
|
+
# return_type
|
397
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
398
|
+
|
399
|
+
# auth_names
|
400
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
401
|
+
|
402
|
+
new_options = opts.merge(
|
403
|
+
:operation => :"ContentSourceIndicesApi.unset_label",
|
404
|
+
:header_params => header_params,
|
405
|
+
:query_params => query_params,
|
406
|
+
:form_params => form_params,
|
407
|
+
:body => post_body,
|
408
|
+
:auth_names => auth_names,
|
409
|
+
:return_type => return_type
|
410
|
+
)
|
411
|
+
|
412
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
413
|
+
if @api_client.config.debugging
|
414
|
+
@api_client.config.logger.debug "API called: ContentSourceIndicesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
415
|
+
end
|
416
|
+
return data, status_code, headers
|
417
|
+
end
|
261
418
|
end
|
262
419
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -51,23 +51,27 @@ module PulpDebClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
# HTTP header 'Content-Type'
|
56
|
-
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
|
+
if !content_type.nil?
|
58
|
+
header_params['Content-Type'] = content_type
|
59
|
+
end
|
57
60
|
|
58
61
|
# form parameters
|
59
62
|
form_params = opts[:form_params] || {}
|
60
63
|
|
61
64
|
# http body (model)
|
62
|
-
post_body = opts[:
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(deb_source_package)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
66
69
|
|
67
70
|
# auth_names
|
68
|
-
auth_names = opts[:
|
71
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
69
72
|
|
70
73
|
new_options = opts.merge(
|
74
|
+
:operation => :"ContentSourcePackagesApi.create",
|
71
75
|
:header_params => header_params,
|
72
76
|
:query_params => query_params,
|
73
77
|
:form_params => form_params,
|
@@ -100,12 +104,13 @@ module PulpDebClient
|
|
100
104
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
105
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
102
106
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
103
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
107
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
104
108
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
105
109
|
# @option opts [String] :package_list Filter results where package_list matches value
|
106
110
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
107
111
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
108
112
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
113
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
109
114
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
110
115
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
111
116
|
# @option opts [String] :release Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
@@ -152,12 +157,13 @@ module PulpDebClient
|
|
152
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
153
158
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
154
159
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
155
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
160
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
156
161
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
157
162
|
# @option opts [String] :package_list Filter results where package_list matches value
|
158
163
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
159
164
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
165
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
166
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
161
167
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
162
168
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
163
169
|
# @option opts [String] :release Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
@@ -186,7 +192,7 @@ module PulpDebClient
|
|
186
192
|
if @api_client.config.debugging
|
187
193
|
@api_client.config.logger.debug 'Calling API: ContentSourcePackagesApi.list ...'
|
188
194
|
end
|
189
|
-
allowable_values = ["-architecture", "-binary", "-build_conflicts", "-build_conflicts_arch", "-build_conflicts_indep", "-build_depends", "-build_depends_arch", "-build_depends_indep", "-dgit", "-format", "-homepage", "-maintainer", "-package_list", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-source", "-standards_version", "-testsuite", "-timestamp_of_interest", "-uploaders", "-upstream_id", "-vcs_arch", "-vcs_browser", "-vcs_bzr", "-vcs_cvs", "-vcs_darcs", "-vcs_git", "-vcs_hg", "-vcs_mtn", "-vcs_snv", "-version", "architecture", "binary", "build_conflicts", "build_conflicts_arch", "build_conflicts_indep", "build_depends", "build_depends_arch", "build_depends_indep", "dgit", "format", "homepage", "maintainer", "package_list", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "source", "standards_version", "testsuite", "timestamp_of_interest", "uploaders", "upstream_id", "vcs_arch", "vcs_browser", "vcs_bzr", "vcs_cvs", "vcs_darcs", "vcs_git", "vcs_hg", "vcs_mtn", "vcs_snv", "version"]
|
195
|
+
allowable_values = ["-architecture", "-binary", "-build_conflicts", "-build_conflicts_arch", "-build_conflicts_indep", "-build_depends", "-build_depends_arch", "-build_depends_indep", "-dgit", "-format", "-homepage", "-maintainer", "-package_list", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-source", "-standards_version", "-testsuite", "-timestamp_of_interest", "-uploaders", "-upstream_id", "-vcs_arch", "-vcs_browser", "-vcs_bzr", "-vcs_cvs", "-vcs_darcs", "-vcs_git", "-vcs_hg", "-vcs_mtn", "-vcs_snv", "-version", "architecture", "binary", "build_conflicts", "build_conflicts_arch", "build_conflicts_indep", "build_depends", "build_depends_arch", "build_depends_indep", "dgit", "format", "homepage", "maintainer", "package_list", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "source", "standards_version", "testsuite", "timestamp_of_interest", "uploaders", "upstream_id", "vcs_arch", "vcs_browser", "vcs_bzr", "vcs_cvs", "vcs_darcs", "vcs_git", "vcs_hg", "vcs_mtn", "vcs_snv", "version"]
|
190
196
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
191
197
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
192
198
|
end
|
@@ -215,6 +221,7 @@ module PulpDebClient
|
|
215
221
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
216
222
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
217
223
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
224
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
218
225
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
219
226
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
220
227
|
query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
|
@@ -242,21 +249,22 @@ module PulpDebClient
|
|
242
249
|
# header parameters
|
243
250
|
header_params = opts[:header_params] || {}
|
244
251
|
# HTTP header 'Accept' (if needed)
|
245
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
252
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
246
253
|
|
247
254
|
# form parameters
|
248
255
|
form_params = opts[:form_params] || {}
|
249
256
|
|
250
257
|
# http body (model)
|
251
|
-
post_body = opts[:
|
258
|
+
post_body = opts[:debug_body]
|
252
259
|
|
253
260
|
# return_type
|
254
|
-
return_type = opts[:
|
261
|
+
return_type = opts[:debug_return_type] || 'PaginateddebSourcePackageResponseList'
|
255
262
|
|
256
263
|
# auth_names
|
257
|
-
auth_names = opts[:
|
264
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
258
265
|
|
259
266
|
new_options = opts.merge(
|
267
|
+
:operation => :"ContentSourcePackagesApi.list",
|
260
268
|
:header_params => header_params,
|
261
269
|
:query_params => query_params,
|
262
270
|
:form_params => form_params,
|
@@ -310,21 +318,22 @@ module PulpDebClient
|
|
310
318
|
# header parameters
|
311
319
|
header_params = opts[:header_params] || {}
|
312
320
|
# HTTP header 'Accept' (if needed)
|
313
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
321
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
314
322
|
|
315
323
|
# form parameters
|
316
324
|
form_params = opts[:form_params] || {}
|
317
325
|
|
318
326
|
# http body (model)
|
319
|
-
post_body = opts[:
|
327
|
+
post_body = opts[:debug_body]
|
320
328
|
|
321
329
|
# return_type
|
322
|
-
return_type = opts[:
|
330
|
+
return_type = opts[:debug_return_type] || 'DebSourcePackageResponse'
|
323
331
|
|
324
332
|
# auth_names
|
325
|
-
auth_names = opts[:
|
333
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
326
334
|
|
327
335
|
new_options = opts.merge(
|
336
|
+
:operation => :"ContentSourcePackagesApi.read",
|
328
337
|
:header_params => header_params,
|
329
338
|
:query_params => query_params,
|
330
339
|
:form_params => form_params,
|
@@ -339,5 +348,153 @@ module PulpDebClient
|
|
339
348
|
end
|
340
349
|
return data, status_code, headers
|
341
350
|
end
|
351
|
+
|
352
|
+
# Set a label
|
353
|
+
# Set a single pulp_label on the object to a specific value or null.
|
354
|
+
# @param deb_source_package_href [String]
|
355
|
+
# @param set_label [SetLabel]
|
356
|
+
# @param [Hash] opts the optional parameters
|
357
|
+
# @return [SetLabelResponse]
|
358
|
+
def set_label(deb_source_package_href, set_label, opts = {})
|
359
|
+
data, _status_code, _headers = set_label_with_http_info(deb_source_package_href, set_label, opts)
|
360
|
+
data
|
361
|
+
end
|
362
|
+
|
363
|
+
# Set a label
|
364
|
+
# Set a single pulp_label on the object to a specific value or null.
|
365
|
+
# @param deb_source_package_href [String]
|
366
|
+
# @param set_label [SetLabel]
|
367
|
+
# @param [Hash] opts the optional parameters
|
368
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
369
|
+
def set_label_with_http_info(deb_source_package_href, set_label, opts = {})
|
370
|
+
if @api_client.config.debugging
|
371
|
+
@api_client.config.logger.debug 'Calling API: ContentSourcePackagesApi.set_label ...'
|
372
|
+
end
|
373
|
+
# verify the required parameter 'deb_source_package_href' is set
|
374
|
+
if @api_client.config.client_side_validation && deb_source_package_href.nil?
|
375
|
+
fail ArgumentError, "Missing the required parameter 'deb_source_package_href' when calling ContentSourcePackagesApi.set_label"
|
376
|
+
end
|
377
|
+
# verify the required parameter 'set_label' is set
|
378
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
379
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentSourcePackagesApi.set_label"
|
380
|
+
end
|
381
|
+
# resource path
|
382
|
+
local_var_path = '{deb_source_package_href}set_label/'.sub('{' + 'deb_source_package_href' + '}', CGI.escape(deb_source_package_href.to_s).gsub('%2F', '/'))
|
383
|
+
|
384
|
+
# query parameters
|
385
|
+
query_params = opts[:query_params] || {}
|
386
|
+
|
387
|
+
# header parameters
|
388
|
+
header_params = opts[:header_params] || {}
|
389
|
+
# HTTP header 'Accept' (if needed)
|
390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
391
|
+
# HTTP header 'Content-Type'
|
392
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
393
|
+
if !content_type.nil?
|
394
|
+
header_params['Content-Type'] = content_type
|
395
|
+
end
|
396
|
+
|
397
|
+
# form parameters
|
398
|
+
form_params = opts[:form_params] || {}
|
399
|
+
|
400
|
+
# http body (model)
|
401
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
402
|
+
|
403
|
+
# return_type
|
404
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
405
|
+
|
406
|
+
# auth_names
|
407
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
408
|
+
|
409
|
+
new_options = opts.merge(
|
410
|
+
:operation => :"ContentSourcePackagesApi.set_label",
|
411
|
+
:header_params => header_params,
|
412
|
+
:query_params => query_params,
|
413
|
+
:form_params => form_params,
|
414
|
+
:body => post_body,
|
415
|
+
:auth_names => auth_names,
|
416
|
+
:return_type => return_type
|
417
|
+
)
|
418
|
+
|
419
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
420
|
+
if @api_client.config.debugging
|
421
|
+
@api_client.config.logger.debug "API called: ContentSourcePackagesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
422
|
+
end
|
423
|
+
return data, status_code, headers
|
424
|
+
end
|
425
|
+
|
426
|
+
# Unset a label
|
427
|
+
# Unset a single pulp_label on the object.
|
428
|
+
# @param deb_source_package_href [String]
|
429
|
+
# @param unset_label [UnsetLabel]
|
430
|
+
# @param [Hash] opts the optional parameters
|
431
|
+
# @return [UnsetLabelResponse]
|
432
|
+
def unset_label(deb_source_package_href, unset_label, opts = {})
|
433
|
+
data, _status_code, _headers = unset_label_with_http_info(deb_source_package_href, unset_label, opts)
|
434
|
+
data
|
435
|
+
end
|
436
|
+
|
437
|
+
# Unset a label
|
438
|
+
# Unset a single pulp_label on the object.
|
439
|
+
# @param deb_source_package_href [String]
|
440
|
+
# @param unset_label [UnsetLabel]
|
441
|
+
# @param [Hash] opts the optional parameters
|
442
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
443
|
+
def unset_label_with_http_info(deb_source_package_href, unset_label, opts = {})
|
444
|
+
if @api_client.config.debugging
|
445
|
+
@api_client.config.logger.debug 'Calling API: ContentSourcePackagesApi.unset_label ...'
|
446
|
+
end
|
447
|
+
# verify the required parameter 'deb_source_package_href' is set
|
448
|
+
if @api_client.config.client_side_validation && deb_source_package_href.nil?
|
449
|
+
fail ArgumentError, "Missing the required parameter 'deb_source_package_href' when calling ContentSourcePackagesApi.unset_label"
|
450
|
+
end
|
451
|
+
# verify the required parameter 'unset_label' is set
|
452
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
453
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentSourcePackagesApi.unset_label"
|
454
|
+
end
|
455
|
+
# resource path
|
456
|
+
local_var_path = '{deb_source_package_href}unset_label/'.sub('{' + 'deb_source_package_href' + '}', CGI.escape(deb_source_package_href.to_s).gsub('%2F', '/'))
|
457
|
+
|
458
|
+
# query parameters
|
459
|
+
query_params = opts[:query_params] || {}
|
460
|
+
|
461
|
+
# header parameters
|
462
|
+
header_params = opts[:header_params] || {}
|
463
|
+
# HTTP header 'Accept' (if needed)
|
464
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
465
|
+
# HTTP header 'Content-Type'
|
466
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
467
|
+
if !content_type.nil?
|
468
|
+
header_params['Content-Type'] = content_type
|
469
|
+
end
|
470
|
+
|
471
|
+
# form parameters
|
472
|
+
form_params = opts[:form_params] || {}
|
473
|
+
|
474
|
+
# http body (model)
|
475
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
476
|
+
|
477
|
+
# return_type
|
478
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
479
|
+
|
480
|
+
# auth_names
|
481
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
482
|
+
|
483
|
+
new_options = opts.merge(
|
484
|
+
:operation => :"ContentSourcePackagesApi.unset_label",
|
485
|
+
:header_params => header_params,
|
486
|
+
:query_params => query_params,
|
487
|
+
:form_params => form_params,
|
488
|
+
:body => post_body,
|
489
|
+
:auth_names => auth_names,
|
490
|
+
:return_type => return_type
|
491
|
+
)
|
492
|
+
|
493
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
494
|
+
if @api_client.config.debugging
|
495
|
+
@api_client.config.logger.debug "API called: ContentSourcePackagesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
496
|
+
end
|
497
|
+
return data, status_code, headers
|
498
|
+
end
|
342
499
|
end
|
343
500
|
end
|