pulp_ansible_client 0.29.6 → 0.29.7

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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleRepository.md +2 -0
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  5. data/docs/AnsibleCollectionVersionResponse.md +8 -8
  6. data/docs/AnsibleGitRemote.md +24 -24
  7. data/docs/AnsibleGitRemoteResponse.md +24 -24
  8. data/docs/AnsibleRoleResponse.md +8 -8
  9. data/docs/ContentCollectionVersionsApi.md +8 -8
  10. data/docs/PatchedansibleAnsibleRepository.md +2 -0
  11. data/docs/PatchedansibleGitRemote.md +24 -24
  12. data/docs/RepositoriesAnsibleApi.md +18 -2
  13. data/docs/Repository.md +2 -0
  14. data/docs/RepositoryResponse.md +2 -0
  15. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
  16. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +27 -3
  17. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +27 -1
  18. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +27 -1
  19. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +35 -35
  20. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
  21. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +156 -156
  22. data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
  23. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +27 -1
  24. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
  25. data/lib/pulp_ansible_client/models/repository.rb +27 -1
  26. data/lib/pulp_ansible_client/models/repository_response.rb +27 -1
  27. data/lib/pulp_ansible_client/version.rb +1 -1
  28. data/spec/api/content_collection_versions_api_spec.rb +4 -4
  29. data/spec/api/repositories_ansible_api_spec.rb +9 -1
  30. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  31. data/spec/models/ansible_ansible_repository_spec.rb +6 -0
  32. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  33. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  34. data/spec/models/ansible_git_remote_spec.rb +20 -20
  35. data/spec/models/ansible_role_response_spec.rb +6 -6
  36. data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
  37. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  38. data/spec/models/repository_response_spec.rb +6 -0
  39. data/spec/models/repository_spec.rb +6 -0
  40. metadata +126 -126
@@ -324,13 +324,21 @@ module PulpAnsibleClient
324
324
  # @option opts [String] :name__regex Filter results where name matches regex value
325
325
  # @option opts [String] :name__startswith Filter results where name starts with value
326
326
  # @option opts [Integer] :offset The initial index from which to return the results.
327
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
327
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
328
328
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
329
329
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
330
330
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
331
331
  # @option opts [String] :pulp_label_select Filter labels by search string
332
332
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
333
333
  # @option opts [String] :remote
334
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
335
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
336
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
337
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
338
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
339
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
340
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
341
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
334
342
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
335
343
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
336
344
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -364,13 +372,21 @@ module PulpAnsibleClient
364
372
  # @option opts [String] :name__regex Filter results where name matches regex value
365
373
  # @option opts [String] :name__startswith Filter results where name starts with value
366
374
  # @option opts [Integer] :offset The initial index from which to return the results.
367
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
375
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
368
376
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
369
377
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
370
378
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
371
379
  # @option opts [String] :pulp_label_select Filter labels by search string
372
380
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
373
381
  # @option opts [String] :remote
382
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
383
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
384
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
385
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
386
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
387
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
388
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
389
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
374
390
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
375
391
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
376
392
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -387,7 +403,7 @@ module PulpAnsibleClient
387
403
  if @api_client.config.debugging
388
404
  @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
389
405
  end
390
- allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
406
+ allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
391
407
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
392
408
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
393
409
  end
@@ -415,6 +431,14 @@ module PulpAnsibleClient
415
431
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
416
432
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
417
433
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
434
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
435
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
436
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
437
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
438
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
439
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
440
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
441
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
418
442
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
419
443
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
420
444
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -27,6 +27,9 @@ module PulpAnsibleClient
27
27
  # Retain X versions of the repository. Default is null which retains all versions.
28
28
  attr_accessor :retain_repo_versions
29
29
 
30
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
31
+ attr_accessor :retain_checkpoints
32
+
30
33
  # An optional remote to use by default when syncing.
31
34
  attr_accessor :remote
32
35
 
@@ -45,6 +48,7 @@ module PulpAnsibleClient
45
48
  :'name' => :'name',
46
49
  :'description' => :'description',
47
50
  :'retain_repo_versions' => :'retain_repo_versions',
51
+ :'retain_checkpoints' => :'retain_checkpoints',
48
52
  :'remote' => :'remote',
