pulp_deb_client 3.0.1 → 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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ba679d90a0d2806b7795f0fb310cd9327c6ac93f078424cb989328e3e515850
4
- data.tar.gz: 1a0ad4df73fcff33823177d3ef7fced66438fc41a1af1f309ac84d2d0bc047d9
3
+ metadata.gz: a7655b4cb886f3f75430dfdef3e34a142f3979367b6eb0c473ac4717368d999c
4
+ data.tar.gz: 20d888fc2e3d6054c071c32127ade1fa106d4eb04da7a525dff66df432e1adec
5
5
  SHA512:
6
- metadata.gz: 32d817d8aa79814aebc2db4984599027ffe114d9d3e05738a2069b448b83558047bb935a58d651022c747093d52af39ef0c30ed38969bf3c965ced909dc33d14
7
- data.tar.gz: 5d1ac04189fec6a643c3ad474c5b78d293f051acae316371dbf433493390b23903a7f441f0ea06aa74278a3542e56db692450b894ae4e8e65672b83299bb6202
6
+ metadata.gz: 9dd3728b6000da4f57558cb2ab5727ef80331b41dfb23cc55e4ef23d8c8e33961ad5969f4dae1d0633f9344260f53521fd07f36faf0b9e4673a471530d683058
7
+ data.tar.gz: 3200225f172d3575c43b120353659a3ce91c697d14e9db50aced289a4522fd6a79eac5fbcc5c589901ded44e17953f98eb4e4ca23fcc7095ad27c1af6444a2ff
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.0.1
10
+ - Package version: 3.1.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_deb_client-3.0.1.gem
27
+ gem install ./pulp_deb_client-3.1.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_deb_client-3.0.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_deb_client-3.1.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_deb_client', '~> 3.0.1'
36
+ gem 'pulp_deb_client', '~> 3.1.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -69,8 +69,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
69
69
  opts = {
70
70
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
71
71
  artifact: 'artifact_example', # String | Artifact file representing the physical content
72
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
73
- upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
72
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
73
+ upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
74
74
  }
75
75
 
76
76
  begin
