pulp_rpm_client 3.35.2 → 3.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentAdvisoriesApi.md +2 -0
  4. data/docs/ContentPackagesApi.md +8 -2
  5. data/docs/PatchedrpmRpmDistribution.md +2 -0
  6. data/docs/PatchedrpmRpmRepository.md +4 -2
  7. data/docs/RepositoriesRpmApi.md +18 -2
  8. data/docs/RepositoryAddRemoveContent.md +3 -1
  9. data/docs/RpmModulemd.md +2 -0
  10. data/docs/RpmModulemdDefaults.md +2 -0
  11. data/docs/RpmModulemdObsolete.md +2 -0
  12. data/docs/RpmPackageResponse.md +3 -1
  13. data/docs/RpmRpmDistribution.md +2 -0
  14. data/docs/RpmRpmDistributionResponse.md +4 -0
  15. data/docs/RpmRpmPublication.md +1 -1
  16. data/docs/RpmRpmPublicationResponse.md +1 -1
  17. data/docs/RpmRpmRepository.md +4 -2
  18. data/docs/RpmRpmRepositoryResponse.md +4 -2
  19. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
  20. data/lib/pulp_rpm_client/api/content_packages_api.rb +12 -3
  21. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +27 -3
  22. data/lib/pulp_rpm_client/models/layout_enum.rb +1 -2
  23. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +12 -1
  24. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +34 -8
  25. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +16 -4
  26. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +11 -1
  27. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +11 -1
  28. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +11 -1
  29. data/lib/pulp_rpm_client/models/rpm_package_response.rb +17 -4
  30. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +12 -1
  31. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +22 -1
  32. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  33. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  34. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +34 -8
  35. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +34 -8
  36. data/lib/pulp_rpm_client/version.rb +1 -1
  37. data/spec/api/content_advisories_api_spec.rb +1 -0
  38. data/spec/api/content_packages_api_spec.rb +4 -1
  39. data/spec/api/repositories_rpm_api_spec.rb +9 -1
  40. data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
  41. data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
  42. data/spec/models/repository_add_remove_content_spec.rb +6 -0
  43. data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
  44. data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
  45. data/spec/models/rpm_modulemd_spec.rb +6 -0
  46. data/spec/models/rpm_package_response_spec.rb +6 -0
  47. data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
  48. data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
  49. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  50. data/spec/models/rpm_rpm_repository_spec.rb +6 -0
  51. metadata +78 -78
@@ -24,6 +24,7 @@ module PulpRpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
27
28
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
29
  # @option opts [String] :artifact Artifact file representing the physical content
29
30
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
@@ -42,6 +43,7 @@ module PulpRpmClient
42
43
  # @param [Hash] opts the optional parameters
43
44
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
44
45
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
46
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
45
47
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
46
48
  # @option opts [String] :artifact Artifact file representing the physical content
47
49
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
@@ -82,6 +84,7 @@ module PulpRpmClient
82
84
  # form parameters
83
85
  form_params = opts[:form_params] || {}
84
86
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
87
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
85
88
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
86
89
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
87
90
  form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
@@ -139,7 +142,7 @@ module PulpRpmClient
139
142
  # @option opts [String] :name__ne Filter results where name not equal to value
140
143
  # @option opts [String] :name__startswith Filter results where name starts with value
141
144
  # @option opts [Integer] :offset The initial index from which to return the results.
142
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
145
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;signing_keys&#x60; - Signing keys * &#x60;-signing_keys&#x60; - Signing keys (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
143
146
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
144
147
  # @option opts [String] :pkg_id Filter results where pkgId matches value
145
148
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
@@ -157,6 +160,7 @@ module PulpRpmClient
157
160
  # @option opts [String] :repository_version_added
158
161
  # @option opts [String] :repository_version_removed
159
162
  # @option opts [String] :sha256
163
+ # @option opts [String] :signing_key
160
164
  # @option opts [String] :version Filter results where version matches value
161
165
  # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
162
166
  # @option opts [String] :version__ne Filter results where version not equal to value
@@ -191,7 +195,7 @@ module PulpRpmClient
191
195
  # @option opts [String] :name__ne Filter results where name not equal to value
