pulp_rpm_client 3.25.4 → 3.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ArtifactResponse.md +2 -0
  4. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  5. data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
  6. data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
  7. data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
  8. data/docs/PaginatedrpmModulemdResponseList.md +2 -2
  9. data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
  10. data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
  11. data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
  12. data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
  13. data/docs/PaginatedrpmPackageResponseList.md +2 -2
  14. data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
  15. data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
  16. data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
  17. data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
  18. data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
  19. data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
  20. data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
  21. data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
  22. data/docs/RepositoryVersionResponse.md +2 -0
  23. data/docs/RpmModulemdDefaultsResponse.md +2 -0
  24. data/docs/RpmModulemdObsoleteResponse.md +2 -0
  25. data/docs/RpmModulemdResponse.md +2 -0
  26. data/docs/RpmPackageCategoryResponse.md +2 -0
  27. data/docs/RpmPackageEnvironmentResponse.md +2 -0
  28. data/docs/RpmPackageGroupResponse.md +2 -0
  29. data/docs/RpmPackageLangpacksResponse.md +2 -0
  30. data/docs/RpmPackageResponse.md +2 -0
  31. data/docs/RpmRepoMetadataFileResponse.md +2 -0
  32. data/docs/RpmRpmAlternateContentSourceResponse.md +2 -0
  33. data/docs/RpmRpmDistributionResponse.md +2 -0
  34. data/docs/RpmRpmPublicationResponse.md +2 -0
  35. data/docs/RpmRpmRemoteResponse.md +2 -2
  36. data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
  37. data/docs/RpmRpmRepositoryResponse.md +2 -0
  38. data/docs/RpmUlnRemoteResponse.md +2 -2
  39. data/docs/RpmUpdateRecordResponse.md +2 -0
  40. data/lib/pulp_rpm_client/models/artifact_response.rb +11 -1
  41. data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
  42. data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
  43. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
  44. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
  45. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
  46. data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
  47. data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
  48. data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
  49. data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
  50. data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
  51. data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
  52. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
  53. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
  54. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
  55. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
  56. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
  57. data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
  58. data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
  59. data/lib/pulp_rpm_client/models/repository_version_response.rb +11 -1
  60. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +11 -1
  61. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
  62. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +11 -1
  63. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +11 -1
  64. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +11 -1
  65. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +11 -1
  66. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +11 -1
  67. data/lib/pulp_rpm_client/models/rpm_package_response.rb +11 -1
  68. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
  69. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
  70. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +11 -1
  71. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +11 -1
  72. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +11 -11
  73. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
  74. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +11 -1
  75. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +11 -11
  76. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
  77. data/lib/pulp_rpm_client/version.rb +1 -1
  78. data/spec/models/artifact_response_spec.rb +6 -0
  79. data/spec/models/repository_version_response_spec.rb +6 -0
  80. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  81. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  82. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  83. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  84. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  85. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  86. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  87. data/spec/models/rpm_package_response_spec.rb +6 -0
  88. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  89. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
  90. data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
  91. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  92. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -6
  93. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  94. data/spec/models/rpm_uln_remote_response_spec.rb +6 -6
  95. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  96. metadata +1 -1
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | 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. | [optional] [readonly]
9
10
  **id** | **String** | Update id (short update name, e.g. RHEA-2013:1777) | [optional] [readonly]
10
11
  **updated_date** | **String** | Date when the update was updated (e.g. '2013-12-02 00:00:00') | [optional] [readonly]
11
12
  **description** | **String** | Update description | [optional] [readonly]
@@ -32,6 +33,7 @@ require 'PulpRpmClient'
32
33
 