49
53
  :'last_synced_metadata_time' => :'last_synced_metadata_time',
50
54
  :'gpgkey' => :'gpgkey',
@@ -64,6 +68,7 @@ module PulpAnsibleClient
64
68
  :'name' => :'String',
65
69
  :'description' => :'String',
66
70
  :'retain_repo_versions' => :'Integer',
71
+ :'retain_checkpoints' => :'Integer',
67
72
  :'remote' => :'String',
68
73
  :'last_synced_metadata_time' => :'Time',
69
74
  :'gpgkey' => :'String',
@@ -76,6 +81,7 @@ module PulpAnsibleClient
76
81
  Set.new([
77
82
  :'description',
78
83
  :'retain_repo_versions',
84
+ :'retain_checkpoints',
79
85
  :'remote',
80
86
  :'last_synced_metadata_time',
81
87
  :'gpgkey',
@@ -117,6 +123,10 @@ module PulpAnsibleClient
117
123
  self.retain_repo_versions = attributes[:'retain_repo_versions']
118
124
  end
119
125
 
126
+ if attributes.key?(:'retain_checkpoints')
127
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
128
+ end
129
+
120
130
  if attributes.key?(:'remote')
121
131
  self.remote = attributes[:'remote']
122
132
  end
@@ -155,6 +165,10 @@ module PulpAnsibleClient
155
165
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
156
166
  end
157
167
 
168
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
169
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
170
+ end
171
+
158
172
  if !@gpgkey.nil? && @gpgkey.to_s.length < 1
159
173
  invalid_properties.push('invalid value for "gpgkey", the character length must be great than or equal to 1.')
160
174
  end
@@ -170,6 +184,7 @@ module PulpAnsibleClient
170
184
  return false if @name.to_s.length < 1
171
185
  return false if !@description.nil? && @description.to_s.length < 1
172
186
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
187
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
173
188
  return false if !@gpgkey.nil? && @gpgkey.to_s.length < 1
174
189
  true
175
190
  end
@@ -208,6 +223,16 @@ module PulpAnsibleClient
208
223
  @retain_repo_versions = retain_repo_versions
209
224
  end
210
225
 
226
+ # Custom attribute writer method with validation
227
+ # @param [Object] retain_checkpoints Value to be assigned
228
+ def retain_checkpoints=(retain_checkpoints)
229
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
230
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
231
+ end
232
+
233
+ @retain_checkpoints = retain_checkpoints
234
+ end
235
+
211
236
  # Custom attribute writer method with validation
212
237
  # @param [Object] gpgkey Value to be assigned
213
238
  def gpgkey=(gpgkey)
@@ -227,6 +252,7 @@ module PulpAnsibleClient
227
252
  name == o.name &&
228
253
  description == o.description &&
229
254
  retain_repo_versions == o.retain_repo_versions &&
255
+ retain_checkpoints == o.retain_checkpoints &&
230
256
  remote == o.remote &&
231
257
  last_synced_metadata_time == o.last_synced_metadata_time &&
232
258
  gpgkey == o.gpgkey &&
@@ -242,7 +268,7 @@ module PulpAnsibleClient
242
268
  # Calculates hash code according to all attributes.
243
269
  # @return [Integer] Hash code
244
270
  def hash
245
- [pulp_labels, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, private].hash
271
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, last_synced_metadata_time, gpgkey, private].hash
246
272
  end
247
273
 
248
274
  # Builds the object from hash
@@ -42,6 +42,9 @@ module PulpAnsibleClient
42
42
  # Retain X versions of the repository. Default is null which retains all versions.
43
43
  attr_accessor :retain_repo_versions
44
44
 
45
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
46
+ attr_accessor :retain_checkpoints
47
+
45
48
  # An optional remote to use by default when syncing.
46
49
  attr_accessor :remote
47
50
 
@@ -68,6 +71,7 @@ module PulpAnsibleClient
68
71
  :'name' => :'name',
69
72
  :'description' => :'description',
70
73
  :'retain_repo_versions' => :'retain_repo_versions',
74
+ :'retain_checkpoints' => :'retain_checkpoints',
71
75
  :'remote' => :'remote',
72
76
  :'last_synced_metadata_time' => :'last_synced_metadata_time',
73
77
  :'gpgkey' => :'gpgkey',
@@ -94,6 +98,7 @@ module PulpAnsibleClient
94
98
  :'name' => :'String',
95
99
  :'description' => :'String',
96
100
  :'retain_repo_versions' => :'Integer',
101
+ :'retain_checkpoints' => :'Integer',
97
102
  :'remote' => :'String',
98
103
  :'last_synced_metadata_time' => :'Time',
99
104
  :'gpgkey' => :'String',
@@ -107,6 +112,7 @@ module PulpAnsibleClient
107
112
  Set.new([
108
113
  :'description',
109
114
  :'retain_repo_versions',
115
+ :'retain_checkpoints',
110
116
  :'remote',
111
117
  :'last_synced_metadata_time',
112
118
  :'gpgkey',
@@ -173,6 +179,10 @@ module PulpAnsibleClient
173
179
  self.retain_repo_versions = attributes[:'retain_repo_versions']
174
180
  end
175
181
 
182
+ if attributes.key?(:'retain_checkpoints')
183
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
184
+ end
185
+
176
186
  if attributes.key?(:'remote')
177
187
  self.remote = attributes[:'remote']
178
188
  end
@@ -207,6 +217,10 @@ module PulpAnsibleClient
207
217
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
208
218
  end
209
219
 
220
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
221
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
222
+ end
223
+
210
224
  invalid_properties
211
225
  end
212
226
 
@@ -216,6 +230,7 @@ module PulpAnsibleClient
216
230
  warn '[DEPRECATED] the `valid?` method is obsolete'
217
231
  return false if @name.nil?
218
232
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
233
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
219
234
  true
220
235
  end
221
236
 
@@ -229,6 +244,16 @@ module PulpAnsibleClient
229
244
  @retain_repo_versions = retain_repo_versions
230
245
  end
231
246
 
247
+ # Custom attribute writer method with validation
248
+ # @param [Object] retain_checkpoints Value to be assigned
249
+ def retain_checkpoints=(retain_checkpoints)
250
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
251
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
252
+ end
253
+
254
+ @retain_checkpoints = retain_checkpoints
255
+ end
256
+
232
257
  # Checks equality by comparing each attribute.
233
258
  # @param [Object] Object to be compared
234
259
  def ==(o)
@@ -244,6 +269,7 @@ module PulpAnsibleClient
244
269
  name == o.name &&
245
270
  description == o.description &&
246
271
  retain_repo_versions == o.retain_repo_versions &&
272
+ retain_checkpoints == o.retain_checkpoints &&
247
273
  remote == o.remote &&
248
274
  last_synced_metadata_time == o.last_synced_metadata_time &&
249
275
  gpgkey == o.gpgkey &&
@@ -260,7 +286,7 @@ module PulpAnsibleClient
260
286
  # Calculates hash code according to all attributes.
261
287
  # @return [Integer] Hash code
262
288
  def hash
263
- [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task, private].hash
289
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, last_synced_metadata_time, gpgkey, last_sync_task, private].hash
264
290
  end
265
291
 
266
292
  # Builds the object from hash
@@ -16,25 +16,25 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
20
- attr_accessor :pulp_labels
19
+ # The Pulp Resource Name (PRN).
20
+ attr_accessor :prn
21
21
 
22
22
  # Timestamp of creation.
23
23
  attr_accessor :pulp_created
24
24
 
25
- attr_accessor :pulp_href
26
-
27
25
  # 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.
28
26
  attr_accessor :pulp_last_updated
29
27
 
30
- # The Pulp Resource Name (PRN).
31
- attr_accessor :prn
28
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
+ attr_accessor :pulp_labels
30
+
31
+ attr_accessor :vuln_report
32
+
33
+ attr_accessor :pulp_href
32
34
 
33
35
  # Artifact file representing the physical content
34
36
  attr_accessor :artifact
35
37
 
36
- attr_accessor :vuln_report
37
-
38
38
  # The SHA-256 checksum if available.
39
39
  attr_accessor :sha256
40
40
 
@@ -97,13 +97,13 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
- :'pulp_labels' => :'pulp_labels',
100
+ :'prn' => :'prn',
101
101
  :'pulp_created' => :'pulp_created',
102
- :'pulp_href' => :'pulp_href',
103
102
  :'pulp_last_updated' => :'pulp_last_updated',
104
- :'prn' => :'prn',
105
- :'artifact' => :'artifact',
103
+ :'pulp_labels' => :'pulp_labels',
106
104
  :'vuln_report' => :'vuln_report',
105
+ :'pulp_href' => :'pulp_href',
106
+ :'artifact' => :'artifact',
107
107
  :'sha256' => :'sha256',
108
108
  :'md5' => :'md5',
109
109
  :'sha1' => :'sha1',
@@ -135,13 +135,13 @@ module PulpAnsibleClient
135
135
  # Attribute type mapping.
136
136
  def self.openapi_types
137
137
  {
138
- :'pulp_labels' => :'Hash<String, String>',
138
+ :'prn' => :'String',
139
139
  :'pulp_created' => :'Time',
140
- :'pulp_href' => :'String',
141
140
  :'pulp_last_updated' => :'Time',
142
- :'prn' => :'String',
143
- :'artifact' => :'String',
141
+ :'pulp_labels' => :'Hash<String, String>',
144
142
  :'vuln_report' => :'String',
143
+ :'pulp_href' => :'String',
144
+ :'artifact' => :'String',
145
145
  :'sha256' => :'String',
146
146
  :'md5' => :'String',
147
147
  :'sha1' => :'String',
@@ -187,36 +187,36 @@ module PulpAnsibleClient
187
187
  h[k.to_sym] = v
188
188
  }
189
189
 
190
- if attributes.key?(:'pulp_labels')
191
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
192
- self.pulp_labels = value
193
- end
190
+ if attributes.key?(:'prn')
191
+ self.prn = attributes[:'prn']
194
192
  end
195
193
 
196
194
  if attributes.key?(:'pulp_created')
197
195
  self.pulp_created = attributes[:'pulp_created']
198
196
  end
199
197
 
200
- if attributes.key?(:'pulp_href')
201
- self.pulp_href = attributes[:'pulp_href']
202
- end
203
-
204
198
  if attributes.key?(:'pulp_last_updated')
205
199
  self.pulp_last_updated = attributes[:'pulp_last_updated']
206
200
  end
207
201
 
208
- if attributes.key?(:'prn')
209
- self.prn = attributes[:'prn']
210
- end
211
-
212
- if attributes.key?(:'artifact')
213
- self.artifact = attributes[:'artifact']
202
+ if attributes.key?(:'pulp_labels')
203
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
204
+ self.pulp_labels = value
205
+ end
214
206
  end
215
207
 
216
208
  if attributes.key?(:'vuln_report')
217
209
  self.vuln_report = attributes[:'vuln_report']
218
210
  end
219
211
 
212
+ if attributes.key?(:'pulp_href')
213
+ self.pulp_href = attributes[:'pulp_href']
214
+ end
215
+
216
+ if attributes.key?(:'artifact')
217
+ self.artifact = attributes[:'artifact']
218
+ end
219
+
220
220
  if attributes.key?(:'sha256')
221
221
  self.sha256 = attributes[:'sha256']
222
222
  end
@@ -472,13 +472,13 @@ module PulpAnsibleClient
472
472
  def ==(o)
473
473
  return true if self.equal?(o)
474
474
  self.class == o.class &&
475
- pulp_labels == o.pulp_labels &&
475
+ prn == o.prn &&
476
476
  pulp_created == o.pulp_created &&
477
- pulp_href == o.pulp_href &&
478
477
  pulp_last_updated == o.pulp_last_updated &&
479
- prn == o.prn &&
480
- artifact == o.artifact &&
478
+ pulp_labels == o.pulp_labels &&
481
479
  vuln_report == o.vuln_report &&
480
+ pulp_href == o.pulp_href &&
481
+ artifact == o.artifact &&
482
482
  sha256 == o.sha256 &&
483
483
  md5 == o.md5 &&
484
484
  sha1 == o.sha1 &&
@@ -510,7 +510,7 @@ module PulpAnsibleClient
510
510
  # Calculates hash code according to all attributes.
511
511
  # @return [Integer] Hash code
512
512
  def hash
513
- [pulp_labels, pulp_created, pulp_href, pulp_last_updated, prn, artifact, vuln_report, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
513
+ [prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, pulp_href, artifact, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
514
514
  end
515
515
 
516
516
  # Builds the object from hash