pulp_rpm_client 3.26.3 → 3.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/docs/AcsRpmApi.md +3 -5
  4. data/docs/ArtifactResponse.md +0 -2
  5. data/docs/ContentAdvisoriesApi.md +10 -14
  6. data/docs/ContentDistributionTreesApi.md +9 -11
  7. data/docs/ContentModulemdDefaultsApi.md +9 -11
  8. data/docs/ContentModulemdObsoletesApi.md +9 -11
  9. data/docs/ContentModulemdsApi.md +9 -11
  10. data/docs/ContentPackagecategoriesApi.md +9 -11
  11. data/docs/ContentPackageenvironmentsApi.md +9 -11
  12. data/docs/ContentPackagegroupsApi.md +9 -11
  13. data/docs/ContentPackagelangpacksApi.md +9 -11
  14. data/docs/ContentPackagesApi.md +11 -15
  15. data/docs/ContentRepoMetadataFilesApi.md +9 -11
  16. data/docs/DistributionsRpmApi.md +3 -5
  17. data/docs/PatchedrpmRpmRepository.md +4 -0
  18. data/docs/PrunePackages.md +21 -0
  19. data/docs/PublicationsRpmApi.md +11 -13
  20. data/docs/RemotesRpmApi.md +3 -5
  21. data/docs/RemotesUlnApi.md +3 -5
  22. data/docs/RepositoriesRpmApi.md +7 -9
  23. data/docs/RepositoriesRpmVersionsApi.md +7 -9
  24. data/docs/RepositoryVersionResponse.md +0 -2
  25. data/docs/RpmCompsApi.md +1 -1
  26. data/docs/RpmCopyApi.md +1 -1
  27. data/docs/RpmModulemdDefaultsResponse.md +0 -2
  28. data/docs/RpmModulemdObsoleteResponse.md +0 -2
  29. data/docs/RpmModulemdResponse.md +0 -2
  30. data/docs/RpmPackage.md +1 -3
  31. data/docs/RpmPackageCategoryResponse.md +0 -2
  32. data/docs/RpmPackageEnvironmentResponse.md +0 -2
  33. data/docs/RpmPackageGroupResponse.md +0 -2
  34. data/docs/RpmPackageLangpacksResponse.md +0 -2
  35. data/docs/RpmPackageResponse.md +0 -2
  36. data/docs/RpmPruneApi.md +61 -0
  37. data/docs/RpmRepoMetadataFileResponse.md +0 -2
  38. data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
  39. data/docs/RpmRpmDistributionResponse.md +0 -4
  40. data/docs/RpmRpmPublicationResponse.md +0 -2
  41. data/docs/RpmRpmRemoteResponse.md +0 -2
  42. data/docs/RpmRpmRepository.md +4 -0
  43. data/docs/RpmRpmRepositoryResponse.md +4 -2
  44. data/docs/RpmUlnRemoteResponse.md +0 -2
  45. data/docs/RpmUpdateRecord.md +1 -3
  46. data/docs/RpmUpdateRecordResponse.md +0 -2
  47. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
  48. data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
  49. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
  50. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
  51. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
  52. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
  53. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
  54. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
  55. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
  56. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
  57. data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -20
  58. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
  59. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
  60. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
  61. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
  62. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
  63. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
  64. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
  65. data/lib/pulp_rpm_client/api/rpm_prune_api.rb +84 -0
  66. data/lib/pulp_rpm_client/configuration.rb +2 -2
  67. data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
  68. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
  69. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +39 -1
  70. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
  71. data/lib/pulp_rpm_client/models/prune_packages.rb +254 -0
  72. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  73. data/lib/pulp_rpm_client/models/repository_version_response.rb +2 -12
  74. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -11
  75. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
  76. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -11
  77. data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
  78. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -11
  79. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -11
  80. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -11
  81. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -11
  82. data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -11
  83. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
  84. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
  85. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
  86. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -11
  87. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
  88. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +21 -31
  89. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +39 -1
  90. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +39 -11
  91. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
  92. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +21 -31
  93. data/lib/pulp_rpm_client/models/rpm_update_record.rb +4 -29
  94. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
  95. data/lib/pulp_rpm_client/version.rb +1 -1
  96. data/lib/pulp_rpm_client.rb +2 -0
  97. data/spec/api/acs_rpm_api_spec.rb +1 -2
  98. data/spec/api/content_advisories_api_spec.rb +4 -6
  99. data/spec/api/content_distribution_trees_api_spec.rb +4 -5
  100. data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
  101. data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
  102. data/spec/api/content_modulemds_api_spec.rb +4 -5
  103. data/spec/api/content_packagecategories_api_spec.rb +4 -5
  104. data/spec/api/content_packageenvironments_api_spec.rb +4 -5
  105. data/spec/api/content_packagegroups_api_spec.rb +4 -5
  106. data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
  107. data/spec/api/content_packages_api_spec.rb +5 -7
  108. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
  109. data/spec/api/distributions_rpm_api_spec.rb +1 -2
  110. data/spec/api/publications_rpm_api_spec.rb +5 -6
  111. data/spec/api/remotes_rpm_api_spec.rb +1 -2
  112. data/spec/api/remotes_uln_api_spec.rb +1 -2
  113. data/spec/api/repositories_rpm_api_spec.rb +3 -4
  114. data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
  115. data/spec/api/rpm_prune_api_spec.rb +46 -0
  116. data/spec/configuration_spec.rb +3 -3
  117. data/spec/models/artifact_response_spec.rb +0 -6
  118. data/spec/models/patchedrpm_rpm_repository_spec.rb +12 -0
  119. data/spec/models/prune_packages_spec.rb +53 -0
  120. data/spec/models/repository_version_response_spec.rb +0 -6
  121. data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
  122. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
  123. data/spec/models/rpm_modulemd_response_spec.rb +0 -6
  124. data/spec/models/rpm_package_category_response_spec.rb +0 -6
  125. data/spec/models/rpm_package_environment_response_spec.rb +0 -6
  126. data/spec/models/rpm_package_group_response_spec.rb +0 -6
  127. data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
  128. data/spec/models/rpm_package_response_spec.rb +0 -6
  129. data/spec/models/rpm_package_spec.rb +0 -6
  130. data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
  131. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
  132. data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
  133. data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
  134. data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
  135. data/spec/models/rpm_rpm_repository_response_spec.rb +12 -6
  136. data/spec/models/rpm_rpm_repository_spec.rb +12 -0
  137. data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
  138. data/spec/models/rpm_update_record_response_spec.rb +0 -6
  139. data/spec/models/rpm_update_record_spec.rb +0 -6
  140. metadata +104 -96
