pulp_container_client 2.27.10 → 2.28.1

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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +16 -16
  5. data/docs/ContainerContainerNamespace.md +3 -1
  6. data/docs/ContainerContainerNamespaceResponse.md +3 -1
  7. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
  9. data/docs/ContainerContainerPushRepository.md +7 -7
  10. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  11. data/docs/ContainerContainerRemote.md +6 -2
  12. data/docs/ContainerContainerRemoteResponse.md +4 -4
  13. data/docs/ContainerManifestSignatureResponse.md +2 -0
  14. data/docs/ContentSignaturesApi.md +2 -2
  15. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/docs/PatchedcontainerContainerRemote.md +6 -2
  19. data/docs/PulpContainerNamespacesApi.md +2 -2
  20. data/lib/pulp_container_client/api/content_signatures_api.rb +3 -3
  21. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +3 -3
  22. data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
  23. data/lib/pulp_container_client/models/container_container_distribution_response.rb +74 -74
  24. data/lib/pulp_container_client/models/container_container_namespace.rb +15 -4
  25. data/lib/pulp_container_client/models/container_container_namespace_response.rb +15 -4
  26. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +30 -30
  27. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +74 -74
  28. data/lib/pulp_container_client/models/container_container_push_repository.rb +54 -54
  29. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +68 -68
  30. data/lib/pulp_container_client/models/container_container_remote.rb +29 -3
  31. data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -19
  32. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +14 -1
  33. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -28
  34. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +28 -28
  35. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +54 -54
  36. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +29 -3
  37. data/lib/pulp_container_client/version.rb +1 -1
  38. data/spec/api/content_signatures_api_spec.rb +1 -1
  39. data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
  40. data/spec/models/container_container_distribution_response_spec.rb +12 -12
  41. data/spec/models/container_container_distribution_spec.rb +7 -7
  42. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  43. data/spec/models/container_container_namespace_spec.rb +6 -0
  44. data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
  45. data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
  46. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  47. data/spec/models/container_container_push_repository_spec.rb +4 -4
  48. data/spec/models/container_container_remote_response_spec.rb +2 -2
  49. data/spec/models/container_container_remote_spec.rb +12 -0
  50. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  51. data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
  52. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
  53. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  54. data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
  55. metadata +59 -59
@@ -19,50 +19,50 @@ module PulpContainerClient
19
19
  # A reference to an associated signing service.
20
20
  attr_accessor :manifest_signing_service
21
21
 
22
- attr_accessor :pulp_labels
22
+ # 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.
23
+ attr_accessor :pulp_last_updated
23
24
 
24
- # Retain X versions of the repository. Default is null which retains all versions.
25
- attr_accessor :retain_repo_versions
25
+ attr_accessor :latest_version_href
26
26
 
27
27
  attr_accessor :pulp_href
28
28
 
29
29
  # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
30
30
  attr_accessor :retain_checkpoints
31
31
 
32
- # A unique name for this repository.
33
- attr_accessor :name
32
+ # Retain X versions of the repository. Default is null which retains all versions.
33
+ attr_accessor :retain_repo_versions
34
34
 
35
35
  # The Pulp Resource Name (PRN).
36
36
  attr_accessor :prn
37
37
 
38
+ # An optional description.
39
+ attr_accessor :description
40
+
38
41
  # Timestamp of creation.
39
42
  attr_accessor :pulp_created
40
43
 
41
- # 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.
42
- attr_accessor :pulp_last_updated
44
+ attr_accessor :pulp_labels
43
45
 
44
- attr_accessor :latest_version_href
46
+ # A unique name for this repository.
47
+ attr_accessor :name
45
48
 
46
49
  attr_accessor :versions_href
47
50
 
48
- # An optional description.
49
- attr_accessor :description
50
-
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
54
  :'manifest_signing_service' => :'manifest_signing_service',
