pulp_rpm_client 3.24.0 → 3.25.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/{MetadataChecksumTypeEnum.md → CompressionTypeEnum.md} +2 -2
  4. data/docs/ContentAdvisoriesApi.md +2 -0
  5. data/docs/ContentDistributionTreesApi.md +2 -0
  6. data/docs/ContentModulemdDefaultsApi.md +2 -0
  7. data/docs/ContentModulemdObsoletesApi.md +2 -0
  8. data/docs/ContentModulemdsApi.md +2 -0
  9. data/docs/ContentPackagecategoriesApi.md +2 -0
  10. data/docs/ContentPackageenvironmentsApi.md +2 -0
  11. data/docs/ContentPackagegroupsApi.md +2 -0
  12. data/docs/ContentPackagelangpacksApi.md +2 -0
  13. data/docs/ContentPackagesApi.md +2 -0
  14. data/docs/ContentRepoMetadataFilesApi.md +2 -0
  15. data/docs/PatchedrpmRpmRepository.md +7 -5
  16. data/docs/RpmRpmPublication.md +7 -5
  17. data/docs/RpmRpmPublicationResponse.md +8 -4
  18. data/docs/RpmRpmRepository.md +7 -5
  19. data/docs/RpmRpmRepositoryResponse.md +8 -4
  20. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
  21. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -0
  22. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -0
  23. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +3 -0
  24. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -0
  25. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -0
  26. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -0
  27. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -0
  28. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -0
  29. data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -0
  30. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -0
  31. data/lib/pulp_rpm_client/models/{metadata_checksum_type_enum.rb → compression_type_enum.rb} +5 -10
  32. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +29 -19
  33. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +27 -19
  34. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -8
  35. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +29 -19
  36. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +30 -8
  37. data/lib/pulp_rpm_client/version.rb +1 -1
  38. data/lib/pulp_rpm_client.rb +1 -1
  39. data/spec/api/content_advisories_api_spec.rb +1 -0
  40. data/spec/api/content_distribution_trees_api_spec.rb +1 -0
  41. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -0
  42. data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -0
  43. data/spec/api/content_modulemds_api_spec.rb +1 -0
  44. data/spec/api/content_packagecategories_api_spec.rb +1 -0
  45. data/spec/api/content_packageenvironments_api_spec.rb +1 -0
  46. data/spec/api/content_packagegroups_api_spec.rb +1 -0
  47. data/spec/api/content_packagelangpacks_api_spec.rb +1 -0
  48. data/spec/api/content_packages_api_spec.rb +1 -0
  49. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -0
  50. data/spec/models/{metadata_checksum_type_enum_spec.rb → compression_type_enum_spec.rb} +6 -6
  51. data/spec/models/patchedrpm_rpm_repository_spec.rb +8 -2
  52. data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
  53. data/spec/models/rpm_rpm_publication_spec.rb +8 -2
  54. data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
  55. data/spec/models/rpm_rpm_repository_spec.rb +8 -2
  56. metadata +88 -88
@@ -95,6 +95,7 @@ module PulpRpmClient
95
95
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
96
96
  # @option opts [Integer] :offset The initial index from which to return the results.
97
97
  # @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;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;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;context&#x60; - Context * &#x60;-context&#x60; - Context (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;static_context&#x60; - Static context * &#x60;-static_context&#x60; - Static context (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;artifacts&#x60; - Artifacts * &#x60;-artifacts&#x60; - Artifacts (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
98
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
98
99
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
99
100
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
100
101
  # @option opts [String] :q
@@ -126,6 +127,7 @@ module PulpRpmClient
126
127
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
127
128
  # @option opts [Integer] :offset The initial index from which to return the results.
128
129
  # @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;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;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;context&#x60; - Context * &#x60;-context&#x60; - Context (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;static_context&#x60; - Static context * &#x60;-static_context&#x60; - Static context (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;artifacts&#x60; - Artifacts * &#x60;-artifacts&#x60; - Artifacts (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
130
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
129
131
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
130
132
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
131
133
  # @option opts [String] :q
@@ -162,6 +164,7 @@ module PulpRpmClient
162
164
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
163
165
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
164
166
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
167
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
165
168
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
166
169
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
167
170
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -25,6 +25,7 @@ module PulpRpmClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
28
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
31
  # @option opts [String] :q
@@ -45,6 +46,7 @@ module PulpRpmClient
45
46
  # @option opts [Integer] :limit Number of results to return per page.
46
47
  # @option opts [Integer] :offset The initial index from which to return the results.
47
48
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
49
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
50
52
  # @option opts [String] :q