@@ -17,9 +17,6 @@ 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
-
23
20
  # Timestamp of creation.
24
21
  attr_accessor :pulp_created
25
22
 
@@ -54,7 +51,6 @@ module PulpRpmClient
54
51
  def self.attribute_map
55
52
  {
56
53
  :'pulp_href' => :'pulp_href',
57
- :'prn' => :'prn',
58
54
  :'pulp_created' => :'pulp_created',
59
55
  :'pulp_last_updated' => :'pulp_last_updated',
60
56
  :'id' => :'id',
@@ -72,7 +68,6 @@ module PulpRpmClient
72
68
  def self.openapi_types
73
69
  {
74
70
  :'pulp_href' => :'String',
75
- :'prn' => :'String',
76
71
  :'pulp_created' => :'DateTime',
77
72
  :'pulp_last_updated' => :'DateTime',
78
73
  :'id' => :'String',
@@ -115,10 +110,6 @@ module PulpRpmClient
115
110
  self.pulp_href = attributes[:'pulp_href']
116
111
  end
117
112
 
118
- if attributes.key?(:'prn')
119
- self.prn = attributes[:'prn']
120
- end
121
-
122
113
  if attributes.key?(:'pulp_created')
123
114
  self.pulp_created = attributes[:'pulp_created']
124
115
  end
@@ -199,7 +190,6 @@ module PulpRpmClient
199
190
  return true if self.equal?(o)
200
191
  self.class == o.class &&
201
192
  pulp_href == o.pulp_href &&
202
- prn == o.prn &&
203
193
  pulp_created == o.pulp_created &&
204
194
  pulp_last_updated == o.pulp_last_updated &&
205
195
  id == o.id &&
@@ -221,7 +211,7 @@ module PulpRpmClient
221
211
  # Calculates hash code according to all attributes.
222
212
  # @return [Integer] Hash code
223
213
  def 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
214
+ [pulp_href, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
225
215
  end
226
216
 
227
217
  # Builds the object from hash
@@ -17,9 +17,6 @@ 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
-
23
20
  # Timestamp of creation.
24
21
  attr_accessor :pulp_created
25
22
 
@@ -57,7 +54,6 @@ module PulpRpmClient
57
54
  def self.attribute_map
58
55
  {
59
56
  :'pulp_href' => :'pulp_href',
60
- :'prn' => :'prn',
61
57
  :'pulp_created' => :'pulp_created',
62
58
  :'pulp_last_updated' => :'pulp_last_updated',
63
59
  :'id' => :'id',
@@ -76,7 +72,6 @@ module PulpRpmClient
76
72
  def self.openapi_types
77
73
  {
78
74
  :'pulp_href' => :'String',
79
- :'prn' => :'String',
80
75
  :'pulp_created' => :'DateTime',
81
76
  :'pulp_last_updated' => :'DateTime',
82
77
  :'id' => :'String',
@@ -121,10 +116,6 @@ module PulpRpmClient
121
116
  self.pulp_href = attributes[:'pulp_href']
122
117
  end
123
118
 
124
- if attributes.key?(:'prn')
125
- self.prn = attributes[:'prn']
126
- end
127
-
128
119
  if attributes.key?(:'pulp_created')
129
120
  self.pulp_created = attributes[:'pulp_created']
130
121
  end
@@ -209,7 +200,6 @@ module PulpRpmClient
209
200
  return true if self.equal?(o)
210
201
  self.class == o.class &&
211
202
  pulp_href == o.pulp_href &&
212
- prn == o.prn &&
213
203
  pulp_created == o.pulp_created &&
214
204
  pulp_last_updated == o.pulp_last_updated &&
215
205
  id == o.id &&
@@ -232,7 +222,7 @@ module PulpRpmClient
232
222
  # Calculates hash code according to all attributes.
233
223
  # @return [Integer] Hash code
234
224
  def 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
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
236
226
  end
237
227
 
238
228
  # Builds the object from hash
@@ -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, 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
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, prn, pulp_created, pulp_last_updated, matches, digest].hash
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, 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
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, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
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, prn, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
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, 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
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, 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
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
@@ -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.0
326
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.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.0
330
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.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.0
334
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.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.0
338
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.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.0
365
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
366
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
367
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.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.0
494
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.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.0
504
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.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.0
514
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.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.0
524
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
525
525
  end
526
526
 
527
527
  @sock_read_timeout = sock_read_timeout