55
- :'pulp_labels' => :'pulp_labels',
56
- :'retain_repo_versions' => :'retain_repo_versions',
55
+ :'pulp_last_updated' => :'pulp_last_updated',
56
+ :'latest_version_href' => :'latest_version_href',
57
57
  :'pulp_href' => :'pulp_href',
58
58
  :'retain_checkpoints' => :'retain_checkpoints',
59
- :'name' => :'name',
59
+ :'retain_repo_versions' => :'retain_repo_versions',
60
60
  :'prn' => :'prn',
61
+ :'description' => :'description',
61
62
  :'pulp_created' => :'pulp_created',
62
- :'pulp_last_updated' => :'pulp_last_updated',
63
- :'latest_version_href' => :'latest_version_href',
64
- :'versions_href' => :'versions_href',
65
- :'description' => :'description'
63
+ :'pulp_labels' => :'pulp_labels',
64
+ :'name' => :'name',
65
+ :'versions_href' => :'versions_href'
66
66
  }
67
67
  end
68
68
 
@@ -75,17 +75,17 @@ module PulpContainerClient
75
75
  def self.openapi_types
76
76
  {
77
77
  :'manifest_signing_service' => :'String',
78
- :'pulp_labels' => :'Hash<String, String>',
79
- :'retain_repo_versions' => :'Integer',
78
+ :'pulp_last_updated' => :'Time',
79
+ :'latest_version_href' => :'String',
80
80
  :'pulp_href' => :'String',
81
81
  :'retain_checkpoints' => :'Integer',
82
- :'name' => :'String',
82
+ :'retain_repo_versions' => :'Integer',
83
83
  :'prn' => :'String',
84
+ :'description' => :'String',
84
85
  :'pulp_created' => :'Time',
85
- :'pulp_last_updated' => :'Time',
86
- :'latest_version_href' => :'String',
87
- :'versions_href' => :'String',
88
- :'description' => :'String'
86
+ :'pulp_labels' => :'Hash<String, String>',
87
+ :'name' => :'String',
88
+ :'versions_href' => :'String'
89
89
  }
90
90
  end
91
91
 
@@ -93,9 +93,9 @@ module PulpContainerClient
93
93
  def self.openapi_nullable
94
94
  Set.new([
95
95
  :'manifest_signing_service',
96
- :'retain_repo_versions',
97
96
  :'retain_checkpoints',
98
- :'description'
97
+ :'retain_repo_versions',
98
+ :'description',
99
99
  ])
100
100
  end
101
101
 
@@ -118,14 +118,12 @@ module PulpContainerClient
118
118
  self.manifest_signing_service = attributes[:'manifest_signing_service']
119
119
  end
120
120
 
121
- if attributes.key?(:'pulp_labels')
122
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
- self.pulp_labels = value
124
- end
121
+ if attributes.key?(:'pulp_last_updated')
122
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
125
123
  end
126
124
 
127
- if attributes.key?(:'retain_repo_versions')
128
- self.retain_repo_versions = attributes[:'retain_repo_versions']
125
+ if attributes.key?(:'latest_version_href')
126
+ self.latest_version_href = attributes[:'latest_version_href']
129
127
  end
130
128
 
131
129
  if attributes.key?(:'pulp_href')
@@ -136,35 +134,37 @@ module PulpContainerClient
136
134
  self.retain_checkpoints = attributes[:'retain_checkpoints']
137
135
  end
138
136
 
139
- if attributes.key?(:'name')
140
- self.name = attributes[:'name']
141
- else
142
- self.name = nil
137
+ if attributes.key?(:'retain_repo_versions')
138
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
143
139
  end
144
140
 
145
141
  if attributes.key?(:'prn')
146
142
  self.prn = attributes[:'prn']
147
143
  end
148
144
 
145
+ if attributes.key?(:'description')
146
+ self.description = attributes[:'description']
147
+ end
148
+
149
149
  if attributes.key?(:'pulp_created')
150
150
  self.pulp_created = attributes[:'pulp_created']
151
151
  end
152
152
 
153
- if attributes.key?(:'pulp_last_updated')
154
- self.pulp_last_updated = attributes[:'pulp_last_updated']
153
+ if attributes.key?(:'pulp_labels')
154
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
155
+ self.pulp_labels = value
156
+ end
155
157
  end
156
158
 
157
- if attributes.key?(:'latest_version_href')
158
- self.latest_version_href = attributes[:'latest_version_href']
159
+ if attributes.key?(:'name')
160
+ self.name = attributes[:'name']
161
+ else
162
+ self.name = nil
159
163
  end
160
164
 
161
165
  if attributes.key?(:'versions_href')
162
166
  self.versions_href = attributes[:'versions_href']
163
167
  end
164
-
165
- if attributes.key?(:'description')
166
- self.description = attributes[:'description']
167
- end
168
168
  end
169
169
 
170
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -172,14 +172,14 @@ module PulpContainerClient
172
172
  def list_invalid_properties
173
173
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
174
174
  invalid_properties = Array.new
175
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
176
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
177
- end
178
-
179
175
  if !@retain_checkpoints.nil? && @retain_checkpoints < 1
180
176
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
181
177
  end
182
178
 
179
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
180
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
181
+ end
182
+
183
183
  if @name.nil?
184
184
  invalid_properties.push('invalid value for "name", name cannot be nil.')
185
185
  end
@@ -191,22 +191,12 @@ module PulpContainerClient
191
191
  # @return true if the model is valid
192
192
  def valid?
193
193
  warn '[DEPRECATED] the `valid?` method is obsolete'
194
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
195
194
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
195
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
196
196
  return false if @name.nil?
197
197
  true
198
198
  end
199
199
 
200
- # Custom attribute writer method with validation
201
- # @param [Object] retain_repo_versions Value to be assigned
202
- def retain_repo_versions=(retain_repo_versions)
203
- if !retain_repo_versions.nil? && retain_repo_versions < 1
204
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
205
- end
206
-
207
- @retain_repo_versions = retain_repo_versions
208
- end
209
-
210
200
  # Custom attribute writer method with validation
211
201
  # @param [Object] retain_checkpoints Value to be assigned
212
202
  def retain_checkpoints=(retain_checkpoints)
@@ -217,23 +207,33 @@ module PulpContainerClient
217
207
  @retain_checkpoints = retain_checkpoints
218
208
  end
219
209
 
210
+ # Custom attribute writer method with validation
211
+ # @param [Object] retain_repo_versions Value to be assigned
212
+ def retain_repo_versions=(retain_repo_versions)
213
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
214
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
215
+ end
216
+
217
+ @retain_repo_versions = retain_repo_versions
218
+ end
219
+
220
220
  # Checks equality by comparing each attribute.
221
221
  # @param [Object] Object to be compared
222
222
  def ==(o)
223
223
  return true if self.equal?(o)
224
224
  self.class == o.class &&
225
225
  manifest_signing_service == o.manifest_signing_service &&
226
- pulp_labels == o.pulp_labels &&
227
- retain_repo_versions == o.retain_repo_versions &&
226
+ pulp_last_updated == o.pulp_last_updated &&
227
+ latest_version_href == o.latest_version_href &&
228
228
  pulp_href == o.pulp_href &&
229
229
  retain_checkpoints == o.retain_checkpoints &&
230
- name == o.name &&
230
+ retain_repo_versions == o.retain_repo_versions &&
231
231
  prn == o.prn &&
232
+ description == o.description &&
232
233
  pulp_created == o.pulp_created &&
233
- pulp_last_updated == o.pulp_last_updated &&
234
- latest_version_href == o.latest_version_href &&
235
- versions_href == o.versions_href &&
236
- description == o.description
234
+ pulp_labels == o.pulp_labels &&
235
+ name == o.name &&
236
+ versions_href == o.versions_href
237
237
  end
