pulp_container_client 2.20.0 → 2.20.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +9 -9
  5. data/docs/ContainerContainerDistributionResponse.md +13 -11
  6. data/docs/ContainerContainerNamespaceResponse.md +2 -0
  7. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +13 -11
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +6 -6
  12. data/docs/ContainerContainerPushRepositoryResponse.md +15 -13
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  15. data/docs/ContainerManifestResponse.md +2 -0
  16. data/docs/ContainerManifestSignatureResponse.md +2 -0
  17. data/docs/ContainerTagResponse.md +2 -0
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +1 -1
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  26. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  34. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  35. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  36. data/docs/PatchedcontainerContainerDistribution.md +9 -9
  37. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  38. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  39. data/docs/PulpContainerNamespacesApi.md +1 -1
  40. data/docs/RemotesContainerApi.md +1 -1
  41. data/docs/RemotesPullThroughApi.md +1 -1
  42. data/docs/RepositoriesContainerApi.md +1 -1
  43. data/docs/RepositoriesContainerPushApi.md +1 -1
  44. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  45. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  46. data/docs/RepositoryVersionResponse.md +2 -0
  47. data/docs/TokenApi.md +1 -1
  48. data/lib/pulp_container_client/configuration.rb +2 -2
  49. data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +63 -63
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -52
  52. data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
  53. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +63 -63
  54. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -52
  55. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
  56. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +31 -31
  57. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
  58. data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -40
  59. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +60 -50
  60. data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
  61. data/lib/pulp_container_client/models/container_container_remote_response.rb +31 -31
  62. data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
  63. data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
  64. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
  65. data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
  66. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
  67. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
  73. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
  74. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
  75. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
  76. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
  77. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
  78. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +54 -54
  79. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +54 -54
  80. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
  81. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +40 -40
  82. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
  83. data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
  84. data/lib/pulp_container_client/version.rb +1 -1
  85. data/lib/pulp_container_client.rb +0 -2
  86. data/spec/configuration_spec.rb +3 -3
  87. data/spec/models/container_blob_response_spec.rb +6 -0
  88. data/spec/models/container_container_distribution_response_spec.rb +14 -8
  89. data/spec/models/container_container_distribution_spec.rb +6 -6
  90. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  91. data/spec/models/container_container_pull_through_distribution_response_spec.rb +14 -8
  92. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  93. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  94. data/spec/models/container_container_push_repository_response_spec.rb +14 -8
  95. data/spec/models/container_container_push_repository_spec.rb +5 -5
  96. data/spec/models/container_container_remote_response_spec.rb +6 -6
  97. data/spec/models/container_container_repository_response_spec.rb +6 -0
  98. data/spec/models/container_manifest_response_spec.rb +6 -0
  99. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  100. data/spec/models/container_tag_response_spec.rb +6 -0
  101. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  102. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  103. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  104. data/spec/models/repository_version_response_spec.rb +6 -0
  105. metadata +70 -78
  106. data/docs/IndexDynamicApi.md +0 -50
  107. data/docs/IndexStaticApi.md +0 -50
  108. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  109. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  110. data/spec/api/index_dynamic_api_spec.rb +0 -45
  111. data/spec/api/index_static_api_spec.rb +0 -45
@@ -354,20 +354,20 @@ module PulpContainerClient
354
354
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
355
355
  end
356
356
 
357
- if !@total_timeout.nil? && @total_timeout < 0.0
358
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
357
+ if !@total_timeout.nil? && @total_timeout < 0
358
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
359
359
  end
360
360
 
361
- if !@connect_timeout.nil? && @connect_timeout < 0.0
362
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
361
+ if !@connect_timeout.nil? && @connect_timeout < 0
362
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
363
363
  end
364
364
 
365
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
366
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
365
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
366
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
367
367
  end
368
368
 
369
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
370
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
369
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
370
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
371
371
  end
372
372
 
