pulp_container_client 2.19.3 → 2.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +3 -3
  8. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  9. data/docs/ContainerManifestResponse.md +0 -2
  10. data/docs/ContentManifestsApi.md +2 -2
  11. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  12. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  13. data/docs/PatchedcontainerContainerPushRepository.md +3 -3
  14. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  15. data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
  16. data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
  17. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +31 -31
  18. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +46 -46
  19. data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
  20. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +39 -39
  21. data/lib/pulp_container_client/models/container_manifest_response.rb +1 -16
  22. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
  23. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +31 -31
  24. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
  25. data/lib/pulp_container_client/version.rb +1 -1
  26. data/spec/api/content_manifests_api_spec.rb +1 -1
  27. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  28. data/spec/models/container_container_distribution_spec.rb +5 -5
  29. data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
  30. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  31. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  32. data/spec/models/container_container_push_repository_spec.rb +3 -3
  33. data/spec/models/container_manifest_response_spec.rb +0 -6
  34. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  35. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  36. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  37. metadata +2 -2
@@ -18,38 +18,38 @@ module PulpContainerClient
18
18
  # Retain X versions of the repository. Default is null which retains all versions.
19
19
  attr_accessor :retain_repo_versions
20
20
 
21
+ attr_accessor :pulp_href
22
+
21
23
  # A reference to an associated signing service.
22
24
  attr_accessor :manifest_signing_service
23
25
 
24
- # A unique name for this repository.
25
- attr_accessor :name
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
26
28
 
27
29
  attr_accessor :latest_version_href
28
30
 
29
- attr_accessor :pulp_href
31
+ attr_accessor :pulp_labels
32
+
33
+ # A unique name for this repository.
34
+ attr_accessor :name
30
35
 
31
36
  attr_accessor :versions_href
32
37
 
33
38
  # An optional description.
34
39
  attr_accessor :description
35
40
 
36
- # Timestamp of creation.
37
- attr_accessor :pulp_created
38
-
39
- attr_accessor :pulp_labels
40
-
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
44
  :'retain_repo_versions' => :'retain_repo_versions',
45
+ :'pulp_href' => :'pulp_href',
45
46
  :'manifest_signing_service' => :'manifest_signing_service',
46
- :'name' => :'name',
47
+ :'pulp_created' => :'pulp_created',
47
48
  :'latest_version_href' => :'latest_version_href',
48
- :'pulp_href' => :'pulp_href',
49
+ :'pulp_labels' => :'pulp_labels',
50
+ :'name' => :'name',
49
51
  :'versions_href' => :'versions_href',
50
- :'description' => :'description',
51
- :'pulp_created' => :'pulp_created',
52
- :'pulp_labels' => :'pulp_labels'
52
+ :'description' => :'description'
53
53
  }
54
54
  end
55
55
 
@@ -57,14 +57,14 @@ module PulpContainerClient
57
57
  def self.openapi_types
58
58
  {
59
59
  :'retain_repo_versions' => :'Integer',
60
+ :'pulp_href' => :'String',
60
61
  :'manifest_signing_service' => :'String',
61
- :'name' => :'String',
62
+ :'pulp_created' => :'DateTime',
62
63
  :'latest_version_href' => :'String',
63
- :'pulp_href' => :'String',
64
+ :'pulp_labels' => :'Hash<String, String>',
65
+ :'name' => :'String',
64
66
  :'versions_href' => :'String',
65
- :'description' => :'String',
66
- :'pulp_created' => :'DateTime',
67
- :'pulp_labels' => :'Hash<String, String>'
67
+ :'description' => :'String'
68
68
  }
69
69
  end
70
70
 
@@ -73,7 +73,7 @@ module PulpContainerClient
73
73
  Set.new([
74
74
  :'retain_repo_versions',
75
75
  :'manifest_signing_service',
76
- :'description',
76
+ :'description'
77
77
  ])
78
78
  end
79
79
 
