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.

Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -5
  3. data/docs/AcsRpmApi.md +12 -16
  4. data/docs/ContentAdvisoriesApi.md +10 -14
  5. data/docs/ContentDistributionTreesApi.md +10 -14
  6. data/docs/ContentModulemdDefaultsApi.md +10 -14
  7. data/docs/ContentModulemdObsoletesApi.md +10 -14
  8. data/docs/ContentModulemdsApi.md +10 -14
  9. data/docs/ContentPackagecategoriesApi.md +10 -14
  10. data/docs/ContentPackageenvironmentsApi.md +10 -14
  11. data/docs/ContentPackagegroupsApi.md +10 -14
  12. data/docs/ContentPackagelangpacksApi.md +10 -14
  13. data/docs/ContentPackagesApi.md +12 -16
  14. data/docs/ContentRepoMetadataFilesApi.md +10 -14
  15. data/docs/DistributionsRpmApi.md +14 -22
  16. data/docs/PatchedrpmRpmDistribution.md +1 -1
  17. data/docs/PatchedrpmRpmRemote.md +2 -2
  18. data/docs/PatchedrpmRpmRepository.md +4 -4
  19. data/docs/PatchedrpmUlnRemote.md +2 -2
  20. data/docs/PublicationsRpmApi.md +12 -16
  21. data/docs/RemotesRpmApi.md +14 -18
  22. data/docs/RemotesUlnApi.md +14 -18
  23. data/docs/RepositoriesRpmApi.md +13 -33
  24. data/docs/RepositoriesRpmVersionsApi.md +14 -16
  25. data/docs/RepositoryAddRemoveContent.md +2 -2
  26. data/docs/RpmRepositorySyncURL.md +1 -1
  27. data/docs/RpmRpmDistribution.md +1 -1
  28. data/docs/RpmRpmDistributionResponse.md +1 -1
  29. data/docs/RpmRpmPublication.md +2 -2
  30. data/docs/RpmRpmPublicationResponse.md +2 -2
  31. data/docs/RpmRpmRemote.md +2 -2
  32. data/docs/RpmRpmRemoteResponse.md +2 -4
  33. data/docs/RpmRpmRepository.md +4 -4
  34. data/docs/RpmRpmRepositoryResponse.md +4 -4
  35. data/docs/RpmUlnRemote.md +2 -2
  36. data/docs/RpmUlnRemoteResponse.md +2 -4
  37. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +17 -23
  38. data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -21
  39. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +14 -20
  40. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -21
  41. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +14 -20
  42. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -21
  43. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +14 -20
  44. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +14 -20
  45. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +14 -20
  46. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +14 -20
  47. data/lib/pulp_rpm_client/api/content_packages_api.rb +17 -23
  48. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +14 -20
  49. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +19 -31
  50. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +17 -23
  51. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +19 -25
  52. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +19 -25
  53. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +17 -47
  54. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +19 -22
  55. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -4
  56. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -5
  57. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -7
  58. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +3 -5
  59. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
  60. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
  61. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -4
  62. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -4
  63. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
  64. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
  65. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -5
  66. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +4 -18
  67. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -7
  68. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -7
  69. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +3 -5
  70. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +4 -18
  71. data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -1
  72. data/lib/pulp_rpm_client/version.rb +1 -1
  73. data/lib/pulp_rpm_client.rb +0 -1
  74. data/spec/api/acs_rpm_api_spec.rb +6 -8
  75. data/spec/api/content_advisories_api_spec.rb +5 -7
  76. data/spec/api/content_distribution_trees_api_spec.rb +5 -7
  77. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -7
  78. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -7
  79. data/spec/api/content_modulemds_api_spec.rb +5 -7
  80. data/spec/api/content_packagecategories_api_spec.rb +5 -7
  81. data/spec/api/content_packageenvironments_api_spec.rb +5 -7
  82. data/spec/api/content_packagegroups_api_spec.rb +5 -7
  83. data/spec/api/content_packagelangpacks_api_spec.rb +5 -7
  84. data/spec/api/content_packages_api_spec.rb +6 -8
  85. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -7
  86. data/spec/api/distributions_rpm_api_spec.rb +7 -11
  87. data/spec/api/publications_rpm_api_spec.rb +6 -8
  88. data/spec/api/remotes_rpm_api_spec.rb +7 -9
  89. data/spec/api/remotes_uln_api_spec.rb +7 -9
  90. data/spec/api/repositories_rpm_api_spec.rb +6 -16
  91. data/spec/api/repositories_rpm_versions_api_spec.rb +7 -8
  92. data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
  93. data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
  94. metadata +75 -79
  95. data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
  96. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +0 -215
  97. data/spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb +0 -47
