pulp_deb_client 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -146,11 +146,12 @@ module PulpDebClient
|
|
146
146
|
# List apt publications
|
147
147
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
150
|
-
# @option opts [String] :content__in
|
149
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
150
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
153
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
154
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
154
155
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
155
156
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
156
157
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -159,9 +160,9 @@ module PulpDebClient
|
|
159
160
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
161
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
161
162
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
162
|
-
# @option opts [String] :q
|
163
|
-
# @option opts [String] :repository Repository referenced by HREF
|
164
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
163
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
164
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
165
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
165
166
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
167
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
168
|
# @return [PaginateddebAptPublicationResponseList]
|
@@ -173,11 +174,12 @@ module PulpDebClient
|
|
173
174
|
# List apt publications
|
174
175
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
175
176
|
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
177
|
-
# @option opts [String] :content__in
|
177
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
178
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
178
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
179
180
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
180
181
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
182
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
181
183
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
182
184
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
183
185
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -186,9 +188,9 @@ module PulpDebClient
|
|
186
188
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
187
189
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
190
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
189
|
-
# @option opts [String] :q
|
190
|
-
# @option opts [String] :repository Repository referenced by HREF
|
191
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
191
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
192
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
193
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
192
194
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
195
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
196
|
# @return [Array<(PaginateddebAptPublicationResponseList, Integer, Hash)>] PaginateddebAptPublicationResponseList data, response status code and response headers
|
@@ -206,10 +208,11 @@ module PulpDebClient
|
|
206
208
|
# query parameters
|
207
209
|
query_params = opts[:query_params] || {}
|
208
210
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
209
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
211
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
210
212
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
211
213
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
212
214
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
213
216
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
214
217
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
215
218
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -146,11 +146,12 @@ module PulpDebClient
|
|
146
146
|
# List verbatim publications
|
147
147
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
150
|
-
# @option opts [String] :content__in
|
149
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
150
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
153
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
154
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
154
155
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
155
156
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
156
157
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -159,9 +160,9 @@ module PulpDebClient
|
|
159
160
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
161
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
161
162
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
162
|
-
# @option opts [String] :q
|
163
|
-
# @option opts [String] :repository Repository referenced by HREF
|
164
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
163
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
164
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
165
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
165
166
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
167
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
168
|
# @return [PaginateddebVerbatimPublicationResponseList]
|
@@ -173,11 +174,12 @@ module PulpDebClient
|
|
173
174
|
# List verbatim publications
|
174
175
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
175
176
|
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
177
|
-
# @option opts [String] :content__in
|
177
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
178
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
178
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
179
180
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
180
181
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
182
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
181
183
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
182
184
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
183
185
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -186,9 +188,9 @@ module PulpDebClient
|
|
186
188
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
187
189
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
190
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
189
|
-
# @option opts [String] :q
|
190
|
-
# @option opts [String] :repository Repository referenced by HREF
|
191
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
191
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
192
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
193
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
192
194
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
195
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
196
|
# @return [Array<(PaginateddebVerbatimPublicationResponseList, Integer, Hash)>] PaginateddebVerbatimPublicationResponseList data, response status code and response headers
|
@@ -206,10 +208,11 @@ module PulpDebClient
|
|
206
208
|
# query parameters
|
207
209
|
query_params = opts[:query_params] || {}
|
208
210
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
209
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
211
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
210
212
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
211
213
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
212
214
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
213
216
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
214
217
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
215
218
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -160,6 +160,7 @@ module PulpDebClient
|
|
160
160
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @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) * `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)
|
163
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
163
164
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
165
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
166
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -169,7 +170,7 @@ module PulpDebClient
|
|
169
170
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
170
171
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
171
172
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
172
|
-
# @option opts [String] :q
|
173
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
173
174
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
174
175
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
175
176
|
# @return [PaginateddebAptRemoteResponseList]
|
@@ -193,6 +194,7 @@ module PulpDebClient
|
|
193
194
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
194
195
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
195
196
|
# @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) * `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)
|
197
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
196
198
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
197
199
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
198
200
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -202,7 +204,7 @@ module PulpDebClient
|
|
202
204
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
203
205
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
204
206
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
205
|
-
# @option opts [String] :q
|
207
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
206
208
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
209
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
210
|
# @return [Array<(PaginateddebAptRemoteResponseList, Integer, Hash)>] PaginateddebAptRemoteResponseList data, response status code and response headers
|
@@ -231,6 +233,7 @@ module PulpDebClient
|
|
231
233
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
232
234
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
233
235
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
236
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
234
237
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
235
238
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
236
239
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -148,7 +148,7 @@ module PulpDebClient
|
|
148
148
|
# List apt repositorys
|
149
149
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
151
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
152
152
|
# @option opts [Integer] :limit Number of results to return per page.
|
153
153
|
# @option opts [String] :name Filter results where name matches value
|
154
154
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -161,10 +161,11 @@ module PulpDebClient
|
|
161
161
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
162
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
163
|
# @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) * `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)
|
164
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
164
165
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
165
166
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
166
167
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
167
|
-
# @option opts [String] :q
|
168
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
168
169
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
169
170
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
170
171
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -174,7 +175,7 @@ module PulpDebClient
|
|
174
175
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
175
176
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
176
177
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
177
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
178
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
178
179
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
179
180
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
180
181
|
# @return [PaginateddebAptRepositoryResponseList]
|
@@ -186,7 +187,7 @@ module PulpDebClient
|
|
186
187
|
# List apt repositorys
|
187
188
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
188
189
|
# @param [Hash] opts the optional parameters
|
189
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
190
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
190
191
|
# @option opts [Integer] :limit Number of results to return per page.
|
191
192
|
# @option opts [String] :name Filter results where name matches value
|
192
193
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -199,10 +200,11 @@ module PulpDebClient
|
|
199
200
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
200
201
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
201
202
|
# @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) * `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)
|
203
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
202
204
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
203
205
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
204
206
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
205
|
-
# @option opts [String] :q
|
207
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
206
208
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
207
209
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
208
210
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -212,7 +214,7 @@ module PulpDebClient
|
|
212
214
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
213
215
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
214
216
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
215
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
217
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
216
218
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
217
219
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
218
220
|
# @return [Array<(PaginateddebAptRepositoryResponseList, Integer, Hash)>] PaginateddebAptRepositoryResponseList data, response status code and response headers
|
@@ -242,6 +244,7 @@ module PulpDebClient
|
|
242
244
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
243
245
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
244
246
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
247
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
245
248
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
246
249
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
247
250
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -85,8 +85,8 @@ module PulpDebClient
|
|
85
85
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
86
86
|
# @param deb_apt_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
89
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :number Filter results where number matches value
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -96,6 +96,7 @@ module PulpDebClient
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
99
100
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
101
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
102
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -103,7 +104,7 @@ module PulpDebClient
|
|
103
104
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
105
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
106
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
-
# @option opts [String] :q
|
107
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
107
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
110
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -116,8 +117,8 @@ module PulpDebClient
|
|
116
117
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
117
118
|
# @param deb_apt_repository_href [String]
|
118
119
|
# @param [Hash] opts the optional parameters
|
119
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
120
|
-
# @option opts [String] :content__in
|
120
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
121
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
121
122
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
123
|
# @option opts [Integer] :number Filter results where number matches value
|
123
124
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -127,6 +128,7 @@ module PulpDebClient
|
|
127
128
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
128
129
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
130
|
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
131
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
130
132
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
131
133
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
132
134
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -134,7 +136,7 @@ module PulpDebClient
|
|
134
136
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
135
137
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
136
138
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
137
|
-
# @option opts [String] :q
|
139
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
138
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
139
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
142
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -156,7 +158,7 @@ module PulpDebClient
|
|
156
158
|
# query parameters
|
157
159
|
query_params = opts[:query_params] || {}
|
158
160
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
159
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
161
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
160
162
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
161
163
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
162
164
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
@@ -166,6 +168,7 @@ module PulpDebClient
|
|
166
168
|
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
167
169
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
168
170
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
171
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
169
172
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
170
173
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
171
174
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -128,7 +128,7 @@ module PulpDebClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'localhost'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpDebClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://localhost:24817/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebAptDistributionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -32,6 +35,9 @@ module PulpDebClient
|
|
32
35
|
# An optional content-guard.
|
33
36
|
attr_accessor :content_guard
|
34
37
|
|
38
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
39
|
+
attr_accessor :no_content_change_since
|
40
|
+
|
35
41
|
# Whether this distribution should be shown in the content app.
|
36
42
|
attr_accessor :hidden
|
37
43
|
|
@@ -50,11 +56,13 @@ module PulpDebClient
|
|
50
56
|
def self.attribute_map
|
51
57
|
{
|
52
58
|
:'pulp_href' => :'pulp_href',
|
59
|
+
:'prn' => :'prn',
|
53
60
|
:'pulp_created' => :'pulp_created',
|
54
61
|
:'pulp_last_updated' => :'pulp_last_updated',
|
55
62
|
:'base_path' => :'base_path',
|
56
63
|
:'base_url' => :'base_url',
|
57
64
|
:'content_guard' => :'content_guard',
|
65
|
+
:'no_content_change_since' => :'no_content_change_since',
|
58
66
|
:'hidden' => :'hidden',
|
59
67
|
:'pulp_labels' => :'pulp_labels',
|
60
68
|
:'name' => :'name',
|
@@ -67,11 +75,13 @@ module PulpDebClient
|
|
67
75
|
def self.openapi_types
|
68
76
|
{
|
69
77
|
:'pulp_href' => :'String',
|
78
|
+
:'prn' => :'String',
|
70
79
|
:'pulp_created' => :'DateTime',
|
71
80
|
:'pulp_last_updated' => :'DateTime',
|
72
81
|
:'base_path' => :'String',
|
73
82
|
:'base_url' => :'String',
|
74
83
|
:'content_guard' => :'String',
|
84
|
+
:'no_content_change_since' => :'String',
|
75
85
|
:'hidden' => :'Boolean',
|
76
86
|
:'pulp_labels' => :'Hash<String, String>',
|
77
87
|
:'name' => :'String',
|
@@ -108,6 +118,10 @@ module PulpDebClient
|
|
108
118
|
self.pulp_href = attributes[:'pulp_href']
|
109
119
|
end
|
110
120
|
|
121
|
+
if attributes.key?(:'prn')
|
122
|
+
self.prn = attributes[:'prn']
|
123
|
+
end
|
124
|
+
|
111
125
|
if attributes.key?(:'pulp_created')
|
112
126
|
self.pulp_created = attributes[:'pulp_created']
|
113
127
|
end
|
@@ -128,6 +142,10 @@ module PulpDebClient
|
|
128
142
|
self.content_guard = attributes[:'content_guard']
|
129
143
|
end
|
130
144
|
|
145
|
+
if attributes.key?(:'no_content_change_since')
|
146
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
147
|
+
end
|
148
|
+
|
131
149
|
if attributes.key?(:'hidden')
|
132
150
|
self.hidden = attributes[:'hidden']
|
133
151
|
else
|
@@ -182,11 +200,13 @@ module PulpDebClient
|
|
182
200
|
return true if self.equal?(o)
|
183
201
|
self.class == o.class &&
|
184
202
|
pulp_href == o.pulp_href &&
|
203
|
+
prn == o.prn &&
|
185
204
|
pulp_created == o.pulp_created &&
|
186
205
|
pulp_last_updated == o.pulp_last_updated &&
|
187
206
|
base_path == o.base_path &&
|
188
207
|
base_url == o.base_url &&
|
189
208
|
content_guard == o.content_guard &&
|
209
|
+
no_content_change_since == o.no_content_change_since &&
|
190
210
|
hidden == o.hidden &&
|
191
211
|
pulp_labels == o.pulp_labels &&
|
192
212
|
name == o.name &&
|
@@ -203,7 +223,7 @@ module PulpDebClient
|
|
203
223
|
# Calculates hash code according to all attributes.
|
204
224
|
# @return [Integer] Hash code
|
205
225
|
def hash
|
206
|
-
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
226
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication].hash
|
207
227
|
end
|
208
228
|
|
209
229
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpDebClient
|
|
17
17
|
class DebAptPublicationResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -43,6 +46,7 @@ module PulpDebClient
|
|
43
46
|
def self.attribute_map
|
44
47
|
{
|
45
48
|
:'pulp_href' => :'pulp_href',
|
49
|
+
:'prn' => :'prn',
|
46
50
|
:'pulp_created' => :'pulp_created',
|
47
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
48
52
|
:'repository_version' => :'repository_version',
|
@@ -58,6 +62,7 @@ module PulpDebClient
|
|
58
62
|
def self.openapi_types
|
59
63
|
{
|
60
64
|
:'pulp_href' => :'String',
|
65
|
+
:'prn' => :'String',
|
61
66
|
:'pulp_created' => :'DateTime',
|
62
67
|
:'pulp_last_updated' => :'DateTime',
|
63
68
|
:'repository_version' => :'String',
|
@@ -94,6 +99,10 @@ module PulpDebClient
|
|
94
99
|
self.pulp_href = attributes[:'pulp_href']
|
95
100
|
end
|
96
101
|
|
102
|
+
if attributes.key?(:'prn')
|
103
|
+
self.prn = attributes[:'prn']
|
104
|
+
end
|
105
|
+
|
97
106
|
if attributes.key?(:'pulp_created')
|
98
107
|
self.pulp_created = attributes[:'pulp_created']
|
99
108
|
end
|
@@ -150,6 +159,7 @@ module PulpDebClient
|
|
150
159
|
return true if self.equal?(o)
|
151
160
|
self.class == o.class &&
|
152
161
|
pulp_href == o.pulp_href &&
|
162
|
+
prn == o.prn &&
|
153
163
|
pulp_created == o.pulp_created &&
|
154
164
|
pulp_last_updated == o.pulp_last_updated &&
|
155
165
|
repository_version == o.repository_version &&
|
@@ -169,7 +179,7 @@ module PulpDebClient
|
|
169
179
|
# Calculates hash code according to all attributes.
|
170
180
|
# @return [Integer] Hash code
|
171
181
|
def hash
|
172
|
-
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
182
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
173
183
|
end
|
174
184
|
|
175
185
|
# Builds the object from hash
|
@@ -387,20 +387,20 @@ module PulpDebClient
|
|
387
387
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
388
388
|
end
|
389
389
|
|
390
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
391
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
390
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
391
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
392
392
|
end
|
393
393
|
|
394
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
395
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
394
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
395
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
396
396
|
end
|
397
397
|
|
398
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
399
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
398
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
399
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
400
400
|
end
|
401
401
|
|
402
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
403
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
402
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
403
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
404
404
|
end
|
405
405
|
|
406
406
|
if @distributions.nil?
|
@@ -442,10 +442,10 @@ module PulpDebClient
|
|
442
442
|
return false if !@username.nil? && @username.to_s.length < 1
|
443
443
|
return false if !@password.nil? && @password.to_s.length < 1
|
444
444
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
445
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
446
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
447
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
448
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
445
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
446
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
447
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
448
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
449
449
|
return false if @distributions.nil?
|
450
450
|
return false if @distributions.to_s.length < 1
|
451
451
|
return false if !@components.nil? && @components.to_s.length < 1
|
@@ -575,8 +575,8 @@ module PulpDebClient
|
|
575
575
|
# Custom attribute writer method with validation
|
576
576
|
# @param [Object] total_timeout Value to be assigned
|
577
577
|
def total_timeout=(total_timeout)
|
578
|
-
if !total_timeout.nil? && total_timeout < 0
|
579
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
578
|
+
if !total_timeout.nil? && total_timeout < 0
|
579
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
580
580
|
end
|
581
581
|
|
582
582
|
@total_timeout = total_timeout
|
@@ -585,8 +585,8 @@ module PulpDebClient
|
|
585
585
|
# Custom attribute writer method with validation
|
586
586
|
# @param [Object] connect_timeout Value to be assigned
|
587
587
|
def connect_timeout=(connect_timeout)
|
588
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
589
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
588
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
589
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
590
590
|
end
|
591
591
|
|
592
592
|
@connect_timeout = connect_timeout
|
@@ -595,8 +595,8 @@ module PulpDebClient
|
|
595
595
|
# Custom attribute writer method with validation
|
596
596
|
# @param [Object] sock_connect_timeout Value to be assigned
|
597
597
|
def sock_connect_timeout=(sock_connect_timeout)
|
598
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
599
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
598
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
599
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
600
600
|
end
|
601
601
|
|
602
602
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -605,8 +605,8 @@ module PulpDebClient
|
|
605
605
|
# Custom attribute writer method with validation
|
606
606
|
# @param [Object] sock_read_timeout Value to be assigned
|
607
607
|
def sock_read_timeout=(sock_read_timeout)
|
608
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
609
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
608
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
609
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
610
610
|
end
|
611
611
|
|
612
612
|
@sock_read_timeout = sock_read_timeout
|