@@ -70,6 +72,7 @@ module PulpRpmClient
70
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
71
73
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
72
74
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
75
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
73
76
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
74
77
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
75
78
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -25,6 +25,7 @@ module PulpRpmClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
28
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
31
  # @option opts [String] :q
@@ -45,6 +46,7 @@ module PulpRpmClient
45
46
  # @option opts [Integer] :limit Number of results to return per page.
46
47
  # @option opts [Integer] :offset The initial index from which to return the results.
47
48
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
49
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
50
52
  # @option opts [String] :q
@@ -70,6 +72,7 @@ module PulpRpmClient
70
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
71
73
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
72
74
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
75
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
73
76
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
74
77
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
75
78
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -25,6 +25,7 @@ module PulpRpmClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
28
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
31
  # @option opts [String] :q
@@ -45,6 +46,7 @@ module PulpRpmClient
45
46
  # @option opts [Integer] :limit Number of results to return per page.
46
47
  # @option opts [Integer] :offset The initial index from which to return the results.
47
48
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
49
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
50
52
  # @option opts [String] :q
@@ -70,6 +72,7 @@ module PulpRpmClient
70
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
71
73
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
72
74
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
75
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
73
76
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
74
77
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
75
78
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -25,6 +25,7 @@ module PulpRpmClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
28
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
31
  # @option opts [String] :q
@@ -45,6 +46,7 @@ module PulpRpmClient
45
46
  # @option opts [Integer] :limit Number of results to return per page.
46
47
  # @option opts [Integer] :offset The initial index from which to return the results.
47
48
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
49
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
50
52
  # @option opts [String] :q
@@ -70,6 +72,7 @@ module PulpRpmClient
70
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
71
73
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
72
74
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
75
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
73
76
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
74
77
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
75
78
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -119,6 +119,7 @@ module PulpRpmClient
119
119
  # @option opts [String] :name__startswith Filter results where name starts with value
120
120
  # @option opts [Integer] :offset The initial index from which to return the results.
121
121
  # @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;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)
122
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
122
123
  # @option opts [String] :pkg_id Filter results where pkgId matches value
123
124
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
124
125
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -167,6 +168,7 @@ module PulpRpmClient
167
168
  # @option opts [String] :name__startswith Filter results where name starts with value
168
169
  # @option opts [Integer] :offset The initial index from which to return the results.
169
170
  # @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;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)
171
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
170
172
  # @option opts [String] :pkg_id Filter results where pkgId matches value
171
173
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
172
174
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -224,6 +226,7 @@ module PulpRpmClient
224
226
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
225
227
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
226
228
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
229
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
227
230
  query_params[:'pkgId'] = opts[:'pkg_id'] if !opts[:'pkg_id'].nil?
228
231
  query_params[:'pkgId__in'] = @api_client.build_collection_param(opts[:'pkg_id__in'], :csv) if !opts[:'pkg_id__in'].nil?
229
232
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
@@ -25,6 +25,7 @@ module PulpRpmClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
28
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
31
  # @option opts [String] :q
@@ -45,6 +46,7 @@ module PulpRpmClient
45
46
  # @option opts [Integer] :limit Number of results to return per page.
46
47
  # @option opts [Integer] :offset The initial index from which to return the results.
47
48
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
49
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
50
52
  # @option opts [String] :q
@@ -70,6 +72,7 @@ module PulpRpmClient
70
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
71
73
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
72
74
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
75
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
73
76
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
74
77
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
75
78
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -13,14 +13,9 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class MetadataChecksumTypeEnum
17
- UNKNOWN = "unknown".freeze
18
- MD5 = "md5".freeze
19
- SHA1 = "sha1".freeze
20
- SHA224 = "sha224".freeze
21
- SHA256 = "sha256".freeze
22
- SHA384 = "sha384".freeze
23
- SHA512 = "sha512".freeze
16
+ class CompressionTypeEnum
17
+ ZSTD = "zstd".freeze
18
+ GZ = "gz".freeze
24
19
 
25
20
  # Builds the enum from string
26
21
  # @param [String] The enum value in the form of the string
@@ -33,8 +28,8 @@ module PulpRpmClient
33
28
  # @param [String] The enum value in the form of the string
34
29
  # @return [String] The enum value
35
30
  def build_from_hash(value)
36
- constantValues = MetadataChecksumTypeEnum.constants.select { |c| MetadataChecksumTypeEnum::const_get(c) == value }
37
- raise "Invalid ENUM value #{value} for class #MetadataChecksumTypeEnum" if constantValues.empty?
31
+ constantValues = CompressionTypeEnum.constants.select { |c| CompressionTypeEnum::const_get(c) == value }
32
+ raise "Invalid ENUM value #{value} for class #CompressionTypeEnum" if constantValues.empty?
38
33
  value