@@ -149,27 +149,17 @@ module PulpRpmClient
149
149
  # A ViewSet for RpmRepository.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name Filter results where name matches value
152
+ # @option opts [String] :name
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
159
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
160
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
158
+ # @option opts [Array<String>] :ordering Ordering
161
159
  # @option opts [String] :pulp_label_select Filter labels by search string
162
160
  # @option opts [String] :remote Foreign Key referenced by HREF
163
- # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
164
- # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
165
- # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
166
- # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
167
- # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
168
- # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
169
- # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
170
- # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
171
- # @option opts [Array<String>] :fields A list of fields to include in the response.
172
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
161
+ # @option opts [String] :fields A list of fields to include in the response.
162
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
173
163
  # @return [PaginatedrpmRpmRepositoryResponseList]
174
164
  def list(opts = {})
175
165
  data, _status_code, _headers = list_with_http_info(opts)
@@ -180,33 +170,23 @@ module PulpRpmClient
180
170
  # A ViewSet for RpmRepository.
181
171
  # @param [Hash] opts the optional parameters
182
172
  # @option opts [Integer] :limit Number of results to return per page.
183
- # @option opts [String] :name Filter results where name matches value
173
+ # @option opts [String] :name
184
174
  # @option opts [String] :name__contains Filter results where name contains value
185
175
  # @option opts [String] :name__icontains Filter results where name contains value
186
176
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
187
177
  # @option opts [String] :name__startswith Filter results where name starts with value
188
178
  # @option opts [Integer] :offset The initial index from which to return the results.
189
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
190
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
191
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
179
+ # @option opts [Array<String>] :ordering Ordering
192
180
  # @option opts [String] :pulp_label_select Filter labels by search string
193
181
  # @option opts [String] :remote Foreign Key referenced by HREF
194
- # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
195
- # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
196
- # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
197
- # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
198
- # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
199
- # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
200
- # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
201
- # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
202
- # @option opts [Array<String>] :fields A list of fields to include in the response.
203
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
182
+ # @option opts [String] :fields A list of fields to include in the response.
183
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
204
184
  # @return [Array<(PaginatedrpmRpmRepositoryResponseList, Integer, Hash)>] PaginatedrpmRpmRepositoryResponseList data, response status code and response headers
205
185
  def list_with_http_info(opts = {})
206
186
  if @api_client.config.debugging
207
187
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.list ...'
208
188
  end
