pulp_rpm_client 3.25.3 → 3.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) 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 +4 -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/PaginatedRepositoryVersionResponseList.md +2 -2
  19. data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
  20. data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
  21. data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
  22. data/docs/PaginatedrpmModulemdResponseList.md +2 -2
  23. data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
  24. data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
  25. data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
  26. data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
  27. data/docs/PaginatedrpmPackageResponseList.md +2 -2
  28. data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
  29. data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
  30. data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
  31. data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
  32. data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
  33. data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
  34. data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
  35. data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
  36. data/docs/PatchedrpmRpmRepository.md +1 -1
  37. data/docs/PublicationsRpmApi.md +13 -11
  38. data/docs/RemotesRpmApi.md +5 -3
  39. data/docs/RemotesUlnApi.md +5 -3
  40. data/docs/RepositoriesRpmApi.md +9 -7
  41. data/docs/RepositoriesRpmVersionsApi.md +9 -7
  42. data/docs/RepositoryVersionResponse.md +4 -0
  43. data/docs/RpmCompsApi.md +1 -1
  44. data/docs/RpmCopyApi.md +1 -1
  45. data/docs/RpmModulemd.md +3 -3
  46. data/docs/RpmModulemdDefaults.md +1 -1
  47. data/docs/RpmModulemdDefaultsResponse.md +5 -1
  48. data/docs/RpmModulemdObsoleteResponse.md +4 -0
  49. data/docs/RpmModulemdResponse.md +7 -3
  50. data/docs/RpmPackage.md +3 -1
  51. data/docs/RpmPackageCategoryResponse.md +7 -3
  52. data/docs/RpmPackageEnvironmentResponse.md +8 -4
  53. data/docs/RpmPackageGroupResponse.md +7 -3
  54. data/docs/RpmPackageLangpacksResponse.md +5 -1
  55. data/docs/RpmPackageResponse.md +14 -10
  56. data/docs/RpmRepoMetadataFileResponse.md +4 -0
  57. data/docs/RpmRpmAlternateContentSourceResponse.md +4 -0
  58. data/docs/RpmRpmDistributionResponse.md +6 -0
  59. data/docs/RpmRpmPublication.md +1 -1
  60. data/docs/RpmRpmPublicationResponse.md +5 -1
  61. data/docs/RpmRpmRemoteResponse.md +4 -2
  62. data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
  63. data/docs/RpmRpmRepository.md +1 -1
  64. data/docs/RpmRpmRepositoryResponse.md +5 -1
  65. data/docs/RpmUlnRemoteResponse.md +4 -2
  66. data/docs/RpmUpdateCollection.md +1 -1
  67. data/docs/RpmUpdateCollectionResponse.md +1 -1
  68. data/docs/RpmUpdateRecord.md +3 -1
  69. data/docs/RpmUpdateRecordResponse.md +4 -0
  70. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
  71. data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
  72. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
  73. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
  74. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
  75. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
  76. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
  77. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
  78. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
  79. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
  80. data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
  81. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
  82. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
  83. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
  84. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
  85. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
  86. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
  87. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
  88. data/lib/pulp_rpm_client/configuration.rb +2 -2
  89. data/lib/pulp_rpm_client/models/artifact_response.rb +22 -2
  90. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  91. data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
  92. data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
  93. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
  94. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
  95. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
  96. data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
  97. data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
  98. data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
  99. data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
  100. data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
  101. data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
  102. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
  103. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
  104. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
  105. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
  106. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
  107. data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
  108. data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
  109. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
  110. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  111. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
  112. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  113. data/lib/pulp_rpm_client/models/repository_version_response.rb +22 -2
  114. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  115. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  116. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +22 -2
  117. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +21 -1
  118. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +24 -4
  119. data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
  120. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +24 -4
  121. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +25 -5
  122. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +24 -4
  123. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +22 -2
  124. data/lib/pulp_rpm_client/models/rpm_package_response.rb +31 -11
  125. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +21 -1
  126. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +21 -1
  127. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +31 -1
  128. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  129. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +22 -2
  130. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
  131. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +41 -31
  132. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
  133. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  134. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +22 -2
  135. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
  136. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +41 -31
  137. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  138. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  139. data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
  140. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +21 -1
  141. data/lib/pulp_rpm_client/version.rb +1 -1
  142. data/spec/api/acs_rpm_api_spec.rb +2 -1
  143. data/spec/api/content_advisories_api_spec.rb +6 -4
  144. data/spec/api/content_distribution_trees_api_spec.rb +5 -4
  145. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
  146. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
  147. data/spec/api/content_modulemds_api_spec.rb +5 -4
  148. data/spec/api/content_packagecategories_api_spec.rb +5 -4
  149. data/spec/api/content_packageenvironments_api_spec.rb +5 -4
  150. data/spec/api/content_packagegroups_api_spec.rb +5 -4
  151. data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
  152. data/spec/api/content_packages_api_spec.rb +6 -4
  153. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
  154. data/spec/api/distributions_rpm_api_spec.rb +2 -1
  155. data/spec/api/publications_rpm_api_spec.rb +6 -5
  156. data/spec/api/remotes_rpm_api_spec.rb +2 -1
  157. data/spec/api/remotes_uln_api_spec.rb +2 -1
  158. data/spec/api/repositories_rpm_api_spec.rb +4 -3
  159. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
  160. data/spec/configuration_spec.rb +3 -3
  161. data/spec/models/artifact_response_spec.rb +12 -0
  162. data/spec/models/repository_version_response_spec.rb +12 -0
  163. data/spec/models/rpm_modulemd_defaults_response_spec.rb +12 -0
  164. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +12 -0
  165. data/spec/models/rpm_modulemd_response_spec.rb +12 -0
  166. data/spec/models/rpm_package_category_response_spec.rb +12 -0
  167. data/spec/models/rpm_package_environment_response_spec.rb +12 -0
  168. data/spec/models/rpm_package_group_response_spec.rb +12 -0
  169. data/spec/models/rpm_package_langpacks_response_spec.rb +12 -0
  170. data/spec/models/rpm_package_response_spec.rb +12 -0
  171. data/spec/models/rpm_package_spec.rb +6 -0
  172. data/spec/models/rpm_repo_metadata_file_response_spec.rb +12 -0
  173. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +12 -0
  174. data/spec/models/rpm_rpm_distribution_response_spec.rb +18 -0
  175. data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
  176. data/spec/models/rpm_rpm_remote_response_spec.rb +12 -6
  177. data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
  178. data/spec/models/rpm_uln_remote_response_spec.rb +12 -6
  179. data/spec/models/rpm_update_record_response_spec.rb +12 -0
  180. data/spec/models/rpm_update_record_spec.rb +6 -0
  181. metadata +94 -94