238
238
 
239
239
  # @see the `==` method
@@ -245,7 +245,7 @@ module PulpContainerClient
245
245
  # Calculates hash code according to all attributes.
246
246
  # @return [Integer] Hash code
247
247
  def hash
248
- [manifest_signing_service, pulp_labels, retain_repo_versions, pulp_href, retain_checkpoints, name, prn, pulp_created, pulp_last_updated, latest_version_href, versions_href, description].hash
248
+ [manifest_signing_service, pulp_last_updated, latest_version_href, pulp_href, retain_checkpoints, retain_repo_versions, prn, description, pulp_created, pulp_labels, name, versions_href].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -81,10 +81,16 @@ module PulpContainerClient
81
81
  # Name of the upstream repository
82
82
  attr_accessor :upstream_name
83
83
 
84
- # A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'.
84
+ # A list of tags (wildcards *, ? are recognized) and/or digests (format: 'sha256:<hex>') to include during sync. 'includes' is evaluated before 'excludes'.
85
+ attr_accessor :includes
86
+
87
+ # A list of tag patterns to exclude during sync. Wildcards *, ? are recognized. 'excludes' is evaluated after 'includes'.
88
+ attr_accessor :excludes
89
+
90
+ # Deprecated. Use 'includes' instead.
85
91
  attr_accessor :include_tags
86
92
 
87
- # A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'.
93
+ # Deprecated. Use 'excludes' instead.
88
94
  attr_accessor :exclude_tags
89
95
 
90
96
  # A URL to a sigstore to download image signatures from
@@ -137,6 +143,8 @@ module PulpContainerClient
137
143
  :'download_concurrency' => :'download_concurrency',
138
144
  :'rate_limit' => :'rate_limit',
139
145
  :'upstream_name' => :'upstream_name',
146
+ :'includes' => :'includes',
147
+ :'excludes' => :'excludes',
140
148
  :'include_tags' => :'include_tags',
141
149
  :'exclude_tags' => :'exclude_tags',
142
150
  :'sigstore' => :'sigstore'
@@ -173,6 +181,8 @@ module PulpContainerClient
173
181
  :'download_concurrency' => :'Integer',
174
182
  :'rate_limit' => :'Integer',
175
183
  :'upstream_name' => :'String',
184
+ :'includes' => :'Array<String>',
185
+ :'excludes' => :'Array<String>',
176
186
  :'include_tags' => :'Array<String>',
177
187
  :'exclude_tags' => :'Array<String>',
178
188
  :'sigstore' => :'String'
@@ -197,6 +207,8 @@ module PulpContainerClient
197
207
  :'sock_read_timeout',
198
208
  :'download_concurrency',
199
209
  :'rate_limit',
210
+ :'includes',
211
+ :'excludes',
200
212
  :'include_tags',
201
213
  :'exclude_tags',
202
214
  ])
@@ -315,6 +327,18 @@ module PulpContainerClient
315
327
  self.upstream_name = nil
316
328
  end
317
329
 
330
+ if attributes.key?(:'includes')
331
+ if (value = attributes[:'includes']).is_a?(Array)
332
+ self.includes = value
333
+ end
334
+ end
335
+
336
+ if attributes.key?(:'excludes')
337
+ if (value = attributes[:'excludes']).is_a?(Array)
338
+ self.excludes = value
339
+ end
340
+ end
341
+
318
342
  if attributes.key?(:'include_tags')
319
343
  if (value = attributes[:'include_tags']).is_a?(Array)
320
344
  self.include_tags = value
@@ -660,6 +684,8 @@ module PulpContainerClient
660
684
  download_concurrency == o.download_concurrency &&
661
685
  rate_limit == o.rate_limit &&
662
686
  upstream_name == o.upstream_name &&
