pulp_rpm_client 3.26.5 → 3.27.0
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.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/docs/AcsRpmApi.md +3 -5
- data/docs/ArtifactResponse.md +0 -2
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +9 -11
- data/docs/ContentModulemdDefaultsApi.md +9 -11
- data/docs/ContentModulemdObsoletesApi.md +9 -11
- data/docs/ContentModulemdsApi.md +9 -11
- data/docs/ContentPackagecategoriesApi.md +9 -11
- data/docs/ContentPackageenvironmentsApi.md +9 -11
- data/docs/ContentPackagegroupsApi.md +9 -11
- data/docs/ContentPackagelangpacksApi.md +9 -11
- data/docs/ContentPackagesApi.md +11 -15
- data/docs/ContentRepoMetadataFilesApi.md +9 -11
- data/docs/DistributionsRpmApi.md +3 -5
- data/docs/PatchedrpmRpmRepository.md +4 -0
- data/docs/PrunePackages.md +21 -0
- data/docs/PublicationsRpmApi.md +11 -13
- data/docs/RemotesRpmApi.md +3 -5
- data/docs/RemotesUlnApi.md +3 -5
- data/docs/RepositoriesRpmApi.md +7 -9
- data/docs/RepositoriesRpmVersionsApi.md +7 -9
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +0 -2
- data/docs/RpmModulemdObsoleteResponse.md +0 -2
- data/docs/RpmModulemdResponse.md +0 -2
- data/docs/RpmPackage.md +1 -3
- data/docs/RpmPackageCategoryResponse.md +0 -2
- data/docs/RpmPackageEnvironmentResponse.md +0 -2
- data/docs/RpmPackageGroupResponse.md +0 -2
- data/docs/RpmPackageLangpacksResponse.md +0 -2
- data/docs/RpmPackageResponse.md +0 -2
- data/docs/RpmPruneApi.md +61 -0
- data/docs/RpmRepoMetadataFileResponse.md +0 -2
- data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -4
- data/docs/RpmRpmPublicationResponse.md +0 -2
- data/docs/RpmRpmRemoteResponse.md +0 -2
- data/docs/RpmRpmRepository.md +4 -0
- data/docs/RpmRpmRepositoryResponse.md +4 -2
- data/docs/RpmUlnRemoteResponse.md +0 -2
- data/docs/RpmUpdateRecord.md +1 -3
- data/docs/RpmUpdateRecordResponse.md +0 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -20
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +84 -0
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/prune_packages.rb +254 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +39 -11
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -0
- data/spec/api/acs_rpm_api_spec.rb +1 -2
- data/spec/api/content_advisories_api_spec.rb +4 -6
- data/spec/api/content_distribution_trees_api_spec.rb +4 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
- data/spec/api/content_modulemds_api_spec.rb +4 -5
- data/spec/api/content_packagecategories_api_spec.rb +4 -5
- data/spec/api/content_packageenvironments_api_spec.rb +4 -5
- data/spec/api/content_packagegroups_api_spec.rb +4 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
- data/spec/api/content_packages_api_spec.rb +5 -7
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
- data/spec/api/distributions_rpm_api_spec.rb +1 -2
- data/spec/api/publications_rpm_api_spec.rb +5 -6
- data/spec/api/remotes_rpm_api_spec.rb +1 -2
- data/spec/api/remotes_uln_api_spec.rb +1 -2
- data/spec/api/repositories_rpm_api_spec.rb +3 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
- data/spec/api/rpm_prune_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +0 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +12 -0
- data/spec/models/prune_packages_spec.rb +53 -0
- data/spec/models/repository_version_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_response_spec.rb +0 -6
- data/spec/models/rpm_package_category_response_spec.rb +0 -6
- data/spec/models/rpm_package_environment_response_spec.rb +0 -6
- data/spec/models/rpm_package_group_response_spec.rb +0 -6
- data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
- data/spec/models/rpm_package_response_spec.rb +0 -6
- data/spec/models/rpm_package_spec.rb +0 -6
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
- data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_spec.rb +0 -6
- metadata +105 -97
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmPackageGroupResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -63,7 +60,6 @@ module PulpRpmClient
|
|
63
60
|
def self.attribute_map
|
64
61
|
{
|
65
62
|
:'pulp_href' => :'pulp_href',
|
66
|
-
:'prn' => :'prn',
|
67
63
|
:'pulp_created' => :'pulp_created',
|
68
64
|
:'pulp_last_updated' => :'pulp_last_updated',
|
69
65
|
:'id' => :'id',
|
@@ -84,7 +80,6 @@ module PulpRpmClient
|
|
84
80
|
def self.openapi_types
|
85
81
|
{
|
86
82
|
:'pulp_href' => :'String',
|
87
|
-
:'prn' => :'String',
|
88
83
|
:'pulp_created' => :'DateTime',
|
89
84
|
:'pulp_last_updated' => :'DateTime',
|
90
85
|
:'id' => :'String',
|
@@ -130,10 +125,6 @@ module PulpRpmClient
|
|
130
125
|
self.pulp_href = attributes[:'pulp_href']
|
131
126
|
end
|
132
127
|
|
133
|
-
if attributes.key?(:'prn')
|
134
|
-
self.prn = attributes[:'prn']
|
135
|
-
end
|
136
|
-
|
137
128
|
if attributes.key?(:'pulp_created')
|
138
129
|
self.pulp_created = attributes[:'pulp_created']
|
139
130
|
end
|
@@ -226,7 +217,6 @@ module PulpRpmClient
|
|
226
217
|
return true if self.equal?(o)
|
227
218
|
self.class == o.class &&
|
228
219
|
pulp_href == o.pulp_href &&
|
229
|
-
prn == o.prn &&
|
230
220
|
pulp_created == o.pulp_created &&
|
231
221
|
pulp_last_updated == o.pulp_last_updated &&
|
232
222
|
id == o.id &&
|
@@ -251,7 +241,7 @@ module PulpRpmClient
|
|
251
241
|
# Calculates hash code according to all attributes.
|
252
242
|
# @return [Integer] Hash code
|
253
243
|
def hash
|
254
|
-
[pulp_href,
|
244
|
+
[pulp_href, pulp_created, pulp_last_updated, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
255
245
|
end
|
256
246
|
|
257
247
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmPackageLangpacksResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -36,7 +33,6 @@ module PulpRpmClient
|
|
36
33
|
def self.attribute_map
|
37
34
|
{
|
38
35
|
:'pulp_href' => :'pulp_href',
|
39
|
-
:'prn' => :'prn',
|
40
36
|
:'pulp_created' => :'pulp_created',
|
41
37
|
:'pulp_last_updated' => :'pulp_last_updated',
|
42
38
|
:'matches' => :'matches',
|
@@ -48,7 +44,6 @@ module PulpRpmClient
|
|
48
44
|
def self.openapi_types
|
49
45
|
{
|
50
46
|
:'pulp_href' => :'String',
|
51
|
-
:'prn' => :'String',
|
52
47
|
:'pulp_created' => :'DateTime',
|
53
48
|
:'pulp_last_updated' => :'DateTime',
|
54
49
|
:'matches' => :'Object',
|
@@ -83,10 +78,6 @@ module PulpRpmClient
|
|
83
78
|
self.pulp_href = attributes[:'pulp_href']
|
84
79
|
end
|
85
80
|
|
86
|
-
if attributes.key?(:'prn')
|
87
|
-
self.prn = attributes[:'prn']
|
88
|
-
end
|
89
|
-
|
90
81
|
if attributes.key?(:'pulp_created')
|
91
82
|
self.pulp_created = attributes[:'pulp_created']
|
92
83
|
end
|
@@ -123,7 +114,6 @@ module PulpRpmClient
|
|
123
114
|
return true if self.equal?(o)
|
124
115
|
self.class == o.class &&
|
125
116
|
pulp_href == o.pulp_href &&
|
126
|
-
prn == o.prn &&
|
127
117
|
pulp_created == o.pulp_created &&
|
128
118
|
pulp_last_updated == o.pulp_last_updated &&
|
129
119
|
matches == o.matches &&
|
@@ -139,7 +129,7 @@ module PulpRpmClient
|
|
139
129
|
# Calculates hash code according to all attributes.
|
140
130
|
# @return [Integer] Hash code
|
141
131
|
def hash
|
142
|
-
[pulp_href,
|
132
|
+
[pulp_href, pulp_created, pulp_last_updated, matches, digest].hash
|
143
133
|
end
|
144
134
|
|
145
135
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmPackageResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -159,7 +156,6 @@ module PulpRpmClient
|
|
159
156
|
def self.attribute_map
|
160
157
|
{
|
161
158
|
:'pulp_href' => :'pulp_href',
|
162
|
-
:'prn' => :'prn',
|
163
159
|
:'pulp_created' => :'pulp_created',
|
164
160
|
:'pulp_last_updated' => :'pulp_last_updated',
|
165
161
|
:'md5' => :'md5',
|
@@ -212,7 +208,6 @@ module PulpRpmClient
|
|
212
208
|
def self.openapi_types
|
213
209
|
{
|
214
210
|
:'pulp_href' => :'String',
|
215
|
-
:'prn' => :'String',
|
216
211
|
:'pulp_created' => :'DateTime',
|
217
212
|
:'pulp_last_updated' => :'DateTime',
|
218
213
|
:'md5' => :'String',
|
@@ -286,10 +281,6 @@ module PulpRpmClient
|
|
286
281
|
self.pulp_href = attributes[:'pulp_href']
|
287
282
|
end
|
288
283
|
|
289
|
-
if attributes.key?(:'prn')
|
290
|
-
self.prn = attributes[:'prn']
|
291
|
-
end
|
292
|
-
|
293
284
|
if attributes.key?(:'pulp_created')
|
294
285
|
self.pulp_created = attributes[:'pulp_created']
|
295
286
|
end
|
@@ -490,7 +481,6 @@ module PulpRpmClient
|
|
490
481
|
return true if self.equal?(o)
|
491
482
|
self.class == o.class &&
|
492
483
|
pulp_href == o.pulp_href &&
|
493
|
-
prn == o.prn &&
|
494
484
|
pulp_created == o.pulp_created &&
|
495
485
|
pulp_last_updated == o.pulp_last_updated &&
|
496
486
|
md5 == o.md5 &&
|
@@ -547,7 +537,7 @@ module PulpRpmClient
|
|
547
537
|
# Calculates hash code according to all attributes.
|
548
538
|
# @return [Integer] Hash code
|
549
539
|
def hash
|
550
|
-
[pulp_href,
|
540
|
+
[pulp_href, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
|
551
541
|
end
|
552
542
|
|
553
543
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRepoMetadataFileResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -63,7 +60,6 @@ module PulpRpmClient
|
|
63
60
|
def self.attribute_map
|
64
61
|
{
|
65
62
|
:'pulp_href' => :'pulp_href',
|
66
|
-
:'prn' => :'prn',
|
67
63
|
:'pulp_created' => :'pulp_created',
|
68
64
|
:'pulp_last_updated' => :'pulp_last_updated',
|
69
65
|
:'md5' => :'md5',
|
@@ -84,7 +80,6 @@ module PulpRpmClient
|
|
84
80
|
def self.openapi_types
|
85
81
|
{
|
86
82
|
:'pulp_href' => :'String',
|
87
|
-
:'prn' => :'String',
|
88
83
|
:'pulp_created' => :'DateTime',
|
89
84
|
:'pulp_last_updated' => :'DateTime',
|
90
85
|
:'md5' => :'String',
|
@@ -126,10 +121,6 @@ module PulpRpmClient
|
|
126
121
|
self.pulp_href = attributes[:'pulp_href']
|
127
122
|
end
|
128
123
|
|
129
|
-
if attributes.key?(:'prn')
|
130
|
-
self.prn = attributes[:'prn']
|
131
|
-
end
|
132
|
-
|
133
124
|
if attributes.key?(:'pulp_created')
|
134
125
|
self.pulp_created = attributes[:'pulp_created']
|
135
126
|
end
|
@@ -222,7 +213,6 @@ module PulpRpmClient
|
|
222
213
|
return true if self.equal?(o)
|
223
214
|
self.class == o.class &&
|
224
215
|
pulp_href == o.pulp_href &&
|
225
|
-
prn == o.prn &&
|
226
216
|
pulp_created == o.pulp_created &&
|
227
217
|
pulp_last_updated == o.pulp_last_updated &&
|
228
218
|
md5 == o.md5 &&
|
@@ -247,7 +237,7 @@ module PulpRpmClient
|
|
247
237
|
# Calculates hash code according to all attributes.
|
248
238
|
# @return [Integer] Hash code
|
249
239
|
def hash
|
250
|
-
[pulp_href,
|
240
|
+
[pulp_href, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
|
251
241
|
end
|
252
242
|
|
253
243
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmAlternateContentSourceResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -42,7 +39,6 @@ module PulpRpmClient
|
|
42
39
|
def self.attribute_map
|
43
40
|
{
|
44
41
|
:'pulp_href' => :'pulp_href',
|
45
|
-
:'prn' => :'prn',
|
46
42
|
:'pulp_created' => :'pulp_created',
|
47
43
|
:'pulp_last_updated' => :'pulp_last_updated',
|
48
44
|
:'name' => :'name',
|
@@ -56,7 +52,6 @@ module PulpRpmClient
|
|
56
52
|
def self.openapi_types
|
57
53
|
{
|
58
54
|
:'pulp_href' => :'String',
|
59
|
-
:'prn' => :'String',
|
60
55
|
:'pulp_created' => :'DateTime',
|
61
56
|
:'pulp_last_updated' => :'DateTime',
|
62
57
|
:'name' => :'String',
|
@@ -92,10 +87,6 @@ module PulpRpmClient
|
|
92
87
|
self.pulp_href = attributes[:'pulp_href']
|
93
88
|
end
|
94
89
|
|
95
|
-
if attributes.key?(:'prn')
|
96
|
-
self.prn = attributes[:'prn']
|
97
|
-
end
|
98
|
-
|
99
90
|
if attributes.key?(:'pulp_created')
|
100
91
|
self.pulp_created = attributes[:'pulp_created']
|
101
92
|
end
|
@@ -152,7 +143,6 @@ module PulpRpmClient
|
|
152
143
|
return true if self.equal?(o)
|
153
144
|
self.class == o.class &&
|
154
145
|
pulp_href == o.pulp_href &&
|
155
|
-
prn == o.prn &&
|
156
146
|
pulp_created == o.pulp_created &&
|
157
147
|
pulp_last_updated == o.pulp_last_updated &&
|
158
148
|
name == o.name &&
|
@@ -170,7 +160,7 @@ module PulpRpmClient
|
|
170
160
|
# Calculates hash code according to all attributes.
|
171
161
|
# @return [Integer] Hash code
|
172
162
|
def hash
|
173
|
-
[pulp_href,
|
163
|
+
[pulp_href, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
|
174
164
|
end
|
175
165
|
|
176
166
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmDistributionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -35,9 +32,6 @@ module PulpRpmClient
|
|
35
32
|
# An optional content-guard.
|
36
33
|
attr_accessor :content_guard
|
37
34
|
|
38
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
39
|
-
attr_accessor :no_content_change_since
|
40
|
-
|
41
35
|
# Whether this distribution should be shown in the content app.
|
42
36
|
attr_accessor :hidden
|
43
37
|
|
@@ -59,13 +53,11 @@ module PulpRpmClient
|
|
59
53
|
def self.attribute_map
|
60
54
|
{
|
61
55
|
:'pulp_href' => :'pulp_href',
|
62
|
-
:'prn' => :'prn',
|
63
56
|
:'pulp_created' => :'pulp_created',
|
64
57
|
:'pulp_last_updated' => :'pulp_last_updated',
|
65
58
|
:'base_path' => :'base_path',
|
66
59
|
:'base_url' => :'base_url',
|
67
60
|
:'content_guard' => :'content_guard',
|
68
|
-
:'no_content_change_since' => :'no_content_change_since',
|
69
61
|
:'hidden' => :'hidden',
|
70
62
|
:'pulp_labels' => :'pulp_labels',
|
71
63
|
:'name' => :'name',
|
@@ -79,13 +71,11 @@ module PulpRpmClient
|
|
79
71
|
def self.openapi_types
|
80
72
|
{
|
81
73
|
:'pulp_href' => :'String',
|
82
|
-
:'prn' => :'String',
|
83
74
|
:'pulp_created' => :'DateTime',
|
84
75
|
:'pulp_last_updated' => :'DateTime',
|
85
76
|
:'base_path' => :'String',
|
86
77
|
:'base_url' => :'String',
|
87
78
|
:'content_guard' => :'String',
|
88
|
-
:'no_content_change_since' => :'String',
|
89
79
|
:'hidden' => :'Boolean',
|
90
80
|
:'pulp_labels' => :'Hash<String, String>',
|
91
81
|
:'name' => :'String',
|
@@ -123,10 +113,6 @@ module PulpRpmClient
|
|
123
113
|
self.pulp_href = attributes[:'pulp_href']
|
124
114
|
end
|
125
115
|
|
126
|
-
if attributes.key?(:'prn')
|
127
|
-
self.prn = attributes[:'prn']
|
128
|
-
end
|
129
|
-
|
130
116
|
if attributes.key?(:'pulp_created')
|
131
117
|
self.pulp_created = attributes[:'pulp_created']
|
132
118
|
end
|
@@ -147,10 +133,6 @@ module PulpRpmClient
|
|
147
133
|
self.content_guard = attributes[:'content_guard']
|
148
134
|
end
|
149
135
|
|
150
|
-
if attributes.key?(:'no_content_change_since')
|
151
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
152
|
-
end
|
153
|
-
|
154
136
|
if attributes.key?(:'hidden')
|
155
137
|
self.hidden = attributes[:'hidden']
|
156
138
|
else
|
@@ -211,13 +193,11 @@ module PulpRpmClient
|
|
211
193
|
return true if self.equal?(o)
|
212
194
|
self.class == o.class &&
|
213
195
|
pulp_href == o.pulp_href &&
|
214
|
-
prn == o.prn &&
|
215
196
|
pulp_created == o.pulp_created &&
|
216
197
|
pulp_last_updated == o.pulp_last_updated &&
|
217
198
|
base_path == o.base_path &&
|
218
199
|
base_url == o.base_url &&
|
219
200
|
content_guard == o.content_guard &&
|
220
|
-
no_content_change_since == o.no_content_change_since &&
|
221
201
|
hidden == o.hidden &&
|
222
202
|
pulp_labels == o.pulp_labels &&
|
223
203
|
name == o.name &&
|
@@ -235,7 +215,7 @@ module PulpRpmClient
|
|
235
215
|
# Calculates hash code according to all attributes.
|
236
216
|
# @return [Integer] Hash code
|
237
217
|
def hash
|
238
|
-
[pulp_href,
|
218
|
+
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
239
219
|
end
|
240
220
|
|
241
221
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmPublicationResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -59,7 +56,6 @@ module PulpRpmClient
|
|
59
56
|
def self.attribute_map
|
60
57
|
{
|
61
58
|
:'pulp_href' => :'pulp_href',
|
62
|
-
:'prn' => :'prn',
|
63
59
|
:'pulp_created' => :'pulp_created',
|
64
60
|
:'pulp_last_updated' => :'pulp_last_updated',
|
65
61
|
:'repository_version' => :'repository_version',
|
@@ -79,7 +75,6 @@ module PulpRpmClient
|
|
79
75
|
def self.openapi_types
|
80
76
|
{
|
81
77
|
:'pulp_href' => :'String',
|
82
|
-
:'prn' => :'String',
|
83
78
|
:'pulp_created' => :'DateTime',
|
84
79
|
:'pulp_last_updated' => :'DateTime',
|
85
80
|
:'repository_version' => :'String',
|
@@ -122,10 +117,6 @@ module PulpRpmClient
|
|
122
117
|
self.pulp_href = attributes[:'pulp_href']
|
123
118
|
end
|
124
119
|
|
125
|
-
if attributes.key?(:'prn')
|
126
|
-
self.prn = attributes[:'prn']
|
127
|
-
end
|
128
|
-
|
129
120
|
if attributes.key?(:'pulp_created')
|
130
121
|
self.pulp_created = attributes[:'pulp_created']
|
131
122
|
end
|
@@ -244,7 +235,6 @@ module PulpRpmClient
|
|
244
235
|
return true if self.equal?(o)
|
245
236
|
self.class == o.class &&
|
246
237
|
pulp_href == o.pulp_href &&
|
247
|
-
prn == o.prn &&
|
248
238
|
pulp_created == o.pulp_created &&
|
249
239
|
pulp_last_updated == o.pulp_last_updated &&
|
250
240
|
repository_version == o.repository_version &&
|
@@ -268,7 +258,7 @@ module PulpRpmClient
|
|
268
258
|
# Calculates hash code according to all attributes.
|
269
259
|
# @return [Integer] Hash code
|
270
260
|
def hash
|
271
|
-
[pulp_href,
|
261
|
+
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
272
262
|
end
|
273
263
|
|
274
264
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -83,7 +80,6 @@ module PulpRpmClient
|
|
83
80
|
def self.attribute_map
|
84
81
|
{
|
85
82
|
:'pulp_href' => :'pulp_href',
|
86
|
-
:'prn' => :'prn',
|
87
83
|
:'pulp_created' => :'pulp_created',
|
88
84
|
:'pulp_last_updated' => :'pulp_last_updated',
|
89
85
|
:'name' => :'name',
|
@@ -111,7 +107,6 @@ module PulpRpmClient
|
|
111
107
|
def self.openapi_types
|
112
108
|
{
|
113
109
|
:'pulp_href' => :'String',
|
114
|
-
:'prn' => :'String',
|
115
110
|
:'pulp_created' => :'DateTime',
|
116
111
|
:'pulp_last_updated' => :'DateTime',
|
117
112
|
:'name' => :'String',
|
@@ -171,10 +166,6 @@ module PulpRpmClient
|
|
171
166
|
self.pulp_href = attributes[:'pulp_href']
|
172
167
|
end
|
173
168
|
|
174
|
-
if attributes.key?(:'prn')
|
175
|
-
self.prn = attributes[:'prn']
|
176
|
-
end
|
177
|
-
|
178
169
|
if attributes.key?(:'pulp_created')
|
179
170
|
self.pulp_created = attributes[:'pulp_created']
|
180
171
|
end
|
@@ -366,7 +357,6 @@ module PulpRpmClient
|
|
366
357
|
return true if self.equal?(o)
|
367
358
|
self.class == o.class &&
|
368
359
|
pulp_href == o.pulp_href &&
|
369
|
-
prn == o.prn &&
|
370
360
|
pulp_created == o.pulp_created &&
|
371
361
|
pulp_last_updated == o.pulp_last_updated &&
|
372
362
|
name == o.name &&
|
@@ -398,7 +388,7 @@ module PulpRpmClient
|
|
398
388
|
# Calculates hash code according to all attributes.
|
399
389
|
# @return [Integer] Hash code
|
400
390
|
def hash
|
401
|
-
[pulp_href,
|
391
|
+
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, sles_auth_token].hash
|
402
392
|
end
|
403
393
|
|
404
394
|
# Builds the object from hash
|
@@ -35,6 +35,12 @@ module PulpRpmClient
|
|
35
35
|
# A reference to an associated signing service.
|
36
36
|
attr_accessor :metadata_signing_service
|
37
37
|
|
38
|
+
# A reference to an associated package signing service.
|
39
|
+
attr_accessor :package_signing_service
|
40
|
+
|
41
|
+
# 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.
|
42
|
+
attr_accessor :package_signing_fingerprint
|
43
|
+
|
38
44
|
# 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
45
|
attr_accessor :retain_package_versions
|
40
46
|
|
@@ -69,6 +75,8 @@ module PulpRpmClient
|
|
69
75
|
:'remote' => :'remote',
|
70
76
|
:'autopublish' => :'autopublish',
|
71
77
|
:'metadata_signing_service' => :'metadata_signing_service',
|
78
|
+
:'package_signing_service' => :'package_signing_service',
|
79
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint',
|
72
80
|
:'retain_package_versions' => :'retain_package_versions',
|
73
81
|
:'checksum_type' => :'checksum_type',
|
74
82
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
@@ -90,6 +98,8 @@ module PulpRpmClient
|
|
90
98
|
:'remote' => :'String',
|
91
99
|
:'autopublish' => :'Boolean',
|
92
100
|
:'metadata_signing_service' => :'String',
|
101
|
+
:'package_signing_service' => :'String',
|
102
|
+
:'package_signing_fingerprint' => :'String',
|
93
103
|
:'retain_package_versions' => :'Integer',
|
94
104
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
95
105
|
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
@@ -108,6 +118,7 @@ module PulpRpmClient
|
|
108
118
|
:'retain_repo_versions',
|
109
119
|
:'remote',
|
110
120
|
:'metadata_signing_service',
|
121
|
+
:'package_signing_service',
|
111
122
|
:'checksum_type',
|
112
123
|
:'metadata_checksum_type',
|
113
124
|
:'package_checksum_type',
|
@@ -164,6 +175,16 @@ module PulpRpmClient
|
|
164
175
|
self.metadata_signing_service = attributes[:'metadata_signing_service']
|
165
176
|
end
|
166
177
|
|
178
|
+
if attributes.key?(:'package_signing_service')
|
179
|
+
self.package_signing_service = attributes[:'package_signing_service']
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes.key?(:'package_signing_fingerprint')
|
183
|
+
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
184
|
+
else
|
185
|
+
self.package_signing_fingerprint = ''
|
186
|
+
end
|
187
|
+
|
167
188
|
if attributes.key?(:'retain_package_versions')
|
168
189
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
169
190
|
end
|
@@ -217,6 +238,10 @@ module PulpRpmClient
|
|
217
238
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
218
239
|
end
|
219
240
|
|
241
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
242
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
243
|
+
end
|
244
|
+
|
220
245
|
if !@retain_package_versions.nil? && @retain_package_versions < 0
|
221
246
|
invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
|
222
247
|
end
|
@@ -247,6 +272,7 @@ module PulpRpmClient
|
|
247
272
|
return false if @name.to_s.length < 1
|
248
273
|
return false if !@description.nil? && @description.to_s.length < 1
|
249
274
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
275
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
250
276
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
251
277
|
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
252
278
|
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
@@ -289,6 +315,16 @@ module PulpRpmClient
|
|
289
315
|
@retain_repo_versions = retain_repo_versions
|
290
316
|
end
|
291
317
|
|
318
|
+
# Custom attribute writer method with validation
|
319
|
+
# @param [Object] package_signing_fingerprint Value to be assigned
|
320
|
+
def package_signing_fingerprint=(package_signing_fingerprint)
|
321
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
|
322
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
|
323
|
+
end
|
324
|
+
|
325
|
+
@package_signing_fingerprint = package_signing_fingerprint
|
326
|
+
end
|
327
|
+
|
292
328
|
# Custom attribute writer method with validation
|
293
329
|
# @param [Object] retain_package_versions Value to be assigned
|
294
330
|
def retain_package_versions=(retain_package_versions)
|
@@ -339,6 +375,8 @@ module PulpRpmClient
|
|
339
375
|
remote == o.remote &&
|
340
376
|
autopublish == o.autopublish &&
|
341
377
|
metadata_signing_service == o.metadata_signing_service &&
|
378
|
+
package_signing_service == o.package_signing_service &&
|
379
|
+
package_signing_fingerprint == o.package_signing_fingerprint &&
|
342
380
|
retain_package_versions == o.retain_package_versions &&
|
343
381
|
checksum_type == o.checksum_type &&
|
344
382
|
metadata_checksum_type == o.metadata_checksum_type &&
|
@@ -358,7 +396,7 @@ module PulpRpmClient
|
|
358
396
|
# Calculates hash code according to all attributes.
|
359
397
|
# @return [Integer] Hash code
|
360
398
|
def hash
|
361
|
-
[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
|
399
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
362
400
|
end
|
363
401
|
|
364
402
|
# Builds the object from hash
|