373
373
  if @upstream_name.nil?
@@ -401,10 +401,10 @@ module PulpContainerClient
401
401
  return false if !@username.nil? && @username.to_s.length < 1
402
402
  return false if !@password.nil? && @password.to_s.length < 1
403
403
  return false if !@download_concurrency.nil? && @download_concurrency < 1
404
- return false if !@total_timeout.nil? && @total_timeout < 0.0
405
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
406
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
407
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
404
+ return false if !@total_timeout.nil? && @total_timeout < 0
405
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
406
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
407
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
408
408
  return false if @upstream_name.nil?
409
409
  return false if @upstream_name.to_s.length < 1
410
410
  return false if !@sigstore.nil? && @sigstore.to_s.length < 1
@@ -532,8 +532,8 @@ module PulpContainerClient
532
532
  # Custom attribute writer method with validation
533
533
  # @param [Object] total_timeout Value to be assigned
534
534
  def total_timeout=(total_timeout)
535
- if !total_timeout.nil? && total_timeout < 0.0
536
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
535
+ if !total_timeout.nil? && total_timeout < 0
536
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
537
537
  end
538
538
 
539
539
  @total_timeout = total_timeout
@@ -542,8 +542,8 @@ module PulpContainerClient
542
542
  # Custom attribute writer method with validation
543
543
  # @param [Object] connect_timeout Value to be assigned
544
544
  def connect_timeout=(connect_timeout)
545
- if !connect_timeout.nil? && connect_timeout < 0.0
546
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
545
+ if !connect_timeout.nil? && connect_timeout < 0
546
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
547
547
  end
548
548
 
549
549
  @connect_timeout = connect_timeout
@@ -552,8 +552,8 @@ module PulpContainerClient
552
552
  # Custom attribute writer method with validation
553
553
  # @param [Object] sock_connect_timeout Value to be assigned
554
554
  def sock_connect_timeout=(sock_connect_timeout)
555
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
556
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
555
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
556
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
557
557
  end
558
558
 
559
559
  @sock_connect_timeout = sock_connect_timeout
@@ -562,8 +562,8 @@ module PulpContainerClient
562
562
  # Custom attribute writer method with validation
563
563
  # @param [Object] sock_read_timeout Value to be assigned
564
564
  def sock_read_timeout=(sock_read_timeout)
565
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
566
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
565
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
566
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
567
567
  end
568
568
 
569
569
  @sock_read_timeout = sock_read_timeout
@@ -20,6 +20,9 @@ module PulpContainerClient
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 PulpContainerClient
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
 
