pulp_deb_client 3.0.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -6
  3. data/docs/ContentGenericContentsApi.md +4 -4
  4. data/docs/ContentInstallerPackagesApi.md +4 -4
  5. data/docs/ContentPackagesApi.md +20 -4
  6. data/docs/ContentSourceIndicesApi.md +204 -0
  7. data/docs/ContentSourcePackagesApi.md +258 -0
  8. data/docs/ContentSourceReleaseComponentsApi.md +202 -0
  9. data/docs/DebGenericContent.md +2 -2
  10. data/docs/DebInstallerPackage.md +2 -2
  11. data/docs/DebPackage.md +2 -2
  12. data/docs/DebSourceIndex.md +25 -0
  13. data/docs/DebSourceIndexResponse.md +27 -0
  14. data/docs/DebSourcePackage.md +21 -0
  15. data/docs/DebSourcePackageReleaseComponent.md +21 -0
  16. data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
  17. data/docs/DebSourcePackageResponse.md +77 -0
  18. data/docs/PaginateddebSourceIndexResponseList.md +23 -0
  19. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
  20. data/docs/PaginateddebSourcePackageResponseList.md +23 -0
  21. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +4 -4
  22. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +4 -4
  23. data/lib/pulp_deb_client/api/content_packages_api.rb +28 -4
  24. data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
  25. data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
  26. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
  27. data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
  28. data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
  29. data/lib/pulp_deb_client/models/deb_package.rb +2 -2
  30. data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
  31. data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
  32. data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
  33. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
  34. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
  35. data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
  36. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
  37. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
  38. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
  39. data/lib/pulp_deb_client/version.rb +1 -1
  40. data/lib/pulp_deb_client.rb +12 -0
  41. data/spec/api/content_generic_contents_api_spec.rb +2 -2
  42. data/spec/api/content_installer_packages_api_spec.rb +2 -2
  43. data/spec/api/content_packages_api_spec.rb +10 -2
  44. data/spec/api/content_source_indices_api_spec.rb +86 -0
  45. data/spec/api/content_source_packages_api_spec.rb +113 -0
  46. data/spec/api/content_source_release_components_api_spec.rb +85 -0
  47. data/spec/models/deb_source_index_response_spec.rb +71 -0
  48. data/spec/models/deb_source_index_spec.rb +65 -0
  49. data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
  50. data/spec/models/deb_source_package_release_component_spec.rb +53 -0
  51. data/spec/models/deb_source_package_response_spec.rb +221 -0
  52. data/spec/models/deb_source_package_spec.rb +53 -0
  53. data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
  54. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
  55. data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
  56. metadata +110 -62
@@ -0,0 +1,258 @@
1
+ # PulpDebClient::ContentSourcePackagesApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package
8
+ [**list**](ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages
9
+ [**read**](ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > AsyncOperationResponse create(deb_source_package)
16
+
17
+ Create a source package
18
+
19
+ Trigger an asynchronous task to create content,optionally create new repository version.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_deb_client'
26
+ # setup authorization
27
+ PulpDebClient.configure do |config|
28
+ # Configure HTTP basic authorization: basicAuth
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDebClient::ContentSourcePackagesApi.new
34
+ deb_source_package = PulpDebClient::DebSourcePackage.new # DebSourcePackage |
35
+
36
+ begin
37
+ #Create a source package
38
+ result = api_instance.create(deb_source_package)
39
+ p result
40
+ rescue PulpDebClient::ApiError => e
41
+ puts "Exception when calling ContentSourcePackagesApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **deb_source_package** | [**DebSourcePackage**](DebSourcePackage.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
55
+
56
+ ### Authorization
57
+
58
+ [basicAuth](../README.md#basicAuth)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > PaginateddebSourcePackageResponseList list(opts)
69
+
70
+ List source packages
71
+
72
+ A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_deb_client'
79
+ # setup authorization
80
+ PulpDebClient.configure do |config|
81
+ # Configure HTTP basic authorization: basicAuth
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpDebClient::ContentSourcePackagesApi.new
87
+ opts = {
88
+ architecture: 'architecture_example', # String | Filter results where architecture matches value
89
+ binary: 'binary_example', # String | Filter results where binary matches value
90
+ build_conflicts: 'build_conflicts_example', # String | Filter results where build_conflicts matches value
91
+ build_conflicts_arch: 'build_conflicts_arch_example', # String | Filter results where build_conflicts_arch matches value
92
+ build_conflicts_indep: 'build_conflicts_indep_example', # String | Filter results where build_conflicts_indep matches value
93
+ build_depends: 'build_depends_example', # String | Filter results where build_depends matches value
94
+ build_depends_arch: 'build_depends_arch_example', # String | Filter results where build_depends_arch matches value
95
+ build_depends_indep: 'build_depends_indep_example', # String | Filter results where build_depends_indep matches value
96
+ dgit: 'dgit_example', # String | Filter results where dgit matches value
97
+ format: 'format_example', # String | Filter results where format matches value
98
+ homepage: 'homepage_example', # String | Filter results where homepage matches value
99
+ limit: 56, # Integer | Number of results to return per page.
100
+ maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
101
+ offset: 56, # Integer | The initial index from which to return the results.
102
+ ordering: ['ordering_example'], # 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) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
103
+ package_list: 'package_list_example', # String | Filter results where package_list matches value
104
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
105
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
106
+ q: 'q_example', # String |
107
+ relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
108
+ release: 'release_example', # String | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
109
+ release_component: 'release_component_example', # String | Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
110
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
111
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
112
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
113
+ source: 'source_example', # String | Filter results where source matches value
114
+ standards_version: 'standards_version_example', # String | Filter results where standards_version matches value
115
+ testsuite: 'testsuite_example', # String | Filter results where testsuite matches value
116
+ uploaders: 'uploaders_example', # String | Filter results where uploaders matches value
117
+ vcs_arch: 'vcs_arch_example', # String | Filter results where vcs_arch matches value
118
+ vcs_browser: 'vcs_browser_example', # String | Filter results where vcs_browser matches value
119
+ vcs_bzr: 'vcs_bzr_example', # String | Filter results where vcs_bzr matches value
120
+ vcs_cvs: 'vcs_cvs_example', # String | Filter results where vcs_cvs matches value
121
+ vcs_darcs: 'vcs_darcs_example', # String | Filter results where vcs_darcs matches value
122
+ vcs_git: 'vcs_git_example', # String | Filter results where vcs_git matches value
123
+ vcs_hg: 'vcs_hg_example', # String | Filter results where vcs_hg matches value
124
+ vcs_mtn: 'vcs_mtn_example', # String | Filter results where vcs_mtn matches value
125
+ vcs_snv: 'vcs_snv_example', # String | Filter results where vcs_snv matches value
126
+ version: 'version_example', # String | Filter results where version matches value
127
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
128
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
129
+ }
130
+
131
+ begin
132
+ #List source packages
133
+ result = api_instance.list(opts)
134
+ p result
135
+ rescue PulpDebClient::ApiError => e
136
+ puts "Exception when calling ContentSourcePackagesApi->list: #{e}"
137
+ end
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+
143
+ Name | Type | Description | Notes
144
+ ------------- | ------------- | ------------- | -------------
145
+ **architecture** | **String**| Filter results where architecture matches value | [optional]
146
+ **binary** | **String**| Filter results where binary matches value | [optional]
147
+ **build_conflicts** | **String**| Filter results where build_conflicts matches value | [optional]
148
+ **build_conflicts_arch** | **String**| Filter results where build_conflicts_arch matches value | [optional]
149
+ **build_conflicts_indep** | **String**| Filter results where build_conflicts_indep matches value | [optional]
150
+ **build_depends** | **String**| Filter results where build_depends matches value | [optional]
151
+ **build_depends_arch** | **String**| Filter results where build_depends_arch matches value | [optional]
152
+ **build_depends_indep** | **String**| Filter results where build_depends_indep matches value | [optional]
153
+ **dgit** | **String**| Filter results where dgit matches value | [optional]
154
+ **format** | **String**| Filter results where format matches value | [optional]
155
+ **homepage** | **String**| Filter results where homepage matches value | [optional]
156
+ **limit** | **Integer**| Number of results to return per page. | [optional]
157
+ **maintainer** | **String**| Filter results where maintainer matches value | [optional]
158
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
159
+ **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;format&#x60; - Format * &#x60;-format&#x60; - Format (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;binary&#x60; - Binary * &#x60;-binary&#x60; - Binary (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;uploaders&#x60; - Uploaders * &#x60;-uploaders&#x60; - Uploaders (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;vcs_browser&#x60; - Vcs browser * &#x60;-vcs_browser&#x60; - Vcs browser (descending) * &#x60;vcs_arch&#x60; - Vcs arch * &#x60;-vcs_arch&#x60; - Vcs arch (descending) * &#x60;vcs_bzr&#x60; - Vcs bzr * &#x60;-vcs_bzr&#x60; - Vcs bzr (descending) * &#x60;vcs_cvs&#x60; - Vcs cvs * &#x60;-vcs_cvs&#x60; - Vcs cvs (descending) * &#x60;vcs_darcs&#x60; - Vcs darcs * &#x60;-vcs_darcs&#x60; - Vcs darcs (descending) * &#x60;vcs_git&#x60; - Vcs git * &#x60;-vcs_git&#x60; - Vcs git (descending) * &#x60;vcs_hg&#x60; - Vcs hg * &#x60;-vcs_hg&#x60; - Vcs hg (descending) * &#x60;vcs_mtn&#x60; - Vcs mtn * &#x60;-vcs_mtn&#x60; - Vcs mtn (descending) * &#x60;vcs_snv&#x60; - Vcs snv * &#x60;-vcs_snv&#x60; - Vcs snv (descending) * &#x60;testsuite&#x60; - Testsuite * &#x60;-testsuite&#x60; - Testsuite (descending) * &#x60;dgit&#x60; - Dgit * &#x60;-dgit&#x60; - Dgit (descending) * &#x60;standards_version&#x60; - Standards version * &#x60;-standards_version&#x60; - Standards version (descending) * &#x60;build_depends&#x60; - Build depends * &#x60;-build_depends&#x60; - Build depends (descending) * &#x60;build_depends_indep&#x60; - Build depends indep * &#x60;-build_depends_indep&#x60; - Build depends indep (descending) * &#x60;build_depends_arch&#x60; - Build depends arch * &#x60;-build_depends_arch&#x60; - Build depends arch (descending) * &#x60;build_conflicts&#x60; - Build conflicts * &#x60;-build_conflicts&#x60; - Build conflicts (descending) * &#x60;build_conflicts_indep&#x60; - Build conflicts indep * &#x60;-build_conflicts_indep&#x60; - Build conflicts indep (descending) * &#x60;build_conflicts_arch&#x60; - Build conflicts arch * &#x60;-build_conflicts_arch&#x60; - Build conflicts arch (descending) * &#x60;package_list&#x60; - Package list * &#x60;-package_list&#x60; - Package list (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
160
+ **package_list** | **String**| Filter results where package_list matches value | [optional]
161
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
162
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
163
+ **q** | **String**| | [optional]
164
+ **relative_path** | **String**| Filter results where relative_path matches value | [optional]
165
+ **release** | **String**| Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
166
+ **release_component** | **String**| Must be a comma-separated string: \&quot;release_component_href,repository_or_repository_version_href\&quot; release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
167
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
168
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
169
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
170
+ **source** | **String**| Filter results where source matches value | [optional]
171
+ **standards_version** | **String**| Filter results where standards_version matches value | [optional]
172
+ **testsuite** | **String**| Filter results where testsuite matches value | [optional]
173
+ **uploaders** | **String**| Filter results where uploaders matches value | [optional]
174
+ **vcs_arch** | **String**| Filter results where vcs_arch matches value | [optional]
175
+ **vcs_browser** | **String**| Filter results where vcs_browser matches value | [optional]
176
+ **vcs_bzr** | **String**| Filter results where vcs_bzr matches value | [optional]
177
+ **vcs_cvs** | **String**| Filter results where vcs_cvs matches value | [optional]
178
+ **vcs_darcs** | **String**| Filter results where vcs_darcs matches value | [optional]
179
+ **vcs_git** | **String**| Filter results where vcs_git matches value | [optional]
180
+ **vcs_hg** | **String**| Filter results where vcs_hg matches value | [optional]
181
+ **vcs_mtn** | **String**| Filter results where vcs_mtn matches value | [optional]
182
+ **vcs_snv** | **String**| Filter results where vcs_snv matches value | [optional]
183
+ **version** | **String**| Filter results where version matches value | [optional]
184
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
185
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
186
+
187
+ ### Return type
188
+
189
+ [**PaginateddebSourcePackageResponseList**](PaginateddebSourcePackageResponseList.md)
190
+
191
+ ### Authorization
192
+
193
+ [basicAuth](../README.md#basicAuth)
194
+
195
+ ### HTTP request headers
196
+
197
+ - **Content-Type**: Not defined
198
+ - **Accept**: application/json
199
+
200
+
201
+ ## read
202
+
203
+ > DebSourcePackageResponse read(deb_source_package_href, opts)
204
+
205
+ Inspect a source package
206
+
207
+ A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
208
+
209
+ ### Example
210
+
211
+ ```ruby
212
+ # load the gem
213
+ require 'pulp_deb_client'
214
+ # setup authorization
215
+ PulpDebClient.configure do |config|
216
+ # Configure HTTP basic authorization: basicAuth
217
+ config.username = 'YOUR USERNAME'
218
+ config.password = 'YOUR PASSWORD'
219
+ end
220
+
221
+ api_instance = PulpDebClient::ContentSourcePackagesApi.new
222
+ deb_source_package_href = 'deb_source_package_href_example' # String |
223
+ opts = {
224
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
225
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
226
+ }
227
+
228
+ begin
229
+ #Inspect a source package
230
+ result = api_instance.read(deb_source_package_href, opts)
231
+ p result
232
+ rescue PulpDebClient::ApiError => e
233
+ puts "Exception when calling ContentSourcePackagesApi->read: #{e}"
234
+ end
235
+ ```
236
+
237
+ ### Parameters
238
+
239
+
240
+ Name | Type | Description | Notes
241
+ ------------- | ------------- | ------------- | -------------
242
+ **deb_source_package_href** | **String**| |
243
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
244
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
245
+
246
+ ### Return type
247
+
248
+ [**DebSourcePackageResponse**](DebSourcePackageResponse.md)
249
+
250
+ ### Authorization
251
+
252
+ [basicAuth](../README.md#basicAuth)
253
+
254
+ ### HTTP request headers
255
+
256
+ - **Content-Type**: Not defined
257
+ - **Accept**: application/json
258
+
@@ -0,0 +1,202 @@
1
+ # PulpDebClient::ContentSourceReleaseComponentsApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentSourceReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/source_release_components/ | Create a source package release component
8
+ [**list**](ContentSourceReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/source_release_components/ | List source package release components
9
+ [**read**](ContentSourceReleaseComponentsApi.md#read) | **GET** {deb_source_package_release_component_href} | Inspect a source package release component
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > DebSourcePackageReleaseComponentResponse create(deb_source_package_release_component)
16
+
17
+ Create a source package release component
18
+
19
+ A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_deb_client'
26
+ # setup authorization
27
+ PulpDebClient.configure do |config|
28
+ # Configure HTTP basic authorization: basicAuth
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
34
+ deb_source_package_release_component = PulpDebClient::DebSourcePackageReleaseComponent.new # DebSourcePackageReleaseComponent |
35
+
36
+ begin
37
+ #Create a source package release component
38
+ result = api_instance.create(deb_source_package_release_component)
39
+ p result
40
+ rescue PulpDebClient::ApiError => e
41
+ puts "Exception when calling ContentSourceReleaseComponentsApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **deb_source_package_release_component** | [**DebSourcePackageReleaseComponent**](DebSourcePackageReleaseComponent.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**DebSourcePackageReleaseComponentResponse**](DebSourcePackageReleaseComponentResponse.md)
55
+
56
+ ### Authorization
57
+
58
+ [basicAuth](../README.md#basicAuth)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > PaginateddebSourcePackageReleaseComponentResponseList list(opts)
69
+
70
+ List source package release components
71
+
72
+ A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_deb_client'
79
+ # setup authorization
80
+ PulpDebClient.configure do |config|
81
+ # Configure HTTP basic authorization: basicAuth
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
87
+ opts = {
88
+ limit: 56, # Integer | Number of results to return per page.
89
+ offset: 56, # Integer | The initial index from which to return the results.
90
+ ordering: ['ordering_example'], # 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) * `pk` - Pk * `-pk` - Pk (descending)
91
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
92
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
93
+ q: 'q_example', # String |
94
+ release_component: 'release_component_example', # String | Filter results where release_component matches value
95
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
96
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
97
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
98
+ source_package: 'source_package_example', # String | Filter results where source_package matches value
99
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
100
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
101
+ }
102
+
103
+ begin
104
+ #List source package release components
105
+ result = api_instance.list(opts)
106
+ p result
107
+ rescue PulpDebClient::ApiError => e
108
+ puts "Exception when calling ContentSourceReleaseComponentsApi->list: #{e}"
109
+ end
110
+ ```
111
+
112
+ ### Parameters
113
+
114
+
115
+ Name | Type | Description | Notes
116
+ ------------- | ------------- | ------------- | -------------
117
+ **limit** | **Integer**| Number of results to return per page. | [optional]
118
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
119
+ **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;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
120
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
121
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
122
+ **q** | **String**| | [optional]
123
+ **release_component** | [**String**](.md)| Filter results where release_component matches value | [optional]
124
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
125
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
126
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
127
+ **source_package** | [**String**](.md)| Filter results where source_package matches value | [optional]
128
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
129
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
130
+
131
+ ### Return type
132
+
133
+ [**PaginateddebSourcePackageReleaseComponentResponseList**](PaginateddebSourcePackageReleaseComponentResponseList.md)
134
+
135
+ ### Authorization
136
+
137
+ [basicAuth](../README.md#basicAuth)
138
+
139
+ ### HTTP request headers
140
+
141
+ - **Content-Type**: Not defined
142
+ - **Accept**: application/json
143
+
144
+
145
+ ## read
146
+
147
+ > DebSourcePackageReleaseComponentResponse read(deb_source_package_release_component_href, opts)
148
+
149
+ Inspect a source package release component
150
+
151
+ A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
152
+
153
+ ### Example
154
+
155
+ ```ruby
156
+ # load the gem
157
+ require 'pulp_deb_client'
158
+ # setup authorization
159
+ PulpDebClient.configure do |config|
160
+ # Configure HTTP basic authorization: basicAuth
161
+ config.username = 'YOUR USERNAME'
162
+ config.password = 'YOUR PASSWORD'
163
+ end
164
+
165
+ api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
166
+ deb_source_package_release_component_href = 'deb_source_package_release_component_href_example' # String |
167
+ opts = {
168
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
169
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
170
+ }
171
+
172
+ begin
173
+ #Inspect a source package release component
174
+ result = api_instance.read(deb_source_package_release_component_href, opts)
175
+ p result
176
+ rescue PulpDebClient::ApiError => e
177
+ puts "Exception when calling ContentSourceReleaseComponentsApi->read: #{e}"
178
+ end
179
+ ```
180
+
181
+ ### Parameters
182
+
183
+
184
+ Name | Type | Description | Notes
185
+ ------------- | ------------- | ------------- | -------------
186
+ **deb_source_package_release_component_href** | **String**| |
187
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
188
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
189
+
190
+ ### Return type
191
+
192
+ [**DebSourcePackageReleaseComponentResponse**](DebSourcePackageReleaseComponentResponse.md)
193
+
194
+ ### Authorization
195
+
196
+ [basicAuth](../README.md#basicAuth)
197
+
198
+ ### HTTP request headers
199
+
200
+ - **Content-Type**: Not defined
201
+ - **Accept**: application/json
202
+
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
data/docs/DebPackage.md CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
  **distribution** | **String** | Name of the distribution. | [optional]
13
13
  **component** | **String** | Name of the component. | [optional]
14
14
 
@@ -0,0 +1,25 @@
1
+ # PulpDebClient::DebSourceIndex
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; |
9
+ **release** | **String** | Release this index file belongs to. |
10
+ **component** | **String** | Component this index file belongs to. |
11
+ **relative_path** | **String** | Path of file relative to url. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpDebClient'
17
+
18
+ instance = PulpDebClient::DebSourceIndex.new(repository: null,
19
+ artifacts: null,
20
+ release: null,
21
+ component: null,
22
+ relative_path: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,27 @@
1
+ # PulpDebClient::DebSourceIndexResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; |
10
+ **release** | **String** | Release this index file belongs to. |
11
+ **component** | **String** | Component this index file belongs to. |
12
+ **relative_path** | **String** | Path of file relative to url. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpDebClient'
18
+
19
+ instance = PulpDebClient::DebSourceIndexResponse.new(pulp_href: null,
20
+ pulp_created: null,
21
+ artifacts: null,
22
+ release: null,
23
+ component: null,
24
+ relative_path: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,21 @@
1
+ # PulpDebClient::DebSourcePackage
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **artifact** | **String** | Artifact URL of the Debian Source Control (dsc) file. |
9
+ **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpDebClient'
15
+
16
+ instance = PulpDebClient::DebSourcePackage.new(repository: null,
17
+ artifact: null,
18
+ relative_path: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # PulpDebClient::DebSourcePackageReleaseComponent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **source_package** | **String** | Source package that is contained in release_component. |
9
+ **release_component** | **String** | ReleaseComponent this source package is contained in. |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpDebClient'
15
+
16
+ instance = PulpDebClient::DebSourcePackageReleaseComponent.new(repository: null,
17
+ source_package: null,
18
+ release_component: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,23 @@
1
+ # PulpDebClient::DebSourcePackageReleaseComponentResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **source_package** | **String** | Source package that is contained in release_component. |
10
+ **release_component** | **String** | ReleaseComponent this source package is contained in. |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpDebClient'
16
+
17
+ instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new(pulp_href: null,
18
+ pulp_created: null,
19
+ source_package: null,
20
+ release_component: null)
21
+ ```
22
+
23
+