@@ -119,6 +119,15 @@ Class | Method | HTTP request | Description
119
119
  *PulpDebClient::ContentReleasesApi* | [**create**](docs/ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
120
120
  *PulpDebClient::ContentReleasesApi* | [**list**](docs/ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
121
121
  *PulpDebClient::ContentReleasesApi* | [**read**](docs/ContentReleasesApi.md#read) | **GET** {deb_release_href} | Inspect a release
122
+ *PulpDebClient::ContentSourceIndicesApi* | [**create**](docs/ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index
123
+ *PulpDebClient::ContentSourceIndicesApi* | [**list**](docs/ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices
124
+ *PulpDebClient::ContentSourceIndicesApi* | [**read**](docs/ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index
125
+ *PulpDebClient::ContentSourcePackagesApi* | [**create**](docs/ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package
126
+ *PulpDebClient::ContentSourcePackagesApi* | [**list**](docs/ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages
127
+ *PulpDebClient::ContentSourcePackagesApi* | [**read**](docs/ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package
128
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**create**](docs/ContentSourceReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/source_release_components/ | Create a source package release component
129
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**list**](docs/ContentSourceReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/source_release_components/ | List source package release components
130
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**read**](docs/ContentSourceReleaseComponentsApi.md#read) | **GET** {deb_source_package_release_component_href} | Inspect a source package release component
122
131
  *PulpDebClient::DebCopyApi* | [**copy_content**](docs/DebCopyApi.md#copy_content) | **POST** /pulp/api/v3/deb/copy/ | Copy content
123
132
  *PulpDebClient::DistributionsAptApi* | [**create**](docs/DistributionsAptApi.md#create) | **POST** /pulp/api/v3/distributions/deb/apt/ | Create an apt distribution
124
133
  *PulpDebClient::DistributionsAptApi* | [**delete**](docs/DistributionsAptApi.md#delete) | **DELETE** {deb_apt_distribution_href} | Delete an apt distribution
@@ -195,6 +204,12 @@ Class | Method | HTTP request | Description
195
204
  - [PulpDebClient::DebReleaseFile](docs/DebReleaseFile.md)
196
205
  - [PulpDebClient::DebReleaseFileResponse](docs/DebReleaseFileResponse.md)
197
206
  - [PulpDebClient::DebReleaseResponse](docs/DebReleaseResponse.md)
207
+ - [PulpDebClient::DebSourceIndex](docs/DebSourceIndex.md)
208
+ - [PulpDebClient::DebSourceIndexResponse](docs/DebSourceIndexResponse.md)
209
+ - [PulpDebClient::DebSourcePackage](docs/DebSourcePackage.md)
210
+ - [PulpDebClient::DebSourcePackageReleaseComponent](docs/DebSourcePackageReleaseComponent.md)
211
+ - [PulpDebClient::DebSourcePackageReleaseComponentResponse](docs/DebSourcePackageReleaseComponentResponse.md)
212
+ - [PulpDebClient::DebSourcePackageResponse](docs/DebSourcePackageResponse.md)
198
213
  - [PulpDebClient::DebVerbatimPublication](docs/DebVerbatimPublication.md)
199
214
  - [PulpDebClient::DebVerbatimPublicationResponse](docs/DebVerbatimPublicationResponse.md)
200
215
  - [PulpDebClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
@@ -212,6 +227,9 @@ Class | Method | HTTP request | Description
212
227
  - [PulpDebClient::PaginateddebReleaseComponentResponseList](docs/PaginateddebReleaseComponentResponseList.md)
213
228
  - [PulpDebClient::PaginateddebReleaseFileResponseList](docs/PaginateddebReleaseFileResponseList.md)
214
229
  - [PulpDebClient::PaginateddebReleaseResponseList](docs/PaginateddebReleaseResponseList.md)
230
+ - [PulpDebClient::PaginateddebSourceIndexResponseList](docs/PaginateddebSourceIndexResponseList.md)
231
+ - [PulpDebClient::PaginateddebSourcePackageReleaseComponentResponseList](docs/PaginateddebSourcePackageReleaseComponentResponseList.md)
232
+ - [PulpDebClient::PaginateddebSourcePackageResponseList](docs/PaginateddebSourcePackageResponseList.md)
215
233
  - [PulpDebClient::PaginateddebVerbatimPublicationResponseList](docs/PaginateddebVerbatimPublicationResponseList.md)
216
234
  - [PulpDebClient::PatcheddebAptDistribution](docs/PatcheddebAptDistribution.md)
217
235
  - [PulpDebClient::PatcheddebAptRemote](docs/PatcheddebAptRemote.md)
@@ -35,8 +35,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
35
35
  opts = {
36
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
37
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
- upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
38
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
39
+ upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
40
40
  }
41
41
 
42
42
  begin
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
56
56
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
57
57
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
58
58
  **artifact** | **String**| Artifact file representing the physical content | [optional]
59
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
60
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
59
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
60
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
61
61
 
62
62
  ### Return type
63
63
 
@@ -35,8 +35,8 @@ opts = {
35
35
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
36
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
37
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
- upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
38
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
39
+ upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
40
40
  }
41
41
 
42
42
  begin
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
56
56
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
57
57
  **artifact** | **String**| Artifact file representing the physical content | [optional]
58
58
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
59
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
60
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
59
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
60
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
61
61
 
62
62
  ### Return type
63
63
 
@@ -35,8 +35,8 @@ opts = {
35
35
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
36
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
37
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
38
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
39
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
40
  distribution: 'distribution_example', # String | Name of the distribution.
41
41
  component: 'component_example' # String | Name of the component.
42
42
  }
@@ -58,8 +58,8 @@ Name | Type | Description | Notes
58
58
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
59
59
  **artifact** | **String**| Artifact file representing the physical content | [optional]
60
60
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
61
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
62
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
61
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
62
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
63
63
  **distribution** | **String**| Name of the distribution. | [optional]
64
64
  **component** | **String**| Name of the component. | [optional]
65
65
 
@@ -113,6 +113,14 @@ opts = {
113
113
  origin: 'origin_example', # String | Filter results where origin matches value
114
114
  original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
115
115
  package: 'package_example', # String | Filter results where package matches value
116
+ package__contains: 'package__contains_example', # String | Filter results where package contains value
117
+ package__icontains: 'package__icontains_example', # String | Filter results where package contains value
118
+ package__iexact: 'package__iexact_example', # String | Filter results where package matches value
119
+ package__in: ['package__in_example'], # Array<String> | Filter results where package is in a comma-separated list of values
120
+ package__iregex: 'package__iregex_example', # String | Filter results where package matches regex value
121
+ package__istartswith: 'package__istartswith_example', # String | Filter results where package starts with value
122
+ package__regex: 'package__regex_example', # String | Filter results where package matches regex value
123
+ package__startswith: 'package__startswith_example', # String | Filter results where package starts with value
116
124
  priority: 'priority_example', # String | Filter results where priority matches value
117
125
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
118
126
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
@@ -160,6 +168,14 @@ Name | Type | Description | Notes
160
168
  **origin** | **String**| Filter results where origin matches value | [optional]
161
169
  **original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
162
170
  **package** | **String**| Filter results where package matches value | [optional]
171
+ **package__contains** | **String**| Filter results where package contains value | [optional]
172
+ **package__icontains** | **String**| Filter results where package contains value | [optional]
173
+ **package__iexact** | **String**| Filter results where package matches value | [optional]
174
+ **package__in** | [**Array&lt;String&gt;**](String.md)| Filter results where package is in a comma-separated list of values | [optional]
175
+ **package__iregex** | **String**| Filter results where package matches regex value | [optional]
176
+ **package__istartswith** | **String**| Filter results where package starts with value | [optional]
177
+ **package__regex** | **String**| Filter results where package matches regex value | [optional]
178
+ **package__startswith** | **String**| Filter results where package starts with value | [optional]
163
179
  **priority** | **String**| Filter results where priority matches value | [optional]
164
180
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
165
181
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
@@ -0,0 +1,204 @@
1
+ # PulpDebClient::ContentSourceIndicesApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index
8
+ [**list**](ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices
9
+ [**read**](ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index
10
+
11
+
12
+
13
+ ## create
14
+
15
+ > DebSourceIndexResponse create(deb_source_index)
16
+
17
+ Create a source index
18
+
19
+ A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
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::ContentSourceIndicesApi.new
34
+ deb_source_index = PulpDebClient::DebSourceIndex.new # DebSourceIndex |
35
+
36
+ begin
37
+ #Create a source index
38
+ result = api_instance.create(deb_source_index)
39
+ p result
40
+ rescue PulpDebClient::ApiError => e
41
+ puts "Exception when calling ContentSourceIndicesApi->create: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **deb_source_index** | [**DebSourceIndex**](DebSourceIndex.md)| |
51
+
52
+ ### Return type
53
+
54
+ [**DebSourceIndexResponse**](DebSourceIndexResponse.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
+ > PaginateddebSourceIndexResponseList list(opts)
69
+
70
+ List SourceIndices
71
+
72
+ A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
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::ContentSourceIndicesApi.new
87
+ opts = {
88
+ component: 'component_example', # String | Filter results where component matches value
89
+ limit: 56, # Integer | Number of results to return per page.
90
+ offset: 56, # Integer | The initial index from which to return the results.
91
+ 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) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
92
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
93
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
94
+ q: 'q_example', # String |
95
+ relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
96
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
97
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
98
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
99
+ sha256: 'sha256_example', # String | Filter results where sha256 matches value
100
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
101
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
102
+ }
103
+
104
+ begin
105
+ #List SourceIndices
106
+ result = api_instance.list(opts)
107
+ p result
108
+ rescue PulpDebClient::ApiError => e
109
+ puts "Exception when calling ContentSourceIndicesApi->list: #{e}"
110
+ end
111
+ ```
112
+
113
+ ### Parameters
114
+
115
+
116
+ Name | Type | Description | Notes
117
+ ------------- | ------------- | ------------- | -------------
118
+ **component** | **String**| Filter results where component matches value | [optional]
119
+ **limit** | **Integer**| Number of results to return per page. | [optional]
120
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
121
+ **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;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]
122
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
123
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
124
+ **q** | **String**| | [optional]
125
+ **relative_path** | **String**| Filter results where relative_path matches value | [optional]
126
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
127
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
128
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
129
+ **sha256** | **String**| Filter results where sha256 matches value | [optional]
130
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
131
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
132
+
133
+ ### Return type
134
+
135
+ [**PaginateddebSourceIndexResponseList**](PaginateddebSourceIndexResponseList.md)
136
+
137
+ ### Authorization
138
+
139
+ [basicAuth](../README.md#basicAuth)
140
+
141
+ ### HTTP request headers
142
+
143
+ - **Content-Type**: Not defined
144
+ - **Accept**: application/json
145
+
146
+
147
+ ## read
148
+
149
+ > DebSourceIndexResponse read(deb_source_index_href, opts)
150
+
151
+ Inspect a source index
152
+
153
+ A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
154
+
155
+ ### Example
156
+
157
+ ```ruby
158
+ # load the gem
159
+ require 'pulp_deb_client'
160
+ # setup authorization
161
+ PulpDebClient.configure do |config|
162
+ # Configure HTTP basic authorization: basicAuth
163
+ config.username = 'YOUR USERNAME'
164
+ config.password = 'YOUR PASSWORD'
165
+ end
166
+
167
+ api_instance = PulpDebClient::ContentSourceIndicesApi.new
168
+ deb_source_index_href = 'deb_source_index_href_example' # String |
169
+ opts = {
170
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
171
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
172
+ }
173
+
174
+ begin
175
+ #Inspect a source index
176
+ result = api_instance.read(deb_source_index_href, opts)
177
+ p result
178
+ rescue PulpDebClient::ApiError => e
179
+ puts "Exception when calling ContentSourceIndicesApi->read: #{e}"
180
+ end
181
+ ```
182
+
183
+ ### Parameters
184
+
185
+
186
+ Name | Type | Description | Notes
187
+ ------------- | ------------- | ------------- | -------------
188
+ **deb_source_index_href** | **String**| |
189
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
190
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
191
+
192
+ ### Return type
193
+
194
+ [**DebSourceIndexResponse**](DebSourceIndexResponse.md)
195
+
196
+ ### Authorization
197
+
198
+ [basicAuth](../README.md#basicAuth)
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: Not defined
203
+ - **Accept**: application/json
204
+