@@ -90,6 +90,7 @@ module PulpContainerClient
90
90
  {
91
91
  :'pulp_href' => :'pulp_href',
92
92
  :'pulp_created' => :'pulp_created',
93
+ :'pulp_last_updated' => :'pulp_last_updated',
93
94
  :'name' => :'name',
94
95
  :'url' => :'url',
95
96
  :'ca_cert' => :'ca_cert',
@@ -97,7 +98,6 @@ module PulpContainerClient
97
98
  :'tls_validation' => :'tls_validation',
98
99
  :'proxy_url' => :'proxy_url',
99
100
  :'pulp_labels' => :'pulp_labels',
100
- :'pulp_last_updated' => :'pulp_last_updated',
101
101
  :'download_concurrency' => :'download_concurrency',
102
102
  :'max_retries' => :'max_retries',
103
103
  :'policy' => :'policy',
@@ -120,6 +120,7 @@ module PulpContainerClient
120
120
  {
121
121
  :'pulp_href' => :'String',
122
122
  :'pulp_created' => :'DateTime',
123
+ :'pulp_last_updated' => :'DateTime',
123
124
  :'name' => :'String',
124
125
  :'url' => :'String',
125
126
  :'ca_cert' => :'String',
@@ -127,7 +128,6 @@ module PulpContainerClient
127
128
  :'tls_validation' => :'Boolean',
128
129
  :'proxy_url' => :'String',
129
130
  :'pulp_labels' => :'Hash<String, String>',
130
- :'pulp_last_updated' => :'DateTime',
131
131
  :'download_concurrency' => :'Integer',
132
132
  :'max_retries' => :'Integer',
133
133
  :'policy' => :'Policy762Enum',
@@ -186,6 +186,10 @@ module PulpContainerClient
186
186
  self.pulp_created = attributes[:'pulp_created']
187
187
  end
188
188
 
189
+ if attributes.key?(:'pulp_last_updated')
190
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
191
+ end
192
+
189
193
  if attributes.key?(:'name')
190
194
  self.name = attributes[:'name']
191
195
  end
@@ -216,10 +220,6 @@ module PulpContainerClient
216
220
  end
217
221
  end
218
222
 
219
- if attributes.key?(:'pulp_last_updated')
220
- self.pulp_last_updated = attributes[:'pulp_last_updated']
221
- end
222
-
223
223
  if attributes.key?(:'download_concurrency')
224
224
  self.download_concurrency = attributes[:'download_concurrency']
225
225
  end
@@ -301,20 +301,20 @@ module PulpContainerClient
301
301
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
302
302
  end
303
303
 
304
- if !@total_timeout.nil? && @total_timeout < 0.0
305
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
304
+ if !@total_timeout.nil? && @total_timeout < 0
305
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
306
306
  end
307
307
 
308
- if !@connect_timeout.nil? && @connect_timeout < 0.0
309
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
308
+ if !@connect_timeout.nil? && @connect_timeout < 0
309
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
310
310
  end
311
311
 
312
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
313
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
312
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
313
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
314
314
  end
315
315
 
316
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
317
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
316
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
317
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
318
318
  end
319
319
 
320
320
  if @upstream_name.nil?
@@ -330,10 +330,10 @@ module PulpContainerClient
330
330
  return false if @name.nil?
331
331
  return false if @url.nil?
332
332
  return false if !@download_concurrency.nil? && @download_concurrency < 1
333
- return false if !@total_timeout.nil? && @total_timeout < 0.0
334
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
335
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
336
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
333
+ return false if !@total_timeout.nil? && @total_timeout < 0
334
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
335
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
336
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
337
337
  return false if @upstream_name.nil?
338
338
  true
339
339
  end
@@ -351,8 +351,8 @@ module PulpContainerClient
351
351
  # Custom attribute writer method with validation
352
352
  # @param [Object] total_timeout Value to be assigned
353
353
  def total_timeout=(total_timeout)
354
- if !total_timeout.nil? && total_timeout < 0.0
355
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
354
+ if !total_timeout.nil? && total_timeout < 0
355
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
356
356
  end
357
357
 
358
358
  @total_timeout = total_timeout
@@ -361,8 +361,8 @@ module PulpContainerClient
361
361
  # Custom attribute writer method with validation
362
362
  # @param [Object] connect_timeout Value to be assigned
363
363
  def connect_timeout=(connect_timeout)
364
- if !connect_timeout.nil? && connect_timeout < 0.0
365
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
364
+ if !connect_timeout.nil? && connect_timeout < 0
365
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
366
366
  end
367
367
 
368
368
  @connect_timeout = connect_timeout
@@ -371,8 +371,8 @@ module PulpContainerClient
371
371
  # Custom attribute writer method with validation
372
372
  # @param [Object] sock_connect_timeout Value to be assigned
373
373
  def sock_connect_timeout=(sock_connect_timeout)
374
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
375
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
374
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
375
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
376
376
  end
377
377
 
378
378
  @sock_connect_timeout = sock_connect_timeout
@@ -381,8 +381,8 @@ module PulpContainerClient
381
381
  # Custom attribute writer method with validation
382
382
  # @param [Object] sock_read_timeout Value to be assigned
383
383
  def sock_read_timeout=(sock_read_timeout)
384
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
385
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
384
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
385
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
386
386
  end
387
387
 
388
388
  @sock_read_timeout = sock_read_timeout
@@ -395,6 +395,7 @@ module PulpContainerClient
395
395
  self.class == o.class &&
396
396
  pulp_href == o.pulp_href &&
397
397
  pulp_created == o.pulp_created &&
398
+ pulp_last_updated == o.pulp_last_updated &&
398
399
  name == o.name &&
399
400
  url == o.url &&
400
401
  ca_cert == o.ca_cert &&
@@ -402,7 +403,6 @@ module PulpContainerClient
402
403
  tls_validation == o.tls_validation &&
403
404
  proxy_url == o.proxy_url &&
404
405
  pulp_labels == o.pulp_labels &&
405
- pulp_last_updated == o.pulp_last_updated &&
406
406
  download_concurrency == o.download_concurrency &&
407
407
  max_retries == o.max_retries &&
408
408
  policy == o.policy &&
@@ -428,7 +428,7 @@ module PulpContainerClient
428
428
  # Calculates hash code according to all attributes.
429
429
  # @return [Integer] Hash code
430
430
  def hash
431
- [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, upstream_name, include_tags, exclude_tags, sigstore].hash
431
+ [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, upstream_name, include_tags, exclude_tags, sigstore].hash
432
432
  end
433
433
 
434
434
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
@@ -46,6 +49,7 @@ module PulpContainerClient
46
49
  {
47
50
  :'pulp_href' => :'pulp_href',
48
51
  :'pulp_created' => :'pulp_created',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
49
53
  :'versions_href' => :'versions_href',
50
54
  :'pulp_labels' => :'pulp_labels',
51
55
  :'latest_version_href' => :'latest_version_href',
@@ -62,6 +66,7 @@ module PulpContainerClient
62
66
  {
63
67
  :'pulp_href' => :'String',
64
68
  :'pulp_created' => :'DateTime',
69
+ :'pulp_last_updated' => :'DateTime',
65
70
  :'versions_href' => :'String',
66
71
  :'pulp_labels' => :'Hash<String, String>',
67
72
  :'latest_version_href' => :'String',
@@ -106,6 +111,10 @@ module PulpContainerClient
106
111
  self.pulp_created = attributes[:'pulp_created']
107
112
  end
108
113
 
114
+ if attributes.key?(:'pulp_last_updated')
115
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
116
+ end
117
+
109
118
  if attributes.key?(:'versions_href')
110
119
  self.versions_href = attributes[:'versions_href']
111
120
  end
@@ -181,6 +190,7 @@ module PulpContainerClient
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 PulpContainerClient
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, manifest_signing_service].hash
213
+ [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, manifest_signing_service].hash
204
214
  end
205
215
 
206
216
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
  # sha256 of the Manifest file
24
27
  attr_accessor :digest
25
28
 
@@ -55,6 +58,7 @@ module PulpContainerClient
55
58
  {
56
59
  :'pulp_href' => :'pulp_href',
57
60
  :'pulp_created' => :'pulp_created',
61
+ :'pulp_last_updated' => :'pulp_last_updated',
58
62
  :'digest' => :'digest',
59
63
  :'schema_version' => :'schema_version',
60
64
  :'media_type' => :'media_type',
@@ -73,6 +77,7 @@ module PulpContainerClient
73
77
  {
74
78
  :'pulp_href' => :'String',
75
79
  :'pulp_created' => :'DateTime',
80
+ :'pulp_last_updated' => :'DateTime',
76
81
  :'digest' => :'String',
77
82
  :'schema_version' => :'Integer',
78
83
  :'media_type' => :'String',
@@ -115,6 +120,10 @@ module PulpContainerClient
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?(:'digest')
119
128
  self.digest = attributes[:'digest']
120
129
  end
@@ -209,6 +218,7 @@ module PulpContainerClient
209
218
  self.class == o.class &&
210
219
  pulp_href == o.pulp_href &&
211
220
  pulp_created == o.pulp_created &&
221
+ pulp_last_updated == o.pulp_last_updated &&
212
222
  digest == o.digest &&
213
223
  schema_version == o.schema_version &&
214
224
  media_type == o.media_type &&
@@ -230,7 +240,7 @@ module PulpContainerClient
230
240
  # Calculates hash code according to all attributes.
231
241
  # @return [Integer] Hash code
232
242
  def hash
233
- [pulp_href, pulp_created, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
243
+ [pulp_href, pulp_created, pulp_last_updated, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
234
244
  end
235
245
 
236
246
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
  # Signature name in the format of `digest_algo:manifest_digest@random_32_chars`
24
27
  attr_accessor :name
25
28
 
@@ -46,6 +49,7 @@ module PulpContainerClient
46
49
  {
47
50
  :'pulp_href' => :'pulp_href',
48
51
  :'pulp_created' => :'pulp_created',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
49
53
  :'name' => :'name',
50
54
  :'digest' => :'digest',
51
55
  :'type' => :'type',
@@ -61,6 +65,7 @@ module PulpContainerClient
61
65
  {
62
66
  :'pulp_href' => :'String',
63
67
  :'pulp_created' => :'DateTime',
68
+ :'pulp_last_updated' => :'DateTime',
64
69
  :'name' => :'String',
65
70
  :'digest' => :'String',
66
71
  :'type' => :'String',
@@ -100,6 +105,10 @@ module PulpContainerClient
100
105
  self.pulp_created = attributes[:'pulp_created']
101
106
  end
102
107
 
108
+ if attributes.key?(:'pulp_last_updated')
109
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
110
+ end
111
+
103
112
  if attributes.key?(:'name')
104
113
  self.name = attributes[:'name']
105
114
  end
@@ -184,6 +193,7 @@ module PulpContainerClient
184
193
  self.class == o.class &&
185
194
  pulp_href == o.pulp_href &&
186
195
  pulp_created == o.pulp_created &&
196
+ pulp_last_updated == o.pulp_last_updated &&
187
197
  name == o.name &&
188
198
  digest == o.digest &&
189
199
  type == o.type &&
@@ -202,7 +212,7 @@ module PulpContainerClient
202
212
  # Calculates hash code according to all attributes.
203
213
  # @return [Integer] Hash code
204
214
  def hash
205
- [pulp_href, pulp_created, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
215
+ [pulp_href, pulp_created, pulp_last_updated, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
206
216
  end
207
217
 
208
218
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
  # Tag name
24
27
  attr_accessor :name
25
28
 
@@ -31,6 +34,7 @@ module PulpContainerClient
31
34
  {
32
35
  :'pulp_href' => :'pulp_href',
33
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_last_updated' => :'pulp_last_updated',
34
38
  :'name' => :'name',
35
39
  :'tagged_manifest' => :'tagged_manifest'
36
40
  }
@@ -41,6 +45,7 @@ module PulpContainerClient
41
45
  {
42
46
  :'pulp_href' => :'String',
43
47
  :'pulp_created' => :'DateTime',
48
+ :'pulp_last_updated' => :'DateTime',
44
49
  :'name' => :'String',
45
50
  :'tagged_manifest' => :'String'
46
51
  }
@@ -75,6 +80,10 @@ module PulpContainerClient
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?(:'name')
79
88
  self.name = attributes[:'name']
80
89
  end
@@ -114,6 +123,7 @@ module PulpContainerClient
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
  name == o.name &&
118
128
  tagged_manifest == o.tagged_manifest
119
129
  end
@@ -127,7 +137,7 @@ module PulpContainerClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, name, tagged_manifest].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, name, tagged_manifest].hash
131
141
  end
132
142
 
133
143
  # Builds the object from hash
@@ -88,12 +88,22 @@ module PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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