687
+ includes == o.includes &&
688
+ excludes == o.excludes &&
663
689
  include_tags == o.include_tags &&
664
690
  exclude_tags == o.exclude_tags &&
665
691
  sigstore == o.sigstore
@@ -674,7 +700,7 @@ module PulpContainerClient
674
700
  # Calculates hash code according to all attributes.
675
701
  # @return [Integer] Hash code
676
702
  def hash
677
- [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, upstream_name, include_tags, exclude_tags, sigstore].hash
703
+ [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, upstream_name, includes, excludes, include_tags, exclude_tags, sigstore].hash
678
704
  end
679
705
 
680
706
  # Builds the object from hash
@@ -80,11 +80,11 @@ module PulpContainerClient
80
80
  # Name of the upstream repository
81
81
  attr_accessor :upstream_name
82
82
 
83
- # A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'.
84
- attr_accessor :include_tags
83
+ # A list of tags (wildcards *, ? are recognized) and/or digests (format: 'sha256:<hex>') to include during sync. 'includes' is evaluated before 'excludes'.
84
+ attr_accessor :includes
85
85
 
86
- # A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'.
87
- attr_accessor :exclude_tags
86
+ # A list of tag patterns to exclude during sync. Wildcards *, ? are recognized. 'excludes' is evaluated after 'includes'.
87
+ attr_accessor :excludes
88
88
 
89
89
  # A URL to a sigstore to download image signatures from
90
90
  attr_accessor :sigstore
@@ -136,8 +136,8 @@ module PulpContainerClient
136
136
  :'download_concurrency' => :'download_concurrency',
137
137
  :'rate_limit' => :'rate_limit',
138
138
  :'upstream_name' => :'upstream_name',
139
- :'include_tags' => :'include_tags',
140
- :'exclude_tags' => :'exclude_tags',
139
+ :'includes' => :'includes',
140
+ :'excludes' => :'excludes',
141
141
  :'sigstore' => :'sigstore'
142
142
  }
143
143
  end
@@ -172,8 +172,8 @@ module PulpContainerClient
172
172
  :'download_concurrency' => :'Integer',
173
173
  :'rate_limit' => :'Integer',
174
174
  :'upstream_name' => :'String',
175
- :'include_tags' => :'Array<String>',
176
- :'exclude_tags' => :'Array<String>',
175
+ :'includes' => :'Array<String>',
176
+ :'excludes' => :'Array<String>',
177
177
  :'sigstore' => :'String'
178
178
  }
179
179
  end
@@ -191,8 +191,8 @@ module PulpContainerClient
191
191
  :'sock_read_timeout',
192
192
  :'download_concurrency',
193
193
  :'rate_limit',
194
- :'include_tags',
195
- :'exclude_tags',
194
+ :'includes',
195
+ :'excludes',
196
196
  ])
197
197
  end
198
198
 
@@ -311,15 +311,15 @@ module PulpContainerClient
311
311
  self.upstream_name = nil
312
312
  end
313
313
 
314
- if attributes.key?(:'include_tags')
315
- if (value = attributes[:'include_tags']).is_a?(Array)
316
- self.include_tags = value
314
+ if attributes.key?(:'includes')
315
+ if (value = attributes[:'includes']).is_a?(Array)
316
+ self.includes = value
317
317
  end
318
318
  end
319
319
 
320
- if attributes.key?(:'exclude_tags')
321
- if (value = attributes[:'exclude_tags']).is_a?(Array)
322
- self.exclude_tags = value
320
+ if attributes.key?(:'excludes')
321
+ if (value = attributes[:'excludes']).is_a?(Array)
322
+ self.excludes = value
323
323
  end
324
324
  end
325
325
 
@@ -460,8 +460,8 @@ module PulpContainerClient
460
460
  download_concurrency == o.download_concurrency &&
461
461
  rate_limit == o.rate_limit &&
462
462
  upstream_name == o.upstream_name &&