209
- allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
189
+ allowable_values = ["-addons", "-alternatecontentsourcepath", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-rpm_rpmrepository", "-user_hidden", "-user_roles", "-variants", "-versions", "addons", "alternatecontentsourcepath", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "rpm_rpmrepository", "user_hidden", "user_roles", "variants", "versions"]
210
190
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
211
191
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
212
192
  end
@@ -223,20 +203,10 @@ module PulpRpmClient
223
203
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
224
204
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
225
205
  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?
228
206
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
229
207
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
230
- query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
231
- query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
232
- query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
233
- query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
234
- query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
235
- query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
236
- query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
237
- query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
238
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
239
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
208
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
240
210
 
241
211
  # header parameters
242
212
  header_params = opts[:header_params] || {}
@@ -415,8 +385,8 @@ module PulpRpmClient
415
385
  # A ViewSet for RpmRepository.
416
386
  # @param rpm_rpm_repository_href [String]
417
387
  # @param [Hash] opts the optional parameters
418
- # @option opts [Array<String>] :fields A list of fields to include in the response.
419
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
388
+ # @option opts [String] :fields A list of fields to include in the response.
389
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
420
390
  # @return [RpmRpmRepositoryResponse]
421
391
  def read(rpm_rpm_repository_href, opts = {})
422
392
  data, _status_code, _headers = read_with_http_info(rpm_rpm_repository_href, opts)
@@ -427,8 +397,8 @@ module PulpRpmClient
427
397
  # A ViewSet for RpmRepository.
428
398
  # @param rpm_rpm_repository_href [String]
429
399
  # @param [Hash] opts the optional parameters
430
- # @option opts [Array<String>] :fields A list of fields to include in the response.
431
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
400
+ # @option opts [String] :fields A list of fields to include in the response.
401
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
432
402
  # @return [Array<(RpmRpmRepositoryResponse, Integer, Hash)>] RpmRpmRepositoryResponse data, response status code and response headers
433
403
  def read_with_http_info(rpm_rpm_repository_href, opts = {})
434
404
  if @api_client.config.debugging
@@ -443,8 +413,8 @@ module PulpRpmClient
443
413
 
444
414
  # query parameters
445
415
  query_params = opts[:query_params] || {}
446
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
447
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
416
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
417
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
448
418
 
449
419
  # header parameters
450
420
  header_params = opts[:header_params] || {}
@@ -88,23 +88,22 @@ module PulpRpmClient
88
88
  # @option opts [String] :content Content Unit referenced by HREF
89
89
  # @option opts [String] :content__in Content Unit referenced by HREF
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
- # @option opts [Integer] :number Filter results where number matches value
91
+ # @option opts [Integer] :number
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
93
93
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
94
94
  # @option opts [Integer] :number__lt Filter results where number is less than value
95
95
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
99
- # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
98
+ # @option opts [Array<String>] :ordering Ordering
99
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
- # @option opts [Array<String>] :fields A list of fields to include in the response.
107
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
+ # @option opts [String] :fields A list of fields to include in the response.
106
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
107
  # @return [PaginatedRepositoryVersionResponseList]
109
108
  def list(rpm_rpm_repository_href, opts = {})
110
109
  data, _status_code, _headers = list_with_http_info(rpm_rpm_repository_href, opts)
@@ -118,23 +117,22 @@ module PulpRpmClient
118
117
  # @option opts [String] :content Content Unit referenced by HREF
119
118
  # @option opts [String] :content__in Content Unit referenced by HREF
120
119
  # @option opts [Integer] :limit Number of results to return per page.
121
- # @option opts [Integer] :number Filter results where number matches value
120
+ # @option opts [Integer] :number
122
121
  # @option opts [Integer] :number__gt Filter results where number is greater than value
123
122
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
124
123
  # @option opts [Integer] :number__lt Filter results where number is less than value
125
124
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
126
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
127
126
  # @option opts [Integer] :offset The initial index from which to return the results.
128
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
129
- # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
127
+ # @option opts [Array<String>] :ordering Ordering
128
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
130
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
131
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
132
131
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
133
132
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
133
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
136
- # @option opts [Array<String>] :fields A list of fields to include in the response.
137
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
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.
138
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
139
137
  def list_with_http_info(rpm_rpm_repository_href, opts = {})
140
138
  if @api_client.config.debugging
@@ -144,7 +142,7 @@ module PulpRpmClient
144
142
  if @api_client.config.client_side_validation && rpm_rpm_repository_href.nil?
145
143
  fail ArgumentError, "Missing the required parameter 'rpm_rpm_repository_href' when calling RepositoriesRpmVersionsApi.list"
146
144
  end
147
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
148
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
149
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
150
148
  end
@@ -170,9 +168,8 @@ module PulpRpmClient
170
168
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
171
169
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
170
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
174
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
171
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
172
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
176
173
 
177
174
  # header parameters
178
175
  header_params = opts[:header_params] || {}
@@ -211,8 +208,8 @@ module PulpRpmClient
211
208
  # RpmRepositoryVersion represents a single rpm repository version.
212
209
  # @param rpm_rpm_repository_version_href [String]
213
210
  # @param [Hash] opts the optional parameters
214
- # @option opts [Array<String>] :fields A list of fields to include in the response.
215
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
211
+ # @option opts [String] :fields A list of fields to include in the response.
212
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
216
213
  # @return [RepositoryVersionResponse]
217
214
  def read(rpm_rpm_repository_version_href, opts = {})
218
215
  data, _status_code, _headers = read_with_http_info(rpm_rpm_repository_version_href, opts)
@@ -223,8 +220,8 @@ module PulpRpmClient
223
220
  # RpmRepositoryVersion represents a single rpm repository version.
224
221
  # @param rpm_rpm_repository_version_href [String]
225
222
  # @param [Hash] opts the optional parameters
226
- # @option opts [Array<String>] :fields A list of fields to include in the response.
227
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
223
+ # @option opts [String] :fields A list of fields to include in the response.
224
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
228
225
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
229
226
  def read_with_http_info(rpm_rpm_repository_version_href, opts = {})
230
227
  if @api_client.config.debugging
@@ -239,8 +236,8 @@ module PulpRpmClient
239
236
 
240
237
  # query parameters
241
238
  query_params = opts[:query_params] || {}
242
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
243
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
239
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
240
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
244
241
 
245
242
  # header parameters
246
243
  header_params = opts[:header_params] || {}
@@ -49,7 +49,7 @@ module PulpRpmClient
49
49
  {
50
50
  :'base_path' => :'String',
51
51
  :'content_guard' => :'String',
52
- :'pulp_labels' => :'Hash<String, String>',
52
+ :'pulp_labels' => :'Object',
53
53
  :'name' => :'String',
54
54
  :'repository' => :'String',
55
55
  :'publication' => :'String'
@@ -89,9 +89,7 @@ module PulpRpmClient
89
89
  end
90
90
 
91
91
  if attributes.key?(:'pulp_labels')
92
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
93
- self.pulp_labels = value
94
- end
92
+ self.pulp_labels = attributes[:'pulp_labels']
95
93
  end
96
94
 
97
95
  if attributes.key?(:'name')
@@ -56,7 +56,7 @@ module PulpRpmClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
59
+ # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Hash<String, String>',
125
+ :'pulp_labels' => :'Object',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -218,9 +218,7 @@ module PulpRpmClient
218
218
  end
219
219
 
220
220
  if attributes.key?(:'pulp_labels')
221
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
222
- self.pulp_labels = value
223
- end
221
+ self.pulp_labels = attributes[:'pulp_labels']
224
222
  end
225
223
 
226
224
  if attributes.key?(:'download_concurrency')
@@ -23,7 +23,7 @@ module PulpRpmClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
27
  attr_accessor :retain_repo_versions
28
28
 
29
29
  # An optional remote to use by default when syncing.
@@ -38,10 +38,10 @@ module PulpRpmClient
38
38
  # The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
39
39
  attr_accessor :retain_package_versions
40
40
 
41
- # The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
41
+ # The checksum type for metadata.
42
42
  attr_accessor :metadata_checksum_type
43
43
 
44
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
44
+ # The checksum type for packages.
45
45
  attr_accessor :package_checksum_type
46
46
 
47
47
  # An option specifying whether a client should perform a GPG signature check on packages.
@@ -75,7 +75,7 @@ module PulpRpmClient
75
75
  # Attribute type mapping.
76
76
  def self.openapi_types
77
77
  {
78
- :'pulp_labels' => :'Hash<String, String>',
78
+ :'pulp_labels' => :'Object',
79
79
  :'name' => :'String',
80
80
  :'description' => :'String',
81
81
  :'retain_repo_versions' => :'Integer',
@@ -119,9 +119,7 @@ module PulpRpmClient
119
119
  }
120
120
 
121
121
  if attributes.key?(:'pulp_labels')
122
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
- self.pulp_labels = value
124
- end
122
+ self.pulp_labels = attributes[:'pulp_labels']
125
123
  end
126
124
 
127
125
  if attributes.key?(:'name')
@@ -56,7 +56,7 @@ module PulpRpmClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
59
+ # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Hash<String, String>',
125
+ :'pulp_labels' => :'Object',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -216,9 +216,7 @@ module PulpRpmClient
216
216
  end
217
217
 
218
218
  if attributes.key?(:'pulp_labels')
219
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
220
- self.pulp_labels = value
221
- end
219
+ self.pulp_labels = attributes[:'pulp_labels']
222
220
  end
223
221
 
224
222
  if attributes.key?(:'download_concurrency')
@@ -36,8 +36,8 @@ module PulpRpmClient
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'add_content_units' => :'Array<String>',
40
- :'remove_content_units' => :'Array<String>',
39
+ :'add_content_units' => :'Array<AnyType>',
40
+ :'remove_content_units' => :'Array<AnyType>',
41
41
  :'base_version' => :'String'
42
42
  }
43
43
  end
@@ -21,7 +21,7 @@ module PulpRpmClient
21
21
  # DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'.
22
22
  attr_accessor :mirror
23
23
 
24
- # Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced. * `additive` - additive * `mirror_complete` - mirror_complete * `mirror_content_only` - mirror_content_only
24
+ # Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
25
25
  attr_accessor :sync_policy
26
26
 
27
27
  # List of content types to skip during sync.
@@ -49,7 +49,7 @@ module PulpRpmClient
49
49
  {
50
50
  :'base_path' => :'String',
51
51
  :'content_guard' => :'String',
52
- :'pulp_labels' => :'Hash<String, String>',
52
+ :'pulp_labels' => :'Object',
53
53
  :'name' => :'String',
54
54
  :'repository' => :'String',
55
55
  :'publication' => :'String'
@@ -89,9 +89,7 @@ module PulpRpmClient
89
89
  end
90
90
 
91
91
  if attributes.key?(:'pulp_labels')
92
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
93
- self.pulp_labels = value
94
- end
92
+ self.pulp_labels = attributes[:'pulp_labels']
95
93
  end
96
94
 
97
95
  if attributes.key?(:'name')
@@ -63,7 +63,7 @@ module PulpRpmClient
63
63
  :'base_path' => :'String',
64
64
  :'base_url' => :'String',
65
65
  :'content_guard' => :'String',
66
- :'pulp_labels' => :'Hash<String, String>',
66
+ :'pulp_labels' => :'Object',
67
67
  :'name' => :'String',
68
68
  :'repository' => :'String',
69
69
  :'publication' => :'String'
@@ -115,9 +115,7 @@ module PulpRpmClient
115
115
  end
116
116
 
117
117
  if attributes.key?(:'pulp_labels')
118
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
- self.pulp_labels = value
120
- end
118
+ self.pulp_labels = attributes[:'pulp_labels']
121
119
  end
122
120
 
123
121
  if attributes.key?(:'name')
@@ -20,10 +20,10 @@ module PulpRpmClient
20
20
  # A URI of the repository to be published.
21
21
  attr_accessor :repository
22
22
 
23
- # The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
23
+ # The checksum type for metadata.
24
24
  attr_accessor :metadata_checksum_type
25
25
 
26
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
26
+ # The checksum type for packages.
27
27
  attr_accessor :package_checksum_type
28
28
 
29
29
  # An option specifying whether a client should perform a GPG signature check on packages.
@@ -25,10 +25,10 @@ module PulpRpmClient
25
25
  # A URI of the repository to be published.
26
26
  attr_accessor :repository
27
27
 
28
- # The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
28
+ # The checksum type for metadata.
29
29
  attr_accessor :metadata_checksum_type
30
30
 
31
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
31
+ # The checksum type for packages.
32
32
  attr_accessor :package_checksum_type
33
33
 
34
34
  # An option specifying whether a client should perform a GPG signature check on packages.
@@ -56,7 +56,7 @@ module PulpRpmClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
59
+ # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Hash<String, String>',
125
+ :'pulp_labels' => :'Object',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -218,9 +218,7 @@ module PulpRpmClient
218
218
  end
219
219
 
220
220
  if attributes.key?(:'pulp_labels')
221
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
222
- self.pulp_labels = value
223
- end
221
+ self.pulp_labels = attributes[:'pulp_labels']
224
222
  end
225
223
 
226
224
  if attributes.key?(:'download_concurrency')
@@ -49,7 +49,7 @@ module PulpRpmClient
49
49
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
50
50
  attr_accessor :max_retries
51
51
 
52
- # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
52
+ # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
53
53
  attr_accessor :policy
54
54
 
55
55
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -70,9 +70,6 @@ module PulpRpmClient
70
70
  # Limits requests per second for each concurrent downloader
71
71
  attr_accessor :rate_limit
72
72
 
73
- # List of hidden (write only) fields
74
- attr_accessor :hidden_fields
75
-
76
73
  # Authentication token for SLES repositories.
77
74
  attr_accessor :sles_auth_token
78
75
 
@@ -98,7 +95,6 @@ module PulpRpmClient
98
95
  :'sock_read_timeout' => :'sock_read_timeout',
99
96
  :'headers' => :'headers',
100
97
  :'rate_limit' => :'rate_limit',
101
- :'hidden_fields' => :'hidden_fields',
102
98
  :'sles_auth_token' => :'sles_auth_token'
103
99
  }
104
100
  end
@@ -114,7 +110,7 @@ module PulpRpmClient
114
110
  :'client_cert' => :'String',
115
111
  :'tls_validation' => :'Boolean',
116
112
  :'proxy_url' => :'String',
117
- :'pulp_labels' => :'Hash<String, String>',
113
+ :'pulp_labels' => :'Object',
118
114
  :'pulp_last_updated' => :'DateTime',
119
115
  :'download_concurrency' => :'Integer',
120
116
  :'max_retries' => :'Integer',
@@ -125,7 +121,6 @@ module PulpRpmClient
125
121
  :'sock_read_timeout' => :'Float',
126
122
  :'headers' => :'Array<Object>',
127
123
  :'rate_limit' => :'Integer',
128
- :'hidden_fields' => :'Array<RpmRpmRemoteResponseHiddenFields>',
129
124
  :'sles_auth_token' => :'String'
130
125
  }
