pulp_ostree_client 2.3.0 → 2.4.0

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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/OstreeOstreeCommitResponse.md +2 -0
  4. data/docs/OstreeOstreeConfigResponse.md +2 -0
  5. data/docs/OstreeOstreeContentResponse.md +2 -0
  6. data/docs/OstreeOstreeDistributionResponse.md +2 -0
  7. data/docs/OstreeOstreeObjectResponse.md +2 -0
  8. data/docs/OstreeOstreeRefResponse.md +2 -0
  9. data/docs/OstreeOstreeRemoteResponse.md +2 -2
  10. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +2 -2
  11. data/docs/OstreeOstreeRepositoryResponse.md +2 -0
  12. data/docs/OstreeOstreeSummaryResponse.md +2 -0
  13. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  14. data/docs/PaginatedostreeOstreeCommitResponseList.md +2 -2
  15. data/docs/PaginatedostreeOstreeConfigResponseList.md +2 -2
  16. data/docs/PaginatedostreeOstreeContentResponseList.md +2 -2
  17. data/docs/PaginatedostreeOstreeDistributionResponseList.md +2 -2
  18. data/docs/PaginatedostreeOstreeObjectResponseList.md +2 -2
  19. data/docs/PaginatedostreeOstreeRefResponseList.md +2 -2
  20. data/docs/PaginatedostreeOstreeRemoteResponseList.md +2 -2
  21. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +2 -2
  22. data/docs/PaginatedostreeOstreeSummaryResponseList.md +2 -2
  23. data/docs/RepositoryVersionResponse.md +2 -0
  24. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +11 -1
  25. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +11 -1
  26. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +11 -1
  27. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +11 -1
  28. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +11 -1
  29. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +11 -1
  30. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +11 -11
  31. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +10 -0
  32. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +11 -1
  33. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +11 -1
  34. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +10 -0
  35. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +10 -0
  36. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +10 -0
  37. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +10 -0
  38. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +10 -0
  39. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +10 -0
  40. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +10 -0
  41. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +10 -0
  42. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +10 -0
  43. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +10 -0
  44. data/lib/pulp_ostree_client/models/repository_version_response.rb +11 -1
  45. data/lib/pulp_ostree_client/version.rb +1 -1
  46. data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
  47. data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
  48. data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
  49. data/spec/models/ostree_ostree_distribution_response_spec.rb +6 -0
  50. data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
  51. data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
  52. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -6
  53. data/spec/models/ostree_ostree_repository_response_spec.rb +6 -0
  54. data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
  55. data/spec/models/repository_version_response_spec.rb +6 -0
  56. metadata +41 -41
@@ -20,6 +20,9 @@ module PulpOstreeClient
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
  # Artifact file representing the physical content
24
27
  attr_accessor :artifact
25
28
 
