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.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/{MetadataChecksumTypeEnum.md → CompressionTypeEnum.md} +2 -2
- data/docs/ContentAdvisoriesApi.md +2 -0
- data/docs/ContentDistributionTreesApi.md +2 -0
- data/docs/ContentModulemdDefaultsApi.md +2 -0
- data/docs/ContentModulemdObsoletesApi.md +2 -0
- data/docs/ContentModulemdsApi.md +2 -0
- data/docs/ContentPackagecategoriesApi.md +2 -0
- data/docs/ContentPackageenvironmentsApi.md +2 -0
- data/docs/ContentPackagegroupsApi.md +2 -0
- data/docs/ContentPackagelangpacksApi.md +2 -0
- data/docs/ContentPackagesApi.md +2 -0
- data/docs/ContentRepoMetadataFilesApi.md +2 -0
- data/docs/PatchedrpmRpmRepository.md +7 -5
- data/docs/RpmRpmPublication.md +7 -5
- data/docs/RpmRpmPublicationResponse.md +8 -4
- data/docs/RpmRpmRepository.md +7 -5
- data/docs/RpmRpmRepositoryResponse.md +8 -4
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -0
- data/lib/pulp_rpm_client/models/{metadata_checksum_type_enum.rb → compression_type_enum.rb} +5 -10
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +29 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +27 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -8
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +29 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +30 -8
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -0
- data/spec/api/content_distribution_trees_api_spec.rb +1 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -0
- data/spec/api/content_modulemds_api_spec.rb +1 -0
- data/spec/api/content_packagecategories_api_spec.rb +1 -0
- data/spec/api/content_packageenvironments_api_spec.rb +1 -0
- data/spec/api/content_packagegroups_api_spec.rb +1 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +1 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -0
- data/spec/models/{metadata_checksum_type_enum_spec.rb → compression_type_enum_spec.rb} +6 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +8 -2
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_publication_spec.rb +8 -2
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_repository_spec.rb +8 -2
- 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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 * `pk` - Pk * `-pk` - 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
|
17
|
-
|
18
|
-
|
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 =
|
37
|
-
raise "Invalid ENUM value #{value} for class #
|
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
|
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
|
-
#
|
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
|
-
:'
|
75
|
-
:'
|
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
|
-
:'
|
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
|
-
:'
|
95
|
-
:'
|
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
|
-
|
330
|
-
|
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,
|
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
|
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
|
-
:'
|
51
|
-
:'
|
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
|
-
:'
|
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
|
-
:'
|
65
|
-
:'
|
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
|
-
|
200
|
-
|
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,
|
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
|
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
|
-
#
|
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
|
-
:'
|
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
|