pulp_rpm_client 3.25.6 → 3.26.0

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 +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 +10 -14
  15. data/docs/ContentRepoMetadataFilesApi.md +9 -11
  16. data/docs/Copy.md +1 -1
  17. data/docs/DistributionsRpmApi.md +3 -5
  18. data/docs/PatchedrpmRpmRepository.md +1 -1
  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/RpmModulemd.md +3 -3
  28. data/docs/RpmModulemdDefaults.md +1 -1
  29. data/docs/RpmModulemdDefaultsResponse.md +1 -3
  30. data/docs/RpmModulemdObsoleteResponse.md +0 -2
  31. data/docs/RpmModulemdResponse.md +3 -5
  32. data/docs/RpmPackage.md +1 -3
  33. data/docs/RpmPackageCategoryResponse.md +3 -5
  34. data/docs/RpmPackageEnvironmentResponse.md +4 -6
  35. data/docs/RpmPackageGroupResponse.md +3 -5
  36. data/docs/RpmPackageLangpacksResponse.md +1 -3
  37. data/docs/RpmPackageResponse.md +10 -12
  38. data/docs/RpmRepoMetadataFileResponse.md +0 -2
  39. data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
  40. data/docs/RpmRpmDistributionResponse.md +0 -4
  41. data/docs/RpmRpmPublication.md +1 -1
  42. data/docs/RpmRpmPublicationResponse.md +1 -3
  43. data/docs/RpmRpmRemoteResponse.md +0 -2
  44. data/docs/RpmRpmRepository.md +1 -1
  45. data/docs/RpmRpmRepositoryResponse.md +1 -3
  46. data/docs/RpmUlnRemoteResponse.md +0 -2
  47. data/docs/RpmUpdateCollection.md +1 -1
  48. data/docs/RpmUpdateCollectionResponse.md +1 -1
  49. data/docs/RpmUpdateRecord.md +1 -3
  50. data/docs/RpmUpdateRecordResponse.md +0 -2
  51. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
  52. data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
  53. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
  54. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
  55. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
  56. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
  57. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
  58. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
  59. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
  60. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
  61. data/lib/pulp_rpm_client/api/content_packages_api.rb +8 -18
  62. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
  63. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
  64. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
  65. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
  66. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
  67. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
  68. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
  69. data/lib/pulp_rpm_client/configuration.rb +2 -2
  70. data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
  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 +2 -12
  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 +2 -12
  80. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
  81. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +4 -14
  82. data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
  83. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +4 -14
  84. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +5 -15
  85. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +4 -14
  86. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +2 -12
  87. data/lib/pulp_rpm_client/models/rpm_package_response.rb +11 -21
  88. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
  89. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
  90. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
  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 +2 -12
  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 +21 -31
  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 +2 -12
  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 +21 -31
  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 +4 -29
  102. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
  103. data/lib/pulp_rpm_client/version.rb +1 -1
  104. data/spec/api/acs_rpm_api_spec.rb +1 -2
  105. data/spec/api/content_advisories_api_spec.rb +4 -6
  106. data/spec/api/content_distribution_trees_api_spec.rb +4 -5
  107. data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
  108. data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
  109. data/spec/api/content_modulemds_api_spec.rb +4 -5
  110. data/spec/api/content_packagecategories_api_spec.rb +4 -5
  111. data/spec/api/content_packageenvironments_api_spec.rb +4 -5
  112. data/spec/api/content_packagegroups_api_spec.rb +4 -5
  113. data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
  114. data/spec/api/content_packages_api_spec.rb +4 -6
  115. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
  116. data/spec/api/distributions_rpm_api_spec.rb +1 -2
  117. data/spec/api/publications_rpm_api_spec.rb +5 -6
  118. data/spec/api/remotes_rpm_api_spec.rb +1 -2
  119. data/spec/api/remotes_uln_api_spec.rb +1 -2
  120. data/spec/api/repositories_rpm_api_spec.rb +3 -4
  121. data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
  122. data/spec/configuration_spec.rb +3 -3
  123. data/spec/models/artifact_response_spec.rb +0 -6
  124. data/spec/models/repository_version_response_spec.rb +0 -6
  125. data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
  126. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
  127. data/spec/models/rpm_modulemd_response_spec.rb +0 -6
  128. data/spec/models/rpm_package_category_response_spec.rb +0 -6
  129. data/spec/models/rpm_package_environment_response_spec.rb +0 -6
  130. data/spec/models/rpm_package_group_response_spec.rb +0 -6
  131. data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
  132. data/spec/models/rpm_package_response_spec.rb +0 -6
  133. data/spec/models/rpm_package_spec.rb +0 -6
  134. data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
  135. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
  136. data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
  137. data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
  138. data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
  139. data/spec/models/rpm_rpm_repository_response_spec.rb +0 -6
  140. data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
  141. data/spec/models/rpm_update_record_response_spec.rb +0 -6
  142. data/spec/models/rpm_update_record_spec.rb +0 -6
  143. metadata +96 -96
