pulp_deb_client 3.5.1 → 3.6.0
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 +32 -4
- data/docs/ContentGenericContentsApi.md +166 -2
- data/docs/ContentInstallerFileIndicesApi.md +170 -6
- data/docs/ContentInstallerPackagesApi.md +166 -2
- data/docs/ContentPackageIndicesApi.md +170 -6
- data/docs/ContentPackageReleaseComponentsApi.md +170 -6
- data/docs/ContentPackagesApi.md +166 -2
- data/docs/ContentReleaseArchitecturesApi.md +170 -6
- data/docs/ContentReleaseComponentsApi.md +170 -6
- data/docs/ContentReleaseFilesApi.md +170 -6
- data/docs/ContentReleasesApi.md +170 -6
- data/docs/ContentSourceIndicesApi.md +170 -6
- data/docs/ContentSourcePackagesApi.md +170 -6
- data/docs/ContentSourceReleaseComponentsApi.md +170 -6
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +76 -34
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +44 -18
- data/docs/PublicationsVerbatimApi.md +44 -18
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +34 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
- data/spec/api/content_installer_packages_api_spec.rb +34 -1
- data/spec/api/content_package_indices_api_spec.rb +33 -1
- data/spec/api/content_package_release_components_api_spec.rb +33 -1
- data/spec/api/content_packages_api_spec.rb +34 -1
- data/spec/api/content_release_architectures_api_spec.rb +33 -1
- data/spec/api/content_release_components_api_spec.rb +33 -1
- data/spec/api/content_release_files_api_spec.rb +33 -1
- data/spec/api/content_releases_api_spec.rb +33 -1
- data/spec/api/content_source_indices_api_spec.rb +33 -1
- data/spec/api/content_source_packages_api_spec.rb +33 -1
- data/spec/api/content_source_release_components_api_spec.rb +33 -1
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +14 -1
- data/spec/api/publications_apt_api_spec.rb +10 -1
- data/spec/api/publications_verbatim_api_spec.rb +10 -1
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +76 -96
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentInstallerPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_packages/ | Create an installer package |
|
8
8
|
| [**list**](ContentInstallerPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_packages/ | List installer packages |
|
9
9
|
| [**read**](ContentInstallerPackagesApi.md#read) | **GET** {deb_installer_package_href} | Inspect an installer package |
|
10
|
+
| [**set_label**](ContentInstallerPackagesApi.md#set_label) | **POST** {deb_installer_package_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentInstallerPackagesApi.md#unset_label) | **POST** {deb_installer_package_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
@@ -31,7 +33,9 @@ end
|
|
31
33
|
|
32
34
|
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
33
35
|
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
34
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
35
39
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
40
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
41
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
@@ -70,7 +74,9 @@ end
|
|
70
74
|
|
71
75
|
| Name | Type | Description | Notes |
|
72
76
|
| ---- | ---- | ----------- | ----- |
|
77
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
73
78
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
79
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
74
80
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
75
81
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
76
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
@@ -113,6 +119,7 @@ end
|
|
113
119
|
|
114
120
|
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
115
121
|
opts = {
|
122
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
116
123
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
117
124
|
auto_built_package: 'auto_built_package_example', # String | Filter results where auto_built_package matches value
|
118
125
|
build_essential: true, # Boolean | Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -123,7 +130,7 @@ opts = {
|
|
123
130
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
124
131
|
multi_arch: 'allowed', # String | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
125
132
|
offset: 56, # Integer | The initial index from which to return the results.
|
126
|
-
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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
133
|
+
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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
127
134
|
origin: 'origin_example', # String | Filter results where origin matches value
|
128
135
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
129
136
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
@@ -132,6 +139,7 @@ opts = {
|
|
132
139
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
133
140
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
134
141
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
142
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
135
143
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
136
144
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
137
145
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -176,6 +184,7 @@ end
|
|
176
184
|
|
177
185
|
| Name | Type | Description | Notes |
|
178
186
|
| ---- | ---- | ----------- | ----- |
|
187
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
179
188
|
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
180
189
|
| **auto_built_package** | **String** | Filter results where auto_built_package matches value | [optional] |
|
181
190
|
| **build_essential** | **Boolean** | Filter results where build_essential matches value * `True` - yes * `False` - no | [optional] |
|
@@ -186,7 +195,7 @@ end
|
|
186
195
|
| **maintainer** | **String** | Filter results where maintainer matches value | [optional] |
|
187
196
|
| **multi_arch** | **String** | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed | [optional] |
|
188
197
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
189
|
-
| **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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
198
|
+
| **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) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
190
199
|
| **origin** | **String** | Filter results where origin matches value | [optional] |
|
191
200
|
| **original_maintainer** | **String** | Filter results where original_maintainer matches value | [optional] |
|
192
201
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
@@ -195,6 +204,7 @@ end
|
|
195
204
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
196
205
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
197
206
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
207
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
198
208
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
199
209
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
200
210
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -244,6 +254,7 @@ end
|
|
244
254
|
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
245
255
|
deb_installer_package_href = 'deb_installer_package_href_example' # String |
|
246
256
|
opts = {
|
257
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
247
258
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
248
259
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
249
260
|
}
|
@@ -280,6 +291,7 @@ end
|
|
280
291
|
| Name | Type | Description | Notes |
|
281
292
|
| ---- | ---- | ----------- | ----- |
|
282
293
|
| **deb_installer_package_href** | **String** | | |
|
294
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
283
295
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
284
296
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
285
297
|
|
@@ -296,3 +308,155 @@ end
|
|
296
308
|
- **Content-Type**: Not defined
|
297
309
|
- **Accept**: application/json
|
298
310
|
|
311
|
+
|
312
|
+
## set_label
|
313
|
+
|
314
|
+
> <SetLabelResponse> set_label(deb_installer_package_href, set_label, opts)
|
315
|
+
|
316
|
+
Set a label
|
317
|
+
|
318
|
+
Set a single pulp_label on the object to a specific value or null.
|
319
|
+
|
320
|
+
### Examples
|
321
|
+
|
322
|
+
```ruby
|
323
|
+
require 'time'
|
324
|
+
require 'pulp_deb_client'
|
325
|
+
# setup authorization
|
326
|
+
PulpDebClient.configure do |config|
|
327
|
+
# Configure HTTP basic authorization: basicAuth
|
328
|
+
config.username = 'YOUR USERNAME'
|
329
|
+
config.password = 'YOUR PASSWORD'
|
330
|
+
end
|
331
|
+
|
332
|
+
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
333
|
+
deb_installer_package_href = 'deb_installer_package_href_example' # String |
|
334
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
335
|
+
opts = {
|
336
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
337
|
+
}
|
338
|
+
|
339
|
+
begin
|
340
|
+
# Set a label
|
341
|
+
result = api_instance.set_label(deb_installer_package_href, set_label, opts)
|
342
|
+
p result
|
343
|
+
rescue PulpDebClient::ApiError => e
|
344
|
+
puts "Error when calling ContentInstallerPackagesApi->set_label: #{e}"
|
345
|
+
end
|
346
|
+
```
|
347
|
+
|
348
|
+
#### Using the set_label_with_http_info variant
|
349
|
+
|
350
|
+
This returns an Array which contains the response data, status code and headers.
|
351
|
+
|
352
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_installer_package_href, set_label, opts)
|
353
|
+
|
354
|
+
```ruby
|
355
|
+
begin
|
356
|
+
# Set a label
|
357
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_installer_package_href, set_label, opts)
|
358
|
+
p status_code # => 2xx
|
359
|
+
p headers # => { ... }
|
360
|
+
p data # => <SetLabelResponse>
|
361
|
+
rescue PulpDebClient::ApiError => e
|
362
|
+
puts "Error when calling ContentInstallerPackagesApi->set_label_with_http_info: #{e}"
|
363
|
+
end
|
364
|
+
```
|
365
|
+
|
366
|
+
### Parameters
|
367
|
+
|
368
|
+
| Name | Type | Description | Notes |
|
369
|
+
| ---- | ---- | ----------- | ----- |
|
370
|
+
| **deb_installer_package_href** | **String** | | |
|
371
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
372
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
373
|
+
|
374
|
+
### Return type
|
375
|
+
|
376
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
377
|
+
|
378
|
+
### Authorization
|
379
|
+
|
380
|
+
[basicAuth](../README.md#basicAuth)
|
381
|
+
|
382
|
+
### HTTP request headers
|
383
|
+
|
384
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
385
|
+
- **Accept**: application/json
|
386
|
+
|
387
|
+
|
388
|
+
## unset_label
|
389
|
+
|
390
|
+
> <UnsetLabelResponse> unset_label(deb_installer_package_href, unset_label, opts)
|
391
|
+
|
392
|
+
Unset a label
|
393
|
+
|
394
|
+
Unset a single pulp_label on the object.
|
395
|
+
|
396
|
+
### Examples
|
397
|
+
|
398
|
+
```ruby
|
399
|
+
require 'time'
|
400
|
+
require 'pulp_deb_client'
|
401
|
+
# setup authorization
|
402
|
+
PulpDebClient.configure do |config|
|
403
|
+
# Configure HTTP basic authorization: basicAuth
|
404
|
+
config.username = 'YOUR USERNAME'
|
405
|
+
config.password = 'YOUR PASSWORD'
|
406
|
+
end
|
407
|
+
|
408
|
+
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
409
|
+
deb_installer_package_href = 'deb_installer_package_href_example' # String |
|
410
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
411
|
+
opts = {
|
412
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
413
|
+
}
|
414
|
+
|
415
|
+
begin
|
416
|
+
# Unset a label
|
417
|
+
result = api_instance.unset_label(deb_installer_package_href, unset_label, opts)
|
418
|
+
p result
|
419
|
+
rescue PulpDebClient::ApiError => e
|
420
|
+
puts "Error when calling ContentInstallerPackagesApi->unset_label: #{e}"
|
421
|
+
end
|
422
|
+
```
|
423
|
+
|
424
|
+
#### Using the unset_label_with_http_info variant
|
425
|
+
|
426
|
+
This returns an Array which contains the response data, status code and headers.
|
427
|
+
|
428
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_installer_package_href, unset_label, opts)
|
429
|
+
|
430
|
+
```ruby
|
431
|
+
begin
|
432
|
+
# Unset a label
|
433
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_installer_package_href, unset_label, opts)
|
434
|
+
p status_code # => 2xx
|
435
|
+
p headers # => { ... }
|
436
|
+
p data # => <UnsetLabelResponse>
|
437
|
+
rescue PulpDebClient::ApiError => e
|
438
|
+
puts "Error when calling ContentInstallerPackagesApi->unset_label_with_http_info: #{e}"
|
439
|
+
end
|
440
|
+
```
|
441
|
+
|
442
|
+
### Parameters
|
443
|
+
|
444
|
+
| Name | Type | Description | Notes |
|
445
|
+
| ---- | ---- | ----------- | ----- |
|
446
|
+
| **deb_installer_package_href** | **String** | | |
|
447
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
448
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
449
|
+
|
450
|
+
### Return type
|
451
|
+
|
452
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
453
|
+
|
454
|
+
### Authorization
|
455
|
+
|
456
|
+
[basicAuth](../README.md#basicAuth)
|
457
|
+
|
458
|
+
### HTTP request headers
|
459
|
+
|
460
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
461
|
+
- **Accept**: application/json
|
462
|
+
|
@@ -7,11 +7,13 @@ All URIs are relative to *http://localhost:24817*
|
|
7
7
|
| [**create**](ContentPackageIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/package_indices/ | Create a package index |
|
8
8
|
| [**list**](ContentPackageIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/package_indices/ | List PackageIndices |
|
9
9
|
| [**read**](ContentPackageIndicesApi.md#read) | **GET** {deb_package_index_href} | Inspect a package index |
|
10
|
+
| [**set_label**](ContentPackageIndicesApi.md#set_label) | **POST** {deb_package_index_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentPackageIndicesApi.md#unset_label) | **POST** {deb_package_index_href}unset_label/ | Unset a label |
|
10
12
|
|
11
13
|
|
12
14
|
## create
|
13
15
|
|
14
|
-
> <DebPackageIndexResponse> create(deb_package_index)
|
16
|
+
> <DebPackageIndexResponse> create(deb_package_index, opts)
|
15
17
|
|
16
18
|
Create a package index
|
17
19
|
|
@@ -31,10 +33,13 @@ end
|
|
31
33
|
|
32
34
|
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
33
35
|
deb_package_index = PulpDebClient::DebPackageIndex.new({artifacts: 3.56}) # DebPackageIndex |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
34
39
|
|
35
40
|
begin
|
36
41
|
# Create a package index
|
37
|
-
result = api_instance.create(deb_package_index)
|
42
|
+
result = api_instance.create(deb_package_index, opts)
|
38
43
|
p result
|
39
44
|
rescue PulpDebClient::ApiError => e
|
40
45
|
puts "Error when calling ContentPackageIndicesApi->create: #{e}"
|
@@ -45,12 +50,12 @@ end
|
|
45
50
|
|
46
51
|
This returns an Array which contains the response data, status code and headers.
|
47
52
|
|
48
|
-
> <Array(<DebPackageIndexResponse>, Integer, Hash)> create_with_http_info(deb_package_index)
|
53
|
+
> <Array(<DebPackageIndexResponse>, Integer, Hash)> create_with_http_info(deb_package_index, opts)
|
49
54
|
|
50
55
|
```ruby
|
51
56
|
begin
|
52
57
|
# Create a package index
|
53
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_package_index)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_package_index, opts)
|
54
59
|
p status_code # => 2xx
|
55
60
|
p headers # => { ... }
|
56
61
|
p data # => <DebPackageIndexResponse>
|
@@ -64,6 +69,7 @@ end
|
|
64
69
|
| Name | Type | Description | Notes |
|
65
70
|
| ---- | ---- | ----------- | ----- |
|
66
71
|
| **deb_package_index** | [**DebPackageIndex**](DebPackageIndex.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
67
73
|
|
68
74
|
### Return type
|
69
75
|
|
@@ -101,15 +107,17 @@ end
|
|
101
107
|
|
102
108
|
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
103
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
104
111
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
105
112
|
component: 'component_example', # String | Filter results where component matches value
|
106
113
|
limit: 56, # Integer | Number of results to return per page.
|
107
114
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
|
-
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) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
115
|
+
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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
116
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
110
117
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
111
118
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
112
119
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
120
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
113
121
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
114
122
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
115
123
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
@@ -151,15 +159,17 @@ end
|
|
151
159
|
|
152
160
|
| Name | Type | Description | Notes |
|
153
161
|
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
154
163
|
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
155
164
|
| **component** | **String** | Filter results where component matches value | [optional] |
|
156
165
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
157
166
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
158
|
-
| **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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
167
|
+
| **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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
159
168
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
160
169
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
161
170
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
162
171
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
172
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
163
173
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
164
174
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
165
175
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -206,6 +216,7 @@ end
|
|
206
216
|
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
207
217
|
deb_package_index_href = 'deb_package_index_href_example' # String |
|
208
218
|
opts = {
|
219
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
209
220
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
210
221
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
211
222
|
}
|
@@ -242,6 +253,7 @@ end
|
|
242
253
|
| Name | Type | Description | Notes |
|
243
254
|
| ---- | ---- | ----------- | ----- |
|
244
255
|
| **deb_package_index_href** | **String** | | |
|
256
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
245
257
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
258
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
247
259
|
|
@@ -258,3 +270,155 @@ end
|
|
258
270
|
- **Content-Type**: Not defined
|
259
271
|
- **Accept**: application/json
|
260
272
|
|
273
|
+
|
274
|
+
## set_label
|
275
|
+
|
276
|
+
> <SetLabelResponse> set_label(deb_package_index_href, set_label, opts)
|
277
|
+
|
278
|
+
Set a label
|
279
|
+
|
280
|
+
Set a single pulp_label on the object to a specific value or null.
|
281
|
+
|
282
|
+
### Examples
|
283
|
+
|
284
|
+
```ruby
|
285
|
+
require 'time'
|
286
|
+
require 'pulp_deb_client'
|
287
|
+
# setup authorization
|
288
|
+
PulpDebClient.configure do |config|
|
289
|
+
# Configure HTTP basic authorization: basicAuth
|
290
|
+
config.username = 'YOUR USERNAME'
|
291
|
+
config.password = 'YOUR PASSWORD'
|
292
|
+
end
|
293
|
+
|
294
|
+
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
295
|
+
deb_package_index_href = 'deb_package_index_href_example' # String |
|
296
|
+
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
297
|
+
opts = {
|
298
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
299
|
+
}
|
300
|
+
|
301
|
+
begin
|
302
|
+
# Set a label
|
303
|
+
result = api_instance.set_label(deb_package_index_href, set_label, opts)
|
304
|
+
p result
|
305
|
+
rescue PulpDebClient::ApiError => e
|
306
|
+
puts "Error when calling ContentPackageIndicesApi->set_label: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
#### Using the set_label_with_http_info variant
|
311
|
+
|
312
|
+
This returns an Array which contains the response data, status code and headers.
|
313
|
+
|
314
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_index_href, set_label, opts)
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
begin
|
318
|
+
# Set a label
|
319
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_index_href, set_label, opts)
|
320
|
+
p status_code # => 2xx
|
321
|
+
p headers # => { ... }
|
322
|
+
p data # => <SetLabelResponse>
|
323
|
+
rescue PulpDebClient::ApiError => e
|
324
|
+
puts "Error when calling ContentPackageIndicesApi->set_label_with_http_info: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
### Parameters
|
329
|
+
|
330
|
+
| Name | Type | Description | Notes |
|
331
|
+
| ---- | ---- | ----------- | ----- |
|
332
|
+
| **deb_package_index_href** | **String** | | |
|
333
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
334
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
335
|
+
|
336
|
+
### Return type
|
337
|
+
|
338
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
339
|
+
|
340
|
+
### Authorization
|
341
|
+
|
342
|
+
[basicAuth](../README.md#basicAuth)
|
343
|
+
|
344
|
+
### HTTP request headers
|
345
|
+
|
346
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
347
|
+
- **Accept**: application/json
|
348
|
+
|
349
|
+
|
350
|
+
## unset_label
|
351
|
+
|
352
|
+
> <UnsetLabelResponse> unset_label(deb_package_index_href, unset_label, opts)
|
353
|
+
|
354
|
+
Unset a label
|
355
|
+
|
356
|
+
Unset a single pulp_label on the object.
|
357
|
+
|
358
|
+
### Examples
|
359
|
+
|
360
|
+
```ruby
|
361
|
+
require 'time'
|
362
|
+
require 'pulp_deb_client'
|
363
|
+
# setup authorization
|
364
|
+
PulpDebClient.configure do |config|
|
365
|
+
# Configure HTTP basic authorization: basicAuth
|
366
|
+
config.username = 'YOUR USERNAME'
|
367
|
+
config.password = 'YOUR PASSWORD'
|
368
|
+
end
|
369
|
+
|
370
|
+
api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
371
|
+
deb_package_index_href = 'deb_package_index_href_example' # String |
|
372
|
+
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
373
|
+
opts = {
|
374
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
375
|
+
}
|
376
|
+
|
377
|
+
begin
|
378
|
+
# Unset a label
|
379
|
+
result = api_instance.unset_label(deb_package_index_href, unset_label, opts)
|
380
|
+
p result
|
381
|
+
rescue PulpDebClient::ApiError => e
|
382
|
+
puts "Error when calling ContentPackageIndicesApi->unset_label: #{e}"
|
383
|
+
end
|
384
|
+
```
|
385
|
+
|
386
|
+
#### Using the unset_label_with_http_info variant
|
387
|
+
|
388
|
+
This returns an Array which contains the response data, status code and headers.
|
389
|
+
|
390
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_index_href, unset_label, opts)
|
391
|
+
|
392
|
+
```ruby
|
393
|
+
begin
|
394
|
+
# Unset a label
|
395
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_index_href, unset_label, opts)
|
396
|
+
p status_code # => 2xx
|
397
|
+
p headers # => { ... }
|
398
|
+
p data # => <UnsetLabelResponse>
|
399
|
+
rescue PulpDebClient::ApiError => e
|
400
|
+
puts "Error when calling ContentPackageIndicesApi->unset_label_with_http_info: #{e}"
|
401
|
+
end
|
402
|
+
```
|
403
|
+
|
404
|
+
### Parameters
|
405
|
+
|
406
|
+
| Name | Type | Description | Notes |
|
407
|
+
| ---- | ---- | ----------- | ----- |
|
408
|
+
| **deb_package_index_href** | **String** | | |
|
409
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
411
|
+
|
412
|
+
### Return type
|
413
|
+
|
414
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
415
|
+
|
416
|
+
### Authorization
|
417
|
+
|
418
|
+
[basicAuth](../README.md#basicAuth)
|
419
|
+
|
420
|
+
### HTTP request headers
|
421
|
+
|
422
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
423
|
+
- **Accept**: application/json
|
424
|
+
|