463
- include_tags == o.include_tags &&
464
- exclude_tags == o.exclude_tags &&
463
+ includes == o.includes &&
464
+ excludes == o.excludes &&
465
465
  sigstore == o.sigstore
466
466
  end
467
467
 
@@ -474,7 +474,7 @@ module PulpContainerClient
474
474
  # Calculates hash code according to all attributes.
475
475
  # @return [Integer] Hash code
476
476
  def hash
477
- [pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, upstream_name, include_tags, exclude_tags, sigstore].hash
477
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, upstream_name, includes, excludes, sigstore].hash
478
478
  end
479
479
 
480
480
  # Builds the object from hash
@@ -44,6 +44,9 @@ module PulpContainerClient
44
44
  # Signing key ID
45
45
  attr_accessor :key_id
46
46
 
47
+ # Signing key fingerprint
48
+ attr_accessor :fingerprint
49
+
47
50
  # Timestamp of a signature
48
51
  attr_accessor :timestamp
49
52
 
@@ -66,6 +69,7 @@ module PulpContainerClient
66
69
  :'digest' => :'digest',
67
70
  :'type' => :'type',
68
71
  :'key_id' => :'key_id',
72
+ :'fingerprint' => :'fingerprint',
69
73
  :'timestamp' => :'timestamp',
70
74
  :'creator' => :'creator',
71
75
  :'signed_manifest' => :'signed_manifest'
@@ -90,6 +94,7 @@ module PulpContainerClient
90
94
  :'digest' => :'String',
91
95
  :'type' => :'String',
92
96
  :'key_id' => :'String',
97
+ :'fingerprint' => :'String',
93
98
  :'timestamp' => :'Integer',
94
99
  :'creator' => :'String',
95
100
  :'signed_manifest' => :'String'
@@ -99,6 +104,7 @@ module PulpContainerClient
99
104
  # List of attributes with nullable: true
100
105
  def self.openapi_nullable
101
106
  Set.new([
107
+ :'fingerprint',
102
108
  ])
103
109
  end
104
110
 
@@ -167,6 +173,12 @@ module PulpContainerClient
167
173
  self.key_id = nil
168
174
  end
169
175
 
176
+ if attributes.key?(:'fingerprint')
177
+ self.fingerprint = attributes[:'fingerprint']
178
+ else
179
+ self.fingerprint = nil
180
+ end
181
+
170
182
  if attributes.key?(:'timestamp')
171
183
  self.timestamp = attributes[:'timestamp']
172
184
  else
@@ -251,6 +263,7 @@ module PulpContainerClient
251
263
  digest == o.digest &&
252
264
  type == o.type &&
253
265
  key_id == o.key_id &&
266
+ fingerprint == o.fingerprint &&
254
267
  timestamp == o.timestamp &&
255
268
  creator == o.creator &&
256
269
  signed_manifest == o.signed_manifest
@@ -265,7 +278,7 @@ module PulpContainerClient
265
278
  # Calculates hash code according to all attributes.
266
279
  # @return [Integer] Hash code
267
280
  def hash
268
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
281
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, name, digest, type, key_id, fingerprint, timestamp, creator, signed_manifest].hash
269
282
  end
270
283
 
271
284
  # Builds the object from hash
@@ -16,26 +16,26 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class PatchedcontainerContainerDistribution
19
+ # An optional content-guard. If none is specified, a default one will be used.
20
+ attr_accessor :content_guard
21
+
19
22
  attr_accessor :pulp_labels
20
23
 
24
+ # A unique name. Ex, `rawhide` and `stable`.
25
+ attr_accessor :name
26
+
21
27
  # Whether this distribution should be shown in the content app.
22
28
  attr_accessor :hidden
23
29
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
26
-
27
30
  # The latest RepositoryVersion for this Repository will be served.
28
31
  attr_accessor :repository
29
32
 