@@ -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
@@ -66,7 +66,7 @@ module PulpRpmClient
66
66
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
67
67
  :'gpgcheck' => :'Integer',
68
68
  :'repo_gpgcheck' => :'Integer',
69
- :'repo_config' => :'AnyType',
69
+ :'repo_config' => :'Object',
70
70
  :'compression_type' => :'CompressionTypeEnum'
71
71
  }
72
72
  end
@@ -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',
@@ -90,7 +85,7 @@ module PulpRpmClient
90
85
  :'gpgcheck' => :'Integer',
91
86
  :'repo_gpgcheck' => :'Integer',
92
87
  :'sqlite_metadata' => :'Boolean',
93
- :'repo_config' => :'AnyType',
88
+ :'repo_config' => :'Object',
94
89
  :'compression_type' => :'CompressionTypeEnum'
95
90
  }
96
91
  end
@@ -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
@@ -17,9 +17,6 @@ module PulpRpmClient
17
17
  class RpmRpmRemoteResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
- # The Pulp Resource Name (PRN).
21
- attr_accessor :prn
22
-
23
20
  # Timestamp of creation.
24
21
  attr_accessor :pulp_created
25
22
 
@@ -83,7 +80,6 @@ module PulpRpmClient
83
80
  def self.attribute_map
84
81
  {
85
82
  :'pulp_href' => :'pulp_href',
86
- :'prn' => :'prn',
87
83
  :'pulp_created' => :'pulp_created',
88
84
  :'pulp_last_updated' => :'pulp_last_updated',
89
85
  :'name' => :'name',
@@ -111,7 +107,6 @@ module PulpRpmClient
111
107
  def self.openapi_types
112
108
  {
113
109
  :'pulp_href' => :'String',
114
- :'prn' => :'String',
115
110
  :'pulp_created' => :'DateTime',
116
111
  :'pulp_last_updated' => :'DateTime',
117
112
  :'name' => :'String',
@@ -171,10 +166,6 @@ module PulpRpmClient
171
166
  self.pulp_href = attributes[:'pulp_href']
172
167
  end
173
168
 
174
- if attributes.key?(:'prn')
175
- self.prn = attributes[:'prn']
176
- end
177
-
178
169
  if attributes.key?(:'pulp_created')
179
170
  self.pulp_created = attributes[:'pulp_created']
180
171
  end
@@ -278,20 +269,20 @@ module PulpRpmClient
278
269
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
279
270
  end
280
271
 
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.')
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.')
283
274
  end
284
275
 
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.')
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.')
287
278
  end
288
279
 
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.')
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.')
291
282
  end
292
283
 
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.')
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.')
295
286
  end
296
287
 
297
288
  invalid_properties
@@ -303,10 +294,10 @@ module PulpRpmClient
303
294
  return false if @name.nil?
304
295
  return false if @url.nil?
305
296
  return false if !@download_concurrency.nil? && @download_concurrency < 1
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
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
310
301
  true
311
302
  end
312
303
 
@@ -323,8 +314,8 @@ module PulpRpmClient
323
314
  # Custom attribute writer method with validation
324
315
  # @param [Object] total_timeout Value to be assigned
325
316
  def total_timeout=(total_timeout)
326
- if !total_timeout.nil? && total_timeout < 0
327
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
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.'
328
319
  end
329
320
 
330
321
  @total_timeout = total_timeout
@@ -333,8 +324,8 @@ module PulpRpmClient
333
324
  # Custom attribute writer method with validation
334
325
  # @param [Object] connect_timeout Value to be assigned
335
326
  def connect_timeout=(connect_timeout)
336
- if !connect_timeout.nil? && connect_timeout < 0
337
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
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.'
338
329
  end
339
330
 
340
331
  @connect_timeout = connect_timeout
@@ -343,8 +334,8 @@ module PulpRpmClient
343
334
  # Custom attribute writer method with validation
344
335
  # @param [Object] sock_connect_timeout Value to be assigned
345
336
  def sock_connect_timeout=(sock_connect_timeout)
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.'
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.'
348
339
  end
349
340
 
350
341
  @sock_connect_timeout = sock_connect_timeout
@@ -353,8 +344,8 @@ module PulpRpmClient
353
344
  # Custom attribute writer method with validation
354
345
  # @param [Object] sock_read_timeout Value to be assigned
355
346
  def sock_read_timeout=(sock_read_timeout)
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.'
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.'
358
349
  end
359
350
 
360
351
  @sock_read_timeout = sock_read_timeout
@@ -366,7 +357,6 @@ module PulpRpmClient
366
357
  return true if self.equal?(o)
367
358
  self.class == o.class &&
368
359
  pulp_href == o.pulp_href &&
369
- prn == o.prn &&
370
360
  pulp_created == o.pulp_created &&
371
361
  pulp_last_updated == o.pulp_last_updated &&
372
362
  name == o.name &&
@@ -398,7 +388,7 @@ module PulpRpmClient
398
388
  # Calculates hash code according to all attributes.
399
389
  # @return [Integer] Hash code
400
390
  def hash
401
- [pulp_href, 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
391
+ [pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, sles_auth_token].hash
402
392
  end
403
393
 
404
394
  # Builds the object from hash
@@ -96,7 +96,7 @@ module PulpRpmClient
96
96
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
97
97
  :'gpgcheck' => :'Integer',
98
98
  :'repo_gpgcheck' => :'Integer',
99
- :'repo_config' => :'AnyType',
99
+ :'repo_config' => :'Object',
100
100
  :'compression_type' => :'CompressionTypeEnum'
101
101
  }
102
102
  end
@@ -17,9 +17,6 @@ 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
-
23
20
  # Timestamp of creation.
24
21
  attr_accessor :pulp_created
25
22
 
@@ -81,7 +78,6 @@ module PulpRpmClient
81
78
  def self.attribute_map
82
79
  {
83
80
  :'pulp_href' => :'pulp_href',
84
- :'prn' => :'prn',
85
81
  :'pulp_created' => :'pulp_created',
86
82
  :'pulp_last_updated' => :'pulp_last_updated',
87
83
  :'versions_href' => :'versions_href',
@@ -109,7 +105,6 @@ module PulpRpmClient
109
105
  def self.openapi_types
110
106
  {
111
107
  :'pulp_href' => :'String',
112
- :'prn' => :'String',
113
108
  :'pulp_created' => :'DateTime',
114
109
  :'pulp_last_updated' => :'DateTime',
115
110
  :'versions_href' => :'String',
@@ -128,7 +123,7 @@ module PulpRpmClient
128
123
  :'gpgcheck' => :'Integer',
129
124
  :'repo_gpgcheck' => :'Integer',
130
125
  :'sqlite_metadata' => :'Boolean',
131
- :'repo_config' => :'AnyType',
126
+ :'repo_config' => :'Object',
132
127
  :'compression_type' => :'CompressionTypeEnum'
133
128
  }
134
129
  end
@@ -168,10 +163,6 @@ module PulpRpmClient
168
163
  self.pulp_href = attributes[:'pulp_href']
169
164
  end
170
165
 
171
- if attributes.key?(:'prn')
172
- self.prn = attributes[:'prn']
173
- end
174
-
175
166
  if attributes.key?(:'pulp_created')
176
167
  self.pulp_created = attributes[:'pulp_created']
177
168
  end
@@ -361,7 +352,6 @@ module PulpRpmClient
361
352
  return true if self.equal?(o)
362
353
  self.class == o.class &&
363
354
  pulp_href == o.pulp_href &&
364
- prn == o.prn &&
365
355
  pulp_created == o.pulp_created &&
366
356
  pulp_last_updated == o.pulp_last_updated &&
367
357
  versions_href == o.versions_href &&
@@ -393,7 +383,7 @@ module PulpRpmClient
393
383
  # Calculates hash code according to all attributes.
394
384
  # @return [Integer] Hash code
395
385
  def 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
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
397
387
  end
398
388
 
399
389
  # 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
332
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
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.')
333
333
  end
334
334
 
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.')
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.')
337
337
  end
338
338
 
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.')
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.')
341
341
  end
342
342
 
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.')
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.')
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
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
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
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
510
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
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.'
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
520
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
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.'
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
530
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
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.'
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
540
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
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.'
541
541
  end
542
542
 
543
543
  @sock_read_timeout = sock_read_timeout