pulp_deb_client 3.5.1 → 3.6.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 +32 -4
- data/docs/ContentGenericContentsApi.md +166 -2
- data/docs/ContentInstallerFileIndicesApi.md +170 -6
- data/docs/ContentInstallerPackagesApi.md +166 -2
- data/docs/ContentPackageIndicesApi.md +170 -6
- data/docs/ContentPackageReleaseComponentsApi.md +170 -6
- data/docs/ContentPackagesApi.md +166 -2
- data/docs/ContentReleaseArchitecturesApi.md +170 -6
- data/docs/ContentReleaseComponentsApi.md +170 -6
- data/docs/ContentReleaseFilesApi.md +170 -6
- data/docs/ContentReleasesApi.md +170 -6
- data/docs/ContentSourceIndicesApi.md +170 -6
- data/docs/ContentSourcePackagesApi.md +170 -6
- data/docs/ContentSourceReleaseComponentsApi.md +170 -6
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +76 -34
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +44 -18
- data/docs/PublicationsVerbatimApi.md +44 -18
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +34 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
- data/spec/api/content_installer_packages_api_spec.rb +34 -1
- data/spec/api/content_package_indices_api_spec.rb +33 -1
- data/spec/api/content_package_release_components_api_spec.rb +33 -1
- data/spec/api/content_packages_api_spec.rb +34 -1
- data/spec/api/content_release_architectures_api_spec.rb +33 -1
- data/spec/api/content_release_components_api_spec.rb +33 -1
- data/spec/api/content_release_files_api_spec.rb +33 -1
- data/spec/api/content_releases_api_spec.rb +33 -1
- data/spec/api/content_source_indices_api_spec.rb +33 -1
- data/spec/api/content_source_packages_api_spec.rb +33 -1
- data/spec/api/content_source_release_components_api_spec.rb +33 -1
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +14 -1
- data/spec/api/publications_apt_api_spec.rb +10 -1
- data/spec/api/publications_verbatim_api_spec.rb +10 -1
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +76 -96
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
24
24
|
# @param deb_source_package_release_component [DebSourcePackageReleaseComponent]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [DebSourcePackageReleaseComponentResponse]
|
27
28
|
def create(deb_source_package_release_component, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(deb_source_package_release_component, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
34
35
|
# @param deb_source_package_release_component [DebSourcePackageReleaseComponent]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(DebSourcePackageReleaseComponentResponse, Integer, Hash)>] DebSourcePackageReleaseComponentResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(deb_source_package_release_component, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpDebClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -90,13 +93,15 @@ module PulpDebClient
|
|
90
93
|
# List source package release components
|
91
94
|
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
92
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
98
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
95
|
-
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
99
|
+
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
100
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
97
101
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
98
102
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
99
103
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
104
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
100
105
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
101
106
|
# @option opts [String] :release_component Filter results where release_component matches value
|
102
107
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -114,13 +119,15 @@ module PulpDebClient
|
|
114
119
|
# List source package release components
|
115
120
|
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
116
121
|
# @param [Hash] opts the optional parameters
|
122
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
117
123
|
# @option opts [Integer] :limit Number of results to return per page.
|
118
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
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) * `pk` - Pk * `-pk` - Pk (descending)
|
125
|
+
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
120
126
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
127
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
122
128
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
123
129
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
130
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
124
131
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
125
132
|
# @option opts [String] :release_component Filter results where release_component matches value
|
126
133
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -134,7 +141,7 @@ module PulpDebClient
|
|
134
141
|
if @api_client.config.debugging
|
135
142
|
@api_client.config.logger.debug 'Calling API: ContentSourceReleaseComponentsApi.list ...'
|
136
143
|
end
|
137
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
144
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
138
145
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
139
146
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
140
147
|
end
|
@@ -150,6 +157,7 @@ module PulpDebClient
|
|
150
157
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
151
158
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
152
159
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
160
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
153
161
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
154
162
|
query_params[:'release_component'] = opts[:'release_component'] if !opts[:'release_component'].nil?
|
155
163
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
@@ -163,6 +171,7 @@ module PulpDebClient
|
|
163
171
|
header_params = opts[:header_params] || {}
|
164
172
|
# HTTP header 'Accept' (if needed)
|
165
173
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
174
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
166
175
|
|
167
176
|
# form parameters
|
168
177
|
form_params = opts[:form_params] || {}
|
@@ -197,6 +206,7 @@ module PulpDebClient
|
|
197
206
|
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
198
207
|
# @param deb_source_package_release_component_href [String]
|
199
208
|
# @param [Hash] opts the optional parameters
|
209
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
200
210
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
201
211
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
202
212
|
# @return [DebSourcePackageReleaseComponentResponse]
|
@@ -209,6 +219,7 @@ module PulpDebClient
|
|
209
219
|
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
210
220
|
# @param deb_source_package_release_component_href [String]
|
211
221
|
# @param [Hash] opts the optional parameters
|
222
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
212
223
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
213
224
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
214
225
|
# @return [Array<(DebSourcePackageReleaseComponentResponse, Integer, Hash)>] DebSourcePackageReleaseComponentResponse data, response status code and response headers
|
@@ -232,6 +243,7 @@ module PulpDebClient
|
|
232
243
|
header_params = opts[:header_params] || {}
|
233
244
|
# HTTP header 'Accept' (if needed)
|
234
245
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
246
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
235
247
|
|
236
248
|
# form parameters
|
237
249
|
form_params = opts[:form_params] || {}
|
@@ -261,5 +273,159 @@ module PulpDebClient
|
|
261
273
|
end
|
262
274
|
return data, status_code, headers
|
263
275
|
end
|
276
|
+
|
277
|
+
# Set a label
|
278
|
+
# Set a single pulp_label on the object to a specific value or null.
|
279
|
+
# @param deb_source_package_release_component_href [String]
|
280
|
+
# @param set_label [SetLabel]
|
281
|
+
# @param [Hash] opts the optional parameters
|
282
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
283
|
+
# @return [SetLabelResponse]
|
284
|
+
def set_label(deb_source_package_release_component_href, set_label, opts = {})
|
285
|
+
data, _status_code, _headers = set_label_with_http_info(deb_source_package_release_component_href, set_label, opts)
|
286
|
+
data
|
287
|
+
end
|
288
|
+
|
289
|
+
# Set a label
|
290
|
+
# Set a single pulp_label on the object to a specific value or null.
|
291
|
+
# @param deb_source_package_release_component_href [String]
|
292
|
+
# @param set_label [SetLabel]
|
293
|
+
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
295
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
296
|
+
def set_label_with_http_info(deb_source_package_release_component_href, set_label, opts = {})
|
297
|
+
if @api_client.config.debugging
|
298
|
+
@api_client.config.logger.debug 'Calling API: ContentSourceReleaseComponentsApi.set_label ...'
|
299
|
+
end
|
300
|
+
# verify the required parameter 'deb_source_package_release_component_href' is set
|
301
|
+
if @api_client.config.client_side_validation && deb_source_package_release_component_href.nil?
|
302
|
+
fail ArgumentError, "Missing the required parameter 'deb_source_package_release_component_href' when calling ContentSourceReleaseComponentsApi.set_label"
|
303
|
+
end
|
304
|
+
# verify the required parameter 'set_label' is set
|
305
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
306
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentSourceReleaseComponentsApi.set_label"
|
307
|
+
end
|
308
|
+
# resource path
|
309
|
+
local_var_path = '{deb_source_package_release_component_href}set_label/'.sub('{' + 'deb_source_package_release_component_href' + '}', CGI.escape(deb_source_package_release_component_href.to_s).gsub('%2F', '/'))
|
310
|
+
|
311
|
+
# query parameters
|
312
|
+
query_params = opts[:query_params] || {}
|
313
|
+
|
314
|
+
# header parameters
|
315
|
+
header_params = opts[:header_params] || {}
|
316
|
+
# HTTP header 'Accept' (if needed)
|
317
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
318
|
+
# HTTP header 'Content-Type'
|
319
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
320
|
+
if !content_type.nil?
|
321
|
+
header_params['Content-Type'] = content_type
|
322
|
+
end
|
323
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
324
|
+
|
325
|
+
# form parameters
|
326
|
+
form_params = opts[:form_params] || {}
|
327
|
+
|
328
|
+
# http body (model)
|
329
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
330
|
+
|
331
|
+
# return_type
|
332
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
333
|
+
|
334
|
+
# auth_names
|
335
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
336
|
+
|
337
|
+
new_options = opts.merge(
|
338
|
+
:operation => :"ContentSourceReleaseComponentsApi.set_label",
|
339
|
+
:header_params => header_params,
|
340
|
+
:query_params => query_params,
|
341
|
+
:form_params => form_params,
|
342
|
+
:body => post_body,
|
343
|
+
:auth_names => auth_names,
|
344
|
+
:return_type => return_type
|
345
|
+
)
|
346
|
+
|
347
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
348
|
+
if @api_client.config.debugging
|
349
|
+
@api_client.config.logger.debug "API called: ContentSourceReleaseComponentsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
350
|
+
end
|
351
|
+
return data, status_code, headers
|
352
|
+
end
|
353
|
+
|
354
|
+
# Unset a label
|
355
|
+
# Unset a single pulp_label on the object.
|
356
|
+
# @param deb_source_package_release_component_href [String]
|
357
|
+
# @param unset_label [UnsetLabel]
|
358
|
+
# @param [Hash] opts the optional parameters
|
359
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
360
|
+
# @return [UnsetLabelResponse]
|
361
|
+
def unset_label(deb_source_package_release_component_href, unset_label, opts = {})
|
362
|
+
data, _status_code, _headers = unset_label_with_http_info(deb_source_package_release_component_href, unset_label, opts)
|
363
|
+
data
|
364
|
+
end
|
365
|
+
|
366
|
+
# Unset a label
|
367
|
+
# Unset a single pulp_label on the object.
|
368
|
+
# @param deb_source_package_release_component_href [String]
|
369
|
+
# @param unset_label [UnsetLabel]
|
370
|
+
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
372
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
373
|
+
def unset_label_with_http_info(deb_source_package_release_component_href, unset_label, opts = {})
|
374
|
+
if @api_client.config.debugging
|
375
|
+
@api_client.config.logger.debug 'Calling API: ContentSourceReleaseComponentsApi.unset_label ...'
|
376
|
+
end
|
377
|
+
# verify the required parameter 'deb_source_package_release_component_href' is set
|
378
|
+
if @api_client.config.client_side_validation && deb_source_package_release_component_href.nil?
|
379
|
+
fail ArgumentError, "Missing the required parameter 'deb_source_package_release_component_href' when calling ContentSourceReleaseComponentsApi.unset_label"
|
380
|
+
end
|
381
|
+
# verify the required parameter 'unset_label' is set
|
382
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
383
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentSourceReleaseComponentsApi.unset_label"
|
384
|
+
end
|
385
|
+
# resource path
|
386
|
+
local_var_path = '{deb_source_package_release_component_href}unset_label/'.sub('{' + 'deb_source_package_release_component_href' + '}', CGI.escape(deb_source_package_release_component_href.to_s).gsub('%2F', '/'))
|
387
|
+
|
388
|
+
# query parameters
|
389
|
+
query_params = opts[:query_params] || {}
|
390
|
+
|
391
|
+
# header parameters
|
392
|
+
header_params = opts[:header_params] || {}
|
393
|
+
# HTTP header 'Accept' (if needed)
|
394
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
395
|
+
# HTTP header 'Content-Type'
|
396
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
397
|
+
if !content_type.nil?
|
398
|
+
header_params['Content-Type'] = content_type
|
399
|
+
end
|
400
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
401
|
+
|
402
|
+
# form parameters
|
403
|
+
form_params = opts[:form_params] || {}
|
404
|
+
|
405
|
+
# http body (model)
|
406
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
407
|
+
|
408
|
+
# return_type
|
409
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
410
|
+
|
411
|
+
# auth_names
|
412
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
413
|
+
|
414
|
+
new_options = opts.merge(
|
415
|
+
:operation => :"ContentSourceReleaseComponentsApi.unset_label",
|
416
|
+
:header_params => header_params,
|
417
|
+
:query_params => query_params,
|
418
|
+
:form_params => form_params,
|
419
|
+
:body => post_body,
|
420
|
+
:auth_names => auth_names,
|
421
|
+
:return_type => return_type
|
422
|
+
)
|
423
|
+
|
424
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
425
|
+
if @api_client.config.debugging
|
426
|
+
@api_client.config.logger.debug "API called: ContentSourceReleaseComponentsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
427
|
+
end
|
428
|
+
return data, status_code, headers
|
429
|
+
end
|
264
430
|
end
|
265
431
|
end
|
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# Trigger an asynchronous task to copy APT contentfrom one repository into another, creating a newrepository version.
|
24
24
|
# @param copy [Copy]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def copy_content(copy, opts = {})
|
28
29
|
data, _status_code, _headers = copy_content_with_http_info(copy, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# Trigger an asynchronous task to copy APT contentfrom one repository into another, creating a newrepository version.
|
34
35
|
# @param copy [Copy]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def copy_content_with_http_info(copy, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpDebClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpDebClient
|
|
24
24
|
# @param deb_apt_distribution_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(deb_apt_distribution_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpDebClient
|
|
35
36
|
# @param deb_apt_distribution_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(deb_apt_distribution_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpDebClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpDebClient
|
|
97
100
|
# Trigger an asynchronous create task
|
98
101
|
# @param deb_apt_distribution [DebAptDistribution]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [AsyncOperationResponse]
|
101
105
|
def create(deb_apt_distribution, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(deb_apt_distribution, opts)
|
@@ -107,6 +111,7 @@ module PulpDebClient
|
|
107
111
|
# Trigger an asynchronous create task
|
108
112
|
# @param deb_apt_distribution [DebAptDistribution]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(deb_apt_distribution, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpDebClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpDebClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param deb_apt_distribution_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(deb_apt_distribution_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(deb_apt_distribution_href, opts)
|
@@ -175,6 +182,7 @@ module PulpDebClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param deb_apt_distribution_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(deb_apt_distribution_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpDebClient
|
|
194
202
|
header_params = opts[:header_params] || {}
|
195
203
|
# HTTP header 'Accept' (if needed)
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
206
|
|
198
207
|
# form parameters
|
199
208
|
form_params = opts[:form_params] || {}
|
@@ -227,10 +236,12 @@ module PulpDebClient
|
|
227
236
|
# List apt distributions
|
228
237
|
# An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
229
238
|
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
240
|
# @option opts [String] :base_path Filter results where base_path matches value
|
231
241
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
232
242
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
233
243
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
244
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
234
245
|
# @option opts [Integer] :limit Number of results to return per page.
|
235
246
|
# @option opts [String] :name Filter results where name matches value
|
236
247
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -242,7 +253,7 @@ module PulpDebClient
|
|
242
253
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
243
254
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
244
255
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
|
-
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
256
|
+
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
246
257
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
247
258
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
248
259
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -262,10 +273,12 @@ module PulpDebClient
|
|
262
273
|
# List apt distributions
|
263
274
|
# An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
264
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
265
277
|
# @option opts [String] :base_path Filter results where base_path matches value
|
266
278
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
267
279
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
268
280
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
281
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
269
282
|
# @option opts [Integer] :limit Number of results to return per page.
|
270
283
|
# @option opts [String] :name Filter results where name matches value
|
271
284
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -277,7 +290,7 @@ module PulpDebClient
|
|
277
290
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
278
291
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
279
292
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
280
|
-
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
293
|
+
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
281
294
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
282
295
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
283
296
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -293,7 +306,7 @@ module PulpDebClient
|
|
293
306
|
if @api_client.config.debugging
|
294
307
|
@api_client.config.logger.debug 'Calling API: DistributionsAptApi.list ...'
|
295
308
|
end
|
296
|
-
allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
309
|
+
allowable_values = ["-base_path", "-checkpoint", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
297
310
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
298
311
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
299
312
|
end
|
@@ -306,6 +319,7 @@ module PulpDebClient
|
|
306
319
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
307
320
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
308
321
|
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
322
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
309
323
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
310
324
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
311
325
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -333,6 +347,7 @@ module PulpDebClient
|
|
333
347
|
header_params = opts[:header_params] || {}
|
334
348
|
# HTTP header 'Accept' (if needed)
|
335
349
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
336
351
|
|
337
352
|
# form parameters
|
338
353
|
form_params = opts[:form_params] || {}
|
@@ -367,6 +382,7 @@ module PulpDebClient
|
|
367
382
|
# List roles assigned to this object.
|
368
383
|
# @param deb_apt_distribution_href [String]
|
369
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
370
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
371
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
372
388
|
# @return [ObjectRolesResponse]
|
@@ -379,6 +395,7 @@ module PulpDebClient
|
|
379
395
|
# List roles assigned to this object.
|
380
396
|
# @param deb_apt_distribution_href [String]
|
381
397
|
# @param [Hash] opts the optional parameters
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
401
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -402,6 +419,7 @@ module PulpDebClient
|
|
402
419
|
header_params = opts[:header_params] || {}
|
403
420
|
# HTTP header 'Accept' (if needed)
|
404
421
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
422
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
405
423
|
|
406
424
|
# form parameters
|
407
425
|
form_params = opts[:form_params] || {}
|
@@ -436,6 +454,7 @@ module PulpDebClient
|
|
436
454
|
# List permissions available to the current user on this object.
|
437
455
|
# @param deb_apt_distribution_href [String]
|
438
456
|
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
439
458
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
440
459
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
441
460
|
# @return [MyPermissionsResponse]
|
@@ -448,6 +467,7 @@ module PulpDebClient
|
|
448
467
|
# List permissions available to the current user on this object.
|
449
468
|
# @param deb_apt_distribution_href [String]
|
450
469
|
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
451
471
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
452
472
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
453
473
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -471,6 +491,7 @@ module PulpDebClient
|
|
471
491
|
header_params = opts[:header_params] || {}
|
472
492
|
# HTTP header 'Accept' (if needed)
|
473
493
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
494
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
474
495
|
|
475
496
|
# form parameters
|
476
497
|
form_params = opts[:form_params] || {}
|
@@ -506,6 +527,7 @@ module PulpDebClient
|
|
506
527
|
# @param deb_apt_distribution_href [String]
|
507
528
|
# @param patcheddeb_apt_distribution [PatcheddebAptDistribution]
|
508
529
|
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
509
531
|
# @return [AsyncOperationResponse]
|
510
532
|
def partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution, opts = {})
|
511
533
|
data, _status_code, _headers = partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
@@ -517,6 +539,7 @@ module PulpDebClient
|
|
517
539
|
# @param deb_apt_distribution_href [String]
|
518
540
|
# @param patcheddeb_apt_distribution [PatcheddebAptDistribution]
|
519
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
520
543
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
521
544
|
def partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts = {})
|
522
545
|
if @api_client.config.debugging
|
@@ -545,6 +568,7 @@ module PulpDebClient
|
|
545
568
|
if !content_type.nil?
|
546
569
|
header_params['Content-Type'] = content_type
|
547
570
|
end
|
571
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
548
572
|
|
549
573
|
# form parameters
|
550
574
|
form_params = opts[:form_params] || {}
|
@@ -579,6 +603,7 @@ module PulpDebClient
|
|
579
603
|
# An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
580
604
|
# @param deb_apt_distribution_href [String]
|
581
605
|
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
582
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
583
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
584
609
|
# @return [DebAptDistributionResponse]
|
@@ -591,6 +616,7 @@ module PulpDebClient
|
|
591
616
|
# An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
592
617
|
# @param deb_apt_distribution_href [String]
|
593
618
|
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
594
620
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
595
621
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
596
622
|
# @return [Array<(DebAptDistributionResponse, Integer, Hash)>] DebAptDistributionResponse data, response status code and response headers
|
@@ -614,6 +640,7 @@ module PulpDebClient
|
|
614
640
|
header_params = opts[:header_params] || {}
|
615
641
|
# HTTP header 'Accept' (if needed)
|
616
642
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
643
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
617
644
|
|
618
645
|
# form parameters
|
619
646
|
form_params = opts[:form_params] || {}
|
@@ -649,6 +676,7 @@ module PulpDebClient
|
|
649
676
|
# @param deb_apt_distribution_href [String]
|
650
677
|
# @param nested_role [NestedRole]
|
651
678
|
# @param [Hash] opts the optional parameters
|
679
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
652
680
|
# @return [NestedRoleResponse]
|
653
681
|
def remove_role(deb_apt_distribution_href, nested_role, opts = {})
|
654
682
|
data, _status_code, _headers = remove_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
|
@@ -660,6 +688,7 @@ module PulpDebClient
|
|
660
688
|
# @param deb_apt_distribution_href [String]
|
661
689
|
# @param nested_role [NestedRole]
|
662
690
|
# @param [Hash] opts the optional parameters
|
691
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
663
692
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
664
693
|
def remove_role_with_http_info(deb_apt_distribution_href, nested_role, opts = {})
|
665
694
|
if @api_client.config.debugging
|
@@ -688,6 +717,7 @@ module PulpDebClient
|
|
688
717
|
if !content_type.nil?
|
689
718
|
header_params['Content-Type'] = content_type
|
690
719
|
end
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
691
721
|
|
692
722
|
# form parameters
|
693
723
|
form_params = opts[:form_params] || {}
|
@@ -723,6 +753,7 @@ module PulpDebClient
|
|
723
753
|
# @param deb_apt_distribution_href [String]
|
724
754
|
# @param set_label [SetLabel]
|
725
755
|
# @param [Hash] opts the optional parameters
|
756
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
726
757
|
# @return [SetLabelResponse]
|
727
758
|
def set_label(deb_apt_distribution_href, set_label, opts = {})
|
728
759
|
data, _status_code, _headers = set_label_with_http_info(deb_apt_distribution_href, set_label, opts)
|
@@ -734,6 +765,7 @@ module PulpDebClient
|
|
734
765
|
# @param deb_apt_distribution_href [String]
|
735
766
|
# @param set_label [SetLabel]
|
736
767
|
# @param [Hash] opts the optional parameters
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
737
769
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
738
770
|
def set_label_with_http_info(deb_apt_distribution_href, set_label, opts = {})
|
739
771
|
if @api_client.config.debugging
|
@@ -762,6 +794,7 @@ module PulpDebClient
|
|
762
794
|
if !content_type.nil?
|
763
795
|
header_params['Content-Type'] = content_type
|
764
796
|
end
|
797
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
765
798
|
|
766
799
|
# form parameters
|
767
800
|
form_params = opts[:form_params] || {}
|
@@ -797,6 +830,7 @@ module PulpDebClient
|
|
797
830
|
# @param deb_apt_distribution_href [String]
|
798
831
|
# @param unset_label [UnsetLabel]
|
799
832
|
# @param [Hash] opts the optional parameters
|
833
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
800
834
|
# @return [UnsetLabelResponse]
|
801
835
|
def unset_label(deb_apt_distribution_href, unset_label, opts = {})
|
802
836
|
data, _status_code, _headers = unset_label_with_http_info(deb_apt_distribution_href, unset_label, opts)
|
@@ -808,6 +842,7 @@ module PulpDebClient
|
|
808
842
|
# @param deb_apt_distribution_href [String]
|
809
843
|
# @param unset_label [UnsetLabel]
|
810
844
|
# @param [Hash] opts the optional parameters
|
845
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
811
846
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
812
847
|
def unset_label_with_http_info(deb_apt_distribution_href, unset_label, opts = {})
|
813
848
|
if @api_client.config.debugging
|
@@ -836,6 +871,7 @@ module PulpDebClient
|
|
836
871
|
if !content_type.nil?
|
837
872
|
header_params['Content-Type'] = content_type
|
838
873
|
end
|
874
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
839
875
|
|
840
876
|
# form parameters
|
841
877
|
form_params = opts[:form_params] || {}
|
@@ -871,6 +907,7 @@ module PulpDebClient
|
|
871
907
|
# @param deb_apt_distribution_href [String]
|
872
908
|
# @param deb_apt_distribution [DebAptDistribution]
|
873
909
|
# @param [Hash] opts the optional parameters
|
910
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
874
911
|
# @return [AsyncOperationResponse]
|
875
912
|
def update(deb_apt_distribution_href, deb_apt_distribution, opts = {})
|
876
913
|
data, _status_code, _headers = update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
|
@@ -882,6 +919,7 @@ module PulpDebClient
|
|
882
919
|
# @param deb_apt_distribution_href [String]
|
883
920
|
# @param deb_apt_distribution [DebAptDistribution]
|
884
921
|
# @param [Hash] opts the optional parameters
|
922
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
885
923
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
886
924
|
def update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts = {})
|
887
925
|
if @api_client.config.debugging
|
@@ -910,6 +948,7 @@ module PulpDebClient
|
|
910
948
|
if !content_type.nil?
|
911
949
|
header_params['Content-Type'] = content_type
|
912
950
|
end
|
951
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
913
952
|
|
914
953
|
# form parameters
|
915
954
|
form_params = opts[:form_params] || {}
|