@@ -13,13 +13,19 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class ArtifactResponse
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
 
26
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
27
+ attr_accessor :pulp_last_updated
28
+
23
29
  # The stored file.
24
30
  attr_accessor :file
25
31
 
@@ -48,7 +54,9 @@ module PulpRpmClient
48
54
  def self.attribute_map
49
55
  {
50
56
  :'pulp_href' => :'pulp_href',
57
+ :'prn' => :'prn',
51
58
  :'pulp_created' => :'pulp_created',
59
+ :'pulp_last_updated' => :'pulp_last_updated',
52
60
  :'file' => :'file',
53
61
  :'size' => :'size',
54
62
  :'md5' => :'md5',
@@ -64,7 +72,9 @@ module PulpRpmClient
64
72
  def self.openapi_types
65
73
  {
66
74
  :'pulp_href' => :'String',
75
+ :'prn' => :'String',
67
76
  :'pulp_created' => :'DateTime',
77
+ :'pulp_last_updated' => :'DateTime',
68
78
  :'file' => :'String',
69
79
  :'size' => :'Integer',
70
80
  :'md5' => :'String',
@@ -107,10 +117,18 @@ module PulpRpmClient
107
117
  self.pulp_href = attributes[:'pulp_href']
108
118
  end
109
119
 
120
+ if attributes.key?(:'prn')
121
+ self.prn = attributes[:'prn']
122
+ end
123
+
110
124
  if attributes.key?(:'pulp_created')
111
125
  self.pulp_created = attributes[:'pulp_created']
112
126
  end
113
127
 
128
+ if attributes.key?(:'pulp_last_updated')
129
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
130
+ end
131
+
114
132
  if attributes.key?(:'file')
115
133
  self.file = attributes[:'file']
116
134
  end
@@ -168,7 +186,9 @@ module PulpRpmClient
168
186
  return true if self.equal?(o)
169
187
  self.class == o.class &&
170
188
  pulp_href == o.pulp_href &&
189
+ prn == o.prn &&
171
190
  pulp_created == o.pulp_created &&
191
+ pulp_last_updated == o.pulp_last_updated &&
172
192
  file == o.file &&
173
193
  size == o.size &&
174
194
  md5 == o.md5 &&
@@ -188,7 +208,7 @@ module PulpRpmClient
188
208
  # Calculates hash code according to all attributes.
189
209
  # @return [Integer] Hash code
190
210
  def hash
191
- [pulp_href, pulp_created, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
211
+ [pulp_href, prn, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
192
212
  end
193
213
 
194
214
  # Builds the object from hash
@@ -32,7 +32,7 @@ module PulpRpmClient
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'config' => :'Object',
35
+ :'config' => :'AnyType',
36
36
  :'dependency_solving' => :'Boolean'
37
37
  }
38
38
  end
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpRpmClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -314,20 +314,20 @@ module PulpRpmClient
314
314
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
315
315
  end
316
316
 
317
- if !@total_timeout.nil? && @total_timeout < 0.0
318
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
317
+ if !@total_timeout.nil? && @total_timeout < 0
318
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
319
319
  end
320
320
 
321
- if !@connect_timeout.nil? && @connect_timeout < 0.0
322
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
321
+ if !@connect_timeout.nil? && @connect_timeout < 0
322
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
323
323
  end
324
324
 
325
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
326
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
325
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
326
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
327
327
  end
328
328
 
329
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
330
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
329
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
330
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
331
331
  end
332
332
 
333
333
  if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
@@ -351,10 +351,10 @@ module PulpRpmClient
351
351
  return false if !@username.nil? && @username.to_s.length < 1
352
352
  return false if !@password.nil? && @password.to_s.length < 1
353
353
  return false if !@download_concurrency.nil? && @download_concurrency < 1
354
- return false if !@total_timeout.nil? && @total_timeout < 0.0
355
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
356
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
357
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
354
+ return false if !@total_timeout.nil? && @total_timeout < 0
355
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
356
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
357
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
358
358
  return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
359
359
  true
360
360
  end
@@ -472,8 +472,8 @@ module PulpRpmClient
472
472
  # Custom attribute writer method with validation
473
473
  # @param [Object] total_timeout Value to be assigned
474
474
  def total_timeout=(total_timeout)
475
- if !total_timeout.nil? && total_timeout < 0.0
476
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
475
+ if !total_timeout.nil? && total_timeout < 0
476
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
477
477
  end
478
478
 
479
479
  @total_timeout = total_timeout
@@ -482,8 +482,8 @@ module PulpRpmClient
482
482
  # Custom attribute writer method with validation
483
483
  # @param [Object] connect_timeout Value to be assigned
484
484
  def connect_timeout=(connect_timeout)
485
- if !connect_timeout.nil? && connect_timeout < 0.0
486
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
485
+ if !connect_timeout.nil? && connect_timeout < 0
486
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
487
487
  end
488
488
 
489
489
  @connect_timeout = connect_timeout
@@ -492,8 +492,8 @@ module PulpRpmClient
492
492
  # Custom attribute writer method with validation
493
493
  # @param [Object] sock_connect_timeout Value to be assigned
494
494
  def sock_connect_timeout=(sock_connect_timeout)
495
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
496
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
495
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
496
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
497
497
  end
498
498
 
499
499
  @sock_connect_timeout = sock_connect_timeout
@@ -502,8 +502,8 @@ module PulpRpmClient
502
502
  # Custom attribute writer method with validation
503
503
  # @param [Object] sock_read_timeout Value to be assigned
504
504
  def sock_read_timeout=(sock_read_timeout)
505
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
506
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
505
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
506
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
507
507
  end
508
508
 
509
509
  @sock_read_timeout = sock_read_timeout
@@ -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