pulp_rpm_client 3.0.0rc1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/RepositoriesRpmVersionsApi.md +4 -4
  4. data/docs/RpmPackageCategory.md +5 -1
  5. data/docs/RpmPackageEnvironment.md +5 -1
  6. data/docs/RpmPackageGroup.md +5 -1
  7. data/docs/RpmPackageLangpacks.md +5 -1
  8. data/docs/RpmRpmPublication.md +0 -2
  9. data/lib/pulp_rpm_client.rb +1 -1
  10. data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
  11. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
  12. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +1 -1
  13. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +1 -1
  14. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
  15. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
  16. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
  17. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
  18. data/lib/pulp_rpm_client/api/content_packages_api.rb +1 -1
  19. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
  20. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
  21. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +1 -1
  22. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
  23. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +1 -1
  24. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -10
  25. data/lib/pulp_rpm_client/api_client.rb +1 -1
  26. data/lib/pulp_rpm_client/api_error.rb +1 -1
  27. data/lib/pulp_rpm_client/configuration.rb +2 -2
  28. data/lib/pulp_rpm_client/models/addon.rb +1 -1
  29. data/lib/pulp_rpm_client/models/artifact.rb +1 -1
  30. data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
  31. data/lib/pulp_rpm_client/models/checksum.rb +1 -1
  32. data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
  33. data/lib/pulp_rpm_client/models/image.rb +1 -1
  34. data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
  35. data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
  36. data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
  37. data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
  38. data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
  39. data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
  40. data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
  41. data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
  42. data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
  43. data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
  44. data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
  45. data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
  46. data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
  47. data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
  48. data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
  49. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  50. data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
  51. data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
  52. data/lib/pulp_rpm_client/models/rpm_distribution_tree.rb +1 -1
  53. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
  54. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  55. data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
  56. data/lib/pulp_rpm_client/models/rpm_package_category.rb +21 -40
  57. data/lib/pulp_rpm_client/models/rpm_package_environment.rb +21 -40
  58. data/lib/pulp_rpm_client/models/rpm_package_group.rb +21 -40
  59. data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +21 -2
  60. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb +1 -1
  61. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
  62. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -12
  63. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
  64. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  65. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  66. data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
  67. data/lib/pulp_rpm_client/models/variant.rb +1 -1
  68. data/lib/pulp_rpm_client/version.rb +2 -2
  69. data/pulp_rpm_client.gemspec +1 -1
  70. data/spec/api/content_advisories_api_spec.rb +1 -1
  71. data/spec/api/content_distribution_trees_api_spec.rb +1 -1
  72. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
  73. data/spec/api/content_modulemds_api_spec.rb +1 -1
  74. data/spec/api/content_packagecategories_api_spec.rb +1 -1
  75. data/spec/api/content_packageenvironments_api_spec.rb +1 -1
  76. data/spec/api/content_packagegroups_api_spec.rb +1 -1
  77. data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
  78. data/spec/api/content_packages_api_spec.rb +1 -1
  79. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
  80. data/spec/api/distributions_rpm_api_spec.rb +1 -1
  81. data/spec/api/publications_rpm_api_spec.rb +1 -1
  82. data/spec/api/remotes_rpm_api_spec.rb +1 -1
  83. data/spec/api/repositories_rpm_api_spec.rb +1 -1
  84. data/spec/api/repositories_rpm_versions_api_spec.rb +2 -2
  85. data/spec/api_client_spec.rb +1 -1
  86. data/spec/configuration_spec.rb +1 -1
  87. data/spec/models/addon_spec.rb +1 -1
  88. data/spec/models/artifact_spec.rb +1 -1
  89. data/spec/models/async_operation_response_spec.rb +1 -1
  90. data/spec/models/checksum_spec.rb +1 -1
  91. data/spec/models/content_summary_spec.rb +1 -1
  92. data/spec/models/image_spec.rb +1 -1
  93. data/spec/models/inline_response20010_spec.rb +1 -1
  94. data/spec/models/inline_response20011_spec.rb +1 -1
  95. data/spec/models/inline_response20012_spec.rb +1 -1
  96. data/spec/models/inline_response20013_spec.rb +1 -1
  97. data/spec/models/inline_response20014_spec.rb +1 -1
  98. data/spec/models/inline_response2001_spec.rb +1 -1
  99. data/spec/models/inline_response2002_spec.rb +1 -1
  100. data/spec/models/inline_response2003_spec.rb +1 -1
  101. data/spec/models/inline_response2004_spec.rb +1 -1
  102. data/spec/models/inline_response2005_spec.rb +1 -1
  103. data/spec/models/inline_response2006_spec.rb +1 -1
  104. data/spec/models/inline_response2007_spec.rb +1 -1
  105. data/spec/models/inline_response2008_spec.rb +1 -1
  106. data/spec/models/inline_response2009_spec.rb +1 -1
  107. data/spec/models/inline_response200_spec.rb +1 -1
  108. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  109. data/spec/models/repository_sync_url_spec.rb +1 -1
  110. data/spec/models/repository_version_spec.rb +1 -1
  111. data/spec/models/rpm_distribution_tree_spec.rb +1 -1
  112. data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
  113. data/spec/models/rpm_modulemd_spec.rb +1 -1
  114. data/spec/models/rpm_package_category_spec.rb +13 -1
  115. data/spec/models/rpm_package_environment_spec.rb +13 -1
  116. data/spec/models/rpm_package_group_spec.rb +13 -1
  117. data/spec/models/rpm_package_langpacks_spec.rb +13 -1
  118. data/spec/models/rpm_package_spec.rb +1 -1
  119. data/spec/models/rpm_repo_metadata_file_spec.rb +1 -1
  120. data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
  121. data/spec/models/rpm_rpm_publication_spec.rb +1 -7
  122. data/spec/models/rpm_rpm_remote_spec.rb +1 -1
  123. data/spec/models/rpm_rpm_repository_spec.rb +1 -1
  124. data/spec/models/rpm_update_collection_spec.rb +1 -1
  125. data/spec/models/rpm_update_record_spec.rb +1 -1
  126. data/spec/models/variant_spec.rb +1 -1
  127. data/spec/spec_helper.rb +1 -1
  128. metadata +4 -4
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,6 +14,11 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class RpmPackageCategory
17
+ attr_accessor :pulp_href
18
+
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
21
+
17
22
  # Category id.