@@ -96,20 +96,30 @@ module PulpContainerClient
96
96
  self.retain_repo_versions = attributes[:'retain_repo_versions']
97
97
  end
98
98
 
99
+ if attributes.key?(:'pulp_href')
100
+ self.pulp_href = attributes[:'pulp_href']
101
+ end
102
+
99
103
  if attributes.key?(:'manifest_signing_service')
100
104
  self.manifest_signing_service = attributes[:'manifest_signing_service']
101
105
  end
102
106
 
103
- if attributes.key?(:'name')
104
- self.name = attributes[:'name']
107
+ if attributes.key?(:'pulp_created')
108
+ self.pulp_created = attributes[:'pulp_created']
105
109
  end
106
110
 
107
111
  if attributes.key?(:'latest_version_href')
108
112
  self.latest_version_href = attributes[:'latest_version_href']
109
113
  end
110
114
 
111
- if attributes.key?(:'pulp_href')
112
- self.pulp_href = attributes[:'pulp_href']
115
+ if attributes.key?(:'pulp_labels')
116
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
117
+ self.pulp_labels = value
118
+ end
119
+ end
120
+
121
+ if attributes.key?(:'name')
122
+ self.name = attributes[:'name']
113
123
  end
114
124
 
115
125
  if attributes.key?(:'versions_href')
@@ -119,16 +129,6 @@ module PulpContainerClient
119
129
  if attributes.key?(:'description')
120
130
  self.description = attributes[:'description']
121
131
  end
122
-
123
- if attributes.key?(:'pulp_created')
124
- self.pulp_created = attributes[:'pulp_created']
125
- end
126
-
127
- if attributes.key?(:'pulp_labels')
128
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
129
- self.pulp_labels = value
130
- end
131
- end
132
132
  end
133
133
 
134
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -170,14 +170,14 @@ module PulpContainerClient
170
170
  return true if self.equal?(o)
171
171
  self.class == o.class &&
172
172
  retain_repo_versions == o.retain_repo_versions &&
173
+ pulp_href == o.pulp_href &&
173
174
  manifest_signing_service == o.manifest_signing_service &&
174
- name == o.name &&
175
+ pulp_created == o.pulp_created &&
175
176
  latest_version_href == o.latest_version_href &&
176
- pulp_href == o.pulp_href &&
177
+ pulp_labels == o.pulp_labels &&
178
+ name == o.name &&
177
179
  versions_href == o.versions_href &&
178
- description == o.description &&
179
- pulp_created == o.pulp_created &&
180
- pulp_labels == o.pulp_labels
180
+ description == o.description
181
181
  end
182
182
 
183
183
  # @see the `==` method
@@ -189,7 +189,7 @@ module PulpContainerClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [retain_repo_versions, manifest_signing_service, name, latest_version_href, pulp_href, versions_href, description, pulp_created, pulp_labels].hash
192
+ [retain_repo_versions, pulp_href, manifest_signing_service, pulp_created, latest_version_href, pulp_labels, name, versions_href, description].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -20,9 +20,6 @@ module PulpContainerClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
- # Artifact file representing the physical content
24
- attr_accessor :artifact
25
-
26
23
  # sha256 of the Manifest file
27
24
  attr_accessor :digest
28
25
 
