pulp_deb_client 2.20.1 → 2.20.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -10
- data/docs/ContentInstallerPackagesApi.md +20 -16
- data/docs/ContentPackageIndicesApi.md +14 -10
- data/docs/ContentPackageReleaseComponentsApi.md +16 -12
- data/docs/ContentPackagesApi.md +20 -16
- data/docs/ContentReleaseArchitecturesApi.md +15 -11
- data/docs/ContentReleaseComponentsApi.md +15 -11
- data/docs/ContentReleaseFilesApi.md +14 -10
- data/docs/ContentReleasesApi.md +14 -10
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebAptRemoteResponse.md +4 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
- data/docs/DebAptRepository.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -2
- data/docs/DebInstallerFileIndex.md +0 -2
- data/docs/DebInstallerFileIndexResponse.md +0 -2
- data/docs/DebPackageIndex.md +0 -2
- data/docs/DebPackageIndexResponse.md +0 -2
- data/docs/DistributionsAptApi.md +22 -14
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +16 -12
- data/docs/PublicationsVerbatimApi.md +16 -12
- data/docs/RemotesAptApi.md +18 -14
- data/docs/RepositoriesAptApi.md +33 -13
- data/docs/RepositoriesAptVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
- data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +5 -3
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -0
- data/spec/api/content_generic_contents_api_spec.rb +7 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
- data/spec/api/content_installer_packages_api_spec.rb +10 -8
- data/spec/api/content_package_indices_api_spec.rb +7 -5
- data/spec/api/content_package_release_components_api_spec.rb +7 -5
- data/spec/api/content_packages_api_spec.rb +10 -8
- data/spec/api/content_release_architectures_api_spec.rb +7 -5
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_release_files_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +7 -5
- data/spec/api/distributions_apt_api_spec.rb +11 -7
- data/spec/api/publications_apt_api_spec.rb +8 -6
- data/spec/api/publications_verbatim_api_spec.rb +8 -6
- data/spec/api/remotes_apt_api_spec.rb +9 -7
- data/spec/api/repositories_apt_api_spec.rb +16 -6
- data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
- data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
- data/spec/models/deb_installer_file_index_spec.rb +0 -6
- data/spec/models/deb_package_index_response_spec.rb +0 -6
- data/spec/models/deb_package_index_spec.rb +0 -6
- metadata +57 -53
@@ -89,13 +89,15 @@ module PulpDebClient
|
|
89
89
|
# @option opts [String] :architecture Filter results where architecture matches value
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
92
|
-
# @option opts [Array<String>] :ordering Ordering
|
92
|
+
# @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) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
93
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
93
95
|
# @option opts [String] :release Filter results where release matches value
|
94
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
98
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
99
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
101
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
100
102
|
def list(opts = {})
|
101
103
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -108,19 +110,21 @@ module PulpDebClient
|
|
108
110
|
# @option opts [String] :architecture Filter results where architecture matches value
|
109
111
|
# @option opts [Integer] :limit Number of results to return per page.
|
110
112
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
111
|
-
# @option opts [Array<String>] :ordering Ordering
|
113
|
+
# @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) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
114
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
112
116
|
# @option opts [String] :release Filter results where release matches value
|
113
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
119
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
116
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
120
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
121
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
122
|
# @return [Array<(PaginateddebReleaseArchitectureResponseList, Integer, Hash)>] PaginateddebReleaseArchitectureResponseList data, response status code and response headers
|
119
123
|
def list_with_http_info(opts = {})
|
120
124
|
if @api_client.config.debugging
|
121
125
|
@api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
|
122
126
|
end
|
123
|
-
allowable_values = ["-
|
127
|
+
allowable_values = ["-architecture", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
124
128
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
125
129
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
126
130
|
end
|
@@ -133,12 +137,14 @@ module PulpDebClient
|
|
133
137
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
134
138
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
135
139
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
140
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
141
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
136
142
|
query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
|
137
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
140
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
141
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
147
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
142
148
|
|
143
149
|
# header parameters
|
144
150
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +183,8 @@ module PulpDebClient
|
|
177
183
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
178
184
|
# @param deb_release_architecture_href [String]
|
179
185
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
181
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
188
|
# @return [DebReleaseArchitectureResponse]
|
183
189
|
def read(deb_release_architecture_href, opts = {})
|
184
190
|
data, _status_code, _headers = read_with_http_info(deb_release_architecture_href, opts)
|
@@ -189,8 +195,8 @@ module PulpDebClient
|
|
189
195
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
190
196
|
# @param deb_release_architecture_href [String]
|
191
197
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
199
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
200
|
# @return [Array<(DebReleaseArchitectureResponse, Integer, Hash)>] DebReleaseArchitectureResponse data, response status code and response headers
|
195
201
|
def read_with_http_info(deb_release_architecture_href, opts = {})
|
196
202
|
if @api_client.config.debugging
|
@@ -205,8 +211,8 @@ module PulpDebClient
|
|
205
211
|
|
206
212
|
# query parameters
|
207
213
|
query_params = opts[:query_params] || {}
|
208
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
209
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
214
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
215
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
216
|
|
211
217
|
# header parameters
|
212
218
|
header_params = opts[:header_params] || {}
|
@@ -89,13 +89,15 @@ module PulpDebClient
|
|
89
89
|
# @option opts [String] :component Filter results where component matches value
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
92
|
-
# @option opts [Array<String>] :ordering Ordering
|
92
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
93
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
93
95
|
# @option opts [String] :release Filter results where release matches value
|
94
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
98
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
99
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
101
|
# @return [PaginateddebReleaseComponentResponseList]
|
100
102
|
def list(opts = {})
|
101
103
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -108,19 +110,21 @@ module PulpDebClient
|
|
108
110
|
# @option opts [String] :component Filter results where component matches value
|
109
111
|
# @option opts [Integer] :limit Number of results to return per page.
|
110
112
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
111
|
-
# @option opts [Array<String>] :ordering Ordering
|
113
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
114
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
112
116
|
# @option opts [String] :release Filter results where release matches value
|
113
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
119
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
116
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
120
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
121
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
122
|
# @return [Array<(PaginateddebReleaseComponentResponseList, Integer, Hash)>] PaginateddebReleaseComponentResponseList data, response status code and response headers
|
119
123
|
def list_with_http_info(opts = {})
|
120
124
|
if @api_client.config.debugging
|
121
125
|
@api_client.config.logger.debug 'Calling API: ContentReleaseComponentsApi.list ...'
|
122
126
|
end
|
123
|
-
allowable_values = ["-
|
127
|
+
allowable_values = ["-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
124
128
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
125
129
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
126
130
|
end
|
@@ -133,12 +137,14 @@ module PulpDebClient
|
|
133
137
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
134
138
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
135
139
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
140
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
141
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
136
142
|
query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
|
137
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
140
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
141
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
147
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
142
148
|
|
143
149
|
# header parameters
|
144
150
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +183,8 @@ module PulpDebClient
|
|
177
183
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
|
178
184
|
# @param deb_release_component_href [String]
|
179
185
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
181
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
188
|
# @return [DebReleaseComponentResponse]
|
183
189
|
def read(deb_release_component_href, opts = {})
|
184
190
|
data, _status_code, _headers = read_with_http_info(deb_release_component_href, opts)
|
@@ -189,8 +195,8 @@ module PulpDebClient
|
|
189
195
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
|
190
196
|
# @param deb_release_component_href [String]
|
191
197
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
199
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
200
|
# @return [Array<(DebReleaseComponentResponse, Integer, Hash)>] DebReleaseComponentResponse data, response status code and response headers
|
195
201
|
def read_with_http_info(deb_release_component_href, opts = {})
|
196
202
|
if @api_client.config.debugging
|
@@ -205,8 +211,8 @@ module PulpDebClient
|
|
205
211
|
|
206
212
|
# query parameters
|
207
213
|
query_params = opts[:query_params] || {}
|
208
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
209
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
214
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
215
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
216
|
|
211
217
|
# header parameters
|
212
218
|
header_params = opts[:header_params] || {}
|
@@ -89,15 +89,17 @@ module PulpDebClient
|
|
89
89
|
# @option opts [String] :codename Filter results where codename matches value
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
92
|
-
# @option opts [Array<String>] :ordering Ordering
|
92
|
+
# @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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
93
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
93
95
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
94
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
99
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
98
100
|
# @option opts [String] :suite Filter results where suite matches value
|
99
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
100
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
103
|
# @return [PaginateddebReleaseFileResponseList]
|
102
104
|
def list(opts = {})
|
103
105
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -110,21 +112,23 @@ module PulpDebClient
|
|
110
112
|
# @option opts [String] :codename Filter results where codename matches value
|
111
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
112
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
|
-
# @option opts [Array<String>] :ordering Ordering
|
115
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
116
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
114
118
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
115
119
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
116
120
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
117
121
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
118
122
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
119
123
|
# @option opts [String] :suite Filter results where suite matches value
|
120
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
121
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
124
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
122
126
|
# @return [Array<(PaginateddebReleaseFileResponseList, Integer, Hash)>] PaginateddebReleaseFileResponseList data, response status code and response headers
|
123
127
|
def list_with_http_info(opts = {})
|
124
128
|
if @api_client.config.debugging
|
125
129
|
@api_client.config.logger.debug 'Calling API: ContentReleaseFilesApi.list ...'
|
126
130
|
end
|
127
|
-
allowable_values = ["-
|
131
|
+
allowable_values = ["-architectures", "-artifact_set_sha256", "-codename", "-components", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-suite", "-timestamp_of_interest", "-upstream_id", "architectures", "artifact_set_sha256", "codename", "components", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "suite", "timestamp_of_interest", "upstream_id"]
|
128
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
129
133
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
130
134
|
end
|
@@ -137,14 +141,16 @@ module PulpDebClient
|
|
137
141
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
138
142
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
139
143
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
144
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
145
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
140
146
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
141
147
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
142
148
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
143
149
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
144
150
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
145
151
|
query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
|
146
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
147
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
152
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
153
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
148
154
|
|
149
155
|
# header parameters
|
150
156
|
header_params = opts[:header_params] || {}
|
@@ -183,8 +189,8 @@ module PulpDebClient
|
|
183
189
|
# A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
|
184
190
|
# @param deb_release_file_href [String]
|
185
191
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
194
|
# @return [DebReleaseFileResponse]
|
189
195
|
def read(deb_release_file_href, opts = {})
|
190
196
|
data, _status_code, _headers = read_with_http_info(deb_release_file_href, opts)
|
@@ -195,8 +201,8 @@ module PulpDebClient
|
|
195
201
|
# A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
|
196
202
|
# @param deb_release_file_href [String]
|
197
203
|
# @param [Hash] opts the optional parameters
|
198
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
199
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
204
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
205
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
200
206
|
# @return [Array<(DebReleaseFileResponse, Integer, Hash)>] DebReleaseFileResponse data, response status code and response headers
|
201
207
|
def read_with_http_info(deb_release_file_href, opts = {})
|
202
208
|
if @api_client.config.debugging
|
@@ -211,8 +217,8 @@ module PulpDebClient
|
|
211
217
|
|
212
218
|
# query parameters
|
213
219
|
query_params = opts[:query_params] || {}
|
214
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
215
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
220
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
216
222
|
|
217
223
|
# header parameters
|
218
224
|
header_params = opts[:header_params] || {}
|
@@ -90,13 +90,15 @@ module PulpDebClient
|
|
90
90
|
# @option opts [String] :distribution Filter results where distribution matches value
|
91
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
93
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
99
|
# @option opts [String] :suite Filter results where suite matches value
|
98
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
99
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
102
|
# @return [PaginateddebReleaseResponseList]
|
101
103
|
def list(opts = {})
|
102
104
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -110,19 +112,21 @@ module PulpDebClient
|
|
110
112
|
# @option opts [String] :distribution Filter results where distribution matches value
|
111
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
112
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
|
-
# @option opts [Array<String>] :ordering Ordering
|
115
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
116
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
114
118
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
119
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
116
120
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
117
121
|
# @option opts [String] :suite Filter results where suite matches value
|
118
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
119
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
124
|
# @return [Array<(PaginateddebReleaseResponseList, Integer, Hash)>] PaginateddebReleaseResponseList data, response status code and response headers
|
121
125
|
def list_with_http_info(opts = {})
|
122
126
|
if @api_client.config.debugging
|
123
127
|
@api_client.config.logger.debug 'Calling API: ContentReleasesApi.list ...'
|
124
128
|
end
|
125
|
-
allowable_values = ["-
|
129
|
+
allowable_values = ["-codename", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-suite", "-timestamp_of_interest", "-upstream_id", "codename", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "suite", "timestamp_of_interest", "upstream_id"]
|
126
130
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
127
131
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
128
132
|
end
|
@@ -136,12 +140,14 @@ module PulpDebClient
|
|
136
140
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
137
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
138
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
143
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
139
145
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
140
146
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
141
147
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
142
148
|
query_params[:'suite'] = opts[:'suite'] if !opts[:'suite'].nil?
|
143
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
144
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
149
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
150
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
145
151
|
|
146
152
|
# header parameters
|
147
153
|
header_params = opts[:header_params] || {}
|
@@ -180,8 +186,8 @@ module PulpDebClient
|
|
180
186
|
# A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
|
181
187
|
# @param deb_release_href [String]
|
182
188
|
# @param [Hash] opts the optional parameters
|
183
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
184
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
189
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
190
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
185
191
|
# @return [DebReleaseResponse]
|
186
192
|
def read(deb_release_href, opts = {})
|
187
193
|
data, _status_code, _headers = read_with_http_info(deb_release_href, opts)
|
@@ -192,8 +198,8 @@ module PulpDebClient
|
|
192
198
|
# A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
|
193
199
|
# @param deb_release_href [String]
|
194
200
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
196
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
201
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
202
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
197
203
|
# @return [Array<(DebReleaseResponse, Integer, Hash)>] DebReleaseResponse data, response status code and response headers
|
198
204
|
def read_with_http_info(deb_release_href, opts = {})
|
199
205
|
if @api_client.config.debugging
|
@@ -208,8 +214,8 @@ module PulpDebClient
|
|
208
214
|
|
209
215
|
# query parameters
|
210
216
|
query_params = opts[:query_params] || {}
|
211
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
212
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
217
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
218
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
213
219
|
|
214
220
|
# header parameters
|
215
221
|
header_params = opts[:header_params] || {}
|
@@ -148,22 +148,26 @@ module PulpDebClient
|
|
148
148
|
# List apt distributions
|
149
149
|
# 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.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
-
# @option opts [String] :base_path
|
151
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
152
152
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
153
153
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
154
154
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
|
-
# @option opts [String] :name
|
156
|
+
# @option opts [String] :name Filter results where name matches value
|
157
157
|
# @option opts [String] :name__contains Filter results where name contains value
|
158
158
|
# @option opts [String] :name__icontains Filter results where name contains value
|
159
159
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
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) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
163
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
163
165
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
166
|
+
# @option opts [String] :repository Filter results where repository matches value
|
167
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
164
168
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
165
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
166
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
169
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
170
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
171
|
# @return [PaginateddebAptDistributionResponseList]
|
168
172
|
def list(opts = {})
|
169
173
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -173,28 +177,32 @@ module PulpDebClient
|
|
173
177
|
# List apt distributions
|
174
178
|
# 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.
|
175
179
|
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :base_path
|
180
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
177
181
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
178
182
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
179
183
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
180
184
|
# @option opts [Integer] :limit Number of results to return per page.
|
181
|
-
# @option opts [String] :name
|
185
|
+
# @option opts [String] :name Filter results where name matches value
|
182
186
|
# @option opts [String] :name__contains Filter results where name contains value
|
183
187
|
# @option opts [String] :name__icontains Filter results where name contains value
|
184
188
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
185
189
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
186
190
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
187
|
-
# @option opts [Array<String>] :ordering Ordering
|
191
|
+
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
192
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
188
194
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
195
|
+
# @option opts [String] :repository Filter results where repository matches value
|
196
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
189
197
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
190
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
191
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
199
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
200
|
# @return [Array<(PaginateddebAptDistributionResponseList, Integer, Hash)>] PaginateddebAptDistributionResponseList data, response status code and response headers
|
193
201
|
def list_with_http_info(opts = {})
|
194
202
|
if @api_client.config.debugging
|
195
203
|
@api_client.config.logger.debug 'Calling API: DistributionsAptApi.list ...'
|
196
204
|
end
|
197
|
-
allowable_values = ["-base_path", "-
|
205
|
+
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
198
206
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
199
207
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
200
208
|
end
|
@@ -215,10 +223,14 @@ module PulpDebClient
|
|
215
223
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
216
224
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
217
225
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
218
228
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
229
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
230
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
219
231
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
221
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
232
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
233
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
222
234
|
|
223
235
|
# header parameters
|
224
236
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +339,8 @@ module PulpDebClient
|
|
327
339
|
# 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.
|
328
340
|
# @param deb_apt_distribution_href [String]
|
329
341
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
342
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
343
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
344
|
# @return [DebAptDistributionResponse]
|
333
345
|
def read(deb_apt_distribution_href, opts = {})
|
334
346
|
data, _status_code, _headers = read_with_http_info(deb_apt_distribution_href, opts)
|
@@ -339,8 +351,8 @@ module PulpDebClient
|
|
339
351
|
# 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.
|
340
352
|
# @param deb_apt_distribution_href [String]
|
341
353
|
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
343
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
354
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
355
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
344
356
|
# @return [Array<(DebAptDistributionResponse, Integer, Hash)>] DebAptDistributionResponse data, response status code and response headers
|
345
357
|
def read_with_http_info(deb_apt_distribution_href, opts = {})
|
346
358
|
if @api_client.config.debugging
|
@@ -355,8 +367,8 @@ module PulpDebClient
|
|
355
367
|
|
356
368
|
# query parameters
|
357
369
|
query_params = opts[:query_params] || {}
|
358
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
359
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
370
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
371
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
360
372
|
|
361
373
|
# header parameters
|
362
374
|
header_params = opts[:header_params] || {}
|