30
- # A unique name. Ex, `rawhide` and `stable`.
31
- attr_accessor :name
33
+ # RepositoryVersion to be served
34
+ attr_accessor :repository_version
32
35
 
33
36
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
34
37
  attr_accessor :base_path
35
38
 
36
- # RepositoryVersion to be served
37
- attr_accessor :repository_version
38
-
39
39
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
40
40
  attr_accessor :private
41
41
 
@@ -45,13 +45,13 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
+ :'content_guard' => :'content_guard',
48
49
  :'pulp_labels' => :'pulp_labels',
50
+ :'name' => :'name',
49
51
  :'hidden' => :'hidden',
50
- :'content_guard' => :'content_guard',
51
52
  :'repository' => :'repository',
52
- :'name' => :'name',
53
- :'base_path' => :'base_path',
54
53
  :'repository_version' => :'repository_version',
54
+ :'base_path' => :'base_path',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
57
57
  }
@@ -65,13 +65,13 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
+ :'content_guard' => :'String',
68
69
  :'pulp_labels' => :'Hash<String, String>',
70
+ :'name' => :'String',
69
71
  :'hidden' => :'Boolean',
70
- :'content_guard' => :'String',
71
72
  :'repository' => :'String',
72
- :'name' => :'String',
73
- :'base_path' => :'String',
74
73
  :'repository_version' => :'String',
74
+ :'base_path' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -101,38 +101,38 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
+ if attributes.key?(:'content_guard')
105
+ self.content_guard = attributes[:'content_guard']
106
+ end
107
+
104
108
  if attributes.key?(:'pulp_labels')
105
109
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
106
110
  self.pulp_labels = value
107
111
  end
108
112
  end
109
113
 
114
+ if attributes.key?(:'name')
115
+ self.name = attributes[:'name']
116
+ end
117
+
110
118
  if attributes.key?(:'hidden')
111
119
  self.hidden = attributes[:'hidden']
112
120
  else
113
121
  self.hidden = false
114
122
  end
115
123
 
116
- if attributes.key?(:'content_guard')
117
- self.content_guard = attributes[:'content_guard']
118
- end
119
-
120
124
  if attributes.key?(:'repository')
121
125
  self.repository = attributes[:'repository']
122
126
  end
123
127
 
124
- if attributes.key?(:'name')
125
- self.name = attributes[:'name']
128
+ if attributes.key?(:'repository_version')
129
+ self.repository_version = attributes[:'repository_version']
126
130
  end
127
131
 
128
132
  if attributes.key?(:'base_path')
129
133
  self.base_path = attributes[:'base_path']
130
134
  end
131
135
 
132
- if attributes.key?(:'repository_version')
133
- self.repository_version = attributes[:'repository_version']
134
- end
135
-
136
136
  if attributes.key?(:'private')
137
137
  self.private = attributes[:'private']
138
138
  end
@@ -215,13 +215,13 @@ module PulpContainerClient
215
215
  def ==(o)
216
216
  return true if self.equal?(o)
217
217
  self.class == o.class &&
218
+ content_guard == o.content_guard &&
218
219
  pulp_labels == o.pulp_labels &&
220
+ name == o.name &&
219
221
  hidden == o.hidden &&
220
- content_guard == o.content_guard &&
221
222
  repository == o.repository &&
222
- name == o.name &&
223
- base_path == o.base_path &&
224
223
  repository_version == o.repository_version &&
224
+ base_path == o.base_path &&
225
225
  private == o.private &&
226
226
  description == o.description
227
227
  end
@@ -235,7 +235,7 @@ module PulpContainerClient
235
235
  # Calculates hash code according to all attributes.
236
236
  # @return [Integer] Hash code
237
237
  def hash
238
- [pulp_labels, hidden, content_guard, repository, name, base_path, repository_version, private, description].hash
238
+ [content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, private, description].hash
239
239
  end
240
240
 
241
241
  # Builds the object from hash