pulp_deb_client 3.5.1 → 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.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -4
  3. data/docs/ContentGenericContentsApi.md +152 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +150 -2
  5. data/docs/ContentInstallerPackagesApi.md +152 -2
  6. data/docs/ContentPackageIndicesApi.md +150 -2
  7. data/docs/ContentPackageReleaseComponentsApi.md +150 -2
  8. data/docs/ContentPackagesApi.md +152 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +150 -2
  10. data/docs/ContentReleaseComponentsApi.md +150 -2
  11. data/docs/ContentReleaseFilesApi.md +150 -2
  12. data/docs/ContentReleasesApi.md +150 -2
  13. data/docs/ContentSourceIndicesApi.md +150 -2
  14. data/docs/ContentSourcePackagesApi.md +150 -2
  15. data/docs/ContentSourceReleaseComponentsApi.md +150 -2
  16. data/docs/DebGenericContentResponse.md +2 -0
  17. data/docs/DebInstallerFileIndex.md +2 -0
  18. data/docs/DebInstallerFileIndexResponse.md +2 -0
  19. data/docs/DebInstallerPackageResponse.md +2 -0
  20. data/docs/DebPackageIndex.md +2 -0
  21. data/docs/DebPackageIndexResponse.md +2 -0
  22. data/docs/DebPackageReleaseComponent.md +2 -0
  23. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  24. data/docs/DebPackageResponse.md +2 -0
  25. data/docs/DebRelease.md +2 -0
  26. data/docs/DebReleaseArchitecture.md +2 -0
  27. data/docs/DebReleaseArchitectureResponse.md +2 -0
  28. data/docs/DebReleaseComponent.md +2 -0
  29. data/docs/DebReleaseComponentResponse.md +2 -0
  30. data/docs/DebReleaseFile.md +2 -0
  31. data/docs/DebReleaseFileResponse.md +2 -0
  32. data/docs/DebReleaseResponse.md +2 -0
  33. data/docs/DebSourceIndex.md +2 -0
  34. data/docs/DebSourceIndexResponse.md +2 -0
  35. data/docs/DebSourcePackage.md +2 -0
  36. data/docs/DebSourcePackageReleaseComponent.md +2 -0
  37. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  38. data/docs/DebSourcePackageResponse.md +2 -0
  39. data/docs/DistributionsAptApi.md +4 -2
  40. data/docs/PublicationsAptApi.md +4 -2
  41. data/docs/PublicationsVerbatimApi.md +4 -2
  42. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
  43. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
  44. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
  45. data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
  46. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
  47. data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
  48. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
  49. data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
  50. data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
  51. data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
  52. data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
  53. data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
  54. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
  55. data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
  56. data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
  57. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -3
  58. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
  59. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
  60. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
  61. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
  62. data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
  63. data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
  64. data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
  65. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
  66. data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
  67. data/lib/pulp_deb_client/models/deb_release.rb +13 -1
  68. data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
  69. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
  70. data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
  71. data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
  72. data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
  73. data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
  74. data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
  75. data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
  76. data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
  77. data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
  78. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
  79. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
  80. data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
  81. data/lib/pulp_deb_client/models/unset_label.rb +1 -1
  82. data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
  83. data/lib/pulp_deb_client/version.rb +1 -1
  84. data/pulp_deb_client.gemspec +0 -1
  85. data/spec/api/content_generic_contents_api_spec.rb +29 -1
  86. data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
  87. data/spec/api/content_installer_packages_api_spec.rb +29 -1
  88. data/spec/api/content_package_indices_api_spec.rb +28 -1
  89. data/spec/api/content_package_release_components_api_spec.rb +28 -1
  90. data/spec/api/content_packages_api_spec.rb +29 -1
  91. data/spec/api/content_release_architectures_api_spec.rb +28 -1
  92. data/spec/api/content_release_components_api_spec.rb +28 -1
  93. data/spec/api/content_release_files_api_spec.rb +28 -1
  94. data/spec/api/content_releases_api_spec.rb +28 -1
  95. data/spec/api/content_source_indices_api_spec.rb +28 -1
  96. data/spec/api/content_source_packages_api_spec.rb +28 -1
  97. data/spec/api/content_source_release_components_api_spec.rb +28 -1
  98. data/spec/api/distributions_apt_api_spec.rb +2 -1
  99. data/spec/api/publications_apt_api_spec.rb +2 -1
  100. data/spec/api/publications_verbatim_api_spec.rb +2 -1
  101. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  102. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  103. data/spec/models/deb_installer_file_index_spec.rb +6 -0
  104. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  105. data/spec/models/deb_package_index_response_spec.rb +6 -0
  106. data/spec/models/deb_package_index_spec.rb +6 -0
  107. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  108. data/spec/models/deb_package_release_component_spec.rb +6 -0
  109. data/spec/models/deb_package_response_spec.rb +6 -0
  110. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  111. data/spec/models/deb_release_architecture_spec.rb +6 -0
  112. data/spec/models/deb_release_component_response_spec.rb +6 -0
  113. data/spec/models/deb_release_component_spec.rb +6 -0
  114. data/spec/models/deb_release_file_response_spec.rb +6 -0
  115. data/spec/models/deb_release_file_spec.rb +6 -0
  116. data/spec/models/deb_release_response_spec.rb +6 -0
  117. data/spec/models/deb_release_spec.rb +6 -0
  118. data/spec/models/deb_source_index_response_spec.rb +6 -0
  119. data/spec/models/deb_source_index_spec.rb +6 -0
  120. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  121. data/spec/models/deb_source_package_release_component_spec.rb +6 -0
  122. data/spec/models/deb_source_package_response_spec.rb +6 -0
  123. data/spec/models/deb_source_package_spec.rb +6 -0
  124. metadata +73 -93
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 294ad214daa061d76990978c0c6b63b8992376db00b4af0399f53f3697770be6
4
- data.tar.gz: 841ba108160c48b4e9aa2fcb9026c94c8562120c4f2866b9230862ef0266c087
3
+ metadata.gz: e780b0fe826e87c9d44466cb12d652352877eef1d6f281f8e1589b0aeb18c862
4
+ data.tar.gz: 2568cd6035c457cec8e7a5c2cc1588c1170bfa86886e5f852dc9099d6fc28b21
5
5
  SHA512:
6
- metadata.gz: 420b04ea8c8555e670eb7b7ab784f352e80b12546b348606258b89b0797a876c29d7f7419340c2f0a1645ed2006cdd902d8bb717ee6bce312ed3e76d8c03f7ab
7
- data.tar.gz: f32558ad8ae703fe7dda1f4fdc3eda043a00683315bbec0d4d7467ff06b5f7ef5f528ff8eaba2a6630c714e81c5df9e85b3fdf2864ed576fa87a00d19e247c49
6
+ metadata.gz: c2a240cf3518888a6ef310f8c740bad05b010390bb8329e199293a3dfd302d3b4044803b07a281b83befad84c841103a2dca2fd4b643227769d505a81da880f7
7
+ data.tar.gz: 18113d8c32ba64a43661f4990ff88e21cb5e83bab2d53df618b52b285c79467ac02e371cd0f78d6070ab186ba6079768130ca223a404c932eca7faa0961e6793
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.5.1
10
+ - Package version: 3.5.2
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_deb_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_deb_client-3.5.1.gem
28
+ gem install ./pulp_deb_client-3.5.2.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_deb_client-3.5.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_deb_client-3.5.2.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_deb_client', '~> 3.5.1'
37
+ gem 'pulp_deb_client', '~> 3.5.2'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -71,6 +71,7 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
71
71
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
72
72
  opts = {
73
73
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
74
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
74
75
  artifact: 'artifact_example', # String | Artifact file representing the physical content
75
76
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
76
77
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -96,42 +97,68 @@ Class | Method | HTTP request | Description
96
97
  *PulpDebClient::ContentGenericContentsApi* | [**create**](docs/ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
97
98
  *PulpDebClient::ContentGenericContentsApi* | [**list**](docs/ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
98
99
  *PulpDebClient::ContentGenericContentsApi* | [**read**](docs/ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content
100
+ *PulpDebClient::ContentGenericContentsApi* | [**set_label**](docs/ContentGenericContentsApi.md#set_label) | **POST** {deb_generic_content_href}set_label/ | Set a label
101
+ *PulpDebClient::ContentGenericContentsApi* | [**unset_label**](docs/ContentGenericContentsApi.md#unset_label) | **POST** {deb_generic_content_href}unset_label/ | Unset a label
99
102
  *PulpDebClient::ContentInstallerFileIndicesApi* | [**create**](docs/ContentInstallerFileIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_file_indices/ | Create an installer file index
100
103
  *PulpDebClient::ContentInstallerFileIndicesApi* | [**list**](docs/ContentInstallerFileIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_file_indices/ | List InstallerFileIndices
101
104
  *PulpDebClient::ContentInstallerFileIndicesApi* | [**read**](docs/ContentInstallerFileIndicesApi.md#read) | **GET** {deb_installer_file_index_href} | Inspect an installer file index
105
+ *PulpDebClient::ContentInstallerFileIndicesApi* | [**set_label**](docs/ContentInstallerFileIndicesApi.md#set_label) | **POST** {deb_installer_file_index_href}set_label/ | Set a label
106
+ *PulpDebClient::ContentInstallerFileIndicesApi* | [**unset_label**](docs/ContentInstallerFileIndicesApi.md#unset_label) | **POST** {deb_installer_file_index_href}unset_label/ | Unset a label
102
107
  *PulpDebClient::ContentInstallerPackagesApi* | [**create**](docs/ContentInstallerPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_packages/ | Create an installer package
103
108
  *PulpDebClient::ContentInstallerPackagesApi* | [**list**](docs/ContentInstallerPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_packages/ | List installer packages
104
109
  *PulpDebClient::ContentInstallerPackagesApi* | [**read**](docs/ContentInstallerPackagesApi.md#read) | **GET** {deb_installer_package_href} | Inspect an installer package
110
+ *PulpDebClient::ContentInstallerPackagesApi* | [**set_label**](docs/ContentInstallerPackagesApi.md#set_label) | **POST** {deb_installer_package_href}set_label/ | Set a label
111
+ *PulpDebClient::ContentInstallerPackagesApi* | [**unset_label**](docs/ContentInstallerPackagesApi.md#unset_label) | **POST** {deb_installer_package_href}unset_label/ | Unset a label
105
112
  *PulpDebClient::ContentPackageIndicesApi* | [**create**](docs/ContentPackageIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/package_indices/ | Create a package index
106
113
  *PulpDebClient::ContentPackageIndicesApi* | [**list**](docs/ContentPackageIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/package_indices/ | List PackageIndices
107
114
  *PulpDebClient::ContentPackageIndicesApi* | [**read**](docs/ContentPackageIndicesApi.md#read) | **GET** {deb_package_index_href} | Inspect a package index
115
+ *PulpDebClient::ContentPackageIndicesApi* | [**set_label**](docs/ContentPackageIndicesApi.md#set_label) | **POST** {deb_package_index_href}set_label/ | Set a label
116
+ *PulpDebClient::ContentPackageIndicesApi* | [**unset_label**](docs/ContentPackageIndicesApi.md#unset_label) | **POST** {deb_package_index_href}unset_label/ | Unset a label
108
117
  *PulpDebClient::ContentPackageReleaseComponentsApi* | [**create**](docs/ContentPackageReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/package_release_components/ | Create a package release component
109
118
  *PulpDebClient::ContentPackageReleaseComponentsApi* | [**list**](docs/ContentPackageReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/package_release_components/ | List package release components
110
119
  *PulpDebClient::ContentPackageReleaseComponentsApi* | [**read**](docs/ContentPackageReleaseComponentsApi.md#read) | **GET** {deb_package_release_component_href} | Inspect a package release component
120
+ *PulpDebClient::ContentPackageReleaseComponentsApi* | [**set_label**](docs/ContentPackageReleaseComponentsApi.md#set_label) | **POST** {deb_package_release_component_href}set_label/ | Set a label
121
+ *PulpDebClient::ContentPackageReleaseComponentsApi* | [**unset_label**](docs/ContentPackageReleaseComponentsApi.md#unset_label) | **POST** {deb_package_release_component_href}unset_label/ | Unset a label
111
122
  *PulpDebClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package
112
123
  *PulpDebClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages
113
124
  *PulpDebClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package
125
+ *PulpDebClient::ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {deb_package_href}set_label/ | Set a label
126
+ *PulpDebClient::ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {deb_package_href}unset_label/ | Unset a label
114
127
  *PulpDebClient::ContentReleaseArchitecturesApi* | [**create**](docs/ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture
115
128
  *PulpDebClient::ContentReleaseArchitecturesApi* | [**list**](docs/ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures
116
129
  *PulpDebClient::ContentReleaseArchitecturesApi* | [**read**](docs/ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture
130
+ *PulpDebClient::ContentReleaseArchitecturesApi* | [**set_label**](docs/ContentReleaseArchitecturesApi.md#set_label) | **POST** {deb_release_architecture_href}set_label/ | Set a label
131
+ *PulpDebClient::ContentReleaseArchitecturesApi* | [**unset_label**](docs/ContentReleaseArchitecturesApi.md#unset_label) | **POST** {deb_release_architecture_href}unset_label/ | Unset a label
117
132
  *PulpDebClient::ContentReleaseComponentsApi* | [**create**](docs/ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component
118
133
  *PulpDebClient::ContentReleaseComponentsApi* | [**list**](docs/ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components
119
134
  *PulpDebClient::ContentReleaseComponentsApi* | [**read**](docs/ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component
135
+ *PulpDebClient::ContentReleaseComponentsApi* | [**set_label**](docs/ContentReleaseComponentsApi.md#set_label) | **POST** {deb_release_component_href}set_label/ | Set a label
136
+ *PulpDebClient::ContentReleaseComponentsApi* | [**unset_label**](docs/ContentReleaseComponentsApi.md#unset_label) | **POST** {deb_release_component_href}unset_label/ | Unset a label
120
137
  *PulpDebClient::ContentReleaseFilesApi* | [**create**](docs/ContentReleaseFilesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_files/ | Create a release file
121
138
  *PulpDebClient::ContentReleaseFilesApi* | [**list**](docs/ContentReleaseFilesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_files/ | List release files
122
139
  *PulpDebClient::ContentReleaseFilesApi* | [**read**](docs/ContentReleaseFilesApi.md#read) | **GET** {deb_release_file_href} | Inspect a release file
140
+ *PulpDebClient::ContentReleaseFilesApi* | [**set_label**](docs/ContentReleaseFilesApi.md#set_label) | **POST** {deb_release_file_href}set_label/ | Set a label
141
+ *PulpDebClient::ContentReleaseFilesApi* | [**unset_label**](docs/ContentReleaseFilesApi.md#unset_label) | **POST** {deb_release_file_href}unset_label/ | Unset a label
123
142
  *PulpDebClient::ContentReleasesApi* | [**create**](docs/ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
124
143
  *PulpDebClient::ContentReleasesApi* | [**list**](docs/ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
125
144
  *PulpDebClient::ContentReleasesApi* | [**read**](docs/ContentReleasesApi.md#read) | **GET** {deb_release_href} | Inspect a release
145
+ *PulpDebClient::ContentReleasesApi* | [**set_label**](docs/ContentReleasesApi.md#set_label) | **POST** {deb_release_href}set_label/ | Set a label
146
+ *PulpDebClient::ContentReleasesApi* | [**unset_label**](docs/ContentReleasesApi.md#unset_label) | **POST** {deb_release_href}unset_label/ | Unset a label
126
147
  *PulpDebClient::ContentSourceIndicesApi* | [**create**](docs/ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index
127
148
  *PulpDebClient::ContentSourceIndicesApi* | [**list**](docs/ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices
128
149
  *PulpDebClient::ContentSourceIndicesApi* | [**read**](docs/ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index
150
+ *PulpDebClient::ContentSourceIndicesApi* | [**set_label**](docs/ContentSourceIndicesApi.md#set_label) | **POST** {deb_source_index_href}set_label/ | Set a label
151
+ *PulpDebClient::ContentSourceIndicesApi* | [**unset_label**](docs/ContentSourceIndicesApi.md#unset_label) | **POST** {deb_source_index_href}unset_label/ | Unset a label
129
152
  *PulpDebClient::ContentSourcePackagesApi* | [**create**](docs/ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package
130
153
  *PulpDebClient::ContentSourcePackagesApi* | [**list**](docs/ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages
131
154
  *PulpDebClient::ContentSourcePackagesApi* | [**read**](docs/ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package
155
+ *PulpDebClient::ContentSourcePackagesApi* | [**set_label**](docs/ContentSourcePackagesApi.md#set_label) | **POST** {deb_source_package_href}set_label/ | Set a label
156
+ *PulpDebClient::ContentSourcePackagesApi* | [**unset_label**](docs/ContentSourcePackagesApi.md#unset_label) | **POST** {deb_source_package_href}unset_label/ | Unset a label
132
157
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**create**](docs/ContentSourceReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/source_release_components/ | Create a source package release component
133
158
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**list**](docs/ContentSourceReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/source_release_components/ | List source package release components
134
159
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**read**](docs/ContentSourceReleaseComponentsApi.md#read) | **GET** {deb_source_package_release_component_href} | Inspect a source package release component
160
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**set_label**](docs/ContentSourceReleaseComponentsApi.md#set_label) | **POST** {deb_source_package_release_component_href}set_label/ | Set a label
161
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**unset_label**](docs/ContentSourceReleaseComponentsApi.md#unset_label) | **POST** {deb_source_package_release_component_href}unset_label/ | Unset a label
135
162
  *PulpDebClient::DebCopyApi* | [**copy_content**](docs/DebCopyApi.md#copy_content) | **POST** /pulp/api/v3/deb/copy/ | Copy content
136
163
  *PulpDebClient::DistributionsAptApi* | [**add_role**](docs/DistributionsAptApi.md#add_role) | **POST** {deb_apt_distribution_href}add_role/ | Add a role
137
164
  *PulpDebClient::DistributionsAptApi* | [**create**](docs/DistributionsAptApi.md#create) | **POST** /pulp/api/v3/distributions/deb/apt/ | Create an apt distribution
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content |
8
8
  | [**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents |
9
9
  | [**read**](ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content |
10
+ | [**set_label**](ContentGenericContentsApi.md#set_label) | **POST** {deb_generic_content_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentGenericContentsApi.md#unset_label) | **POST** {deb_generic_content_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -33,6 +35,7 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
33
35
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
34
36
  opts = {
35
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.
36
39
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
40
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
41
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -72,6 +75,7 @@ end
72
75
  | ---- | ---- | ----------- | ----- |
73
76
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
74
77
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
78
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
75
79
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
76
80
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
77
81
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
@@ -115,11 +119,12 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
115
119
  opts = {
116
120
  limit: 56, # Integer | Number of results to return per page.
117
121
  offset: 56, # Integer | The initial index from which to return the results.
118
- ordering: ['-pk'], # 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
122
+ ordering: ['-pk'], # 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
119
123
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
120
124
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
121
125
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
122
126
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
127
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
123
128
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
124
129
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
125
130
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -163,11 +168,12 @@ end
163
168
  | ---- | ---- | ----------- | ----- |
164
169
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
165
170
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
166
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
171
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
167
172
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
168
173
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
174
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
170
175
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
176
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
171
177
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
172
178
  | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
173
179
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -266,3 +272,147 @@ end
266
272
  - **Content-Type**: Not defined
267
273
  - **Accept**: application/json
268
274
 
275
+
276
+ ## set_label
277
+
278
+ > <SetLabelResponse> set_label(deb_generic_content_href, set_label)
279
+
280
+ Set a label
281
+
282
+ Set a single pulp_label on the object to a specific value or null.
283
+
284
+ ### Examples
285
+
286
+ ```ruby
287
+ require 'time'
288
+ require 'pulp_deb_client'
289
+ # setup authorization
290
+ PulpDebClient.configure do |config|
291
+ # Configure HTTP basic authorization: basicAuth
292
+ config.username = 'YOUR USERNAME'
293
+ config.password = 'YOUR PASSWORD'
294
+ end
295
+
296
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
297
+ deb_generic_content_href = 'deb_generic_content_href_example' # String |
298
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
299
+
300
+ begin
301
+ # Set a label
302
+ result = api_instance.set_label(deb_generic_content_href, set_label)
303
+ p result
304
+ rescue PulpDebClient::ApiError => e
305
+ puts "Error when calling ContentGenericContentsApi->set_label: #{e}"
306
+ end
307
+ ```
308
+
309
+ #### Using the set_label_with_http_info variant
310
+
311
+ This returns an Array which contains the response data, status code and headers.
312
+
313
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_generic_content_href, set_label)
314
+
315
+ ```ruby
316
+ begin
317
+ # Set a label
318
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_generic_content_href, set_label)
319
+ p status_code # => 2xx
320
+ p headers # => { ... }
321
+ p data # => <SetLabelResponse>
322
+ rescue PulpDebClient::ApiError => e
323
+ puts "Error when calling ContentGenericContentsApi->set_label_with_http_info: #{e}"
324
+ end
325
+ ```
326
+
327
+ ### Parameters
328
+
329
+ | Name | Type | Description | Notes |
330
+ | ---- | ---- | ----------- | ----- |
331
+ | **deb_generic_content_href** | **String** | | |
332
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
333
+
334
+ ### Return type
335
+
336
+ [**SetLabelResponse**](SetLabelResponse.md)
337
+
338
+ ### Authorization
339
+
340
+ [basicAuth](../README.md#basicAuth)
341
+
342
+ ### HTTP request headers
343
+
344
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
345
+ - **Accept**: application/json
346
+
347
+
348
+ ## unset_label
349
+
350
+ > <UnsetLabelResponse> unset_label(deb_generic_content_href, unset_label)
351
+
352
+ Unset a label
353
+
354
+ Unset a single pulp_label on the object.
355
+
356
+ ### Examples
357
+
358
+ ```ruby
359
+ require 'time'
360
+ require 'pulp_deb_client'
361
+ # setup authorization
362
+ PulpDebClient.configure do |config|
363
+ # Configure HTTP basic authorization: basicAuth
364
+ config.username = 'YOUR USERNAME'
365
+ config.password = 'YOUR PASSWORD'
366
+ end
367
+
368
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
369
+ deb_generic_content_href = 'deb_generic_content_href_example' # String |
370
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
371
+
372
+ begin
373
+ # Unset a label
374
+ result = api_instance.unset_label(deb_generic_content_href, unset_label)
375
+ p result
376
+ rescue PulpDebClient::ApiError => e
377
+ puts "Error when calling ContentGenericContentsApi->unset_label: #{e}"
378
+ end
379
+ ```
380
+
381
+ #### Using the unset_label_with_http_info variant
382
+
383
+ This returns an Array which contains the response data, status code and headers.
384
+
385
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_generic_content_href, unset_label)
386
+
387
+ ```ruby
388
+ begin
389
+ # Unset a label
390
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_generic_content_href, unset_label)
391
+ p status_code # => 2xx
392
+ p headers # => { ... }
393
+ p data # => <UnsetLabelResponse>
394
+ rescue PulpDebClient::ApiError => e
395
+ puts "Error when calling ContentGenericContentsApi->unset_label_with_http_info: #{e}"
396
+ end
397
+ ```
398
+
399
+ ### Parameters
400
+
401
+ | Name | Type | Description | Notes |
402
+ | ---- | ---- | ----------- | ----- |
403
+ | **deb_generic_content_href** | **String** | | |
404
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
405
+
406
+ ### Return type
407
+
408
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
409
+
410
+ ### Authorization
411
+
412
+ [basicAuth](../README.md#basicAuth)
413
+
414
+ ### HTTP request headers
415
+
416
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
417
+ - **Accept**: application/json
418
+
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentInstallerFileIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_file_indices/ | Create an installer file index |
8
8
  | [**list**](ContentInstallerFileIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_file_indices/ | List InstallerFileIndices |
9
9
  | [**read**](ContentInstallerFileIndicesApi.md#read) | **GET** {deb_installer_file_index_href} | Inspect an installer file index |
10
+ | [**set_label**](ContentInstallerFileIndicesApi.md#set_label) | **POST** {deb_installer_file_index_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentInstallerFileIndicesApi.md#unset_label) | **POST** {deb_installer_file_index_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -105,11 +107,12 @@ opts = {
105
107
  component: 'component_example', # String | Filter results where component matches value
106
108
  limit: 56, # Integer | Number of results to return per page.
107
109
  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) * `pk` - Pk * `-pk` - Pk (descending)
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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
109
111
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
110
112
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
111
113
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
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
113
116
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
114
117
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
115
118
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -155,11 +158,12 @@ end
155
158
  | **component** | **String** | Filter results where component matches value | [optional] |
156
159
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
157
160
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
158
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
161
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
159
162
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
160
163
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
161
164
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
162
165
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
166
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
163
167
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
164
168
  | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
165
169
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -258,3 +262,147 @@ end
258
262
  - **Content-Type**: Not defined
259
263
  - **Accept**: application/json
260
264
 
265
+
266
+ ## set_label
267
+
268
+ > <SetLabelResponse> set_label(deb_installer_file_index_href, set_label)
269
+
270
+ Set a label
271
+
272
+ Set a single pulp_label on the object to a specific value or null.
273
+
274
+ ### Examples
275
+
276
+ ```ruby
277
+ require 'time'
278
+ require 'pulp_deb_client'
279
+ # setup authorization
280
+ PulpDebClient.configure do |config|
281
+ # Configure HTTP basic authorization: basicAuth
282
+ config.username = 'YOUR USERNAME'
283
+ config.password = 'YOUR PASSWORD'
284
+ end
285
+
286
+ api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
287
+ deb_installer_file_index_href = 'deb_installer_file_index_href_example' # String |
288
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
289
+
290
+ begin
291
+ # Set a label
292
+ result = api_instance.set_label(deb_installer_file_index_href, set_label)
293
+ p result
294
+ rescue PulpDebClient::ApiError => e
295
+ puts "Error when calling ContentInstallerFileIndicesApi->set_label: #{e}"
296
+ end
297
+ ```
298
+
299
+ #### Using the set_label_with_http_info variant
300
+
301
+ This returns an Array which contains the response data, status code and headers.
302
+
303
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_installer_file_index_href, set_label)
304
+
305
+ ```ruby
306
+ begin
307
+ # Set a label
308
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_installer_file_index_href, set_label)
309
+ p status_code # => 2xx
310
+ p headers # => { ... }
311
+ p data # => <SetLabelResponse>
312
+ rescue PulpDebClient::ApiError => e
313
+ puts "Error when calling ContentInstallerFileIndicesApi->set_label_with_http_info: #{e}"
314
+ end
315
+ ```
316
+
317
+ ### Parameters
318
+
319
+ | Name | Type | Description | Notes |
320
+ | ---- | ---- | ----------- | ----- |
321
+ | **deb_installer_file_index_href** | **String** | | |
322
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
323
+
324
+ ### Return type
325
+
326
+ [**SetLabelResponse**](SetLabelResponse.md)
327
+
328
+ ### Authorization
329
+
330
+ [basicAuth](../README.md#basicAuth)
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
335
+ - **Accept**: application/json
336
+
337
+
338
+ ## unset_label
339
+
340
+ > <UnsetLabelResponse> unset_label(deb_installer_file_index_href, unset_label)
341
+
342
+ Unset a label
343
+
344
+ Unset a single pulp_label on the object.
345
+
346
+ ### Examples
347
+
348
+ ```ruby
349
+ require 'time'
350
+ require 'pulp_deb_client'
351
+ # setup authorization
352
+ PulpDebClient.configure do |config|
353
+ # Configure HTTP basic authorization: basicAuth
354
+ config.username = 'YOUR USERNAME'
355
+ config.password = 'YOUR PASSWORD'
356
+ end
357
+
358
+ api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
359
+ deb_installer_file_index_href = 'deb_installer_file_index_href_example' # String |
360
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
361
+
362
+ begin
363
+ # Unset a label
364
+ result = api_instance.unset_label(deb_installer_file_index_href, unset_label)
365
+ p result
366
+ rescue PulpDebClient::ApiError => e
367
+ puts "Error when calling ContentInstallerFileIndicesApi->unset_label: #{e}"
368
+ end
369
+ ```
370
+
371
+ #### Using the unset_label_with_http_info variant
372
+
373
+ This returns an Array which contains the response data, status code and headers.
374
+
375
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_installer_file_index_href, unset_label)
376
+
377
+ ```ruby
378
+ begin
379
+ # Unset a label
380
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_installer_file_index_href, unset_label)
381
+ p status_code # => 2xx
382
+ p headers # => { ... }
383
+ p data # => <UnsetLabelResponse>
384
+ rescue PulpDebClient::ApiError => e
385
+ puts "Error when calling ContentInstallerFileIndicesApi->unset_label_with_http_info: #{e}"
386
+ end
387
+ ```
388
+
389
+ ### Parameters
390
+
391
+ | Name | Type | Description | Notes |
392
+ | ---- | ---- | ----------- | ----- |
393
+ | **deb_installer_file_index_href** | **String** | | |
394
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
395
+
396
+ ### Return type
397
+
398
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
399
+
400
+ ### Authorization
401
+
402
+ [basicAuth](../README.md#basicAuth)
403
+
404
+ ### HTTP request headers
405
+
406
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
407
+ - **Accept**: application/json
408
+