pulp_deb_client 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +11 -9
- data/docs/ContentInstallerPackagesApi.md +14 -10
- data/docs/ContentPackageIndicesApi.md +11 -9
- data/docs/ContentPackageReleaseComponentsApi.md +11 -9
- data/docs/ContentPackagesApi.md +13 -9
- data/docs/ContentReleaseArchitecturesApi.md +11 -9
- data/docs/ContentReleaseComponentsApi.md +11 -9
- data/docs/ContentReleaseFilesApi.md +11 -9
- data/docs/ContentReleasesApi.md +11 -9
- data/docs/ContentSourceIndicesApi.md +11 -9
- data/docs/ContentSourcePackagesApi.md +11 -9
- data/docs/ContentSourceReleaseComponentsApi.md +11 -9
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackage.md +3 -1
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackage.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +5 -3
- data/docs/PublicationsAptApi.md +13 -11
- data/docs/PublicationsVerbatimApi.md +13 -11
- data/docs/RemotesAptApi.md +5 -3
- data/docs/RepositoriesAptApi.md +9 -7
- data/docs/RepositoriesAptVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/publications_apt_api.rb +14 -11
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +14 -11
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -6
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -21
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +29 -4
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package.rb +29 -4
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package.rb +26 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
- data/spec/api/content_installer_packages_api_spec.rb +6 -4
- data/spec/api/content_package_indices_api_spec.rb +5 -4
- data/spec/api/content_package_release_components_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_release_architectures_api_spec.rb +5 -4
- data/spec/api/content_release_components_api_spec.rb +5 -4
- data/spec/api/content_release_files_api_spec.rb +5 -4
- data/spec/api/content_releases_api_spec.rb +5 -4
- data/spec/api/content_source_indices_api_spec.rb +5 -4
- data/spec/api/content_source_packages_api_spec.rb +5 -4
- data/spec/api/content_source_release_components_api_spec.rb +5 -4
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +6 -5
- data/spec/api/publications_verbatim_api_spec.rb +6 -5
- data/spec/api/remotes_apt_api_spec.rb +2 -1
- data/spec/api/repositories_apt_api_spec.rb +4 -3
- data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_package_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +85 -85
data/docs/PublicationsAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::PublicationsAptApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -138,11 +138,12 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
140
140
|
opts = {
|
141
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
-
content__in: 'content__in_example', # String |
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
142
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
145
|
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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
146
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
146
147
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
147
148
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
149
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -151,9 +152,9 @@ opts = {
|
|
151
152
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
153
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
154
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
-
q: 'q_example', # String |
|
155
|
-
repository: 'repository_example', # String | Repository referenced by HREF
|
156
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
155
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
156
|
+
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
157
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
157
158
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
158
159
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
159
160
|
}
|
@@ -172,11 +173,12 @@ end
|
|
172
173
|
|
173
174
|
Name | Type | Description | Notes
|
174
175
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
176
|
-
**content__in** | **String
|
176
|
+
**content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
177
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
177
178
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
180
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
181
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
180
182
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
181
183
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
182
184
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -185,9 +187,9 @@ Name | Type | Description | Notes
|
|
185
187
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
186
188
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
187
189
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
-
**q** | **String**|
|
189
|
-
**repository** | **String**| Repository referenced by HREF | [optional]
|
190
|
-
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
190
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
191
|
+
**repository** | **String**| Repository referenced by HREF/PRN | [optional]
|
192
|
+
**repository_version** | [**String**](.md)| Repository Version referenced by HREF/PRN | [optional]
|
191
193
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
192
194
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
193
195
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::PublicationsVerbatimApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -138,11 +138,12 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
140
140
|
opts = {
|
141
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
-
content__in: 'content__in_example', # String |
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
142
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
145
|
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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
146
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
146
147
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
147
148
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
149
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -151,9 +152,9 @@ opts = {
|
|
151
152
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
153
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
154
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
-
q: 'q_example', # String |
|
155
|
-
repository: 'repository_example', # String | Repository referenced by HREF
|
156
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
155
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
156
|
+
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
157
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
157
158
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
158
159
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
159
160
|
}
|
@@ -172,11 +173,12 @@ end
|
|
172
173
|
|
173
174
|
Name | Type | Description | Notes
|
174
175
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
176
|
-
**content__in** | **String
|
176
|
+
**content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
177
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
177
178
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
180
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
181
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
180
182
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
181
183
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
182
184
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -185,9 +187,9 @@ Name | Type | Description | Notes
|
|
185
187
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
186
188
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
187
189
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
-
**q** | **String**|
|
189
|
-
**repository** | **String**| Repository referenced by HREF | [optional]
|
190
|
-
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
190
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
191
|
+
**repository** | **String**| Repository referenced by HREF/PRN | [optional]
|
192
|
+
**repository_version** | [**String**](.md)| Repository Version referenced by HREF/PRN | [optional]
|
191
193
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
192
194
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
193
195
|
|
data/docs/RemotesAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RemotesAptApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -155,6 +155,7 @@ opts = {
|
|
155
155
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
156
156
|
offset: 56, # Integer | The initial index from which to return the results.
|
157
157
|
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
158
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
158
159
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
159
160
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
160
161
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
@@ -164,7 +165,7 @@ opts = {
|
|
164
165
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
165
166
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
166
167
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
167
|
-
q: 'q_example', # String |
|
168
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
168
169
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
169
170
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
170
171
|
}
|
@@ -195,6 +196,7 @@ Name | Type | Description | Notes
|
|
195
196
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
196
197
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
197
198
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
199
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
198
200
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
199
201
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
200
202
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
@@ -204,7 +206,7 @@ Name | Type | Description | Notes
|
|
204
206
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
205
207
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
206
208
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
207
|
-
**q** | **String**|
|
209
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
208
210
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
209
211
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
210
212
|
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RepositoriesAptApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -145,7 +145,7 @@ end
|
|
145
145
|
|
146
146
|
api_instance = PulpDebClient::RepositoriesAptApi.new
|
147
147
|
opts = {
|
148
|
-
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
148
|
+
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
149
149
|
limit: 56, # Integer | Number of results to return per page.
|
150
150
|
name: 'name_example', # String | Filter results where name matches value
|
151
151
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -158,10 +158,11 @@ opts = {
|
|
158
158
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
159
159
|
offset: 56, # Integer | The initial index from which to return the results.
|
160
160
|
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
161
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
161
162
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
162
163
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
163
164
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
164
|
-
q: 'q_example', # String |
|
165
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
165
166
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
166
167
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
167
168
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -171,7 +172,7 @@ opts = {
|
|
171
172
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
172
173
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
173
174
|
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
174
|
-
with_content: 'with_content_example', # String | Content Unit referenced by HREF
|
175
|
+
with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
|
175
176
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
176
177
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
177
178
|
}
|
@@ -190,7 +191,7 @@ end
|
|
190
191
|
|
191
192
|
Name | Type | Description | Notes
|
192
193
|
------------- | ------------- | ------------- | -------------
|
193
|
-
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
194
|
+
**latest_with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
194
195
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
195
196
|
**name** | **String**| Filter results where name matches value | [optional]
|
196
197
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
@@ -203,10 +204,11 @@ Name | Type | Description | Notes
|
|
203
204
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
204
205
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
205
206
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
207
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
206
208
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
207
209
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
208
210
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
209
|
-
**q** | **String**|
|
211
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
210
212
|
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
211
213
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
212
214
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
@@ -216,7 +218,7 @@ Name | Type | Description | Notes
|
|
216
218
|
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
217
219
|
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
218
220
|
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
219
|
-
**with_content** | **String**| Content Unit referenced by HREF | [optional]
|
221
|
+
**with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
220
222
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
221
223
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
222
224
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RepositoriesAptVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -87,8 +87,8 @@ end
|
|
87
87
|
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
88
88
|
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
89
89
|
opts = {
|
90
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
91
|
-
content__in: 'content__in_example', # String |
|
90
|
+
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
91
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
93
93
|
number: 56, # Integer | Filter results where number matches value
|
94
94
|
number__gt: 56, # Integer | Filter results where number is greater than value
|
@@ -98,6 +98,7 @@ opts = {
|
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
100
|
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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
101
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
101
102
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
102
103
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
104
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -105,7 +106,7 @@ opts = {
|
|
105
106
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
107
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
108
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
-
q: 'q_example', # String |
|
109
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
109
110
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
110
111
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
111
112
|
}
|
@@ -125,8 +126,8 @@ end
|
|
125
126
|
Name | Type | Description | Notes
|
126
127
|
------------- | ------------- | ------------- | -------------
|
127
128
|
**deb_apt_repository_href** | **String**| |
|
128
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
129
|
-
**content__in** | **String
|
129
|
+
**content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
130
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
130
131
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
131
132
|
**number** | **Integer**| Filter results where number matches value | [optional]
|
132
133
|
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
@@ -136,6 +137,7 @@ Name | Type | Description | Notes
|
|
136
137
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
137
138
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
138
139
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
140
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
139
141
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
140
142
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
141
143
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -143,7 +145,7 @@ Name | Type | Description | Notes
|
|
143
145
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
144
146
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
145
147
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
|
-
**q** | **String**|
|
148
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
147
149
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
148
150
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
149
151
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
10
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
10
11
|
**number** | **Integer** | | [optional] [readonly]
|
@@ -18,6 +19,7 @@ Name | Type | Description | Notes
|
|
18
19
|
require 'PulpDebClient'
|
19
20
|
|
20
21
|
instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
|
22
|
+
prn: null,
|
21
23
|
pulp_created: null,
|
22
24
|
pulp_last_updated: null,
|
23
25
|
number: null,
|
@@ -27,6 +27,7 @@ module PulpDebClient
|
|
27
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
30
31
|
# @return [AsyncOperationResponse]
|
31
32
|
def create(relative_path, opts = {})
|
32
33
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -41,6 +42,7 @@ module PulpDebClient
|
|
41
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
47
|
def create_with_http_info(relative_path, opts = {})
|
46
48
|
if @api_client.config.debugging
|
@@ -54,6 +56,10 @@ module PulpDebClient
|
|
54
56
|
fail ArgumentError, 'invalid value for "relative_path" when calling ContentGenericContentsApi.create, the character length must be great than or equal to 1.'
|
55
57
|
end
|
56
58
|
|
59
|
+
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentGenericContentsApi.create, the character length must be great than or equal to 1.'
|
61
|
+
end
|
62
|
+
|
57
63
|
# resource path
|
58
64
|
local_var_path = '/pulp/api/v3/content/deb/generic_contents/'
|
59
65
|
|
@@ -74,6 +80,7 @@ module PulpDebClient
|
|
74
80
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
75
81
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
76
82
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
83
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
77
84
|
|
78
85
|
# http body (model)
|
79
86
|
post_body = opts[:body]
|
@@ -107,13 +114,14 @@ module PulpDebClient
|
|
107
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
108
115
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
116
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
117
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
110
118
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
111
119
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
112
|
-
# @option opts [String] :q
|
120
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
113
121
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
114
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
116
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
122
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
123
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
124
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
117
125
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
118
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -130,13 +138,14 @@ module PulpDebClient
|
|
130
138
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
131
139
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
132
140
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
141
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
133
142
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
134
143
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
135
|
-
# @option opts [String] :q
|
144
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
136
145
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
137
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
138
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
139
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
146
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
147
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
148
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
140
149
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
141
150
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
142
151
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -158,6 +167,7 @@ module PulpDebClient
|
|
158
167
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
159
168
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
160
169
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
170
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
161
171
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
162
172
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
163
173
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -92,13 +92,14 @@ module PulpDebClient
|
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
93
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
94
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
95
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
95
96
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
96
97
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
-
# @option opts [String] :q
|
98
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
98
99
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
99
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
100
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
101
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
100
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
101
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
102
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
102
103
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -117,13 +118,14 @@ module PulpDebClient
|
|
117
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
119
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
119
120
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
120
122
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
121
123
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
122
|
-
# @option opts [String] :q
|
124
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
123
125
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
124
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
125
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
126
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
126
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
127
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
128
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
127
129
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
128
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -147,6 +149,7 @@ module PulpDebClient
|
|
147
149
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
148
150
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
149
151
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
152
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
150
153
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
154
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
155
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -27,6 +27,7 @@ module PulpDebClient
|
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
30
31
|
# @return [AsyncOperationResponse]
|
31
32
|
def create(opts = {})
|
32
33
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -41,6 +42,7 @@ module PulpDebClient
|
|
41
42
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
47
|
def create_with_http_info(opts = {})
|
46
48
|
if @api_client.config.debugging
|
@@ -50,6 +52,10 @@ module PulpDebClient
|
|
50
52
|
fail ArgumentError, 'invalid value for "opts[:"relative_path"]" when calling ContentInstallerPackagesApi.create, the character length must be great than or equal to 1.'
|
51
53
|
end
|
52
54
|
|
55
|
+
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
56
|
+
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentInstallerPackagesApi.create, the character length must be great than or equal to 1.'
|
57
|
+
end
|
58
|
+
|
53
59
|
# resource path
|
54
60
|
local_var_path = '/pulp/api/v3/content/deb/installer_packages/'
|
55
61
|
|
@@ -70,6 +76,7 @@ module PulpDebClient
|
|
70
76
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
71
77
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
72
78
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
79
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
73
80
|
|
74
81
|
# http body (model)
|
75
82
|
post_body = opts[:body]
|
@@ -115,12 +122,13 @@ module PulpDebClient
|
|
115
122
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
116
123
|
# @option opts [String] :package Filter results where package matches value
|
117
124
|
# @option opts [String] :priority Filter results where priority matches value
|
125
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
118
126
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
127
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
120
|
-
# @option opts [String] :q
|
121
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
122
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
123
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
128
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
129
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
130
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
131
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
124
132
|
# @option opts [String] :section Filter results where section matches value
|
125
133
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
126
134
|
# @option opts [String] :source Filter results where source matches value
|
@@ -153,12 +161,13 @@ module PulpDebClient
|
|
153
161
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
154
162
|
# @option opts [String] :package Filter results where package matches value
|
155
163
|
# @option opts [String] :priority Filter results where priority matches value
|
164
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
156
165
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
157
166
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
158
|
-
# @option opts [String] :q
|
159
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
160
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
161
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
167
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
168
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
169
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
170
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
162
171
|
# @option opts [String] :section Filter results where section matches value
|
163
172
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
164
173
|
# @option opts [String] :source Filter results where source matches value
|
@@ -208,6 +217,7 @@ module PulpDebClient
|
|
208
217
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
209
218
|
query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
|
210
219
|
query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
|
220
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
211
221
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
212
222
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
213
223
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -92,13 +92,14 @@ module PulpDebClient
|
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
93
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
94
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
95
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
95
96
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
96
97
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
-
# @option opts [String] :q
|
98
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
98
99
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
99
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
100
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
101
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
100
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
101
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
102
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
102
103
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -117,13 +118,14 @@ module PulpDebClient
|
|
117
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
119
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
119
120
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
120
122
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
121
123
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
122
|
-
# @option opts [String] :q
|
124
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
123
125
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
124
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
125
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
126
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
126
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
127
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
128
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
127
129
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
128
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -147,6 +149,7 @@ module PulpDebClient
|
|
147
149
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
148
150
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
149
151
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
152
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
150
153
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
154
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
155
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|