pulp_rpm_client 3.26.0 → 3.26.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AcsRpmApi.md +5 -3
  4. data/docs/ArtifactResponse.md +2 -0
  5. data/docs/ContentAdvisoriesApi.md +14 -10
  6. data/docs/ContentDistributionTreesApi.md +11 -9
  7. data/docs/ContentModulemdDefaultsApi.md +11 -9
  8. data/docs/ContentModulemdObsoletesApi.md +11 -9
  9. data/docs/ContentModulemdsApi.md +11 -9
  10. data/docs/ContentPackagecategoriesApi.md +11 -9
  11. data/docs/ContentPackageenvironmentsApi.md +11 -9
  12. data/docs/ContentPackagegroupsApi.md +11 -9
  13. data/docs/ContentPackagelangpacksApi.md +11 -9
  14. data/docs/ContentPackagesApi.md +14 -10
  15. data/docs/ContentRepoMetadataFilesApi.md +11 -9
  16. data/docs/Copy.md +1 -1
  17. data/docs/DistributionsRpmApi.md +5 -3
  18. data/docs/PatchedrpmRpmRepository.md +1 -1
  19. data/docs/PublicationsRpmApi.md +13 -11
  20. data/docs/RemotesRpmApi.md +5 -3
  21. data/docs/RemotesUlnApi.md +5 -3
  22. data/docs/RepositoriesRpmApi.md +9 -7
  23. data/docs/RepositoriesRpmVersionsApi.md +9 -7
  24. data/docs/RepositoryVersionResponse.md +2 -0
  25. data/docs/RpmCompsApi.md +1 -1
  26. data/docs/RpmCopyApi.md +1 -1
  27. data/docs/RpmModulemd.md +3 -3
  28. data/docs/RpmModulemdDefaults.md +1 -1
  29. data/docs/RpmModulemdDefaultsResponse.md +3 -1
  30. data/docs/RpmModulemdObsoleteResponse.md +2 -0
  31. data/docs/RpmModulemdResponse.md +5 -3
  32. data/docs/RpmPackage.md +3 -1
  33. data/docs/RpmPackageCategoryResponse.md +5 -3
  34. data/docs/RpmPackageEnvironmentResponse.md +6 -4
  35. data/docs/RpmPackageGroupResponse.md +5 -3
  36. data/docs/RpmPackageLangpacksResponse.md +3 -1
  37. data/docs/RpmPackageResponse.md +12 -10
  38. data/docs/RpmRepoMetadataFileResponse.md +2 -0
  39. data/docs/RpmRpmAlternateContentSourceResponse.md +2 -0
  40. data/docs/RpmRpmDistributionResponse.md +4 -0
  41. data/docs/RpmRpmPublication.md +1 -1
  42. data/docs/RpmRpmPublicationResponse.md +3 -1
  43. data/docs/RpmRpmRemoteResponse.md +2 -0
  44. data/docs/RpmRpmRepository.md +1 -1
  45. data/docs/RpmRpmRepositoryResponse.md +3 -1
  46. data/docs/RpmUlnRemoteResponse.md +2 -0
  47. data/docs/RpmUpdateCollection.md +1 -1
  48. data/docs/RpmUpdateCollectionResponse.md +1 -1
  49. data/docs/RpmUpdateRecord.md +3 -1
  50. data/docs/RpmUpdateRecordResponse.md +2 -0
  51. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
  52. data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
  53. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
  54. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
  55. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
  56. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
  57. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
  58. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
  59. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
  60. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
  61. data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
  62. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
  63. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
  64. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
  65. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
  66. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
  67. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
  68. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
  69. data/lib/pulp_rpm_client/configuration.rb +2 -2
  70. data/lib/pulp_rpm_client/models/artifact_response.rb +12 -2
  71. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  72. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
  73. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  74. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
  75. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  76. data/lib/pulp_rpm_client/models/repository_version_response.rb +12 -2
  77. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  78. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  79. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +12 -2
  80. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
  81. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +14 -4
  82. data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
  83. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +14 -4
  84. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +15 -5
  85. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +14 -4
  86. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +12 -2
  87. data/lib/pulp_rpm_client/models/rpm_package_response.rb +21 -11
  88. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
  89. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
  90. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +21 -1
  91. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  92. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +12 -2
  93. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
  94. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +31 -21
  95. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  96. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +12 -2
  97. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
  98. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +31 -21
  99. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  100. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  101. data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
  102. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
  103. data/lib/pulp_rpm_client/version.rb +1 -1
  104. data/spec/api/acs_rpm_api_spec.rb +2 -1
  105. data/spec/api/content_advisories_api_spec.rb +6 -4
  106. data/spec/api/content_distribution_trees_api_spec.rb +5 -4
  107. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
  108. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
  109. data/spec/api/content_modulemds_api_spec.rb +5 -4
  110. data/spec/api/content_packagecategories_api_spec.rb +5 -4
  111. data/spec/api/content_packageenvironments_api_spec.rb +5 -4
  112. data/spec/api/content_packagegroups_api_spec.rb +5 -4
  113. data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
  114. data/spec/api/content_packages_api_spec.rb +6 -4
  115. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
  116. data/spec/api/distributions_rpm_api_spec.rb +2 -1
  117. data/spec/api/publications_rpm_api_spec.rb +6 -5
  118. data/spec/api/remotes_rpm_api_spec.rb +2 -1
  119. data/spec/api/remotes_uln_api_spec.rb +2 -1
  120. data/spec/api/repositories_rpm_api_spec.rb +4 -3
  121. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
  122. data/spec/configuration_spec.rb +3 -3
  123. data/spec/models/artifact_response_spec.rb +6 -0
  124. data/spec/models/repository_version_response_spec.rb +6 -0
  125. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  126. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  127. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  128. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  129. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  130. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  131. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  132. data/spec/models/rpm_package_response_spec.rb +6 -0
  133. data/spec/models/rpm_package_spec.rb +6 -0
  134. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  135. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
  136. data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
  137. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  138. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  139. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  140. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  141. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  142. data/spec/models/rpm_update_record_spec.rb +6 -0
  143. metadata +96 -96
