pulp_rpm_client 3.18.20 → 3.19.0.dev1662960501
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -5
- data/docs/AcsRpmApi.md +12 -16
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +10 -14
- data/docs/ContentModulemdDefaultsApi.md +10 -14
- data/docs/ContentModulemdObsoletesApi.md +10 -14
- data/docs/ContentModulemdsApi.md +10 -14
- data/docs/ContentPackagecategoriesApi.md +10 -14
- data/docs/ContentPackageenvironmentsApi.md +10 -14
- data/docs/ContentPackagegroupsApi.md +10 -14
- data/docs/ContentPackagelangpacksApi.md +10 -14
- data/docs/ContentPackagesApi.md +12 -16
- data/docs/ContentRepoMetadataFilesApi.md +10 -14
- data/docs/DistributionsRpmApi.md +14 -22
- data/docs/PatchedrpmRpmDistribution.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +4 -4
- data/docs/PatchedrpmUlnRemote.md +2 -2
- data/docs/PublicationsRpmApi.md +12 -16
- data/docs/RemotesRpmApi.md +14 -18
- data/docs/RemotesUlnApi.md +14 -18
- data/docs/RepositoriesRpmApi.md +13 -33
- data/docs/RepositoriesRpmVersionsApi.md +14 -16
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +1 -1
- data/docs/RpmRpmDistributionResponse.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +2 -2
- data/docs/RpmRpmRemoteResponse.md +2 -4
- data/docs/RpmRpmRepository.md +4 -4
- data/docs/RpmRpmRepositoryResponse.md +4 -4
- data/docs/RpmUlnRemote.md +2 -2
- data/docs/RpmUlnRemoteResponse.md +2 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +17 -23
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -21
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -21
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -21
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packages_api.rb +17 -23
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +14 -20
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +19 -31
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +17 -23
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +19 -25
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +19 -25
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +17 -47
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +19 -22
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +4 -18
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +4 -18
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +0 -1
- data/spec/api/acs_rpm_api_spec.rb +6 -8
- data/spec/api/content_advisories_api_spec.rb +5 -7
- data/spec/api/content_distribution_trees_api_spec.rb +5 -7
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -7
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -7
- data/spec/api/content_modulemds_api_spec.rb +5 -7
- data/spec/api/content_packagecategories_api_spec.rb +5 -7
- data/spec/api/content_packageenvironments_api_spec.rb +5 -7
- data/spec/api/content_packagegroups_api_spec.rb +5 -7
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -7
- data/spec/api/content_packages_api_spec.rb +6 -8
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -7
- data/spec/api/distributions_rpm_api_spec.rb +7 -11
- data/spec/api/publications_rpm_api_spec.rb +6 -8
- data/spec/api/remotes_rpm_api_spec.rb +7 -9
- data/spec/api/remotes_uln_api_spec.rb +7 -9
- data/spec/api/repositories_rpm_api_spec.rb +6 -16
- data/spec/api/repositories_rpm_versions_api_spec.rb +7 -8
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- metadata +75 -79
- data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +0 -215
- data/spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb +0 -47
@@ -90,9 +90,7 @@ module PulpRpmClient
|
|
90
90
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
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
|
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.
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
96
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -105,8 +103,8 @@ module PulpRpmClient
|
|
105
103
|
# @option opts [String] :type Filter results where type matches value
|
106
104
|
# @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
|
107
105
|
# @option opts [String] :type__ne Filter results where type not equal to value
|
108
|
-
# @option opts [
|
109
|
-
# @option opts [
|
106
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
108
|
# @return [PaginatedrpmUpdateRecordResponseList]
|
111
109
|
def list(opts = {})
|
112
110
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -120,9 +118,7 @@ module PulpRpmClient
|
|
120
118
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
121
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
120
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
123
|
-
# @option opts [Array<String>] :ordering Ordering
|
124
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
125
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
121
|
+
# @option opts [Array<String>] :ordering Ordering
|
126
122
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
127
123
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
128
124
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -135,14 +131,14 @@ module PulpRpmClient
|
|
135
131
|
# @option opts [String] :type Filter results where type matches value
|
136
132
|
# @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
|
137
133
|
# @option opts [String] :type__ne Filter results where type not equal to value
|
138
|
-
# @option opts [
|
139
|
-
# @option opts [
|
134
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
140
136
|
# @return [Array<(PaginatedrpmUpdateRecordResponseList, Integer, Hash)>] PaginatedrpmUpdateRecordResponseList data, response status code and response headers
|
141
137
|
def list_with_http_info(opts = {})
|
142
138
|
if @api_client.config.debugging
|
143
139
|
@api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.list ...'
|
144
140
|
end
|
145
|
-
allowable_values = ["-description", "-digest", "-fromstr", "-id", "-issued_date", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-pushcount", "-reboot_suggested", "-release", "-rights", "-severity", "-solution", "-status", "-summary", "-timestamp_of_interest", "-title", "-type", "-updated_date", "-upstream_id", "-version", "description", "digest", "fromstr", "id", "issued_date", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "pushcount", "reboot_suggested", "release", "rights", "severity", "solution", "status", "summary", "timestamp_of_interest", "title", "type", "updated_date", "upstream_id", "version"]
|
141
|
+
allowable_values = ["-_artifacts", "-collections", "-content_ptr", "-contentartifact", "-description", "-digest", "-fromstr", "-group_roles", "-id", "-issued_date", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pushcount", "-reboot_suggested", "-references", "-release", "-repositories", "-rights", "-severity", "-solution", "-status", "-summary", "-timestamp_of_interest", "-title", "-type", "-updated_date", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "collections", "content_ptr", "contentartifact", "description", "digest", "fromstr", "group_roles", "id", "issued_date", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pushcount", "reboot_suggested", "references", "release", "repositories", "rights", "severity", "solution", "status", "summary", "timestamp_of_interest", "title", "type", "updated_date", "upstream_id", "user_roles", "version", "version_memberships"]
|
146
142
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
143
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
144
|
end
|
@@ -156,8 +152,6 @@ module PulpRpmClient
|
|
156
152
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
157
153
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
158
154
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
159
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
160
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
161
155
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
162
156
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
163
157
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -170,8 +164,8 @@ module PulpRpmClient
|
|
170
164
|
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
171
165
|
query_params[:'type__in'] = @api_client.build_collection_param(opts[:'type__in'], :csv) if !opts[:'type__in'].nil?
|
172
166
|
query_params[:'type__ne'] = opts[:'type__ne'] if !opts[:'type__ne'].nil?
|
173
|
-
query_params[:'fields'] =
|
174
|
-
query_params[:'exclude_fields'] =
|
167
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
175
169
|
|
176
170
|
# header parameters
|
177
171
|
header_params = opts[:header_params] || {}
|
@@ -210,8 +204,8 @@ module PulpRpmClient
|
|
210
204
|
# A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
|
211
205
|
# @param rpm_update_record_href [String]
|
212
206
|
# @param [Hash] opts the optional parameters
|
213
|
-
# @option opts [
|
214
|
-
# @option opts [
|
207
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
208
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
215
209
|
# @return [RpmUpdateRecordResponse]
|
216
210
|
def read(rpm_update_record_href, opts = {})
|
217
211
|
data, _status_code, _headers = read_with_http_info(rpm_update_record_href, opts)
|
@@ -222,8 +216,8 @@ module PulpRpmClient
|
|
222
216
|
# A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
|
223
217
|
# @param rpm_update_record_href [String]
|
224
218
|
# @param [Hash] opts the optional parameters
|
225
|
-
# @option opts [
|
226
|
-
# @option opts [
|
219
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
220
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
227
221
|
# @return [Array<(RpmUpdateRecordResponse, Integer, Hash)>] RpmUpdateRecordResponse data, response status code and response headers
|
228
222
|
def read_with_http_info(rpm_update_record_href, opts = {})
|
229
223
|
if @api_client.config.debugging
|
@@ -238,8 +232,8 @@ module PulpRpmClient
|
|
238
232
|
|
239
233
|
# query parameters
|
240
234
|
query_params = opts[:query_params] || {}
|
241
|
-
query_params[:'fields'] =
|
242
|
-
query_params[:'exclude_fields'] =
|
235
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
236
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
243
237
|
|
244
238
|
# header parameters
|
245
239
|
header_params = opts[:header_params] || {}
|
@@ -24,14 +24,12 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
33
|
-
# @option opts [
|
34
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
33
|
# @return [PaginatedrpmDistributionTreeResponseList]
|
36
34
|
def list(opts = {})
|
37
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -43,14 +41,12 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
50
|
# @return [Array<(PaginatedrpmDistributionTreeResponseList, Integer, Hash)>] PaginatedrpmDistributionTreeResponseList data, response status code and response headers
|
55
51
|
def list_with_http_info(opts = {})
|
56
52
|
if @api_client.config.debugging
|
@@ -68,13 +64,11 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
72
|
|
79
73
|
# header parameters
|
80
74
|
header_params = opts[:header_params] || {}
|
@@ -113,8 +107,8 @@ module PulpRpmClient
|
|
113
107
|
# Distribution Tree Viewset.
|
114
108
|
# @param rpm_distribution_tree_href [String]
|
115
109
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
112
|
# @return [RpmDistributionTreeResponse]
|
119
113
|
def read(rpm_distribution_tree_href, opts = {})
|
120
114
|
data, _status_code, _headers = read_with_http_info(rpm_distribution_tree_href, opts)
|
@@ -125,8 +119,8 @@ module PulpRpmClient
|
|
125
119
|
# Distribution Tree Viewset.
|
126
120
|
# @param rpm_distribution_tree_href [String]
|
127
121
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
124
|
# @return [Array<(RpmDistributionTreeResponse, Integer, Hash)>] RpmDistributionTreeResponse data, response status code and response headers
|
131
125
|
def read_with_http_info(rpm_distribution_tree_href, opts = {})
|
132
126
|
if @api_client.config.debugging
|
@@ -141,8 +135,8 @@ module PulpRpmClient
|
|
141
135
|
|
142
136
|
# query parameters
|
143
137
|
query_params = opts[:query_params] || {}
|
144
|
-
query_params[:'fields'] =
|
145
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
140
|
|
147
141
|
# header parameters
|
148
142
|
header_params = opts[:header_params] || {}
|
@@ -90,17 +90,15 @@ module PulpRpmClient
|
|
90
90
|
# @option opts [String] :_module Filter results where module matches value
|
91
91
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
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.
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
96
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
99
97
|
# @option opts [String] :sha256
|
100
98
|
# @option opts [String] :stream Filter results where stream matches value
|
101
99
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
100
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
101
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
104
102
|
# @return [PaginatedrpmModulemdDefaultsResponseList]
|
105
103
|
def list(opts = {})
|
106
104
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -114,23 +112,21 @@ module PulpRpmClient
|
|
114
112
|
# @option opts [String] :_module Filter results where module matches value
|
115
113
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
116
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
-
# @option opts [Array<String>] :ordering Ordering
|
118
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :ordering Ordering
|
120
116
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
121
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
122
118
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
123
119
|
# @option opts [String] :sha256
|
124
120
|
# @option opts [String] :stream Filter results where stream matches value
|
125
121
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
126
|
-
# @option opts [
|
127
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
128
124
|
# @return [Array<(PaginatedrpmModulemdDefaultsResponseList, Integer, Hash)>] PaginatedrpmModulemdDefaultsResponseList data, response status code and response headers
|
129
125
|
def list_with_http_info(opts = {})
|
130
126
|
if @api_client.config.debugging
|
131
127
|
@api_client.config.logger.debug 'Calling API: ContentModulemdDefaultsApi.list ...'
|
132
128
|
end
|
133
|
-
allowable_values = ["-digest", "-module", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-snippet", "-stream", "-timestamp_of_interest", "-upstream_id", "digest", "module", "pk", "profiles", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "snippet", "stream", "timestamp_of_interest", "upstream_id"]
|
129
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-digest", "-group_roles", "-module", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-snippet", "-stream", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "digest", "group_roles", "module", "pk", "profiles", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "snippet", "stream", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
134
130
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
135
131
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
136
132
|
end
|
@@ -144,16 +140,14 @@ module PulpRpmClient
|
|
144
140
|
query_params[:'module__in'] = @api_client.build_collection_param(opts[:'module__in'], :csv) if !opts[:'module__in'].nil?
|
145
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
146
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
147
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
148
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
149
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
150
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
151
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
152
146
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
153
147
|
query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
|
154
148
|
query_params[:'stream__in'] = @api_client.build_collection_param(opts[:'stream__in'], :csv) if !opts[:'stream__in'].nil?
|
155
|
-
query_params[:'fields'] =
|
156
|
-
query_params[:'exclude_fields'] =
|
149
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
150
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
157
151
|
|
158
152
|
# header parameters
|
159
153
|
header_params = opts[:header_params] || {}
|
@@ -192,8 +186,8 @@ module PulpRpmClient
|
|
192
186
|
# ViewSet for Modulemd.
|
193
187
|
# @param rpm_modulemd_defaults_href [String]
|
194
188
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @option opts [
|
196
|
-
# @option opts [
|
189
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
190
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
197
191
|
# @return [RpmModulemdDefaultsResponse]
|
198
192
|
def read(rpm_modulemd_defaults_href, opts = {})
|
199
193
|
data, _status_code, _headers = read_with_http_info(rpm_modulemd_defaults_href, opts)
|
@@ -204,8 +198,8 @@ module PulpRpmClient
|
|
204
198
|
# ViewSet for Modulemd.
|
205
199
|
# @param rpm_modulemd_defaults_href [String]
|
206
200
|
# @param [Hash] opts the optional parameters
|
207
|
-
# @option opts [
|
208
|
-
# @option opts [
|
201
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
202
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
203
|
# @return [Array<(RpmModulemdDefaultsResponse, Integer, Hash)>] RpmModulemdDefaultsResponse data, response status code and response headers
|
210
204
|
def read_with_http_info(rpm_modulemd_defaults_href, opts = {})
|
211
205
|
if @api_client.config.debugging
|
@@ -220,8 +214,8 @@ module PulpRpmClient
|
|
220
214
|
|
221
215
|
# query parameters
|
222
216
|
query_params = opts[:query_params] || {}
|
223
|
-
query_params[:'fields'] =
|
224
|
-
query_params[:'exclude_fields'] =
|
217
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
218
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
225
219
|
|
226
220
|
# header parameters
|
227
221
|
header_params = opts[:header_params] || {}
|
@@ -88,14 +88,12 @@ module PulpRpmClient
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @option opts [Array<String>] :ordering Ordering
|
92
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
|
+
# @option opts [Array<String>] :ordering Ordering
|
94
92
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
93
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
94
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
|
-
# @option opts [
|
98
|
-
# @option opts [
|
95
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
96
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
99
97
|
# @return [PaginatedrpmModulemdObsoleteResponseList]
|
100
98
|
def list(opts = {})
|
101
99
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -107,14 +105,12 @@ module PulpRpmClient
|
|
107
105
|
# @param [Hash] opts the optional parameters
|
108
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
109
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
111
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
108
|
+
# @option opts [Array<String>] :ordering Ordering
|
113
109
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
110
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
111
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
112
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
113
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
114
|
# @return [Array<(PaginatedrpmModulemdObsoleteResponseList, Integer, Hash)>] PaginatedrpmModulemdObsoleteResponseList data, response status code and response headers
|
119
115
|
def list_with_http_info(opts = {})
|
120
116
|
if @api_client.config.debugging
|
@@ -132,13 +128,11 @@ module PulpRpmClient
|
|
132
128
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
133
129
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
134
130
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
135
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
136
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
137
131
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
132
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
133
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
140
|
-
query_params[:'fields'] =
|
141
|
-
query_params[:'exclude_fields'] =
|
134
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
135
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
142
136
|
|
143
137
|
# header parameters
|
144
138
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +171,8 @@ module PulpRpmClient
|
|
177
171
|
# ViewSet for Modulemd.
|
178
172
|
# @param rpm_modulemd_obsolete_href [String]
|
179
173
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [
|
181
|
-
# @option opts [
|
174
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
175
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
176
|
# @return [RpmModulemdObsoleteResponse]
|
183
177
|
def read(rpm_modulemd_obsolete_href, opts = {})
|
184
178
|
data, _status_code, _headers = read_with_http_info(rpm_modulemd_obsolete_href, opts)
|
@@ -189,8 +183,8 @@ module PulpRpmClient
|
|
189
183
|
# ViewSet for Modulemd.
|
190
184
|
# @param rpm_modulemd_obsolete_href [String]
|
191
185
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @option opts [
|
193
|
-
# @option opts [
|
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.
|
194
188
|
# @return [Array<(RpmModulemdObsoleteResponse, Integer, Hash)>] RpmModulemdObsoleteResponse data, response status code and response headers
|
195
189
|
def read_with_http_info(rpm_modulemd_obsolete_href, opts = {})
|
196
190
|
if @api_client.config.debugging
|
@@ -205,8 +199,8 @@ module PulpRpmClient
|
|
205
199
|
|
206
200
|
# query parameters
|
207
201
|
query_params = opts[:query_params] || {}
|
208
|
-
query_params[:'fields'] =
|
209
|
-
query_params[:'exclude_fields'] =
|
202
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
210
204
|
|
211
205
|
# header parameters
|
212
206
|
header_params = opts[:header_params] || {}
|
@@ -90,17 +90,15 @@ module PulpRpmClient
|
|
90
90
|
# @option opts [String] :name Filter results where name matches value
|
91
91
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
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.
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
96
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
99
97
|
# @option opts [String] :sha256
|
100
98
|
# @option opts [String] :stream Filter results where stream matches value
|
101
99
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
100
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
101
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
104
102
|
# @return [PaginatedrpmModulemdResponseList]
|
105
103
|
def list(opts = {})
|
106
104
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -114,23 +112,21 @@ module PulpRpmClient
|
|
114
112
|
# @option opts [String] :name Filter results where name matches value
|
115
113
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
116
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
-
# @option opts [Array<String>] :ordering Ordering
|
118
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :ordering Ordering
|
120
116
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
121
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
122
118
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
123
119
|
# @option opts [String] :sha256
|
124
120
|
# @option opts [String] :stream Filter results where stream matches value
|
125
121
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
126
|
-
# @option opts [
|
127
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
128
124
|
# @return [Array<(PaginatedrpmModulemdResponseList, Integer, Hash)>] PaginatedrpmModulemdResponseList data, response status code and response headers
|
129
125
|
def list_with_http_info(opts = {})
|
130
126
|
if @api_client.config.debugging
|
131
127
|
@api_client.config.logger.debug 'Calling API: ContentModulemdsApi.list ...'
|
132
128
|
end
|
133
|
-
allowable_values = ["-arch", "-artifacts", "-context", "-dependencies", "-description", "-name", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-version", "arch", "artifacts", "context", "dependencies", "description", "name", "pk", "profiles", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "version"]
|
129
|
+
allowable_values = ["-_artifacts", "-arch", "-artifacts", "-content_ptr", "-contentartifact", "-context", "-dependencies", "-description", "-group_roles", "-name", "-packages", "-pk", "-profiles", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-snippet", "-static_context", "-stream", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "arch", "artifacts", "content_ptr", "contentartifact", "context", "dependencies", "description", "group_roles", "name", "packages", "pk", "profiles", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "snippet", "static_context", "stream", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
134
130
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
135
131
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
136
132
|
end
|
@@ -144,16 +140,14 @@ module PulpRpmClient
|
|
144
140
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
145
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
146
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
147
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
148
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
149
143
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
150
144
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
151
145
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
152
146
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
153
147
|
query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
|
154
148
|
query_params[:'stream__in'] = @api_client.build_collection_param(opts[:'stream__in'], :csv) if !opts[:'stream__in'].nil?
|
155
|
-
query_params[:'fields'] =
|
156
|
-
query_params[:'exclude_fields'] =
|
149
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
150
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
157
151
|
|
158
152
|
# header parameters
|
159
153
|
header_params = opts[:header_params] || {}
|
@@ -192,8 +186,8 @@ module PulpRpmClient
|
|
192
186
|
# ViewSet for Modulemd.
|
193
187
|
# @param rpm_modulemd_href [String]
|
194
188
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @option opts [
|
196
|
-
# @option opts [
|
189
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
190
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
197
191
|
# @return [RpmModulemdResponse]
|
198
192
|
def read(rpm_modulemd_href, opts = {})
|
199
193
|
data, _status_code, _headers = read_with_http_info(rpm_modulemd_href, opts)
|
@@ -204,8 +198,8 @@ module PulpRpmClient
|
|
204
198
|
# ViewSet for Modulemd.
|
205
199
|
# @param rpm_modulemd_href [String]
|
206
200
|
# @param [Hash] opts the optional parameters
|
207
|
-
# @option opts [
|
208
|
-
# @option opts [
|
201
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
202
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
203
|
# @return [Array<(RpmModulemdResponse, Integer, Hash)>] RpmModulemdResponse data, response status code and response headers
|
210
204
|
def read_with_http_info(rpm_modulemd_href, opts = {})
|
211
205
|
if @api_client.config.debugging
|
@@ -220,8 +214,8 @@ module PulpRpmClient
|
|
220
214
|
|
221
215
|
# query parameters
|
222
216
|
query_params = opts[:query_params] || {}
|
223
|
-
query_params[:'fields'] =
|
224
|
-
query_params[:'exclude_fields'] =
|
217
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
218
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
225
219
|
|
226
220
|
# header parameters
|
227
221
|
header_params = opts[:header_params] || {}
|
@@ -24,14 +24,12 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
33
|
-
# @option opts [
|
34
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
33
|
# @return [PaginatedrpmPackageCategoryResponseList]
|
36
34
|
def list(opts = {})
|
37
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -43,14 +41,12 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
50
|
# @return [Array<(PaginatedrpmPackageCategoryResponseList, Integer, Hash)>] PaginatedrpmPackageCategoryResponseList data, response status code and response headers
|
55
51
|
def list_with_http_info(opts = {})
|
56
52
|
if @api_client.config.debugging
|
@@ -68,13 +64,11 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
72
|
|
79
73
|
# header parameters
|
80
74
|
header_params = opts[:header_params] || {}
|
@@ -113,8 +107,8 @@ module PulpRpmClient
|
|
113
107
|
# PackageCategory ViewSet.
|
114
108
|
# @param rpm_package_category_href [String]
|
115
109
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
112
|
# @return [RpmPackageCategoryResponse]
|
119
113
|
def read(rpm_package_category_href, opts = {})
|
120
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_category_href, opts)
|
@@ -125,8 +119,8 @@ module PulpRpmClient
|
|
125
119
|
# PackageCategory ViewSet.
|
126
120
|
# @param rpm_package_category_href [String]
|
127
121
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
124
|
# @return [Array<(RpmPackageCategoryResponse, Integer, Hash)>] RpmPackageCategoryResponse data, response status code and response headers
|
131
125
|
def read_with_http_info(rpm_package_category_href, opts = {})
|
132
126
|
if @api_client.config.debugging
|
@@ -141,8 +135,8 @@ module PulpRpmClient
|
|
141
135
|
|
142
136
|
# query parameters
|
143
137
|
query_params = opts[:query_params] || {}
|
144
|
-
query_params[:'fields'] =
|
145
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
140
|
|
147
141
|
# header parameters
|
148
142
|
header_params = opts[:header_params] || {}
|