39
34
  end
40
35
  end
@@ -38,10 +38,13 @@ 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 preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
42
+ attr_accessor :checksum_type
43
+
44
+ # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
42
45
  attr_accessor :metadata_checksum_type
43
46
 
44
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
47
+ # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
45
48
  attr_accessor :package_checksum_type
46
49
 
47
50
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
@@ -50,12 +53,12 @@ module PulpRpmClient
50
53
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
51
54
  attr_accessor :repo_gpgcheck
52
55
 
53
- # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
54
- attr_accessor :sqlite_metadata
55
-
56
56
  # A JSON document describing config.repo file
57
57
  attr_accessor :repo_config
58
58
 
59
+ # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
60
+ attr_accessor :compression_type
61
+
59
62
  # Attribute mapping from ruby-style variable name to JSON key.
60
63
  def self.attribute_map
61
64
  {
@@ -67,12 +70,13 @@ module PulpRpmClient
67
70
  :'autopublish' => :'autopublish',
68
71
  :'metadata_signing_service' => :'metadata_signing_service',
69
72
  :'retain_package_versions' => :'retain_package_versions',
73
+ :'checksum_type' => :'checksum_type',
70
74
  :'metadata_checksum_type' => :'metadata_checksum_type',
71
75
  :'package_checksum_type' => :'package_checksum_type',
72
76
  :'gpgcheck' => :'gpgcheck',
73
77
  :'repo_gpgcheck' => :'repo_gpgcheck',
74
- :'sqlite_metadata' => :'sqlite_metadata',
75
- :'repo_config' => :'repo_config'
78
+ :'repo_config' => :'repo_config',
79
+ :'compression_type' => :'compression_type'
76
80
  }
77
81
  end
78
82
 
@@ -87,12 +91,13 @@ module PulpRpmClient
87
91
  :'autopublish' => :'Boolean',
88
92
  :'metadata_signing_service' => :'String',
89
93
  :'retain_package_versions' => :'Integer',
90
- :'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
94
+ :'checksum_type' => :'PackageChecksumTypeEnum',
95
+ :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
91
96
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
92
97
  :'gpgcheck' => :'Integer',
93
98
  :'repo_gpgcheck' => :'Integer',
94
- :'sqlite_metadata' => :'Boolean',
95
- :'repo_config' => :'Object'
99
+ :'repo_config' => :'Object',
100
+ :'compression_type' => :'CompressionTypeEnum'
96
101
  }
97
102
  end
98
103
 
@@ -103,10 +108,12 @@ module PulpRpmClient
103
108
  :'retain_repo_versions',
104
109
  :'remote',
105
110
  :'metadata_signing_service',
111
+ :'checksum_type',
106
112
  :'metadata_checksum_type',
107
113
  :'package_checksum_type',
108
114
  :'gpgcheck',
109
115
  :'repo_gpgcheck',
116
+ :'compression_type'
110
117
  ])
111
118
  end
112
119
 
@@ -161,6 +168,10 @@ module PulpRpmClient
161
168
  self.retain_package_versions = attributes[:'retain_package_versions']
162
169
  end
163
170
 
171
+ if attributes.key?(:'checksum_type')
172
+ self.checksum_type = attributes[:'checksum_type']
173
+ end
174
+
164
175
  if attributes.key?(:'metadata_checksum_type')
165
176
  self.metadata_checksum_type = attributes[:'metadata_checksum_type']
166
177
  end
@@ -177,15 +188,13 @@ module PulpRpmClient
177
188
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
178
189
  end
179
190
 
180
- if attributes.key?(:'sqlite_metadata')
181
- self.sqlite_metadata = attributes[:'sqlite_metadata']
182
- else
183
- self.sqlite_metadata = false
184
- end
185
-
186
191
  if attributes.key?(:'repo_config')
187
192
  self.repo_config = attributes[:'repo_config']
188
193
  end
194
+
195
+ if attributes.key?(:'compression_type')
196
+ self.compression_type = attributes[:'compression_type']
197
+ end
189
198
  end
190
199
 
191
200
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -322,12 +331,13 @@ module PulpRpmClient
322
331
  autopublish == o.autopublish &&
323
332
  metadata_signing_service == o.metadata_signing_service &&
324
333
  retain_package_versions == o.retain_package_versions &&
334
+ checksum_type == o.checksum_type &&
325
335
  metadata_checksum_type == o.metadata_checksum_type &&
326
336
  package_checksum_type == o.package_checksum_type &&