@@ -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
@@ -66,7 +66,7 @@ module PulpRpmClient
66
66
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
67
67
  :'gpgcheck' => :'Integer',
68
68
  :'repo_gpgcheck' => :'Integer',
69
- :'repo_config' => :'Object',
69
+ :'repo_config' => :'AnyType',
70
70
  :'compression_type' => :'CompressionTypeEnum'
71
71
  }
72
72
  end
@@ -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',
@@ -85,7 +90,7 @@ module PulpRpmClient
85
90
  :'gpgcheck' => :'Integer',
86
91
  :'repo_gpgcheck' => :'Integer',
87
92
  :'sqlite_metadata' => :'Boolean',
88
- :'repo_config' => :'Object',
93
+ :'repo_config' => :'AnyType',
89
94
  :'compression_type' => :'CompressionTypeEnum'
90
95
  }
91
96
  end
@@ -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.0
326
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.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.0
330
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.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.0
334
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.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.0
338
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.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.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
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.0
494
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.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.0
504
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.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.0
514
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.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.0
524
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.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
@@ -17,6 +17,9 @@ 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
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -80,6 +83,7 @@ module PulpRpmClient
80
83
  def self.attribute_map
81
84
  {
82
85
  :'pulp_href' => :'pulp_href',
86
+ :'prn' => :'prn',
83
87
  :'pulp_created' => :'pulp_created',
84
88
  :'pulp_last_updated' => :'pulp_last_updated',
85
89
  :'name' => :'name',
@@ -107,6 +111,7 @@ module PulpRpmClient
107
111
  def self.openapi_types
108
112
  {
109
113
  :'pulp_href' => :'String',
114
+ :'prn' => :'String',
110
115
  :'pulp_created' => :'DateTime',
111
116
  :'pulp_last_updated' => :'DateTime',
112
117
  :'name' => :'String',
@@ -166,6 +171,10 @@ module PulpRpmClient
166
171
  self.pulp_href = attributes[:'pulp_href']
167
172
  end
168
173
 
174
+ if attributes.key?(:'prn')
175
+ self.prn = attributes[:'prn']
176
+ end
177
+
169
178
  if attributes.key?(:'pulp_created')
170
179
  self.pulp_created = attributes[:'pulp_created']
171
180
  end
@@ -269,20 +278,20 @@ module PulpRpmClient
269
278
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
270
279
  end
271
280
 
272
- if !@total_timeout.nil? && @total_timeout < 0.0
273
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
281
+ if !@total_timeout.nil? && @total_timeout < 0
282
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
274
283
  end
275
284
 
276
- if !@connect_timeout.nil? && @connect_timeout < 0.0
277
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
285
+ if !@connect_timeout.nil? && @connect_timeout < 0
286
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
278
287
  end
279
288
 
280
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
281
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
289
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
290
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
282
291
  end
283
292
 
284
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
285
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
293
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
294
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
286
295
  end
287
296
 
288
297
  invalid_properties
@@ -294,10 +303,10 @@ module PulpRpmClient
294
303
  return false if @name.nil?
295
304
  return false if @url.nil?
296
305
  return false if !@download_concurrency.nil? && @download_concurrency < 1
297
- return false if !@total_timeout.nil? && @total_timeout < 0.0
298
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
299
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
300
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
306
+ return false if !@total_timeout.nil? && @total_timeout < 0
307
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
308
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
309
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
301
310
  true
302
311
  end
303
312
 
@@ -314,8 +323,8 @@ module PulpRpmClient
314
323
  # Custom attribute writer method with validation
315
324
  # @param [Object] total_timeout Value to be assigned
316
325
  def total_timeout=(total_timeout)
317
- if !total_timeout.nil? && total_timeout < 0.0
318
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
326
+ if !total_timeout.nil? && total_timeout < 0
327
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
319
328
  end
320
329
 
321
330
  @total_timeout = total_timeout
@@ -324,8 +333,8 @@ module PulpRpmClient
324
333
  # Custom attribute writer method with validation
325
334
  # @param [Object] connect_timeout Value to be assigned
326
335
  def connect_timeout=(connect_timeout)
327
- if !connect_timeout.nil? && connect_timeout < 0.0
328
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
336
+ if !connect_timeout.nil? && connect_timeout < 0
337
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
329
338
  end
330
339
 
331
340
  @connect_timeout = connect_timeout
@@ -334,8 +343,8 @@ module PulpRpmClient
334
343
  # Custom attribute writer method with validation
335
344
  # @param [Object] sock_connect_timeout Value to be assigned
336
345
  def sock_connect_timeout=(sock_connect_timeout)
337
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
338
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
346
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
347
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
339
348
  end
340
349
 
341
350
  @sock_connect_timeout = sock_connect_timeout
@@ -344,8 +353,8 @@ module PulpRpmClient
344
353
  # Custom attribute writer method with validation
345
354
  # @param [Object] sock_read_timeout Value to be assigned
346
355
  def sock_read_timeout=(sock_read_timeout)
347
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
348
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
356
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
357
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
349
358
  end
350
359
 
351
360
  @sock_read_timeout = sock_read_timeout
@@ -357,6 +366,7 @@ module PulpRpmClient
357
366
  return true if self.equal?(o)
358
367
  self.class == o.class &&
359
368
  pulp_href == o.pulp_href &&
369
+ prn == o.prn &&
360
370
  pulp_created == o.pulp_created &&
361
371
  pulp_last_updated == o.pulp_last_updated &&
362
372
  name == o.name &&
@@ -388,7 +398,7 @@ module PulpRpmClient
388
398
  # Calculates hash code according to all attributes.
389
399
  # @return [Integer] Hash code
390
400
  def hash
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
401
+ [pulp_href, prn, 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
392
402
  end
393
403
 
394
404
  # Builds the object from hash
@@ -96,7 +96,7 @@ module PulpRpmClient
96
96
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
97
97
  :'gpgcheck' => :'Integer',
98
98
  :'repo_gpgcheck' => :'Integer',
99
- :'repo_config' => :'Object',
99
+ :'repo_config' => :'AnyType',
100
100
  :'compression_type' => :'CompressionTypeEnum'
101
101
  }
102
102
  end
@@ -17,6 +17,9 @@ module PulpRpmClient
17
17
  class RpmRpmRepositoryResponse
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
 
@@ -78,6 +81,7 @@ module PulpRpmClient
78
81
  def self.attribute_map
79
82
  {
80
83
  :'pulp_href' => :'pulp_href',
84
+ :'prn' => :'prn',
81
85
  :'pulp_created' => :'pulp_created',
82
86
  :'pulp_last_updated' => :'pulp_last_updated',
83
87
  :'versions_href' => :'versions_href',
@@ -105,6 +109,7 @@ module PulpRpmClient
105
109
  def self.openapi_types
106
110
  {
107
111
  :'pulp_href' => :'String',
112
+ :'prn' => :'String',
108
113
  :'pulp_created' => :'DateTime',
109
114
  :'pulp_last_updated' => :'DateTime',
110
115
  :'versions_href' => :'String',
@@ -123,7 +128,7 @@ module PulpRpmClient
123
128
  :'gpgcheck' => :'Integer',
124
129
  :'repo_gpgcheck' => :'Integer',
125
130
  :'sqlite_metadata' => :'Boolean',
126
- :'repo_config' => :'Object',
131
+ :'repo_config' => :'AnyType',
127
132
  :'compression_type' => :'CompressionTypeEnum'
128
133
  }
129
134
  end
@@ -163,6 +168,10 @@ module PulpRpmClient
163
168
  self.pulp_href = attributes[:'pulp_href']
164
169
  end
165
170
 
171
+ if attributes.key?(:'prn')
172
+ self.prn = attributes[:'prn']
173
+ end
174
+
166
175
  if attributes.key?(:'pulp_created')
167
176
  self.pulp_created = attributes[:'pulp_created']
168
177
  end
@@ -352,6 +361,7 @@ module PulpRpmClient
352
361
  return true if self.equal?(o)
353
362
  self.class == o.class &&
354
363
  pulp_href == o.pulp_href &&
364
+ prn == o.prn &&
355
365
  pulp_created == o.pulp_created &&
356
366
  pulp_last_updated == o.pulp_last_updated &&
357
367
  versions_href == o.versions_href &&
@@ -383,7 +393,7 @@ module PulpRpmClient
383
393
  # Calculates hash code according to all attributes.
384
394
  # @return [Integer] Hash code
385
395
  def hash
386
- [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
396
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
387
397
  end
388
398
 
389
399
  # Builds the object from hash
@@ -328,20 +328,20 @@ module PulpRpmClient
328
328
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
329
329
  end
330
330
 
331
- if !@total_timeout.nil? && @total_timeout < 0.0
332
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
331
+ if !@total_timeout.nil? && @total_timeout < 0
332
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
333
333
  end
334
334
 
335
- if !@connect_timeout.nil? && @connect_timeout < 0.0
336
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
335
+ if !@connect_timeout.nil? && @connect_timeout < 0
336
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
337
337
  end
338
338
 
339
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
340
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
339
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
340
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
341
341
  end
342
342
 
343
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
344
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
343
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
344
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
345
345
  end
346
346
 
347
347
  if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
@@ -369,10 +369,10 @@ module PulpRpmClient
369
369
  return false if @password.nil?
370
370
  return false if @password.to_s.length < 1
371
371
  return false if !@download_concurrency.nil? && @download_concurrency < 1
372
- return false if !@total_timeout.nil? && @total_timeout < 0.0
373
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
374
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
375
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
372
+ return false if !@total_timeout.nil? && @total_timeout < 0
373
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
374
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
375
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
376
376
  return false if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
377
377
  true
378
378
  end
@@ -506,8 +506,8 @@ module PulpRpmClient
506
506
  # Custom attribute writer method with validation
507
507
  # @param [Object] total_timeout Value to be assigned
508
508
  def total_timeout=(total_timeout)
509
- if !total_timeout.nil? && total_timeout < 0.0
510
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
509
+ if !total_timeout.nil? && total_timeout < 0
510
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
511
511
  end
512
512
 
513
513
  @total_timeout = total_timeout
@@ -516,8 +516,8 @@ module PulpRpmClient
516
516
  # Custom attribute writer method with validation
517
517
  # @param [Object] connect_timeout Value to be assigned
518
518
  def connect_timeout=(connect_timeout)
519
- if !connect_timeout.nil? && connect_timeout < 0.0
520
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
519
+ if !connect_timeout.nil? && connect_timeout < 0
520
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
521
521
  end
522
522
 
523
523
  @connect_timeout = connect_timeout
@@ -526,8 +526,8 @@ module PulpRpmClient
526
526
  # Custom attribute writer method with validation
527
527
  # @param [Object] sock_connect_timeout Value to be assigned
528
528
  def sock_connect_timeout=(sock_connect_timeout)
529
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
530
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
529
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
530
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
531
531
  end
532
532
 
533
533
  @sock_connect_timeout = sock_connect_timeout
@@ -536,8 +536,8 @@ module PulpRpmClient
536
536
  # Custom attribute writer method with validation
537
537
  # @param [Object] sock_read_timeout Value to be assigned
538
538
  def sock_read_timeout=(sock_read_timeout)
539
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
540
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
539
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
540
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
541
541
  end
542
542
 
543
543
  @sock_read_timeout = sock_read_timeout