@@ -37,6 +40,7 @@ module PulpOstreeClient
37
40
  {
38
41
  :'pulp_href' => :'pulp_href',
39
42
  :'pulp_created' => :'pulp_created',
43
+ :'pulp_last_updated' => :'pulp_last_updated',
40
44
  :'artifact' => :'artifact',
41
45
  :'relative_path' => :'relative_path',
42
46
  :'commit' => :'commit',
@@ -50,6 +54,7 @@ module PulpOstreeClient
50
54
  {
51
55
  :'pulp_href' => :'String',
52
56
  :'pulp_created' => :'DateTime',
57
+ :'pulp_last_updated' => :'DateTime',
53
58
  :'artifact' => :'String',
54
59
  :'relative_path' => :'String',
55
60
  :'commit' => :'String',
@@ -87,6 +92,10 @@ module PulpOstreeClient
87
92
  self.pulp_created = attributes[:'pulp_created']
88
93
  end
89
94
 
95
+ if attributes.key?(:'pulp_last_updated')
96
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
97
+ end
98
+
90
99
  if attributes.key?(:'artifact')
91
100
  self.artifact = attributes[:'artifact']
92
101
  end
@@ -148,6 +157,7 @@ module PulpOstreeClient
148
157
  self.class == o.class &&
149
158
  pulp_href == o.pulp_href &&
150
159
  pulp_created == o.pulp_created &&
160
+ pulp_last_updated == o.pulp_last_updated &&
151
161
  artifact == o.artifact &&
152
162
  relative_path == o.relative_path &&
153
163
  commit == o.commit &&
@@ -164,7 +174,7 @@ module PulpOstreeClient
164
174
  # Calculates hash code according to all attributes.
165
175
  # @return [Integer] Hash code
166
176
  def hash
167
- [pulp_href, pulp_created, artifact, relative_path, commit, checksum, name].hash
177
+ [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, commit, checksum, name].hash
168
178
  end
169
179
 
170
180
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpOstreeClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # Timestamp of the most recent update of the remote.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  # A unique name for this remote.
24
27
  attr_accessor :name
25
28
 
@@ -40,9 +43,6 @@ module PulpOstreeClient
40
43
 
41
44
  attr_accessor :pulp_labels
42
45
 
43
- # Timestamp of the most recent update of the remote.
44
- attr_accessor :pulp_last_updated
45
-
46
46
  # Total number of simultaneous connections. If not set then the default value will be used.
47
47
  attr_accessor :download_concurrency
48
48
 
@@ -87,6 +87,7 @@ module PulpOstreeClient
87
87
  {
88
88
  :'pulp_href' => :'pulp_href',
89
89
  :'pulp_created' => :'pulp_created',
90
+ :'pulp_last_updated' => :'pulp_last_updated',
90
91
  :'name' => :'name',
91
92
  :'url' => :'url',
92
93
  :'ca_cert' => :'ca_cert',
@@ -94,7 +95,6 @@ module PulpOstreeClient
94
95
  :'tls_validation' => :'tls_validation',
95
96
  :'proxy_url' => :'proxy_url',
96
97
  :'pulp_labels' => :'pulp_labels',
97
- :'pulp_last_updated' => :'pulp_last_updated',
98
98
  :'download_concurrency' => :'download_concurrency',
99
99
  :'max_retries' => :'max_retries',
100
100
  :'policy' => :'policy',
@@ -116,6 +116,7 @@ module PulpOstreeClient
116
116
  {
117
117
  :'pulp_href' => :'String',
118
118
  :'pulp_created' => :'DateTime',
119
+ :'pulp_last_updated' => :'DateTime',
119
120
  :'name' => :'String',
120
121
  :'url' => :'String',
121
122
  :'ca_cert' => :'String',
@@ -123,7 +124,6 @@ module PulpOstreeClient
123
124
  :'tls_validation' => :'Boolean',
124
125
  :'proxy_url' => :'String',
125
126
  :'pulp_labels' => :'Hash<String, String>',
126
- :'pulp_last_updated' => :'DateTime',
127
127
  :'download_concurrency' => :'Integer',
128
128
  :'max_retries' => :'Integer',
129
129
  :'policy' => :'PolicyEnum',
@@ -181,6 +181,10 @@ module PulpOstreeClient
181
181
  self.pulp_created = attributes[:'pulp_created']
182
182
  end
183
183
 
184
+ if attributes.key?(:'pulp_last_updated')
185
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
186
+ end
187
+
184
188
  if attributes.key?(:'name')
185
189
  self.name = attributes[:'name']
186
190
  end
@@ -211,10 +215,6 @@ module PulpOstreeClient
211
215
  end
212
216
  end
213
217
 
214
- if attributes.key?(:'pulp_last_updated')
215
- self.pulp_last_updated = attributes[:'pulp_last_updated']
216
- end
217
-
218
218
  if attributes.key?(:'download_concurrency')
219
219
  self.download_concurrency = attributes[:'download_concurrency']
220
220
  end
@@ -398,6 +398,7 @@ module PulpOstreeClient
398
398
  self.class == o.class &&
399
399
  pulp_href == o.pulp_href &&
400
400
  pulp_created == o.pulp_created &&
401
+ pulp_last_updated == o.pulp_last_updated &&
401
402
  name == o.name &&
402
403
  url == o.url &&
403
404
  ca_cert == o.ca_cert &&
@@ -405,7 +406,6 @@ module PulpOstreeClient
405
406
  tls_validation == o.tls_validation &&
406
407
  proxy_url == o.proxy_url &&
407
408
  pulp_labels == o.pulp_labels &&
408
- pulp_last_updated == o.pulp_last_updated &&
409
409
  download_concurrency == o.download_concurrency &&
410
410
  max_retries == o.max_retries &&
411
411
  policy == o.policy &&
@@ -430,7 +430,7 @@ module PulpOstreeClient
430
430
  # Calculates hash code according to all attributes.
431
431
  # @return [Integer] Hash code
432
432
  def hash
433
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, depth, include_refs, exclude_refs].hash
433
+ [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, depth, include_refs, exclude_refs].hash
434
434
  end
435
435
 
436
436
  # Builds the object from hash
@@ -68,12 +68,22 @@ module PulpOstreeClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
+ if @name.nil?
72
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
73
+ end
74
+
75
+ if @is_set.nil?
76
+ invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
+ end
78
+
71
79
  invalid_properties
72
80
  end
73
81
 
74
82
  # Check to see if the all the properties in the model are valid
75
83
  # @return true if the model is valid
76
84
  def valid?
85
+ return false if @name.nil?
86
+ return false if @is_set.nil?
77
87
  true
78
88
  end
79
89
 
@@ -20,6 +20,9 @@ module PulpOstreeClient
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 :versions_href
24
27
 
25
28
  attr_accessor :pulp_labels
@@ -45,6 +48,7 @@ module PulpOstreeClient
45
48
  {
46
49
  :'pulp_href' => :'pulp_href',
47
50
  :'pulp_created' => :'pulp_created',
51
+ :'pulp_last_updated' => :'pulp_last_updated',
48
52
  :'versions_href' => :'versions_href',
49
53
  :'pulp_labels' => :'pulp_labels',
50
54
  :'latest_version_href' => :'latest_version_href',
@@ -61,6 +65,7 @@ module PulpOstreeClient
61
65
  {
62
66
  :'pulp_href' => :'String',
63
67
  :'pulp_created' => :'DateTime',
68
+ :'pulp_last_updated' => :'DateTime',
64
69
  :'versions_href' => :'String',
65
70
  :'pulp_labels' => :'Hash<String, String>',
66
71
  :'latest_version_href' => :'String',
@@ -104,6 +109,10 @@ module PulpOstreeClient
104
109
  self.pulp_created = attributes[:'pulp_created']
105
110
  end
106
111
 
112
+ if attributes.key?(:'pulp_last_updated')
113
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
114
+ end
115
+
107
116
  if attributes.key?(:'versions_href')
108
117
  self.versions_href = attributes[:'versions_href']
109
118
  end
@@ -181,6 +190,7 @@ module PulpOstreeClient
181
190
  self.class == o.class &&
182
191
  pulp_href == o.pulp_href &&
183
192
  pulp_created == o.pulp_created &&
193
+ pulp_last_updated == o.pulp_last_updated &&
184
194
  versions_href == o.versions_href &&
185
195
  pulp_labels == o.pulp_labels &&
186
196
  latest_version_href == o.latest_version_href &&
@@ -200,7 +210,7 @@ module PulpOstreeClient
200
210
  # Calculates hash code according to all attributes.
201
211
  # @return [Integer] Hash code
202
212
  def hash
203
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, compute_delta].hash
213
+ [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, compute_delta].hash
204
214
  end
205
215
 
206
216
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpOstreeClient
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
  # Artifact file representing the physical content
24
27
  attr_accessor :artifact
25
28
 
@@ -31,6 +34,7 @@ module PulpOstreeClient
31
34
  {
32
35
  :'pulp_href' => :'pulp_href',
33
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_last_updated' => :'pulp_last_updated',
34
38
  :'artifact' => :'artifact',
35
39
  :'relative_path' => :'relative_path'
36
40
  }
@@ -41,6 +45,7 @@ module PulpOstreeClient
41
45
  {
42
46
  :'pulp_href' => :'String',
43
47
  :'pulp_created' => :'DateTime',
48
+ :'pulp_last_updated' => :'DateTime',
44
49
  :'artifact' => :'String',
45
50
  :'relative_path' => :'String'
46
51
  }
@@ -75,6 +80,10 @@ module PulpOstreeClient
75
80
  self.pulp_created = attributes[:'pulp_created']
76
81
  end
77
82
 
83
+ if attributes.key?(:'pulp_last_updated')
84
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
85
+ end
86
+
78
87
  if attributes.key?(:'artifact')
79
88
  self.artifact = attributes[:'artifact']
80
89
  end
@@ -114,6 +123,7 @@ module PulpOstreeClient
114
123
  self.class == o.class &&
115
124
  pulp_href == o.pulp_href &&
116
125
  pulp_created == o.pulp_created &&
126
+ pulp_last_updated == o.pulp_last_updated &&
117
127
  artifact == o.artifact &&
118
128
  relative_path == o.relative_path
119
129
  end
@@ -127,7 +137,7 @@ module PulpOstreeClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, artifact, relative_path].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path].hash
131
141
  end
132
142
 
133
143
  # Builds the object from hash
@@ -88,12 +88,22 @@ module PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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 PulpOstreeClient
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpOstreeClient
14
- VERSION = '2.3.0'
14
+ VERSION = '2.4.0'
15
15
  end
@@ -44,6 +44,12 @@ describe 'OstreeOstreeCommitResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'OstreeOstreeConfigResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'OstreeOstreeContentResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'OstreeOstreeDistributionResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "base_path"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'OstreeOstreeObjectResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'OstreeOstreeRefResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers