pulp_rpm_client 3.27.0 → 3.27.2
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/AcsRpmApi.md +5 -3
- data/docs/ArtifactResponse.md +2 -0
- data/docs/ContentAdvisoriesApi.md +14 -10
- data/docs/ContentDistributionTreesApi.md +11 -9
- data/docs/ContentModulemdDefaultsApi.md +11 -9
- data/docs/ContentModulemdObsoletesApi.md +11 -9
- data/docs/ContentModulemdsApi.md +11 -9
- data/docs/ContentPackagecategoriesApi.md +11 -9
- data/docs/ContentPackageenvironmentsApi.md +11 -9
- data/docs/ContentPackagegroupsApi.md +11 -9
- data/docs/ContentPackagelangpacksApi.md +11 -9
- data/docs/ContentPackagesApi.md +14 -10
- data/docs/ContentRepoMetadataFilesApi.md +11 -9
- data/docs/DistributionsRpmApi.md +5 -3
- data/docs/PublicationsRpmApi.md +13 -11
- data/docs/RemotesRpmApi.md +5 -3
- data/docs/RemotesUlnApi.md +5 -3
- data/docs/RepositoriesRpmApi.md +9 -7
- data/docs/RepositoriesRpmVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +2 -0
- data/docs/RpmModulemdObsoleteResponse.md +2 -0
- data/docs/RpmModulemdResponse.md +2 -0
- data/docs/RpmPackage.md +3 -1
- data/docs/RpmPackageCategoryResponse.md +2 -0
- data/docs/RpmPackageEnvironmentResponse.md +2 -0
- data/docs/RpmPackageGroupResponse.md +2 -0
- data/docs/RpmPackageLangpacksResponse.md +2 -0
- data/docs/RpmPackageResponse.md +2 -0
- data/docs/RpmPruneApi.md +1 -1
- data/docs/RpmRepoMetadataFileResponse.md +2 -0
- data/docs/RpmRpmAlternateContentSourceResponse.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +4 -0
- data/docs/RpmRpmPublicationResponse.md +2 -0
- data/docs/RpmRpmRemoteResponse.md +2 -0
- data/docs/RpmRpmRepositoryResponse.md +2 -0
- data/docs/RpmUlnRemoteResponse.md +2 -0
- data/docs/RpmUpdateRecord.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +2 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +12 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +31 -21
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +31 -21
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +2 -1
- data/spec/api/content_advisories_api_spec.rb +6 -4
- data/spec/api/content_distribution_trees_api_spec.rb +5 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
- data/spec/api/content_modulemds_api_spec.rb +5 -4
- data/spec/api/content_packagecategories_api_spec.rb +5 -4
- data/spec/api/content_packageenvironments_api_spec.rb +5 -4
- data/spec/api/content_packagegroups_api_spec.rb +5 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
- data/spec/api/distributions_rpm_api_spec.rb +2 -1
- data/spec/api/publications_rpm_api_spec.rb +6 -5
- data/spec/api/remotes_rpm_api_spec.rb +2 -1
- data/spec/api/remotes_uln_api_spec.rb +2 -1
- data/spec/api/repositories_rpm_api_spec.rb +4 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_response_spec.rb +6 -0
- data/spec/models/rpm_package_category_response_spec.rb +6 -0
- data/spec/models/rpm_package_environment_response_spec.rb +6 -0
- data/spec/models/rpm_package_group_response_spec.rb +6 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_package_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
- data/spec/models/rpm_update_record_response_spec.rb +6 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +97 -97
@@ -17,6 +17,9 @@ module PulpRpmClient
|
|
17
17
|
class RpmPackageCategoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -51,6 +54,7 @@ module PulpRpmClient
|
|
51
54
|
def self.attribute_map
|
52
55
|
{
|
53
56
|
:'pulp_href' => :'pulp_href',
|
57
|
+
:'prn' => :'prn',
|
54
58
|
:'pulp_created' => :'pulp_created',
|
55
59
|
:'pulp_last_updated' => :'pulp_last_updated',
|
56
60
|
:'id' => :'id',
|
@@ -68,6 +72,7 @@ module PulpRpmClient
|
|
68
72
|
def self.openapi_types
|
69
73
|
{
|
70
74
|
:'pulp_href' => :'String',
|
75
|
+
:'prn' => :'String',
|
71
76
|
:'pulp_created' => :'DateTime',
|
72
77
|
:'pulp_last_updated' => :'DateTime',
|
73
78
|
:'id' => :'String',
|
@@ -110,6 +115,10 @@ module PulpRpmClient
|
|
110
115
|
self.pulp_href = attributes[:'pulp_href']
|
111
116
|
end
|
112
117
|
|
118
|
+
if attributes.key?(:'prn')
|
119
|
+
self.prn = attributes[:'prn']
|
120
|
+
end
|
121
|
+
|
113
122
|
if attributes.key?(:'pulp_created')
|
114
123
|
self.pulp_created = attributes[:'pulp_created']
|
115
124
|
end
|
@@ -190,6 +199,7 @@ module PulpRpmClient
|
|
190
199
|
return true if self.equal?(o)
|
191
200
|
self.class == o.class &&
|
192
201
|
pulp_href == o.pulp_href &&
|
202
|
+
prn == o.prn &&
|
193
203
|
pulp_created == o.pulp_created &&
|
194
204
|
pulp_last_updated == o.pulp_last_updated &&
|
195
205
|
id == o.id &&
|
@@ -211,7 +221,7 @@ module PulpRpmClient
|
|
211
221
|
# Calculates hash code according to all attributes.
|
212
222
|
# @return [Integer] Hash code
|
213
223
|
def hash
|
214
|
-
[pulp_href, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
224
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
215
225
|
end
|
216
226
|
|
217
227
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpRpmClient
|
|
17
17
|
class RpmPackageEnvironmentResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -54,6 +57,7 @@ module PulpRpmClient
|
|
54
57
|
def self.attribute_map
|
55
58
|
{
|
56
59
|
:'pulp_href' => :'pulp_href',
|
60
|
+
:'prn' => :'prn',
|
57
61
|
:'pulp_created' => :'pulp_created',
|
58
62
|
:'pulp_last_updated' => :'pulp_last_updated',
|
59
63
|
:'id' => :'id',
|
@@ -72,6 +76,7 @@ module PulpRpmClient
|
|
72
76
|
def self.openapi_types
|
73
77
|
{
|
74
78
|
:'pulp_href' => :'String',
|
79
|
+
:'prn' => :'String',
|
75
80
|
:'pulp_created' => :'DateTime',
|
76
81
|
:'pulp_last_updated' => :'DateTime',
|
77
82
|
:'id' => :'String',
|
@@ -116,6 +121,10 @@ module PulpRpmClient
|
|
116
121
|
self.pulp_href = attributes[:'pulp_href']
|
117
122
|
end
|
118
123
|
|
124
|
+
if attributes.key?(:'prn')
|
125
|
+
self.prn = attributes[:'prn']
|
126
|
+
end
|
127
|
+
|
119
128
|
if attributes.key?(:'pulp_created')
|
120
129
|
self.pulp_created = attributes[:'pulp_created']
|
121
130
|
end
|
@@ -200,6 +209,7 @@ module PulpRpmClient
|
|
200
209
|
return true if self.equal?(o)
|
201
210
|
self.class == o.class &&
|
202
211
|
pulp_href == o.pulp_href &&
|
212
|
+
prn == o.prn &&
|
203
213
|
pulp_created == o.pulp_created &&
|
204
214
|
pulp_last_updated == o.pulp_last_updated &&
|
205
215
|
id == o.id &&
|
@@ -222,7 +232,7 @@ module PulpRpmClient
|
|
222
232
|
# Calculates hash code according to all attributes.
|
223
233
|
# @return [Integer] Hash code
|
224
234
|
def hash
|
225
|
-
[pulp_href, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
|
235
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
|
226
236
|
end
|
227
237
|
|
228
238
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -60,6 +63,7 @@ module PulpRpmClient
|
|
60
63
|
def self.attribute_map
|
61
64
|
{
|
62
65
|
:'pulp_href' => :'pulp_href',
|
66
|
+
:'prn' => :'prn',
|
63
67
|
:'pulp_created' => :'pulp_created',
|
64
68
|
:'pulp_last_updated' => :'pulp_last_updated',
|
65
69
|
:'id' => :'id',
|
@@ -80,6 +84,7 @@ module PulpRpmClient
|
|
80
84
|
def self.openapi_types
|
81
85
|
{
|
82
86
|
:'pulp_href' => :'String',
|
87
|
+
:'prn' => :'String',
|
83
88
|
:'pulp_created' => :'DateTime',
|
84
89
|
:'pulp_last_updated' => :'DateTime',
|
85
90
|
:'id' => :'String',
|
@@ -125,6 +130,10 @@ module PulpRpmClient
|
|
125
130
|
self.pulp_href = attributes[:'pulp_href']
|
126
131
|
end
|
127
132
|
|
133
|
+
if attributes.key?(:'prn')
|
134
|
+
self.prn = attributes[:'prn']
|
135
|
+
end
|
136
|
+
|
128
137
|
if attributes.key?(:'pulp_created')
|
129
138
|
self.pulp_created = attributes[:'pulp_created']
|
130
139
|
end
|
@@ -217,6 +226,7 @@ module PulpRpmClient
|
|
217
226
|
return true if self.equal?(o)
|
218
227
|
self.class == o.class &&
|
219
228
|
pulp_href == o.pulp_href &&
|
229
|
+
prn == o.prn &&
|
220
230
|
pulp_created == o.pulp_created &&
|
221
231
|
pulp_last_updated == o.pulp_last_updated &&
|
222
232
|
id == o.id &&
|
@@ -241,7 +251,7 @@ module PulpRpmClient
|
|
241
251
|
# Calculates hash code according to all attributes.
|
242
252
|
# @return [Integer] Hash code
|
243
253
|
def hash
|
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
|
254
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
245
255
|
end
|
246
256
|
|
247
257
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpRpmClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'matches' => :'matches',
|
@@ -44,6 +48,7 @@ module PulpRpmClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'matches' => :'Object',
|
@@ -78,6 +83,10 @@ module PulpRpmClient
|
|
78
83
|
self.pulp_href = attributes[:'pulp_href']
|
79
84
|
end
|
80
85
|
|
86
|
+
if attributes.key?(:'prn')
|
87
|
+
self.prn = attributes[:'prn']
|
88
|
+
end
|
89
|
+
|
81
90
|
if attributes.key?(:'pulp_created')
|
82
91
|
self.pulp_created = attributes[:'pulp_created']
|
83
92
|
end
|
@@ -114,6 +123,7 @@ module PulpRpmClient
|
|
114
123
|
return true if self.equal?(o)
|
115
124
|
self.class == o.class &&
|
116
125
|
pulp_href == o.pulp_href &&
|
126
|
+
prn == o.prn &&
|
117
127
|
pulp_created == o.pulp_created &&
|
118
128
|
pulp_last_updated == o.pulp_last_updated &&
|
119
129
|
matches == o.matches &&
|
@@ -129,7 +139,7 @@ module PulpRpmClient
|
|
129
139
|
# Calculates hash code according to all attributes.
|
130
140
|
# @return [Integer] Hash code
|
131
141
|
def hash
|
132
|
-
[pulp_href, pulp_created, pulp_last_updated, matches, digest].hash
|
142
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, matches, digest].hash
|
133
143
|
end
|
134
144
|
|
135
145
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -156,6 +159,7 @@ module PulpRpmClient
|
|
156
159
|
def self.attribute_map
|
157
160
|
{
|
158
161
|
:'pulp_href' => :'pulp_href',
|
162
|
+
:'prn' => :'prn',
|
159
163
|
:'pulp_created' => :'pulp_created',
|
160
164
|
:'pulp_last_updated' => :'pulp_last_updated',
|
161
165
|
:'md5' => :'md5',
|
@@ -208,6 +212,7 @@ module PulpRpmClient
|
|
208
212
|
def self.openapi_types
|
209
213
|
{
|
210
214
|
:'pulp_href' => :'String',
|
215
|
+
:'prn' => :'String',
|
211
216
|
:'pulp_created' => :'DateTime',
|
212
217
|
:'pulp_last_updated' => :'DateTime',
|
213
218
|
:'md5' => :'String',
|
@@ -281,6 +286,10 @@ module PulpRpmClient
|
|
281
286
|
self.pulp_href = attributes[:'pulp_href']
|
282
287
|
end
|
283
288
|
|
289
|
+
if attributes.key?(:'prn')
|
290
|
+
self.prn = attributes[:'prn']
|
291
|
+
end
|
292
|
+
|
284
293
|
if attributes.key?(:'pulp_created')
|
285
294
|
self.pulp_created = attributes[:'pulp_created']
|
286
295
|
end
|
@@ -481,6 +490,7 @@ module PulpRpmClient
|
|
481
490
|
return true if self.equal?(o)
|
482
491
|
self.class == o.class &&
|
483
492
|
pulp_href == o.pulp_href &&
|
493
|
+
prn == o.prn &&
|
484
494
|
pulp_created == o.pulp_created &&
|
485
495
|
pulp_last_updated == o.pulp_last_updated &&
|
486
496
|
md5 == o.md5 &&
|
@@ -537,7 +547,7 @@ module PulpRpmClient
|
|
537
547
|
# Calculates hash code according to all attributes.
|
538
548
|
# @return [Integer] Hash code
|
539
549
|
def hash
|
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
|
550
|
+
[pulp_href, prn, 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
|
541
551
|
end
|
542
552
|
|
543
553
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -60,6 +63,7 @@ module PulpRpmClient
|
|
60
63
|
def self.attribute_map
|
61
64
|
{
|
62
65
|
:'pulp_href' => :'pulp_href',
|
66
|
+
:'prn' => :'prn',
|
63
67
|
:'pulp_created' => :'pulp_created',
|
64
68
|
:'pulp_last_updated' => :'pulp_last_updated',
|
65
69
|
:'md5' => :'md5',
|
@@ -80,6 +84,7 @@ module PulpRpmClient
|
|
80
84
|
def self.openapi_types
|
81
85
|
{
|
82
86
|
:'pulp_href' => :'String',
|
87
|
+
:'prn' => :'String',
|
83
88
|
:'pulp_created' => :'DateTime',
|
84
89
|
:'pulp_last_updated' => :'DateTime',
|
85
90
|
:'md5' => :'String',
|
@@ -121,6 +126,10 @@ module PulpRpmClient
|
|
121
126
|
self.pulp_href = attributes[:'pulp_href']
|
122
127
|
end
|
123
128
|
|
129
|
+
if attributes.key?(:'prn')
|
130
|
+
self.prn = attributes[:'prn']
|
131
|
+
end
|
132
|
+
|
124
133
|
if attributes.key?(:'pulp_created')
|
125
134
|
self.pulp_created = attributes[:'pulp_created']
|
126
135
|
end
|
@@ -213,6 +222,7 @@ module PulpRpmClient
|
|
213
222
|
return true if self.equal?(o)
|
214
223
|
self.class == o.class &&
|
215
224
|
pulp_href == o.pulp_href &&
|
225
|
+
prn == o.prn &&
|
216
226
|
pulp_created == o.pulp_created &&
|
217
227
|
pulp_last_updated == o.pulp_last_updated &&
|
218
228
|
md5 == o.md5 &&
|
@@ -237,7 +247,7 @@ module PulpRpmClient
|
|
237
247
|
# Calculates hash code according to all attributes.
|
238
248
|
# @return [Integer] Hash code
|
239
249
|
def hash
|
240
|
-
[pulp_href, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
|
250
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
|
241
251
|
end
|
242
252
|
|
243
253
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -39,6 +42,7 @@ module PulpRpmClient
|
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
41
44
|
:'pulp_href' => :'pulp_href',
|
45
|
+
:'prn' => :'prn',
|
42
46
|
:'pulp_created' => :'pulp_created',
|
43
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
44
48
|
:'name' => :'name',
|
@@ -52,6 +56,7 @@ module PulpRpmClient
|
|
52
56
|
def self.openapi_types
|
53
57
|
{
|
54
58
|
:'pulp_href' => :'String',
|
59
|
+
:'prn' => :'String',
|
55
60
|
:'pulp_created' => :'DateTime',
|
56
61
|
:'pulp_last_updated' => :'DateTime',
|
57
62
|
:'name' => :'String',
|
@@ -87,6 +92,10 @@ module PulpRpmClient
|
|
87
92
|
self.pulp_href = attributes[:'pulp_href']
|
88
93
|
end
|
89
94
|
|
95
|
+
if attributes.key?(:'prn')
|
96
|
+
self.prn = attributes[:'prn']
|
97
|
+
end
|
98
|
+
|
90
99
|
if attributes.key?(:'pulp_created')
|
91
100
|
self.pulp_created = attributes[:'pulp_created']
|
92
101
|
end
|
@@ -143,6 +152,7 @@ module PulpRpmClient
|
|
143
152
|
return true if self.equal?(o)
|
144
153
|
self.class == o.class &&
|
145
154
|
pulp_href == o.pulp_href &&
|
155
|
+
prn == o.prn &&
|
146
156
|
pulp_created == o.pulp_created &&
|
147
157
|
pulp_last_updated == o.pulp_last_updated &&
|
148
158
|
name == o.name &&
|
@@ -160,7 +170,7 @@ module PulpRpmClient
|
|
160
170
|
# Calculates hash code according to all attributes.
|
161
171
|
# @return [Integer] Hash code
|
162
172
|
def hash
|
163
|
-
[pulp_href, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
|
173
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
|
164
174
|
end
|
165
175
|
|
166
176
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -32,6 +35,9 @@ module PulpRpmClient
|
|
32
35
|
# An optional content-guard.
|
33
36
|
attr_accessor :content_guard
|
34
37
|
|
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
|
+
|
35
41
|
# Whether this distribution should be shown in the content app.
|
36
42
|
attr_accessor :hidden
|
37
43
|
|
@@ -53,11 +59,13 @@ module PulpRpmClient
|
|
53
59
|
def self.attribute_map
|
54
60
|
{
|
55
61
|
:'pulp_href' => :'pulp_href',
|
62
|
+
:'prn' => :'prn',
|
56
63
|
:'pulp_created' => :'pulp_created',
|
57
64
|
:'pulp_last_updated' => :'pulp_last_updated',
|
58
65
|
:'base_path' => :'base_path',
|
59
66
|
:'base_url' => :'base_url',
|
60
67
|
:'content_guard' => :'content_guard',
|
68
|
+
:'no_content_change_since' => :'no_content_change_since',
|
61
69
|
:'hidden' => :'hidden',
|
62
70
|
:'pulp_labels' => :'pulp_labels',
|
63
71
|
:'name' => :'name',
|
@@ -71,11 +79,13 @@ module PulpRpmClient
|
|
71
79
|
def self.openapi_types
|
72
80
|
{
|
73
81
|
:'pulp_href' => :'String',
|
82
|
+
:'prn' => :'String',
|
74
83
|
:'pulp_created' => :'DateTime',
|
75
84
|
:'pulp_last_updated' => :'DateTime',
|
76
85
|
:'base_path' => :'String',
|
77
86
|
:'base_url' => :'String',
|
78
87
|
:'content_guard' => :'String',
|
88
|
+
:'no_content_change_since' => :'String',
|
79
89
|
:'hidden' => :'Boolean',
|
80
90
|
:'pulp_labels' => :'Hash<String, String>',
|
81
91
|
:'name' => :'String',
|
@@ -113,6 +123,10 @@ module PulpRpmClient
|
|
113
123
|
self.pulp_href = attributes[:'pulp_href']
|
114
124
|
end
|
115
125
|
|
126
|
+
if attributes.key?(:'prn')
|
127
|
+
self.prn = attributes[:'prn']
|
128
|
+
end
|
129
|
+
|
116
130
|
if attributes.key?(:'pulp_created')
|
117
131
|
self.pulp_created = attributes[:'pulp_created']
|
118
132
|
end
|
@@ -133,6 +147,10 @@ module PulpRpmClient
|
|
133
147
|
self.content_guard = attributes[:'content_guard']
|
134
148
|
end
|
135
149
|
|
150
|
+
if attributes.key?(:'no_content_change_since')
|
151
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
152
|
+
end
|
153
|
+
|
136
154
|
if attributes.key?(:'hidden')
|
137
155
|
self.hidden = attributes[:'hidden']
|
138
156
|
else
|
@@ -193,11 +211,13 @@ module PulpRpmClient
|
|
193
211
|
return true if self.equal?(o)
|
194
212
|
self.class == o.class &&
|
195
213
|
pulp_href == o.pulp_href &&
|
214
|
+
prn == o.prn &&
|
196
215
|
pulp_created == o.pulp_created &&
|
197
216
|
pulp_last_updated == o.pulp_last_updated &&
|
198
217
|
base_path == o.base_path &&
|
199
218
|
base_url == o.base_url &&
|
200
219
|
content_guard == o.content_guard &&
|
220
|
+
no_content_change_since == o.no_content_change_since &&
|
201
221
|
hidden == o.hidden &&
|
202
222
|
pulp_labels == o.pulp_labels &&
|
203
223
|
name == o.name &&
|
@@ -215,7 +235,7 @@ module PulpRpmClient
|
|
215
235
|
# Calculates hash code according to all attributes.
|
216
236
|
# @return [Integer] Hash code
|
217
237
|
def hash
|
218
|
-
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
238
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
219
239
|
end
|
220
240
|
|
221
241
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ 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
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -56,6 +59,7 @@ module PulpRpmClient
|
|
56
59
|
def self.attribute_map
|
57
60
|
{
|
58
61
|
:'pulp_href' => :'pulp_href',
|
62
|
+
:'prn' => :'prn',
|
59
63
|
:'pulp_created' => :'pulp_created',
|
60
64
|
:'pulp_last_updated' => :'pulp_last_updated',
|
61
65
|
:'repository_version' => :'repository_version',
|
@@ -75,6 +79,7 @@ module PulpRpmClient
|
|
75
79
|
def self.openapi_types
|
76
80
|
{
|
77
81
|
:'pulp_href' => :'String',
|
82
|
+
:'prn' => :'String',
|
78
83
|
:'pulp_created' => :'DateTime',
|
79
84
|
:'pulp_last_updated' => :'DateTime',
|
80
85
|
:'repository_version' => :'String',
|
@@ -117,6 +122,10 @@ module PulpRpmClient
|
|
117
122
|
self.pulp_href = attributes[:'pulp_href']
|
118
123
|
end
|
119
124
|
|
125
|
+
if attributes.key?(:'prn')
|
126
|
+
self.prn = attributes[:'prn']
|
127
|
+
end
|
128
|
+
|
120
129
|
if attributes.key?(:'pulp_created')
|
121
130
|
self.pulp_created = attributes[:'pulp_created']
|
122
131
|
end
|
@@ -235,6 +244,7 @@ module PulpRpmClient
|
|
235
244
|
return true if self.equal?(o)
|
236
245
|
self.class == o.class &&
|
237
246
|
pulp_href == o.pulp_href &&
|
247
|
+
prn == o.prn &&
|
238
248
|
pulp_created == o.pulp_created &&
|
239
249
|
pulp_last_updated == o.pulp_last_updated &&
|
240
250
|
repository_version == o.repository_version &&
|
@@ -258,7 +268,7 @@ module PulpRpmClient
|
|
258
268
|
# Calculates hash code according to all attributes.
|
259
269
|
# @return [Integer] Hash code
|
260
270
|
def hash
|
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
|
271
|
+
[pulp_href, prn, 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
|
262
272
|
end
|
263
273
|
|
264
274
|
# Builds the object from hash
|
@@ -322,20 +322,20 @@ module PulpRpmClient
|
|
322
322
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
323
323
|
end
|
324
324
|
|
325
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
326
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
325
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
326
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
327
327
|
end
|
328
328
|
|
329
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
330
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
329
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
330
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
331
331
|
end
|
332
332
|
|
333
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
334
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
333
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
334
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
335
335
|
end
|
336
336
|
|
337
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
338
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
337
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
338
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
339
339
|
end
|
340
340
|
|
341
341
|
if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
@@ -361,10 +361,10 @@ module PulpRpmClient
|
|
361
361
|
return false if !@username.nil? && @username.to_s.length < 1
|
362
362
|
return false if !@password.nil? && @password.to_s.length < 1
|
363
363
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
364
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
365
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
366
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
367
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
364
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
365
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
366
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
367
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
368
368
|
return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
369
369
|
true
|
370
370
|
end
|
@@ -490,8 +490,8 @@ module PulpRpmClient
|
|
490
490
|
# Custom attribute writer method with validation
|
491
491
|
# @param [Object] total_timeout Value to be assigned
|
492
492
|
def total_timeout=(total_timeout)
|
493
|
-
if !total_timeout.nil? && total_timeout < 0
|
494
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
493
|
+
if !total_timeout.nil? && total_timeout < 0
|
494
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
495
495
|
end
|
496
496
|
|
497
497
|
@total_timeout = total_timeout
|
@@ -500,8 +500,8 @@ module PulpRpmClient
|
|
500
500
|
# Custom attribute writer method with validation
|
501
501
|
# @param [Object] connect_timeout Value to be assigned
|
502
502
|
def connect_timeout=(connect_timeout)
|
503
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
504
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
503
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
504
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
505
505
|
end
|
506
506
|
|
507
507
|
@connect_timeout = connect_timeout
|
@@ -510,8 +510,8 @@ module PulpRpmClient
|
|
510
510
|
# Custom attribute writer method with validation
|
511
511
|
# @param [Object] sock_connect_timeout Value to be assigned
|
512
512
|
def sock_connect_timeout=(sock_connect_timeout)
|
513
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
514
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
513
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
514
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
515
515
|
end
|
516
516
|
|
517
517
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -520,8 +520,8 @@ module PulpRpmClient
|
|
520
520
|
# Custom attribute writer method with validation
|
521
521
|
# @param [Object] sock_read_timeout Value to be assigned
|
522
522
|
def sock_read_timeout=(sock_read_timeout)
|
523
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
524
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
523
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
524
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
525
525
|
end
|
526
526
|
|
527
527
|
@sock_read_timeout = sock_read_timeout
|