131
126
  end
@@ -195,9 +190,7 @@ module PulpRpmClient
195
190
  end
196
191
 
197
192
  if attributes.key?(:'pulp_labels')
198
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
199
- self.pulp_labels = value
200
- end
193
+ self.pulp_labels = attributes[:'pulp_labels']
201
194
  end
202
195
 
203
196
  if attributes.key?(:'pulp_last_updated')
@@ -242,12 +235,6 @@ module PulpRpmClient
242
235
  self.rate_limit = attributes[:'rate_limit']
243
236
  end
244
237
 
245
- if attributes.key?(:'hidden_fields')
246
- if (value = attributes[:'hidden_fields']).is_a?(Array)
247
- self.hidden_fields = value
248
- end
249
- end
250
-
251
238
  if attributes.key?(:'sles_auth_token')
252
239
  self.sles_auth_token = attributes[:'sles_auth_token']
253
240
  end
@@ -375,7 +362,6 @@ module PulpRpmClient
375
362
  sock_read_timeout == o.sock_read_timeout &&
376
363
  headers == o.headers &&
377
364
  rate_limit == o.rate_limit &&
378
- hidden_fields == o.hidden_fields &&
379
365
  sles_auth_token == o.sles_auth_token
380
366
  end
381
367
 
@@ -388,7 +374,7 @@ module PulpRpmClient
388
374
  # Calculates hash code according to all attributes.
