pulp_deb_client 2.0.0b4 → 2.2.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -11
- data/docs/{ContentInstallerFileIndexApi.md → ContentInstallerFileIndicesApi.md} +12 -12
- data/docs/{ContentPackageIndexApi.md → ContentPackageIndicesApi.md} +12 -12
- data/docs/ContentPackageReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseArchitecturesApi.md +194 -0
- data/docs/ContentReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseFilesApi.md +2 -2
- data/docs/ContentReleasesApi.md +196 -0
- data/docs/DebDebRemote.md +6 -4
- data/docs/DebPackageReleaseComponent.md +23 -0
- data/docs/DebRelease.md +25 -0
- data/docs/DebReleaseArchitecture.md +23 -0
- data/docs/DebReleaseComponent.md +23 -0
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +16 -2
- data/docs/PublicationsVerbatimApi.md +16 -2
- data/docs/RemotesAptApi.md +2 -2
- data/docs/RepositoriesAptApi.md +5 -4
- data/docs/RepositoriesDebVersionsApi.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_installer_file_index_api.rb → content_installer_file_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_package_index_api.rb → content_package_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +4 -4
- data/lib/pulp_deb_client/api/content_releases_api.rb +240 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/publications_apt_api.rb +25 -4
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +25 -4
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -4
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +4 -4
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +1 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_remote.rb +33 -8
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +246 -0
- data/lib/pulp_deb_client/models/deb_release.rb +315 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2005.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2006.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2007.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2008.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2009.rb +2 -2
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +15 -3
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/{content_installer_file_index_api_spec.rb → content_installer_file_indices_api_spec.rb} +8 -8
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/{content_package_index_api_spec.rb → content_package_indices_api_spec.rb} +8 -8
- data/spec/api/content_package_release_components_api_spec.rb +81 -0
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +81 -0
- data/spec/api/content_release_components_api_spec.rb +81 -0
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +82 -0
- data/spec/api/distributions_apt_api_spec.rb +2 -2
- data/spec/api/publications_apt_api_spec.rb +9 -2
- data/spec/api/publications_verbatim_api_spec.rb +9 -2
- data/spec/api/remotes_apt_api_spec.rb +2 -2
- data/spec/api/repositories_apt_api_spec.rb +3 -2
- data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_deb_distribution_spec.rb +1 -1
- data/spec/models/deb_deb_publication_spec.rb +1 -1
- data/spec/models/deb_deb_remote_spec.rb +7 -1
- data/spec/models/deb_deb_repository_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +59 -0
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +65 -0
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +79 -31
data/docs/InlineResponse2006.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebReleaseComponent>**](DebReleaseComponent.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2007.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebReleaseFile>**](DebReleaseFile.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2008.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebRelease>**](DebRelease.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2009.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebDebDistribution>**](DebDebDistribution.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -118,7 +118,7 @@ nil (empty response body)
|
|
118
118
|
|
119
119
|
## list
|
120
120
|
|
121
|
-
>
|
121
|
+
> InlineResponse20010 list(opts)
|
122
122
|
|
123
123
|
List deb publications
|
124
124
|
|
@@ -139,6 +139,13 @@ end
|
|
139
139
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
140
140
|
opts = {
|
141
141
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
142
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
143
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
144
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
145
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
146
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
147
|
+
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
148
|
+
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
142
149
|
limit: 56, # Integer | Number of results to return per page.
|
143
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
144
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -160,6 +167,13 @@ end
|
|
160
167
|
Name | Type | Description | Notes
|
161
168
|
------------- | ------------- | ------------- | -------------
|
162
169
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
171
|
+
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
172
|
+
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
173
|
+
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
174
|
+
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
+
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
176
|
+
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
163
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
164
178
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
165
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -167,7 +181,7 @@ Name | Type | Description | Notes
|
|
167
181
|
|
168
182
|
### Return type
|
169
183
|
|
170
|
-
[**
|
184
|
+
[**InlineResponse20010**](InlineResponse20010.md)
|
171
185
|
|
172
186
|
### Authorization
|
173
187
|
|
@@ -118,7 +118,7 @@ nil (empty response body)
|
|
118
118
|
|
119
119
|
## list
|
120
120
|
|
121
|
-
>
|
121
|
+
> InlineResponse20011 list(opts)
|
122
122
|
|
123
123
|
List verbatim publications
|
124
124
|
|
@@ -139,6 +139,13 @@ end
|
|
139
139
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
140
140
|
opts = {
|
141
141
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
142
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
143
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
144
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
145
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
146
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
147
|
+
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
148
|
+
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
142
149
|
limit: 56, # Integer | Number of results to return per page.
|
143
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
144
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -160,6 +167,13 @@ end
|
|
160
167
|
Name | Type | Description | Notes
|
161
168
|
------------- | ------------- | ------------- | -------------
|
162
169
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
171
|
+
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
172
|
+
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
173
|
+
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
174
|
+
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
+
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
176
|
+
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
163
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
164
178
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
165
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -167,7 +181,7 @@ Name | Type | Description | Notes
|
|
167
181
|
|
168
182
|
### Return type
|
169
183
|
|
170
|
-
[**
|
184
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
171
185
|
|
172
186
|
### Authorization
|
173
187
|
|
data/docs/RemotesAptApi.md
CHANGED
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
121
121
|
|
122
122
|
## list
|
123
123
|
|
124
|
-
>
|
124
|
+
> InlineResponse20012 list(opts)
|
125
125
|
|
126
126
|
List deb remotes
|
127
127
|
|
@@ -184,7 +184,7 @@ Name | Type | Description | Notes
|
|
184
184
|
|
185
185
|
### Return type
|
186
186
|
|
187
|
-
[**
|
187
|
+
[**InlineResponse20012**](InlineResponse20012.md)
|
188
188
|
|
189
189
|
### Authorization
|
190
190
|
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -7,7 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**create**](RepositoriesAptApi.md#create) | **POST** /pulp/api/v3/repositories/deb/apt/ | Create a deb repository
|
8
8
|
[**delete**](RepositoriesAptApi.md#delete) | **DELETE** {deb_repository_href} | Delete a deb repository
|
9
9
|
[**list**](RepositoriesAptApi.md#list) | **GET** /pulp/api/v3/repositories/deb/apt/ | List deb repositorys
|
10
|
-
[**modify**](RepositoriesAptApi.md#modify) | **POST** {deb_repository_href}modify/ |
|
10
|
+
[**modify**](RepositoriesAptApi.md#modify) | **POST** {deb_repository_href}modify/ | Modify Repository Content
|
11
11
|
[**partial_update**](RepositoriesAptApi.md#partial_update) | **PATCH** {deb_repository_href} | Partially update a deb repository
|
12
12
|
[**read**](RepositoriesAptApi.md#read) | **GET** {deb_repository_href} | Inspect a deb repository
|
13
13
|
[**sync**](RepositoriesAptApi.md#sync) | **POST** {deb_repository_href}sync/ | Sync from remote
|
@@ -123,7 +123,7 @@ Name | Type | Description | Notes
|
|
123
123
|
|
124
124
|
## list
|
125
125
|
|
126
|
-
>
|
126
|
+
> InlineResponse20013 list(opts)
|
127
127
|
|
128
128
|
List deb repositorys
|
129
129
|
|
@@ -174,7 +174,7 @@ Name | Type | Description | Notes
|
|
174
174
|
|
175
175
|
### Return type
|
176
176
|
|
177
|
-
[**
|
177
|
+
[**InlineResponse20013**](InlineResponse20013.md)
|
178
178
|
|
179
179
|
### Authorization
|
180
180
|
|
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
|
|
190
190
|
|
191
191
|
> AsyncOperationResponse modify(deb_repository_href, data)
|
192
192
|
|
193
|
-
|
193
|
+
Modify Repository Content
|
194
194
|
|
195
195
|
Trigger an asynchronous task to create a new repository version.
|
196
196
|
|
@@ -211,6 +211,7 @@ deb_repository_href = 'deb_repository_href_example' # String | URI of Deb Reposi
|
|
211
211
|
data = PulpDebClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
212
212
|
|
213
213
|
begin
|
214
|
+
#Modify Repository Content
|
214
215
|
result = api_instance.modify(deb_repository_href, data)
|
215
216
|
p result
|
216
217
|
rescue PulpDebClient::ApiError => e
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
## list
|
67
67
|
|
68
|
-
>
|
68
|
+
> InlineResponse20014 list(deb_repository_href, opts)
|
69
69
|
|
70
70
|
List repository versions
|
71
71
|
|
@@ -142,7 +142,7 @@ Name | Type | Description | Notes
|
|
142
142
|
|
143
143
|
### Return type
|
144
144
|
|
145
|
-
[**
|
145
|
+
[**InlineResponse20014**](InlineResponse20014.md)
|
146
146
|
|
147
147
|
### Authorization
|
148
148
|
|
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class ContentInstallerFileIndicesApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -36,14 +36,14 @@ module PulpDebClient
|
|
36
36
|
# @return [Array<(DebInstallerFileIndex, Integer, Hash)>] DebInstallerFileIndex data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'data' is set
|
42
42
|
if @api_client.config.client_side_validation && data.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'data' when calling
|
43
|
+
fail ArgumentError, "Missing the required parameter 'data' when calling ContentInstallerFileIndicesApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/pulp/api/v3/content/deb/
|
46
|
+
local_var_path = '/pulp/api/v3/content/deb/installer_file_indices/'
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -78,7 +78,7 @@ module PulpDebClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called:
|
81
|
+
@api_client.config.logger.debug "API called: ContentInstallerFileIndicesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -120,10 +120,10 @@ module PulpDebClient
|
|
120
120
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
121
121
|
def list_with_http_info(opts = {})
|
122
122
|
if @api_client.config.debugging
|
123
|
-
@api_client.config.logger.debug 'Calling API:
|
123
|
+
@api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.list ...'
|
124
124
|
end
|
125
125
|
# resource path
|
126
|
-
local_var_path = '/pulp/api/v3/content/deb/
|
126
|
+
local_var_path = '/pulp/api/v3/content/deb/installer_file_indices/'
|
127
127
|
|
128
128
|
# query parameters
|
129
129
|
query_params = opts[:query_params] || {}
|
@@ -167,14 +167,14 @@ module PulpDebClient
|
|
167
167
|
|
168
168
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
169
169
|
if @api_client.config.debugging
|
170
|
-
@api_client.config.logger.debug "API called:
|
170
|
+
@api_client.config.logger.debug "API called: ContentInstallerFileIndicesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
171
171
|
end
|
172
172
|
return data, status_code, headers
|
173
173
|
end
|
174
174
|
|
175
175
|
# Inspect an installer file index
|
176
176
|
# A ViewSet for InstallerFileIndex.
|
177
|
-
# @param installer_file_index_href [String] URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/
|
177
|
+
# @param installer_file_index_href [String] URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_indices/1/
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @option opts [String] :fields A list of fields to include in the response.
|
180
180
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -186,18 +186,18 @@ module PulpDebClient
|
|
186
186
|
|
187
187
|
# Inspect an installer file index
|
188
188
|
# A ViewSet for InstallerFileIndex.
|
189
|
-
# @param installer_file_index_href [String] URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/
|
189
|
+
# @param installer_file_index_href [String] URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_indices/1/
|
190
190
|
# @param [Hash] opts the optional parameters
|
191
191
|
# @option opts [String] :fields A list of fields to include in the response.
|
192
192
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
193
193
|
# @return [Array<(DebInstallerFileIndex, Integer, Hash)>] DebInstallerFileIndex data, response status code and response headers
|
194
194
|
def read_with_http_info(installer_file_index_href, opts = {})
|
195
195
|
if @api_client.config.debugging
|
196
|
-
@api_client.config.logger.debug 'Calling API:
|
196
|
+
@api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.read ...'
|
197
197
|
end
|
198
198
|
# verify the required parameter 'installer_file_index_href' is set
|
199
199
|
if @api_client.config.client_side_validation && installer_file_index_href.nil?
|
200
|
-
fail ArgumentError, "Missing the required parameter 'installer_file_index_href' when calling
|
200
|
+
fail ArgumentError, "Missing the required parameter 'installer_file_index_href' when calling ContentInstallerFileIndicesApi.read"
|
201
201
|
end
|
202
202
|
# resource path
|
203
203
|
local_var_path = '{installer_file_index_href}'.sub('{' + 'installer_file_index_href' + '}', CGI.escape(installer_file_index_href.to_s).gsub('%2F', '/'))
|
@@ -235,7 +235,7 @@ module PulpDebClient
|
|
235
235
|
|
236
236
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
237
237
|
if @api_client.config.debugging
|
238
|
-
@api_client.config.logger.debug "API called:
|
238
|
+
@api_client.config.logger.debug "API called: ContentInstallerFileIndicesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
239
239
|
end
|
240
240
|
return data, status_code, headers
|
241
241
|
end
|
data/lib/pulp_deb_client/api/{content_package_index_api.rb → content_package_indices_api.rb}
RENAMED
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class ContentPackageIndicesApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -36,14 +36,14 @@ module PulpDebClient
|
|
36
36
|
# @return [Array<(DebPackageIndex, Integer, Hash)>] DebPackageIndex data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'data' is set
|
42
42
|
if @api_client.config.client_side_validation && data.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'data' when calling
|
43
|
+
fail ArgumentError, "Missing the required parameter 'data' when calling ContentPackageIndicesApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/pulp/api/v3/content/deb/
|
46
|
+
local_var_path = '/pulp/api/v3/content/deb/package_indices/'
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -78,7 +78,7 @@ module PulpDebClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called:
|
81
|
+
@api_client.config.logger.debug "API called: ContentPackageIndicesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -120,10 +120,10 @@ module PulpDebClient
|
|
120
120
|
# @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
|
121
121
|
def list_with_http_info(opts = {})
|
122
122
|
if @api_client.config.debugging
|
123
|
-
@api_client.config.logger.debug 'Calling API:
|
123
|
+
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.list ...'
|
124
124
|
end
|
125
125
|
# resource path
|
126
|
-
local_var_path = '/pulp/api/v3/content/deb/
|
126
|
+
local_var_path = '/pulp/api/v3/content/deb/package_indices/'
|
127
127
|
|
128
128
|
# query parameters
|
129
129
|
query_params = opts[:query_params] || {}
|
@@ -167,14 +167,14 @@ module PulpDebClient
|
|
167
167
|
|
168
168
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
169
169
|
if @api_client.config.debugging
|
170
|
-
@api_client.config.logger.debug "API called:
|
170
|
+
@api_client.config.logger.debug "API called: ContentPackageIndicesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
171
171
|
end
|
172
172
|
return data, status_code, headers
|
173
173
|
end
|
174
174
|
|
175
175
|
# Inspect a package index
|
176
176
|
# A ViewSet for PackageIndex.
|
177
|
-
# @param package_index_href [String] URI of Package Index. e.g.: /pulp/api/v3/content/deb/
|
177
|
+
# @param package_index_href [String] URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_indices/1/
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @option opts [String] :fields A list of fields to include in the response.
|
180
180
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -186,18 +186,18 @@ module PulpDebClient
|
|
186
186
|
|
187
187
|
# Inspect a package index
|
188
188
|
# A ViewSet for PackageIndex.
|
189
|
-
# @param package_index_href [String] URI of Package Index. e.g.: /pulp/api/v3/content/deb/
|
189
|
+
# @param package_index_href [String] URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_indices/1/
|
190
190
|
# @param [Hash] opts the optional parameters
|
191
191
|
# @option opts [String] :fields A list of fields to include in the response.
|
192
192
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
193
193
|
# @return [Array<(DebPackageIndex, Integer, Hash)>] DebPackageIndex data, response status code and response headers
|
194
194
|
def read_with_http_info(package_index_href, opts = {})
|
195
195
|
if @api_client.config.debugging
|
196
|
-
@api_client.config.logger.debug 'Calling API:
|
196
|
+
@api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.read ...'
|
197
197
|
end
|
198
198
|
# verify the required parameter 'package_index_href' is set
|
199
199
|
if @api_client.config.client_side_validation && package_index_href.nil?
|
200
|
-
fail ArgumentError, "Missing the required parameter 'package_index_href' when calling
|
200
|
+
fail ArgumentError, "Missing the required parameter 'package_index_href' when calling ContentPackageIndicesApi.read"
|
201
201
|
end
|
202
202
|
# resource path
|
203
203
|
local_var_path = '{package_index_href}'.sub('{' + 'package_index_href' + '}', CGI.escape(package_index_href.to_s).gsub('%2F', '/'))
|
@@ -235,7 +235,7 @@ module PulpDebClient
|
|
235
235
|
|
236
236
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
237
237
|
if @api_client.config.debugging
|
238
|
-
@api_client.config.logger.debug "API called:
|
238
|
+
@api_client.config.logger.debug "API called: ContentPackageIndicesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
239
239
|
end
|
240
240
|
return data, status_code, headers
|
241
241
|
end
|