@@ -58,7 +55,6 @@ module PulpContainerClient
58
55
  {
59
56
  :'pulp_href' => :'pulp_href',
60
57
  :'pulp_created' => :'pulp_created',
61
- :'artifact' => :'artifact',
62
58
  :'digest' => :'digest',
63
59
  :'schema_version' => :'schema_version',
64
60
  :'media_type' => :'media_type',
@@ -77,7 +73,6 @@ module PulpContainerClient
77
73
  {
78
74
  :'pulp_href' => :'String',
79
75
  :'pulp_created' => :'DateTime',
80
- :'artifact' => :'String',
81
76
  :'digest' => :'String',
82
77
  :'schema_version' => :'Integer',
83
78
  :'media_type' => :'String',
@@ -120,10 +115,6 @@ module PulpContainerClient
120
115
  self.pulp_created = attributes[:'pulp_created']
121
116
  end
122
117
 
123
- if attributes.key?(:'artifact')
124
- self.artifact = attributes[:'artifact']
125
- end
126
-
127
118
  if attributes.key?(:'digest')
128
119
  self.digest = attributes[:'digest']
129
120
  end
@@ -177,10 +168,6 @@ module PulpContainerClient
177
168
  # @return Array for valid properties with the reasons
178
169
  def list_invalid_properties
179
170
  invalid_properties = Array.new
180
- if @artifact.nil?
181
- invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
182
- end
183
-
184
171
  if @digest.nil?
185
172
  invalid_properties.push('invalid value for "digest", digest cannot be nil.')
186
173
  end
@@ -207,7 +194,6 @@ module PulpContainerClient
207
194
  # Check to see if the all the properties in the model are valid
208
195
  # @return true if the model is valid
209
196
  def valid?
210
- return false if @artifact.nil?
211
197
  return false if @digest.nil?
212
198
  return false if @schema_version.nil?
213
199
  return false if @media_type.nil?
@@ -223,7 +209,6 @@ module PulpContainerClient
223
209
  self.class == o.class &&
224
210
  pulp_href == o.pulp_href &&
225
211
  pulp_created == o.pulp_created &&
226
- artifact == o.artifact &&
227
212
  digest == o.digest &&
228
213
  schema_version == o.schema_version &&
229
214
  media_type == o.media_type &&
@@ -245,7 +230,7 @@ module PulpContainerClient
245
230
  # Calculates hash code according to all attributes.
246
231
  # @return [Integer] Hash code
247
232
  def hash
248
- [pulp_href, pulp_created, artifact, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
233
+ [pulp_href, pulp_created, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
249
234
  end
250
235
 
251
236
  # Builds the object from hash
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
- attr_accessor :base_path
20
-
21
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
23
-
24
18
  # An optional content-guard. If none is specified, a default one will be used.
25
19
  attr_accessor :content_guard
26
20
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
21
  # Whether this distribution should be shown in the content app.
31
22
  attr_accessor :hidden
32
23
 
33
24
  attr_accessor :pulp_labels
34
25
 
26
+ # The latest RepositoryVersion for this Repository will be served.
27
+ attr_accessor :repository
28
+
29
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
+ attr_accessor :base_path
31
+
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
+
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'base_path' => :'base_path',
48
- :'name' => :'name',
49
47
  :'content_guard' => :'content_guard',
50
- :'repository' => :'repository',
51
48
  :'hidden' => :'hidden',
52
49
  :'pulp_labels' => :'pulp_labels',
50
+ :'repository' => :'repository',
51
+ :'base_path' => :'base_path',
52
+ :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'base_path' => :'String',
63
- :'name' => :'String',
64
62
  :'content_guard' => :'String',
65
- :'repository' => :'String',
66
63
  :'hidden' => :'Boolean',
67
64
  :'pulp_labels' => :'Hash<String, String>',
65
+ :'repository' => :'String',
66
+ :'base_path' => :'String',
67
+ :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,22 +95,10 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'base_path')
99
- self.base_path = attributes[:'base_path']
100
- end
101
-
102
- if attributes.key?(:'name')
103
- self.name = attributes[:'name']
104
- end
105
-
106
98
  if attributes.key?(:'content_guard')
107
99
  self.content_guard = attributes[:'content_guard']
108
100
  end
109
101
 
110
- if attributes.key?(:'repository')
111
- self.repository = attributes[:'repository']
112
- end
113
-
114
102
  if attributes.key?(:'hidden')
115
103
  self.hidden = attributes[:'hidden']
116
104
  else
@@ -123,6 +111,18 @@ module PulpContainerClient
123
111
  end
124
112
  end
125
113
 
114
+ if attributes.key?(:'repository')
115
+ self.repository = attributes[:'repository']
116
+ end
117
+
118
+ if attributes.key?(:'base_path')
119
+ self.base_path = attributes[:'base_path']
120
+ end
121
+
122
+ if attributes.key?(:'name')
123
+ self.name = attributes[:'name']
124
+ end
125
+
126
126
  if attributes.key?(:'repository_version')
127
127
  self.repository_version = attributes[:'repository_version']
128
128
  end
@@ -199,12 +199,12 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- base_path == o.base_path &&
203
- name == o.name &&
204
202
  content_guard == o.content_guard &&
205
- repository == o.repository &&
206
203
  hidden == o.hidden &&
207
204
  pulp_labels == o.pulp_labels &&
205
+ repository == o.repository &&
206
+ base_path == o.base_path &&
207
+ name == o.name &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [base_path, name, content_guard, repository, hidden, pulp_labels, repository_version, private, description].hash
222
+ [content_guard, hidden, pulp_labels, repository, base_path, name, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class PatchedcontainerContainerPullThroughDistribution
18
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
- attr_accessor :base_path
20
-
21
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
23
-
24
18
  # An optional content-guard. If none is specified, a default one will be used.
25
19
  attr_accessor :content_guard
26
20
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
21
  # Whether this distribution should be shown in the content app.
31
22
  attr_accessor :hidden
32
23
 
33
24
  attr_accessor :pulp_labels
34
25
 
26
+ # The latest RepositoryVersion for this Repository will be served.
27
+ attr_accessor :repository
28
+
29
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
+ attr_accessor :base_path
31
+
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
+
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
37
37
 
@@ -47,12 +47,12 @@ module PulpContainerClient
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
- :'base_path' => :'base_path',
51
- :'name' => :'name',
52
50
  :'content_guard' => :'content_guard',
53
- :'repository' => :'repository',
54
51
  :'hidden' => :'hidden',
55
52
  :'pulp_labels' => :'pulp_labels',
53
+ :'repository' => :'repository',
54
+ :'base_path' => :'base_path',
55
+ :'name' => :'name',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -63,12 +63,12 @@ module PulpContainerClient
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'base_path' => :'String',
67
- :'name' => :'String',
68
66
  :'content_guard' => :'String',
69
- :'repository' => :'String',
70
67
  :'hidden' => :'Boolean',
71
68
  :'pulp_labels' => :'Hash<String, String>',
69
+ :'repository' => :'String',
70
+ :'base_path' => :'String',
71
+ :'name' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,22 +99,10 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'base_path')
103
- self.base_path = attributes[:'base_path']
104
- end
105
-
106
- if attributes.key?(:'name')
107
- self.name = attributes[:'name']
108
- end
109
-
110
102
  if attributes.key?(:'content_guard')
111
103
  self.content_guard = attributes[:'content_guard']
112
104
  end
113
105
 
114
- if attributes.key?(:'repository')
115
- self.repository = attributes[:'repository']
116
- end
117
-
118
106
  if attributes.key?(:'hidden')
119
107
  self.hidden = attributes[:'hidden']
120
108
  else
@@ -127,6 +115,18 @@ module PulpContainerClient
127
115
  end
128
116
  end
129
117
 
118
+ if attributes.key?(:'repository')
119
+ self.repository = attributes[:'repository']
120
+ end
121
+
122
+ if attributes.key?(:'base_path')
123
+ self.base_path = attributes[:'base_path']
124
+ end
125
+
126
+ if attributes.key?(:'name')
127
+ self.name = attributes[:'name']
128
+ end
129
+
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -209,12 +209,12 @@ module PulpContainerClient
209
209
  def ==(o)
210
210
  return true if self.equal?(o)
211
211
  self.class == o.class &&
212
- base_path == o.base_path &&
213
- name == o.name &&
214
212
  content_guard == o.content_guard &&
215
- repository == o.repository &&
216
213
  hidden == o.hidden &&
217
214
  pulp_labels == o.pulp_labels &&
215
+ repository == o.repository &&
216
+ base_path == o.base_path &&
217
+ name == o.name &&
218
218
  remote == o.remote &&
219
219
  distributions == o.distributions &&
220
220
  private == o.private &&
@@ -230,7 +230,7 @@ module PulpContainerClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [base_path, name, content_guard, repository, hidden, pulp_labels, remote, distributions, private, description].hash
233
+ [content_guard, hidden, pulp_labels, repository, base_path, name, remote, distributions, private, description].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash
@@ -21,22 +21,22 @@ module PulpContainerClient
21
21
  # A reference to an associated signing service.
22
22
  attr_accessor :manifest_signing_service
23
23
 
24
+ attr_accessor :pulp_labels
25
+
24
26
  # A unique name for this repository.
25
27
  attr_accessor :name
26
28
 
27
29
  # An optional description.
28
30
  attr_accessor :description
29
31
 
30
- attr_accessor :pulp_labels
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
35
  :'retain_repo_versions' => :'retain_repo_versions',
36
36
  :'manifest_signing_service' => :'manifest_signing_service',
37
+ :'pulp_labels' => :'pulp_labels',
37
38
  :'name' => :'name',
38
- :'description' => :'description',
39
- :'pulp_labels' => :'pulp_labels'
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
@@ -45,9 +45,9 @@ module PulpContainerClient
45
45
  {
46
46
  :'retain_repo_versions' => :'Integer',
47
47
  :'manifest_signing_service' => :'String',
48
+ :'pulp_labels' => :'Hash<String, String>',
48
49
  :'name' => :'String',
49
- :'description' => :'String',
50
- :'pulp_labels' => :'Hash<String, String>'
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -56,7 +56,7 @@ module PulpContainerClient
56
56
  Set.new([
57
57
  :'retain_repo_versions',
58
58
  :'manifest_signing_service',
59
- :'description',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -83,6 +83,12 @@ module PulpContainerClient
83
83
  self.manifest_signing_service = attributes[:'manifest_signing_service']
84
84
  end
85
85
 
86
+ if attributes.key?(:'pulp_labels')
87
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
88
+ self.pulp_labels = value
89
+ end
90
+ end
91
+
86
92
  if attributes.key?(:'name')
87
93
  self.name = attributes[:'name']
88
94
  end
@@ -90,12 +96,6 @@ module PulpContainerClient
90
96
  if attributes.key?(:'description')
91
97
  self.description = attributes[:'description']
92
98
  end
93
-
94
- if attributes.key?(:'pulp_labels')
95
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
- self.pulp_labels = value
97
- end
98
- end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -163,9 +163,9 @@ module PulpContainerClient
163
163
  self.class == o.class &&
164
164
  retain_repo_versions == o.retain_repo_versions &&
165
165
  manifest_signing_service == o.manifest_signing_service &&
166
+ pulp_labels == o.pulp_labels &&
166
167
  name == o.name &&
167
- description == o.description &&
168
- pulp_labels == o.pulp_labels
168
+ description == o.description
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [retain_repo_versions, manifest_signing_service, name, description, pulp_labels].hash
180
+ [retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.19.3'
14
+ VERSION = '2.20.0'
15
15
  end
@@ -43,7 +43,7 @@ describe 'ContentManifestsApi' do
43
43
  # @option opts [Integer] :limit Number of results to return per page.
44
44
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
45
45
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
46
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
47
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
48
48
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
49
49
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -32,13 +32,13 @@ describe 'ContainerContainerDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "base_path"' do
35
+ describe 'test attribute "content_guard"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "hidden"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -50,31 +50,31 @@ describe 'ContainerContainerDistributionResponse' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "content_guard"' do
53
+ describe 'test attribute "pulp_created"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "repository"' do
59
+ describe 'test attribute "pulp_labels"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_created"' do
65
+ describe 'test attribute "repository"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "hidden"' do
71
+ describe 'test attribute "base_path"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "pulp_labels"' do
77
+ describe 'test attribute "name"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end