389
375
  # @return [Integer] Hash code
390
376
  def hash
391
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, sles_auth_token].hash
377
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
392
378
  end
393
379
 
394
380
  # Builds the object from hash
@@ -23,7 +23,7 @@ module PulpRpmClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
27
  attr_accessor :retain_repo_versions
28
28
 
29
29
  # An optional remote to use by default when syncing.
@@ -38,10 +38,10 @@ module PulpRpmClient
38
38
  # The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
39
39
  attr_accessor :retain_package_versions
40
40
 
41
- # The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
41
+ # The checksum type for metadata.
42
42
  attr_accessor :metadata_checksum_type
43
43
 
44
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
44
+ # The checksum type for packages.
45
45
  attr_accessor :package_checksum_type
46
46
 
47
47
  # An option specifying whether a client should perform a GPG signature check on packages.
@@ -75,7 +75,7 @@ module PulpRpmClient
75
75
  # Attribute type mapping.
76
76
  def self.openapi_types
77
77
  {
78
- :'pulp_labels' => :'Hash<String, String>',
78
+ :'pulp_labels' => :'Object',
79
79
  :'name' => :'String',
80
80
  :'description' => :'String',
81
81
  :'retain_repo_versions' => :'Integer',
@@ -119,9 +119,7 @@ module PulpRpmClient
119
119
  }
120
120
 
121
121
  if attributes.key?(:'pulp_labels')
122
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
- self.pulp_labels = value
124
- end
122
+ self.pulp_labels = attributes[:'pulp_labels']
125
123
  end
126
124
 
127
125
  if attributes.key?(:'name')