18
23
  attr_accessor :id
19
24
 
@@ -44,6 +49,8 @@ module PulpRpmClient
44
49
  # Attribute mapping from ruby-style variable name to JSON key.
45
50
  def self.attribute_map
46
51
  {
52
+ :'pulp_href' => :'pulp_href',
53
+ :'pulp_created' => :'pulp_created',
47
54
  :'id' => :'id',
48
55
  :'name' => :'name',
49
56
  :'description' => :'description',
@@ -59,6 +66,8 @@ module PulpRpmClient
59
66
  # Attribute type mapping.
60
67
  def self.openapi_types
61
68
  {
69
+ :'pulp_href' => :'String',
70
+ :'pulp_created' => :'DateTime',
62
71
  :'id' => :'String',
63
72
  :'name' => :'String',
64
73
  :'description' => :'String',
@@ -92,6 +101,14 @@ module PulpRpmClient
92
101
  h[k.to_sym] = v
93
102
  }
94
103
 
104
+ if attributes.key?(:'pulp_href')
105
+ self.pulp_href = attributes[:'pulp_href']
106
+ end
107
+
108
+ if attributes.key?(:'pulp_created')
109
+ self.pulp_created = attributes[:'pulp_created']
110
+ end
111
+
95
112
  if attributes.key?(:'id')
96
113
  self.id = attributes[:'id']
97
114
  end
@@ -147,18 +164,10 @@ module PulpRpmClient
147
164
  invalid_properties.push('invalid value for "name", name cannot be nil.')
148
165
  end
149
166
 
150
- if @name.to_s.length < 1
151
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
152
- end
153
-
154
167
  if @description.nil?
155
168
  invalid_properties.push('invalid value for "description", description cannot be nil.')
156
169
  end
157
170
 
158
- if @description.to_s.length < 1
159
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
160
- end
161
-
162
171
  if @display_order.nil?
163
172
  invalid_properties.push('invalid value for "display_order", display_order cannot be nil.')
164
173
  end
@@ -192,9 +201,7 @@ module PulpRpmClient
192
201
  return false if @id.nil?
193
202
  return false if @id.to_s.length < 1
194
203
  return false if @name.nil?
195
- return false if @name.to_s.length < 1
196
204
  return false if @description.nil?
197
- return false if @description.to_s.length < 1
198
205
  return false if @display_order.nil?
199
206
  return false if @group_ids.nil?
200
207
  return false if @desc_by_lang.nil?
@@ -218,34 +225,6 @@ module PulpRpmClient
218
225
  @id = id
219
226
  end
220
227
 
221
- # Custom attribute writer method with validation
222
- # @param [Object] name Value to be assigned
223
- def name=(name)
224
- if name.nil?
225
- fail ArgumentError, 'name cannot be nil'
226
- end
227
-
228
- if name.to_s.length < 1
229
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
230
- end
231
-
232
- @name = name
233
- end
234
-
235
- # Custom attribute writer method with validation
236
- # @param [Object] description Value to be assigned
237
- def description=(description)
238
- if description.nil?
239
- fail ArgumentError, 'description cannot be nil'
240
- end
241
-
242
- if description.to_s.length < 1
243
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
244
- end
245
-
246
- @description = description
247
- end
248
-
249
228
  # Custom attribute writer method with validation
250
229
  # @param [Object] digest Value to be assigned
251
230
  def digest=(digest)
@@ -265,6 +244,8 @@ module PulpRpmClient
265
244
  def ==(o)
266
245
  return true if self.equal?(o)
267
246
  self.class == o.class &&
247
+ pulp_href == o.pulp_href &&
248
+ pulp_created == o.pulp_created &&
268
249
  id == o.id &&
269
250
  name == o.name &&
270
251
  description == o.description &&
@@ -285,7 +266,7 @@ module PulpRpmClient
285
266
  # Calculates hash code according to all attributes.
286
267
  # @return [Integer] Hash code
287
268
  def hash
288
- [id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest, packagegroups].hash
269
+ [pulp_href, pulp_created, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest, packagegroups].hash
289
270
  end
290
271
 
291
272
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,6 +14,11 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class RpmPackageEnvironment
17
+ attr_accessor :pulp_href
18
+
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
21
+
17
22
  # Environment id.
18
23
  attr_accessor :id
19
24
 
@@ -50,6 +55,8 @@ module PulpRpmClient
50
55
  # Attribute mapping from ruby-style variable name to JSON key.
51
56
  def self.attribute_map
52
57
  {
58
+ :'pulp_href' => :'pulp_href',
59
+ :'pulp_created' => :'pulp_created',
53
60
  :'id' => :'id',
54
61
  :'name' => :'name',
55
62
  :'description' => :'description',
@@ -67,6 +74,8 @@ module PulpRpmClient
67
74
  # Attribute type mapping.
68
75
  def self.openapi_types
69
76
  {
77
+ :'pulp_href' => :'String',
78
+ :'pulp_created' => :'DateTime',
70
79
  :'id' => :'String',
71
80
  :'name' => :'String',
72
81
  :'description' => :'String',
@@ -102,6 +111,14 @@ module PulpRpmClient
102
111
  h[k.to_sym] = v
103
112
  }
104
113
 
114
+ if attributes.key?(:'pulp_href')
115
+ self.pulp_href = attributes[:'pulp_href']
116
+ end
117
+
118
+ if attributes.key?(:'pulp_created')
119
+ self.pulp_created = attributes[:'pulp_created']
120
+ end
121
+
105
122
  if attributes.key?(:'id')
106
123
  self.id = attributes[:'id']
107
124
  end
@@ -167,18 +184,10 @@ module PulpRpmClient
167
184
  invalid_properties.push('invalid value for "name", name cannot be nil.')
168
185
  end
169
186
 
170
- if @name.to_s.length < 1
171
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
172
- end
173
-
174
187
  if @description.nil?
175
188
  invalid_properties.push('invalid value for "description", description cannot be nil.')
176
189
  end
177
190
 
178
- if @description.to_s.length < 1
179
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
180
- end
181
-
182
191
  if @display_order.nil?
183
192
  invalid_properties.push('invalid value for "display_order", display_order cannot be nil.')
184
193
  end
@@ -216,9 +225,7 @@ module PulpRpmClient
216
225
  return false if @id.nil?
217
226
  return false if @id.to_s.length < 1
218
227
  return false if @name.nil?
219
- return false if @name.to_s.length < 1
220
228
  return false if @description.nil?
221
- return false if @description.to_s.length < 1
222
229
  return false if @display_order.nil?
223
230
  return false if @group_ids.nil?
224
231
  return false if @option_ids.nil?
@@ -243,34 +250,6 @@ module PulpRpmClient
243
250
  @id = id
244
251
  end
245
252
 
246
- # Custom attribute writer method with validation
247
- # @param [Object] name Value to be assigned
248
- def name=(name)
249
- if name.nil?
250
- fail ArgumentError, 'name cannot be nil'
251
- end
252
-
253
- if name.to_s.length < 1
254
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
255
- end
256
-
257
- @name = name
258
- end
259
-
260
- # Custom attribute writer method with validation
261
- # @param [Object] description Value to be assigned
262
- def description=(description)
263
- if description.nil?
264
- fail ArgumentError, 'description cannot be nil'
265
- end
266
-
267
- if description.to_s.length < 1
268
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
269
- end
270
-
271
- @description = description
272
- end
273
-
274
253
  # Custom attribute writer method with validation
275
254
  # @param [Object] digest Value to be assigned
276
255
  def digest=(digest)
@@ -290,6 +269,8 @@ module PulpRpmClient
290
269
  def ==(o)
291
270
  return true if self.equal?(o)
292
271
  self.class == o.class &&
272
+ pulp_href == o.pulp_href &&
273
+ pulp_created == o.pulp_created &&
293
274
  id == o.id &&
294
275
  name == o.name &&
295
276
  description == o.description &&
@@ -312,7 +293,7 @@ module PulpRpmClient
312
293
  # Calculates hash code according to all attributes.
313
294
  # @return [Integer] Hash code
314
295
  def hash
315
- [id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest, packagegroups, optionalgroups].hash
296
+ [pulp_href, pulp_created, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest, packagegroups, optionalgroups].hash
316
297
  end
317
298
 
318
299
  # Builds the object from hash