327
337
  gpgcheck == o.gpgcheck &&
328
338
  repo_gpgcheck == o.repo_gpgcheck &&
329
- sqlite_metadata == o.sqlite_metadata &&
330
- repo_config == o.repo_config
339
+ repo_config == o.repo_config &&
340
+ compression_type == o.compression_type
331
341
  end
332
342
 
333
343
  # @see the `==` method
@@ -339,7 +349,7 @@ module PulpRpmClient
339
349
  # Calculates hash code according to all attributes.
340
350
  # @return [Integer] Hash code
341
351
  def hash
342
- [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
352
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
343
353
  end
344
354
 
345
355
  # Builds the object from hash
@@ -20,10 +20,13 @@ 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 preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
24
+ attr_accessor :checksum_type
25
+
26
+ # DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
24
27
  attr_accessor :metadata_checksum_type
25
28
 
26
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
29
+ # DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
27
30
  attr_accessor :package_checksum_type
28
31
 
29
32
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
@@ -32,23 +35,24 @@ module PulpRpmClient
32
35
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
33
36
  attr_accessor :repo_gpgcheck
34
37
 
35
- # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
36
- attr_accessor :sqlite_metadata
37
-
38
38
  # A JSON document describing config.repo file
39
39
  attr_accessor :repo_config
40
40
 
41
+ # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
42
+ attr_accessor :compression_type
43
+
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
44
47
  :'repository_version' => :'repository_version',
45
48
  :'repository' => :'repository',
49
+ :'checksum_type' => :'checksum_type',
46
50
  :'metadata_checksum_type' => :'metadata_checksum_type',
47
51
  :'package_checksum_type' => :'package_checksum_type',
48
52
  :'gpgcheck' => :'gpgcheck',
49
53
  :'repo_gpgcheck' => :'repo_gpgcheck',
50
- :'sqlite_metadata' => :'sqlite_metadata',
51
- :'repo_config' => :'repo_config'
54
+ :'repo_config' => :'repo_config',
55
+ :'compression_type' => :'compression_type'
52
56
  }
53
57
  end
54
58
 
@@ -57,12 +61,13 @@ module PulpRpmClient
57
61
  {
58
62
  :'repository_version' => :'String',
59
63
  :'repository' => :'String',
60
- :'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
64
+ :'checksum_type' => :'PackageChecksumTypeEnum',
65
+ :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
61
66
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
62
67
  :'gpgcheck' => :'Integer',
63
68
  :'repo_gpgcheck' => :'Integer',
64
- :'sqlite_metadata' => :'Boolean',
65
- :'repo_config' => :'Object'
69
+ :'repo_config' => :'Object',
70
+ :'compression_type' => :'CompressionTypeEnum'
66
71
  }
67
72
  end
68
73
 
@@ -97,6 +102,10 @@ module PulpRpmClient
97
102
  self.repository = attributes[:'repository']
98
103
  end
99
104
 
105
+ if attributes.key?(:'checksum_type')
106
+ self.checksum_type = attributes[:'checksum_type']
107
+ end
108
+
100
109
  if attributes.key?(:'metadata_checksum_type')
101
110
  self.metadata_checksum_type = attributes[:'metadata_checksum_type']
102
111
  end
@@ -113,15 +122,13 @@ module PulpRpmClient
113
122
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
114
123
  end
115
124
 
116
- if attributes.key?(:'sqlite_metadata')
117
- self.sqlite_metadata = attributes[:'sqlite_metadata']
118
- else
119
- self.sqlite_metadata = false
120
- end
121
-
122
125
  if attributes.key?(:'repo_config')
123
126
  self.repo_config = attributes[:'repo_config']
124
127
  end
128
+
129
+ if attributes.key?(:'compression_type')
130
+ self.compression_type = attributes[:'compression_type']
131
+ end
125
132
  end
126
133
 
127
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -192,12 +199,13 @@ module PulpRpmClient
192
199
  self.class == o.class &&
193
200
  repository_version == o.repository_version &&
194
201
  repository == o.repository &&
202
+ checksum_type == o.checksum_type &&
195
203
  metadata_checksum_type == o.metadata_checksum_type &&
196
204
  package_checksum_type == o.package_checksum_type &&
197
205
  gpgcheck == o.gpgcheck &&
198
206
  repo_gpgcheck == o.repo_gpgcheck &&
199
- sqlite_metadata == o.sqlite_metadata &&
200
- repo_config == o.repo_config
207
+ repo_config == o.repo_config &&
208
+ compression_type == o.compression_type
201
209
  end
202
210
 
203
211
  # @see the `==` method