192
196
  # @option opts [String] :name__startswith Filter results where name starts with value
193
197
  # @option opts [Integer] :offset The initial index from which to return the results.
194
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
198
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;signing_keys&#x60; - Signing keys * &#x60;-signing_keys&#x60; - Signing keys (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
195
199
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
196
200
  # @option opts [String] :pkg_id Filter results where pkgId matches value
197
201
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
@@ -209,6 +213,7 @@ module PulpRpmClient
209
213
  # @option opts [String] :repository_version_added
210
214
  # @option opts [String] :repository_version_removed
211
215
  # @option opts [String] :sha256
216
+ # @option opts [String] :signing_key
212
217
  # @option opts [String] :version Filter results where version matches value
213
218
  # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
214
219
  # @option opts [String] :version__ne Filter results where version not equal to value
@@ -223,7 +228,7 @@ module PulpRpmClient
223
228
  if @api_client.config.client_side_validation && opts[:'checksum_type'] && !allowable_values.include?(opts[:'checksum_type'])
224
229
  fail ArgumentError, "invalid value for \"checksum_type\", must be one of #{allowable_values}"
225
230
  end
226
- allowable_values = ["-arch", "-changelogs", "-checksum_type", "-conflicts", "-description", "-enhances", "-epoch", "-evr", "-files", "-is_modular", "-location_base", "-location_href", "-name", "-obsoletes", "-pk", "-pkgId", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-release", "-requires", "-rpm_buildhost", "-rpm_group", "-rpm_header_end", "-rpm_header_start", "-rpm_license", "-rpm_packager", "-rpm_sourcerpm", "-rpm_vendor", "-size_archive", "-size_installed", "-size_package", "-suggests", "-summary", "-supplements", "-time_build", "-time_file", "-timestamp_of_interest", "-upstream_id", "-url", "-version", "arch", "changelogs", "checksum_type", "conflicts", "description", "enhances", "epoch", "evr", "files", "is_modular", "location_base", "location_href", "name", "obsoletes", "pk", "pkgId", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "release", "requires", "rpm_buildhost", "rpm_group", "rpm_header_end", "rpm_header_start", "rpm_license", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "size_archive", "size_installed", "size_package", "suggests", "summary", "supplements", "time_build", "time_file", "timestamp_of_interest", "upstream_id", "url", "version"]
231
+ allowable_values = ["-arch", "-changelogs", "-checksum_type", "-conflicts", "-description", "-enhances", "-epoch", "-evr", "-files", "-is_modular", "-location_base", "-location_href", "-name", "-obsoletes", "-pk", "-pkgId", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-release", "-requires", "-rpm_buildhost", "-rpm_group", "-rpm_header_end", "-rpm_header_start", "-rpm_license", "-rpm_packager", "-rpm_sourcerpm", "-rpm_vendor", "-signing_keys", "-size_archive", "-size_installed", "-size_package", "-suggests", "-summary", "-supplements", "-time_build", "-time_file", "-timestamp_of_interest", "-upstream_id", "-url", "-version", "arch", "changelogs", "checksum_type", "conflicts", "description", "enhances", "epoch", "evr", "files", "is_modular", "location_base", "location_href", "name", "obsoletes", "pk", "pkgId", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "release", "requires", "rpm_buildhost", "rpm_group", "rpm_header_end", "rpm_header_start", "rpm_license", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "signing_keys", "size_archive", "size_installed", "size_package", "suggests", "summary", "supplements", "time_build", "time_file", "timestamp_of_interest", "upstream_id", "url", "version"]
227
232
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
228
233
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
229
234
  end
@@ -269,6 +274,7 @@ module PulpRpmClient
269
274
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
270
275
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
271
276
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
277
+ query_params[:'signing_key'] = opts[:'signing_key'] if !opts[:'signing_key'].nil?
272
278
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
273
279
  query_params[:'version__in'] = @api_client.build_collection_param(opts[:'version__in'], :csv) if !opts[:'version__in'].nil?
274
280
  query_params[:'version__ne'] = opts[:'version__ne'] if !opts[:'version__ne'].nil?
@@ -540,6 +546,7 @@ module PulpRpmClient
540
546
  # Synchronously upload an RPM package.
541
547
  # @param [Hash] opts the optional parameters
542
548
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
549
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
543
550
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
544
551
  # @option opts [String] :artifact Artifact file representing the physical content
545
552
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -556,6 +563,7 @@ module PulpRpmClient
556
563
  # Synchronously upload an RPM package.
557
564
  # @param [Hash] opts the optional parameters
558
565
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
566
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
559
567
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
560
568
  # @option opts [String] :artifact Artifact file representing the physical content
561
569
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -590,6 +598,7 @@ module PulpRpmClient
590
598
 
591
599
  # form parameters
592
600
  form_params = opts[:form_params] || {}
601
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
593
602
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
594
603
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
595
604
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
@@ -249,13 +249,21 @@ module PulpRpmClient
249
249
  # @option opts [String] :name__regex Filter results where name matches regex value
250
250
  # @option opts [String] :name__startswith Filter results where name starts with value
251
251
  # @option opts [Integer] :offset The initial index from which to return the results.
252
- # @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)
252
+ # @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;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
253
253
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
254
254
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
255
255
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
256
256
  # @option opts [String] :pulp_label_select Filter labels by search string
257
257
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
258
258
  # @option opts [String] :remote
259
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
260
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
261
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
262
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
263
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
264
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
265
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
266
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
259
267
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
260
268
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
261
269
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -289,13 +297,21 @@ module PulpRpmClient
289
297
  # @option opts [String] :name__regex Filter results where name matches regex value
290
298
  # @option opts [String] :name__startswith Filter results where name starts with value
291
299
  # @option opts [Integer] :offset The initial index from which to return the results.
292
- # @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)
300
+ # @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;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
293
301
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
294
302
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
295
303
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
296
304
  # @option opts [String] :pulp_label_select Filter labels by search string
297
305
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
298
306
  # @option opts [String] :remote
307
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
308
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
309
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
310
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
311
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
312
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
313
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
314
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
299
315
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
300
316
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
301
317
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -312,7 +328,7 @@ module PulpRpmClient
312
328
  if @api_client.config.debugging
313
329
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.list ...'
314
330
  end
315
- 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"]
331
+ allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
316
332
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
317
333
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
318
334
  end
@@ -340,6 +356,14 @@ module PulpRpmClient
340
356
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
341
357
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
342
358
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
359
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
360
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
361
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
362
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
363
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
364
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
365
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
366
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
343
367
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
344
368
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
345
369
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -18,10 +18,9 @@ module PulpRpmClient
18
18
  NESTED_ALPHABETICALLY = "nested_alphabetically".freeze
19
19
  FLAT = "flat".freeze
20
20
  NESTED_BY_DIGEST = "nested_by_digest".freeze
21
- NESTED_BY_BOTH = "nested_by_both".freeze
22
21
 
23
22
  def self.all_vars
24
- @all_vars ||= [NESTED_ALPHABETICALLY, FLAT, NESTED_BY_DIGEST, NESTED_BY_BOTH].freeze
23
+ @all_vars ||= [NESTED_ALPHABETICALLY, FLAT, NESTED_BY_DIGEST].freeze
25
24
  end
26
25
 
27
26
  # Builds the enum from string
@@ -33,6 +33,9 @@ module PulpRpmClient
33
33
  # The latest RepositoryVersion for this Repository will be served.
34
34
  attr_accessor :repository
35
35
 
36
+ # RepositoryVersion to be served
37
+ attr_accessor :repository_version
38
+
36
39
  # Publication to be served
37
40
  attr_accessor :publication
38
41
 
@@ -50,6 +53,7 @@ module PulpRpmClient
50
53
  :'pulp_labels' => :'pulp_labels',
51
54
  :'name' => :'name',
52
55
  :'repository' => :'repository',
56
+ :'repository_version' => :'repository_version',
53
57
  :'publication' => :'publication',
54
58
  :'generate_repo_config' => :'generate_repo_config',
55
59
  :'checkpoint' => :'checkpoint'
@@ -70,6 +74,7 @@ module PulpRpmClient
70
74
  :'pulp_labels' => :'Hash<String, String>',
71
75
  :'name' => :'String',
72
76
  :'repository' => :'String',
77
+ :'repository_version' => :'String',
73
78
  :'publication' => :'String',
74
79
  :'generate_repo_config' => :'Boolean',
75
80
  :'checkpoint' => :'Boolean'
@@ -81,6 +86,7 @@ module PulpRpmClient
81
86
  Set.new([
82
87
  :'content_guard',
83
88
  :'repository',
89
+ :'repository_version',
84
90
  :'publication',
85
91
  ])
86
92
  end
@@ -128,6 +134,10 @@ module PulpRpmClient
128
134
  self.repository = attributes[:'repository']
129
135
  end
130
136
 
137
+ if attributes.key?(:'repository_version')
138
+ self.repository_version = attributes[:'repository_version']
139
+ end
140
+
131
141
  if attributes.key?(:'publication')
132
142
  self.publication = attributes[:'publication']
133
143
  end
@@ -207,6 +217,7 @@ module PulpRpmClient
207
217
  pulp_labels == o.pulp_labels &&
208
218
  name == o.name &&
209
219
  repository == o.repository &&
220
+ repository_version == o.repository_version &&
210
221
  publication == o.publication &&
211
222
  generate_repo_config == o.generate_repo_config &&
212
223
  checkpoint == o.checkpoint
@@ -221,7 +232,7 @@ module PulpRpmClient
221
232
  # Calculates hash code according to all attributes.
222
233
  # @return [Integer] Hash code
223
234
  def hash
224
- [base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config, checkpoint].hash
235
+ [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, publication, generate_repo_config, checkpoint].hash
225
236
  end
226
237
 
227
238
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpRpmClient
27
27
  # Retain X versions of the repository. Default is null which retains all versions.
28
28
  attr_accessor :retain_repo_versions
29
29
 
30
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
31
+ attr_accessor :retain_checkpoints
32
+
30
33
  # An optional remote to use by default when syncing.
31
34
  attr_accessor :remote
32
35
 
@@ -39,7 +42,7 @@ module PulpRpmClient
39
42
  # A reference to an associated package signing service.
40
43
  attr_accessor :package_signing_service
41
44
 
42
- # The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository.
45
+ # The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'.
43
46
  attr_accessor :package_signing_fingerprint
44
47
 
45
48
  # 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.
@@ -54,7 +57,7 @@ module PulpRpmClient
54
57
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none
55
58
  attr_accessor :compression_type
56
59
 
57
- # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest * `nested_by_both` - nested_by_both
60
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
58
61
  attr_accessor :layout
59
62
 
60
63
  class EnumAttributeValidator
@@ -86,6 +89,7 @@ module PulpRpmClient
86
89
  :'name' => :'name',
87
90
  :'description' => :'description',
88
91
  :'retain_repo_versions' => :'retain_repo_versions',
92
+ :'retain_checkpoints' => :'retain_checkpoints',
89
93
  :'remote' => :'remote',
90
94
  :'autopublish' => :'autopublish',
91
95
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -111,6 +115,7 @@ module PulpRpmClient
111
115
  :'name' => :'String',
112
116
  :'description' => :'String',
113
117
  :'retain_repo_versions' => :'Integer',
118
+ :'retain_checkpoints' => :'Integer',
114
119
  :'remote' => :'String',
115
120
  :'autopublish' => :'Boolean',
116
121
  :'metadata_signing_service' => :'String',
@@ -129,6 +134,7 @@ module PulpRpmClient
129
134
  Set.new([
130
135
  :'description',
131
136
  :'retain_repo_versions',
137
+ :'retain_checkpoints',
132
138
  :'remote',
133
139
  :'metadata_signing_service',
134
140
  :'package_signing_service',
@@ -173,6 +179,10 @@ module PulpRpmClient
173
179
  self.retain_repo_versions = attributes[:'retain_repo_versions']
174
180
  end
175
181
 
182
+ if attributes.key?(:'retain_checkpoints')
183
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
184
+ end
185
+
176
186
  if attributes.key?(:'remote')
177
187
  self.remote = attributes[:'remote']
178
188
  end
@@ -233,8 +243,12 @@ module PulpRpmClient
233
243
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
234
244
  end
235
245
 
236
- if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
237
- invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
246
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
247
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
248
+ end
249
+
250
+ if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
251
+ invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.')
238
252
  end
239
253
 
240
254
  if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
@@ -255,7 +269,8 @@ module PulpRpmClient
255
269
  return false if !@name.nil? && @name.to_s.length < 1
256
270
  return false if !@description.nil? && @description.to_s.length < 1
257
271
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
258
- return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
272
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
273
+ return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
259
274
  return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
260
275
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
261
276
  true
@@ -295,11 +310,21 @@ module PulpRpmClient
295
310
  @retain_repo_versions = retain_repo_versions
296
311
  end
297
312
 
313
+ # Custom attribute writer method with validation
314
+ # @param [Object] retain_checkpoints Value to be assigned
315
+ def retain_checkpoints=(retain_checkpoints)
316
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
317
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
318
+ end
319
+
320
+ @retain_checkpoints = retain_checkpoints
321
+ end
322
+
298
323
  # Custom attribute writer method with validation
299
324
  # @param [Object] package_signing_fingerprint Value to be assigned
300
325
  def package_signing_fingerprint=(package_signing_fingerprint)
301
- if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
302
- fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
326
+ if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 68
327
+ fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.'
303
328
  end
304
329
 
305
330
  if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length < 1
@@ -332,6 +357,7 @@ module PulpRpmClient
332
357
  name == o.name &&
333
358
  description == o.description &&
334
359
  retain_repo_versions == o.retain_repo_versions &&
360
+ retain_checkpoints == o.retain_checkpoints &&
335
361
  remote == o.remote &&
336
362
  autopublish == o.autopublish &&
337
363
  metadata_signing_service == o.metadata_signing_service &&
@@ -353,7 +379,7 @@ module PulpRpmClient
353
379
  # Calculates hash code according to all attributes.
354
380
  # @return [Integer] Hash code
355
381
  def hash
356
- [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout].hash
382
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout].hash
357
383
  end
358
384
 
359
385
  # Builds the object from hash
@@ -25,12 +25,16 @@ module PulpRpmClient
25
25
  # A repository version whose content will be used as the initial set of content for the new repository version
26
26
  attr_accessor :base_version
27
27
 
28
+ # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.
29
+ attr_accessor :overwrite
30
+
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
29
32
  def self.attribute_map
30
33
  {
31
34
  :'add_content_units' => :'add_content_units',
32
35
  :'remove_content_units' => :'remove_content_units',
33
- :'base_version' => :'base_version'
36
+ :'base_version' => :'base_version',
37
+ :'overwrite' => :'overwrite'
34
38
  }
35
39
  end
36
40
 
@@ -44,7 +48,8 @@ module PulpRpmClient
44
48
  {
45
49
  :'add_content_units' => :'Array<String>',
46
50
  :'remove_content_units' => :'Array<String>',
47
- :'base_version' => :'String'
51
+ :'base_version' => :'String',
52
+ :'overwrite' => :'Boolean'
48
53
  }
49
54
  end
50
55
 
@@ -84,6 +89,12 @@ module PulpRpmClient
84
89
  if attributes.key?(:'base_version')
85
90
  self.base_version = attributes[:'base_version']
86
91
  end
92
+
93
+ if attributes.key?(:'overwrite')
94
+ self.overwrite = attributes[:'overwrite']
95
+ else
96
+ self.overwrite = true
97
+ end
87
98
  end
88
99
 
89
100
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,7 +119,8 @@ module PulpRpmClient
108
119
  self.class == o.class &&
109
120
  add_content_units == o.add_content_units &&
110
121
  remove_content_units == o.remove_content_units &&
111
- base_version == o.base_version
122
+ base_version == o.base_version &&
123
+ overwrite == o.overwrite
112
124
  end
113
125
 
114
126
  # @see the `==` method
@@ -120,7 +132,7 @@ module PulpRpmClient
120
132
  # Calculates hash code according to all attributes.
121
133
  # @return [Integer] Hash code
122
134
  def hash
123
- [add_content_units, remove_content_units, base_version].hash
135
+ [add_content_units, remove_content_units, base_version, overwrite].hash
124
136
  end
125
137
 
126
138
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpRpmClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
23
+ attr_accessor :overwrite
24
+
22
25
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
26
  attr_accessor :pulp_labels
24
27
 
@@ -62,6 +65,7 @@ module PulpRpmClient
62
65
  def self.attribute_map
63
66
  {
64
67
  :'repository' => :'repository',
68
+ :'overwrite' => :'overwrite',
65
69
  :'pulp_labels' => :'pulp_labels',
66
70
  :'name' => :'name',
67
71
  :'stream' => :'stream',
@@ -87,6 +91,7 @@ module PulpRpmClient
87
91
  def self.openapi_types
88
92
  {
89
93
  :'repository' => :'String',
94
+ :'overwrite' => :'Boolean',
90
95
  :'pulp_labels' => :'Hash<String, String>',
91
96
  :'name' => :'String',
92
97
  :'stream' => :'String',
@@ -131,6 +136,10 @@ module PulpRpmClient
131
136
  self.repository = attributes[:'repository']
132
137
  end
133
138
 
139
+ if attributes.key?(:'overwrite')
140
+ self.overwrite = attributes[:'overwrite']
141
+ end
142
+
134
143
  if attributes.key?(:'pulp_labels')
135
144
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
136
145
  self.pulp_labels = value
@@ -397,6 +406,7 @@ module PulpRpmClient
397
406
  return true if self.equal?(o)
398
407
  self.class == o.class &&
399
408
  repository == o.repository &&
409
+ overwrite == o.overwrite &&
400
410
  pulp_labels == o.pulp_labels &&
401
411
  name == o.name &&
402
412
  stream == o.stream &&
@@ -421,7 +431,7 @@ module PulpRpmClient
421
431
  # Calculates hash code according to all attributes.
422
432
  # @return [Integer] Hash code
423
433
  def hash
424
- [repository, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
434
+ [repository, overwrite, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
425
435
  end
426
436
 
427
437
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpRpmClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
23
+ attr_accessor :overwrite
24
+
22
25
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
26
  attr_accessor :pulp_labels
24
27
 
@@ -38,6 +41,7 @@ module PulpRpmClient
38
41
  def self.attribute_map
39
42
  {
40
43
  :'repository' => :'repository',
44
+ :'overwrite' => :'overwrite',
41
45
  :'pulp_labels' => :'pulp_labels',
42
46
  :'_module' => :'module',
43
47
  :'stream' => :'stream',
@@ -55,6 +59,7 @@ module PulpRpmClient
55
59
  def self.openapi_types
56
60
  {
57
61
  :'repository' => :'String',
62
+ :'overwrite' => :'Boolean',
58
63
  :'pulp_labels' => :'Hash<String, String>',
59
64
  :'_module' => :'String',
60
65
  :'stream' => :'String',
@@ -89,6 +94,10 @@ module PulpRpmClient
89
94
  self.repository = attributes[:'repository']
90
95
  end
91
96
 
97
+ if attributes.key?(:'overwrite')
98
+ self.overwrite = attributes[:'overwrite']
99
+ end
100
+
92
101
  if attributes.key?(:'pulp_labels')
93
102
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
94
103
  self.pulp_labels = value
@@ -213,6 +222,7 @@ module PulpRpmClient
213
222
  return true if self.equal?(o)
214
223
  self.class == o.class &&
215
224
  repository == o.repository &&
225
+ overwrite == o.overwrite &&
216
226
  pulp_labels == o.pulp_labels &&
217
227
  _module == o._module &&
218
228
  stream == o.stream &&
@@ -229,7 +239,7 @@ module PulpRpmClient
229
239
  # Calculates hash code according to all attributes.
230
240
  # @return [Integer] Hash code
231
241
  def hash
232
- [repository, pulp_labels, _module, stream, profiles, snippet].hash
242
+ [repository, overwrite, pulp_labels, _module, stream, profiles, snippet].hash
233
243
  end
234
244
 
235
245
  # Builds the object from hash