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
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**create**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture
|
8
|
-
[**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures
|
9
|
-
[**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture |
|
8
|
+
| [**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures |
|
9
|
+
| [**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture |
|
10
|
+
| [**set_label**](ContentReleaseArchitecturesApi.md#set_label) | **POST** {deb_release_architecture_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentReleaseArchitecturesApi.md#unset_label) | **POST** {deb_release_architecture_href}unset_label/ | Unset a label |
|
11
12
|
|
12
13
|
|
13
14
|
## create
|
14
15
|
|
15
|
-
> AsyncOperationResponse create(deb_release_architecture)
|
16
|
+
> <AsyncOperationResponse> create(deb_release_architecture)
|
16
17
|
|
17
18
|
Create a release architecture
|
18
19
|
|
19
20
|
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
21
|
|
21
|
-
###
|
22
|
+
### Examples
|
22
23
|
|
23
24
|
```ruby
|
24
|
-
|
25
|
+
require 'time'
|
25
26
|
require 'pulp_deb_client'
|
26
27
|
# setup authorization
|
27
28
|
PulpDebClient.configure do |config|
|
@@ -31,23 +32,40 @@ PulpDebClient.configure do |config|
|
|
31
32
|
end
|
32
33
|
|
33
34
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
34
|
-
deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new # DebReleaseArchitecture |
|
35
|
+
deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new({architecture: 'architecture_example', distribution: 'distribution_example'}) # DebReleaseArchitecture |
|
35
36
|
|
36
37
|
begin
|
37
|
-
#Create a release architecture
|
38
|
+
# Create a release architecture
|
38
39
|
result = api_instance.create(deb_release_architecture)
|
39
40
|
p result
|
40
41
|
rescue PulpDebClient::ApiError => e
|
41
|
-
puts "
|
42
|
+
puts "Error when calling ContentReleaseArchitecturesApi->create: #{e}"
|
42
43
|
end
|
43
44
|
```
|
44
45
|
|
45
|
-
|
46
|
+
#### Using the create_with_http_info variant
|
47
|
+
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
49
|
+
|
50
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_architecture)
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
begin
|
54
|
+
# Create a release architecture
|
55
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_architecture)
|
56
|
+
p status_code # => 2xx
|
57
|
+
p headers # => { ... }
|
58
|
+
p data # => <AsyncOperationResponse>
|
59
|
+
rescue PulpDebClient::ApiError => e
|
60
|
+
puts "Error when calling ContentReleaseArchitecturesApi->create_with_http_info: #{e}"
|
61
|
+
end
|
62
|
+
```
|
46
63
|
|
64
|
+
### Parameters
|
47
65
|
|
48
|
-
Name | Type | Description
|
49
|
-
|
50
|
-
**deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.md)| |
|
66
|
+
| Name | Type | Description | Notes |
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
68
|
+
| **deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.md) | | |
|
51
69
|
|
52
70
|
### Return type
|
53
71
|
|
@@ -65,16 +83,16 @@ Name | Type | Description | Notes
|
|
65
83
|
|
66
84
|
## list
|
67
85
|
|
68
|
-
> PaginateddebReleaseArchitectureResponseList list(opts)
|
86
|
+
> <PaginateddebReleaseArchitectureResponseList> list(opts)
|
69
87
|
|
70
88
|
List release architectures
|
71
89
|
|
72
90
|
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
73
91
|
|
74
|
-
###
|
92
|
+
### Examples
|
75
93
|
|
76
94
|
```ruby
|
77
|
-
|
95
|
+
require 'time'
|
78
96
|
require 'pulp_deb_client'
|
79
97
|
# setup authorization
|
80
98
|
PulpDebClient.configure do |config|
|
@@ -89,48 +107,67 @@ opts = {
|
|
89
107
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
90
108
|
limit: 56, # Integer | Number of results to return per page.
|
91
109
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: ['
|
93
|
-
orphaned_for:
|
94
|
-
prn__in: ['
|
95
|
-
pulp_href__in: ['
|
96
|
-
pulp_id__in: ['
|
110
|
+
ordering: ['-architecture'], # Array<String> | 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
111
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
112
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
113
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
114
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
115
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
97
116
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
98
117
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
99
118
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
100
119
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
101
|
-
fields: ['
|
102
|
-
exclude_fields: ['
|
120
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
121
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
103
122
|
}
|
104
123
|
|
105
124
|
begin
|
106
|
-
#List release architectures
|
125
|
+
# List release architectures
|
107
126
|
result = api_instance.list(opts)
|
108
127
|
p result
|
109
128
|
rescue PulpDebClient::ApiError => e
|
110
|
-
puts "
|
129
|
+
puts "Error when calling ContentReleaseArchitecturesApi->list: #{e}"
|
111
130
|
end
|
112
131
|
```
|
113
132
|
|
114
|
-
|
133
|
+
#### Using the list_with_http_info variant
|
134
|
+
|
135
|
+
This returns an Array which contains the response data, status code and headers.
|
136
|
+
|
137
|
+
> <Array(<PaginateddebReleaseArchitectureResponseList>, Integer, Hash)> list_with_http_info(opts)
|
138
|
+
|
139
|
+
```ruby
|
140
|
+
begin
|
141
|
+
# List release architectures
|
142
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
143
|
+
p status_code # => 2xx
|
144
|
+
p headers # => { ... }
|
145
|
+
p data # => <PaginateddebReleaseArchitectureResponseList>
|
146
|
+
rescue PulpDebClient::ApiError => e
|
147
|
+
puts "Error when calling ContentReleaseArchitecturesApi->list_with_http_info: #{e}"
|
148
|
+
end
|
149
|
+
```
|
115
150
|
|
151
|
+
### Parameters
|
116
152
|
|
117
|
-
Name | Type | Description
|
118
|
-
|
119
|
-
**architecture** | **String
|
120
|
-
**distribution** | **String
|
121
|
-
**limit** | **Integer
|
122
|
-
**offset** | **Integer
|
123
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
124
|
-
**orphaned_for** | **Float
|
125
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
126
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
127
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
128
|
-
**
|
129
|
-
**
|
130
|
-
**
|
131
|
-
**
|
132
|
-
**
|
133
|
-
**
|
153
|
+
| Name | Type | Description | Notes |
|
154
|
+
| ---- | ---- | ----------- | ----- |
|
155
|
+
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
156
|
+
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
157
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
158
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
159
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
160
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
161
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
162
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
163
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
164
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
165
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
166
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
167
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
168
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
169
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
170
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
134
171
|
|
135
172
|
### Return type
|
136
173
|
|
@@ -148,16 +185,16 @@ Name | Type | Description | Notes
|
|
148
185
|
|
149
186
|
## read
|
150
187
|
|
151
|
-
> DebReleaseArchitectureResponse read(deb_release_architecture_href, opts)
|
188
|
+
> <DebReleaseArchitectureResponse> read(deb_release_architecture_href, opts)
|
152
189
|
|
153
190
|
Inspect a release architecture
|
154
191
|
|
155
192
|
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
156
193
|
|
157
|
-
###
|
194
|
+
### Examples
|
158
195
|
|
159
196
|
```ruby
|
160
|
-
|
197
|
+
require 'time'
|
161
198
|
require 'pulp_deb_client'
|
162
199
|
# setup authorization
|
163
200
|
PulpDebClient.configure do |config|
|
@@ -169,27 +206,44 @@ end
|
|
169
206
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
170
207
|
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
171
208
|
opts = {
|
172
|
-
fields: ['
|
173
|
-
exclude_fields: ['
|
209
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
210
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
174
211
|
}
|
175
212
|
|
176
213
|
begin
|
177
|
-
#Inspect a release architecture
|
214
|
+
# Inspect a release architecture
|
178
215
|
result = api_instance.read(deb_release_architecture_href, opts)
|
179
216
|
p result
|
180
217
|
rescue PulpDebClient::ApiError => e
|
181
|
-
puts "
|
218
|
+
puts "Error when calling ContentReleaseArchitecturesApi->read: #{e}"
|
182
219
|
end
|
183
220
|
```
|
184
221
|
|
185
|
-
|
222
|
+
#### Using the read_with_http_info variant
|
223
|
+
|
224
|
+
This returns an Array which contains the response data, status code and headers.
|
225
|
+
|
226
|
+
> <Array(<DebReleaseArchitectureResponse>, Integer, Hash)> read_with_http_info(deb_release_architecture_href, opts)
|
186
227
|
|
228
|
+
```ruby
|
229
|
+
begin
|
230
|
+
# Inspect a release architecture
|
231
|
+
data, status_code, headers = api_instance.read_with_http_info(deb_release_architecture_href, opts)
|
232
|
+
p status_code # => 2xx
|
233
|
+
p headers # => { ... }
|
234
|
+
p data # => <DebReleaseArchitectureResponse>
|
235
|
+
rescue PulpDebClient::ApiError => e
|
236
|
+
puts "Error when calling ContentReleaseArchitecturesApi->read_with_http_info: #{e}"
|
237
|
+
end
|
238
|
+
```
|
239
|
+
|
240
|
+
### Parameters
|
187
241
|
|
188
|
-
Name | Type | Description
|
189
|
-
|
190
|
-
**deb_release_architecture_href** | **String
|
191
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
192
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
242
|
+
| Name | Type | Description | Notes |
|
243
|
+
| ---- | ---- | ----------- | ----- |
|
244
|
+
| **deb_release_architecture_href** | **String** | | |
|
245
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
193
247
|
|
194
248
|
### Return type
|
195
249
|
|
@@ -204,3 +258,147 @@ Name | Type | Description | Notes
|
|
204
258
|
- **Content-Type**: Not defined
|
205
259
|
- **Accept**: application/json
|
206
260
|
|
261
|
+
|
262
|
+
## set_label
|
263
|
+
|
264
|
+
> <SetLabelResponse> set_label(deb_release_architecture_href, set_label)
|
265
|
+
|
266
|
+
Set a label
|
267
|
+
|
268
|
+
Set a single pulp_label on the object to a specific value or null.
|
269
|
+
|
270
|
+
### Examples
|
271
|
+
|
272
|
+
```ruby
|
273
|
+
require 'time'
|
274
|
+
require 'pulp_deb_client'
|
275
|
+
# setup authorization
|
276
|
+
PulpDebClient.configure do |config|
|
277
|
+
# Configure HTTP basic authorization: basicAuth
|
278
|
+
config.username = 'YOUR USERNAME'
|
279
|
+
config.password = 'YOUR PASSWORD'
|
280
|
+
end
|
281
|
+
|
282
|
+
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
283
|
+
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
284
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
285
|
+
|
286
|
+
begin
|
287
|
+
# Set a label
|
288
|
+
result = api_instance.set_label(deb_release_architecture_href, set_label)
|
289
|
+
p result
|
290
|
+
rescue PulpDebClient::ApiError => e
|
291
|
+
puts "Error when calling ContentReleaseArchitecturesApi->set_label: #{e}"
|
292
|
+
end
|
293
|
+
```
|
294
|
+
|
295
|
+
#### Using the set_label_with_http_info variant
|
296
|
+
|
297
|
+
This returns an Array which contains the response data, status code and headers.
|
298
|
+
|
299
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_architecture_href, set_label)
|
300
|
+
|
301
|
+
```ruby
|
302
|
+
begin
|
303
|
+
# Set a label
|
304
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_architecture_href, set_label)
|
305
|
+
p status_code # => 2xx
|
306
|
+
p headers # => { ... }
|
307
|
+
p data # => <SetLabelResponse>
|
308
|
+
rescue PulpDebClient::ApiError => e
|
309
|
+
puts "Error when calling ContentReleaseArchitecturesApi->set_label_with_http_info: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
### Parameters
|
314
|
+
|
315
|
+
| Name | Type | Description | Notes |
|
316
|
+
| ---- | ---- | ----------- | ----- |
|
317
|
+
| **deb_release_architecture_href** | **String** | | |
|
318
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
319
|
+
|
320
|
+
### Return type
|
321
|
+
|
322
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
323
|
+
|
324
|
+
### Authorization
|
325
|
+
|
326
|
+
[basicAuth](../README.md#basicAuth)
|
327
|
+
|
328
|
+
### HTTP request headers
|
329
|
+
|
330
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
331
|
+
- **Accept**: application/json
|
332
|
+
|
333
|
+
|
334
|
+
## unset_label
|
335
|
+
|
336
|
+
> <UnsetLabelResponse> unset_label(deb_release_architecture_href, unset_label)
|
337
|
+
|
338
|
+
Unset a label
|
339
|
+
|
340
|
+
Unset a single pulp_label on the object.
|
341
|
+
|
342
|
+
### Examples
|
343
|
+
|
344
|
+
```ruby
|
345
|
+
require 'time'
|
346
|
+
require 'pulp_deb_client'
|
347
|
+
# setup authorization
|
348
|
+
PulpDebClient.configure do |config|
|
349
|
+
# Configure HTTP basic authorization: basicAuth
|
350
|
+
config.username = 'YOUR USERNAME'
|
351
|
+
config.password = 'YOUR PASSWORD'
|
352
|
+
end
|
353
|
+
|
354
|
+
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
355
|
+
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
356
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
357
|
+
|
358
|
+
begin
|
359
|
+
# Unset a label
|
360
|
+
result = api_instance.unset_label(deb_release_architecture_href, unset_label)
|
361
|
+
p result
|
362
|
+
rescue PulpDebClient::ApiError => e
|
363
|
+
puts "Error when calling ContentReleaseArchitecturesApi->unset_label: #{e}"
|
364
|
+
end
|
365
|
+
```
|
366
|
+
|
367
|
+
#### Using the unset_label_with_http_info variant
|
368
|
+
|
369
|
+
This returns an Array which contains the response data, status code and headers.
|
370
|
+
|
371
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_architecture_href, unset_label)
|
372
|
+
|
373
|
+
```ruby
|
374
|
+
begin
|
375
|
+
# Unset a label
|
376
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_architecture_href, unset_label)
|
377
|
+
p status_code # => 2xx
|
378
|
+
p headers # => { ... }
|
379
|
+
p data # => <UnsetLabelResponse>
|
380
|
+
rescue PulpDebClient::ApiError => e
|
381
|
+
puts "Error when calling ContentReleaseArchitecturesApi->unset_label_with_http_info: #{e}"
|
382
|
+
end
|
383
|
+
```
|
384
|
+
|
385
|
+
### Parameters
|
386
|
+
|
387
|
+
| Name | Type | Description | Notes |
|
388
|
+
| ---- | ---- | ----------- | ----- |
|
389
|
+
| **deb_release_architecture_href** | **String** | | |
|
390
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
391
|
+
|
392
|
+
### Return type
|
393
|
+
|
394
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
395
|
+
|
396
|
+
### Authorization
|
397
|
+
|
398
|
+
[basicAuth](../README.md#basicAuth)
|
399
|
+
|
400
|
+
### HTTP request headers
|
401
|
+
|
402
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
403
|
+
- **Accept**: application/json
|
404
|
+
|