@@ -209,7 +217,7 @@ module PulpRpmClient
209
217
  # Calculates hash code according to all attributes.
210
218
  # @return [Integer] Hash code
211
219
  def hash
212
- [repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
220
+ [repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
213
221
  end
214
222
 
215
223
  # Builds the object from hash
@@ -25,10 +25,13 @@ 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 preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
29
+ attr_accessor :checksum_type
30
+
31
+ # DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
29
32
  attr_accessor :metadata_checksum_type
30
33
 
31
- # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
34
+ # DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
32
35
  attr_accessor :package_checksum_type
33
36
 
34
37
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
@@ -37,12 +40,15 @@ module PulpRpmClient
37
40
  # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
38
41
  attr_accessor :repo_gpgcheck
39
42
 
40
- # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
43
+ # REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
41
44
  attr_accessor :sqlite_metadata
42
45
 
43
46
  # A JSON document describing config.repo file
44
47
  attr_accessor :repo_config
45
48
 
49
+ # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
50
+ attr_accessor :compression_type
51
+
46
52
  # Attribute mapping from ruby-style variable name to JSON key.
47
53
  def self.attribute_map
48
54
  {
@@ -50,12 +56,14 @@ module PulpRpmClient
50
56
  :'pulp_created' => :'pulp_created',
51
57
  :'repository_version' => :'repository_version',
52
58
  :'repository' => :'repository',
59
+ :'checksum_type' => :'checksum_type',
53
60
  :'metadata_checksum_type' => :'metadata_checksum_type',
54
61
  :'package_checksum_type' => :'package_checksum_type',
55
62
  :'gpgcheck' => :'gpgcheck',
56
63
  :'repo_gpgcheck' => :'repo_gpgcheck',
57
64
  :'sqlite_metadata' => :'sqlite_metadata',
58
- :'repo_config' => :'repo_config'
65
+ :'repo_config' => :'repo_config',
66
+ :'compression_type' => :'compression_type'
59
67
  }
60
68
  end
61
69
 
@@ -66,12 +74,14 @@ module PulpRpmClient
66
74
  :'pulp_created' => :'DateTime',
67
75
  :'repository_version' => :'String',
68
76
  :'repository' => :'String',
69
- :'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
77
+ :'checksum_type' => :'PackageChecksumTypeEnum',
78
+ :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
70
79
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
71
80
  :'gpgcheck' => :'Integer',
72
81
  :'repo_gpgcheck' => :'Integer',
73
82
  :'sqlite_metadata' => :'Boolean',
74
- :'repo_config' => :'Object'
83
+ :'repo_config' => :'Object',
84
+ :'compression_type' => :'CompressionTypeEnum'
75
85
  }
76
86
  end
77
87
 
@@ -114,6 +124,10 @@ module PulpRpmClient
114
124
  self.repository = attributes[:'repository']
115
125
  end
116
126
 
127
+ if attributes.key?(:'checksum_type')
128
+ self.checksum_type = attributes[:'checksum_type']
129
+ end
130
+
117
131
  if attributes.key?(:'metadata_checksum_type')
118
132
  self.metadata_checksum_type = attributes[:'metadata_checksum_type']
119
133
  end
@@ -139,6 +153,10 @@ module PulpRpmClient
139
153
  if attributes.key?(:'repo_config')
140
154
  self.repo_config = attributes[:'repo_config']
141
155
  end
156
+
157
+ if attributes.key?(:'compression_type')
158
+ self.compression_type = attributes[:'compression_type']
159
+ end
142
160
  end
143
161
 
144
162
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -211,12 +229,14 @@ module PulpRpmClient
211
229
  pulp_created == o.pulp_created &&
212
230
  repository_version == o.repository_version &&
213
231
  repository == o.repository &&
232
+ checksum_type == o.checksum_type &&
214
233
  metadata_checksum_type == o.metadata_checksum_type &&
215
234
  package_checksum_type == o.package_checksum_type &&
216
235
  gpgcheck == o.gpgcheck &&
217
236
  repo_gpgcheck == o.repo_gpgcheck &&
218
237
  sqlite_metadata == o.sqlite_metadata &&
219
- repo_config == o.repo_config
238
+ repo_config == o.repo_config &&
239
+ compression_type == o.compression_type
220
240
  end
221
241
 
222
242
  # @see the `==` method
@@ -228,7 +248,7 @@ module PulpRpmClient
228
248
  # Calculates hash code according to all attributes.
229
249
  # @return [Integer] Hash code
230
250
  def hash
231
- [pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
251
+ [pulp_href, pulp_created, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
232
252
  end
233
253
 
234
254
  # Builds the object from hash