33
34
  instance = PulpRpmClient::RpmUpdateRecordResponse.new(pulp_href: null,
34
35
  pulp_created: null,
36
+ pulp_last_updated: null,
35
37
  id: null,
36
38
  updated_date: null,
37
39
  description: null,
@@ -20,6 +20,9 @@ module PulpRpmClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  # The stored file.
24
27
  attr_accessor :file
25
28
 
@@ -49,6 +52,7 @@ module PulpRpmClient
49
52
  {
50
53
  :'pulp_href' => :'pulp_href',
51
54
  :'pulp_created' => :'pulp_created',
55
+ :'pulp_last_updated' => :'pulp_last_updated',
52
56
  :'file' => :'file',
53
57
  :'size' => :'size',
54
58
  :'md5' => :'md5',
@@ -65,6 +69,7 @@ module PulpRpmClient
65
69
  {
66
70
  :'pulp_href' => :'String',
67
71
  :'pulp_created' => :'DateTime',
72
+ :'pulp_last_updated' => :'DateTime',
68
73
  :'file' => :'String',
69
74
  :'size' => :'Integer',
70
75
  :'md5' => :'String',
@@ -111,6 +116,10 @@ module PulpRpmClient
111
116
  self.pulp_created = attributes[:'pulp_created']
112
117
  end
113
118
 
119
+ if attributes.key?(:'pulp_last_updated')
120
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
121
+ end
122
+
114
123
  if attributes.key?(:'file')
115
124
  self.file = attributes[:'file']
116
125
  end
@@ -169,6 +178,7 @@ module PulpRpmClient
169
178
  self.class == o.class &&
170
179
  pulp_href == o.pulp_href &&
171
180
  pulp_created == o.pulp_created &&
181
+ pulp_last_updated == o.pulp_last_updated &&
172
182
  file == o.file &&
173
183
  size == o.size &&
174
184
  md5 == o.md5 &&
@@ -188,7 +198,7 @@ module PulpRpmClient
188
198
  # Calculates hash code according to all attributes.
189
199
  # @return [Integer] Hash code
190
200
  def hash
191
- [pulp_href, pulp_created, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
201
+ [pulp_href, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
192
202
  end
193
203
 
194
204
  # Builds the object from hash
@@ -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
 
@@ -20,6 +20,9 @@ module PulpRpmClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  attr_accessor :number
24
27
 
25
28
  attr_accessor :repository
@@ -35,6 +38,7 @@ module PulpRpmClient
35
38
  {
36
39
  :'pulp_href' => :'pulp_href',
37
40
  :'pulp_created' => :'pulp_created',
41
+ :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'number' => :'number',
39
43
  :'repository' => :'repository',
40
44
  :'base_version' => :'base_version',
@@ -47,6 +51,7 @@ module PulpRpmClient
47
51
  {
48
52
  :'pulp_href' => :'String',
49
53
  :'pulp_created' => :'DateTime',
54
+ :'pulp_last_updated' => :'DateTime',
50
55
  :'number' => :'Integer',
51
56
  :'repository' => :'String',
52
57
  :'base_version' => :'String',
@@ -83,6 +88,10 @@ module PulpRpmClient
83
88
  self.pulp_created = attributes[:'pulp_created']
84
89
  end
85
90
 
91
+ if attributes.key?(:'pulp_last_updated')
92
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
93
+ end
94
+
86
95
  if attributes.key?(:'number')
87
96
  self.number = attributes[:'number']
88
97
  end
@@ -120,6 +129,7 @@ module PulpRpmClient
120
129
  self.class == o.class &&
121
130
  pulp_href == o.pulp_href &&
122
131
  pulp_created == o.pulp_created &&
132
+ pulp_last_updated == o.pulp_last_updated &&
123
133
  number == o.number &&
124
134
  repository == o.repository &&
125
135
  base_version == o.base_version &&
@@ -135,7 +145,7 @@ module PulpRpmClient
135
145
  # Calculates hash code according to all attributes.
136
146
  # @return [Integer] Hash code
137
147
  def hash
138
- [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
148
+ [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
139
149
  end
140
150
 
141
151
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpRpmClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  # Modulemd name.
24
27
  attr_accessor :_module
25
28
 
@@ -34,6 +37,7 @@ module PulpRpmClient
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
36
39
  :'pulp_created' => :'pulp_created',
40
+ :'pulp_last_updated' => :'pulp_last_updated',
37
41
  :'_module' => :'module',
38
42
  :'stream' => :'stream',
39
43
  :'profiles' => :'profiles'
@@ -45,6 +49,7 @@ module PulpRpmClient
45
49
  {
46
50
  :'pulp_href' => :'String',
47
51
  :'pulp_created' => :'DateTime',
52
+ :'pulp_last_updated' => :'DateTime',
48
53
  :'_module' => :'String',
49
54
  :'stream' => :'String',
50
55
  :'profiles' => :'Object'
@@ -80,6 +85,10 @@ module PulpRpmClient
80
85
  self.pulp_created = attributes[:'pulp_created']
81
86
  end
82
87
 
88
+ if attributes.key?(:'pulp_last_updated')
89
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
90
+ end
91
+
83
92
  if attributes.key?(:'_module')
84
93
  self._module = attributes[:'_module']
85
94
  end
@@ -128,6 +137,7 @@ module PulpRpmClient
128
137
  self.class == o.class &&
129
138
  pulp_href == o.pulp_href &&
130
139
  pulp_created == o.pulp_created &&
140
+ pulp_last_updated == o.pulp_last_updated &&
131
141
  _module == o._module &&
132
142
  stream == o.stream &&
133
143
  profiles == o.profiles
@@ -142,7 +152,7 @@ module PulpRpmClient
142
152
  # Calculates hash code according to all attributes.
143
153
  # @return [Integer] Hash code
144
154
  def hash
145
- [pulp_href, pulp_created, _module, stream, profiles].hash
155
+ [pulp_href, pulp_created, pulp_last_updated, _module, stream, profiles].hash
146
156
  end
147
157
 
148
158
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpRpmClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  # Obsolete modified time.
24
27
  attr_accessor :modified
25
28
 
@@ -52,6 +55,7 @@ module PulpRpmClient
52
55
  {
53
56
  :'pulp_href' => :'pulp_href',
54
57
  :'pulp_created' => :'pulp_created',
58
+ :'pulp_last_updated' => :'pulp_last_updated',
55
59
  :'modified' => :'modified',
56
60
  :'module_name' => :'module_name',
57
61
  :'module_stream' => :'module_stream',
@@ -69,6 +73,7 @@ module PulpRpmClient
69
73
  {
70
74
  :'pulp_href' => :'String',
71
75
  :'pulp_created' => :'DateTime',
76
+ :'pulp_last_updated' => :'DateTime',
72
77
  :'modified' => :'String',
73
78
  :'module_name' => :'String',
74
79
  :'module_stream' => :'String',
@@ -115,6 +120,10 @@ module PulpRpmClient
115
120
  self.pulp_created = attributes[:'pulp_created']
116
121
  end
117
122
 
123
+ if attributes.key?(:'pulp_last_updated')
124
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
125
+ end
126
+
118
127
  if attributes.key?(:'modified')
119
128
  self.modified = attributes[:'modified']
120
129
  end
@@ -192,6 +201,7 @@ module PulpRpmClient
192
201
  self.class == o.class &&
193
202
  pulp_href == o.pulp_href &&
194
203
  pulp_created == o.pulp_created &&
204
+ pulp_last_updated == o.pulp_last_updated &&
195
205
  modified == o.modified &&
196
206
  module_name == o.module_name &&
197
207
  module_stream == o.module_stream &&
@@ -212,7 +222,7 @@ module PulpRpmClient
212
222
  # Calculates hash code according to all attributes.
213
223
  # @return [Integer] Hash code
214
224
  def hash
215
- [pulp_href, pulp_created, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
225
+ [pulp_href, pulp_created, pulp_last_updated, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
216
226
  end
217
227
 
218
228
  # Builds the object from hash