pulp_container_client 2.14.18 → 2.15.0.dev1676171501

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.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContainerContainerDistribution.md +3 -3
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  7. data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
  8. data/docs/ContentBlobsApi.md +1 -1
  9. data/docs/ContentManifestsApi.md +1 -1
  10. data/docs/ContentSignaturesApi.md +1 -1
  11. data/docs/ContentTagsApi.md +1 -1
  12. data/docs/DistributionsContainerApi.md +5 -1
  13. data/docs/PatchedcontainerContainerDistribution.md +3 -3
  14. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  15. data/docs/PulpContainerNamespacesApi.md +1 -1
  16. data/docs/RemotesContainerApi.md +1 -1
  17. data/docs/RepositoriesContainerApi.md +17 -1
  18. data/docs/RepositoriesContainerPushApi.md +17 -1
  19. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  20. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  21. data/docs/TokenApi.md +1 -1
  22. data/lib/pulp_container_client/api/distributions_container_api.rb +6 -0
  23. data/lib/pulp_container_client/api/repositories_container_api.rb +24 -0
  24. data/lib/pulp_container_client/api/repositories_container_push_api.rb +24 -0
  25. data/lib/pulp_container_client/configuration.rb +3 -3
  26. data/lib/pulp_container_client/models/container_container_distribution.rb +35 -35
  27. data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
  28. data/lib/pulp_container_client/models/container_container_push_repository.rb +57 -57
  29. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +54 -54
  30. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -10
  31. data/lib/pulp_container_client/models/nested_role.rb +19 -0
  32. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
  33. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +49 -49
  34. data/lib/pulp_container_client/version.rb +1 -1
  35. data/spec/api/distributions_container_api_spec.rb +2 -0
  36. data/spec/api/repositories_container_api_spec.rb +8 -0
  37. data/spec/api/repositories_container_push_api_spec.rb +8 -0
  38. data/spec/configuration_spec.rb +3 -3
  39. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  40. data/spec/models/container_container_distribution_spec.rb +3 -3
  41. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  42. data/spec/models/container_container_push_repository_spec.rb +5 -5
  43. data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
  44. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  45. metadata +63 -63
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
18
21
  # 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
22
  attr_accessor :base_path
20
23
 
21
24
  attr_accessor :pulp_labels
22
25
 
23
- # A unique name. Ex, `rawhide` and `stable`.
24
- attr_accessor :name
25
-
26
26
  # An optional content-guard. If none is specified, a default one will be used.
27
27
  attr_accessor :content_guard
28
28
 
@@ -41,9 +41,9 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'name' => :'name',
44
45
  :'base_path' => :'base_path',
45
46
  :'pulp_labels' => :'pulp_labels',
46
- :'name' => :'name',
47
47
  :'content_guard' => :'content_guard',
48
48
  :'repository' => :'repository',
49
49
  :'repository_version' => :'repository_version',
@@ -55,9 +55,9 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
+ :'name' => :'String',
58
59
  :'base_path' => :'String',
59
60
  :'pulp_labels' => :'Hash<String, String>',
60
- :'name' => :'String',
61
61
  :'content_guard' => :'String',
62
62
  :'repository' => :'String',
63
63
  :'repository_version' => :'String',
@@ -90,6 +90,10 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
+ if attributes.key?(:'name')
94
+ self.name = attributes[:'name']
95
+ end
96
+
93
97
  if attributes.key?(:'base_path')
94
98
  self.base_path = attributes[:'base_path']
95
99
  end
@@ -100,10 +104,6 @@ module PulpContainerClient
100
104
  end
101
105
  end
102
106
 
103
- if attributes.key?(:'name')
104
- self.name = attributes[:'name']
105
- end
106
-
107
107
  if attributes.key?(:'content_guard')
108
108
  self.content_guard = attributes[:'content_guard']
109
109
  end
@@ -129,14 +129,6 @@ module PulpContainerClient
129
129
  # @return Array for valid properties with the reasons
130
130
  def list_invalid_properties
131
131
  invalid_properties = Array.new
132
- if @base_path.nil?
133
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
134
- end
135
-
136
- if @base_path.to_s.length < 1
137
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
138
- end
139
-
140
132
  if @name.nil?
141
133
  invalid_properties.push('invalid value for "name", name cannot be nil.')
142
134
  end
@@ -145,6 +137,14 @@ module PulpContainerClient
145
137
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
146
138
  end
147
139
 
140
+ if @base_path.nil?
141
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
142
+ end
143
+
144
+ if @base_path.to_s.length < 1
145
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
146
+ end
147
+
148
148
  if !@description.nil? && @description.to_s.length < 1
149
149
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
150
150
  end
@@ -155,28 +155,14 @@ module PulpContainerClient
155
155
  # Check to see if the all the properties in the model are valid
156
156
  # @return true if the model is valid
157
157
  def valid?
158
- return false if @base_path.nil?
159
- return false if @base_path.to_s.length < 1
160
158
  return false if @name.nil?
161
159
  return false if @name.to_s.length < 1
160
+ return false if @base_path.nil?
161
+ return false if @base_path.to_s.length < 1
162
162
  return false if !@description.nil? && @description.to_s.length < 1
163
163
  true
164
164
  end
165
165
 
166
- # Custom attribute writer method with validation
167
- # @param [Object] base_path Value to be assigned
168
- def base_path=(base_path)
169
- if base_path.nil?
170
- fail ArgumentError, 'base_path cannot be nil'
171
- end
172
-
173
- if base_path.to_s.length < 1
174
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
175
- end
176
-
177
- @base_path = base_path
178
- end
179
-
180
166
  # Custom attribute writer method with validation
181
167
  # @param [Object] name Value to be assigned
182
168
  def name=(name)
@@ -191,6 +177,20 @@ module PulpContainerClient
191
177
  @name = name
192
178
  end
193
179
 
180
+ # Custom attribute writer method with validation
181
+ # @param [Object] base_path Value to be assigned
182
+ def base_path=(base_path)
183
+ if base_path.nil?
184
+ fail ArgumentError, 'base_path cannot be nil'
185
+ end
186
+
187
+ if base_path.to_s.length < 1
188
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
189
+ end
190
+
191
+ @base_path = base_path
192
+ end
193
+
194
194
  # Custom attribute writer method with validation
195
195
  # @param [Object] description Value to be assigned
196
196
  def description=(description)
@@ -206,9 +206,9 @@ module PulpContainerClient
206
206
  def ==(o)
207
207
  return true if self.equal?(o)
208
208
  self.class == o.class &&
209
+ name == o.name &&
209
210
  base_path == o.base_path &&
210
211
  pulp_labels == o.pulp_labels &&
211
- name == o.name &&
212
212
  content_guard == o.content_guard &&
213
213
  repository == o.repository &&
214
214
  repository_version == o.repository_version &&
@@ -225,7 +225,7 @@ module PulpContainerClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [base_path, pulp_labels, name, content_guard, repository, repository_version, private, description].hash
228
+ [name, base_path, pulp_labels, content_guard, repository, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -15,18 +15,15 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
18
21
  # 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
22
  attr_accessor :base_path
20
23
 
21
- attr_accessor :pulp_labels
22
-
23
24
  attr_accessor :pulp_href
24
25
 
25
- # A unique name. Ex, `rawhide` and `stable`.
26
- attr_accessor :name
27
-
28
- # Timestamp of creation.
29
- attr_accessor :pulp_created
26
+ attr_accessor :pulp_labels
30
27
 
31
28
  # An optional content-guard. If none is specified, a default one will be used.
32
29
  attr_accessor :content_guard
@@ -34,6 +31,9 @@ module PulpContainerClient
34
31
  # The latest RepositoryVersion for this Repository will be served.
35
32
  attr_accessor :repository
36
33
 
34
+ # Timestamp of creation.
35
+ attr_accessor :pulp_created
36
+
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -52,13 +52,13 @@ module PulpContainerClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
+ :'name' => :'name',
55
56
  :'base_path' => :'base_path',
56
- :'pulp_labels' => :'pulp_labels',
57
57
  :'pulp_href' => :'pulp_href',
58
- :'name' => :'name',
59
- :'pulp_created' => :'pulp_created',
58
+ :'pulp_labels' => :'pulp_labels',
60
59
  :'content_guard' => :'content_guard',
61
60
  :'repository' => :'repository',
61
+ :'pulp_created' => :'pulp_created',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -70,13 +70,13 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
+ :'name' => :'String',
73
74
  :'base_path' => :'String',
74
- :'pulp_labels' => :'Hash<String, String>',
75
75
  :'pulp_href' => :'String',
76
- :'name' => :'String',
77
- :'pulp_created' => :'DateTime',
76
+ :'pulp_labels' => :'Hash<String, String>',
78
77
  :'content_guard' => :'String',
79
78
  :'repository' => :'String',
79
+ :'pulp_created' => :'DateTime',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,26 +109,22 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
- if attributes.key?(:'base_path')
113
- self.base_path = attributes[:'base_path']
112
+ if attributes.key?(:'name')
113
+ self.name = attributes[:'name']
114
114
  end
115
115
 
116
- if attributes.key?(:'pulp_labels')
117
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
- self.pulp_labels = value
119
- end
116
+ if attributes.key?(:'base_path')
117
+ self.base_path = attributes[:'base_path']
120
118
  end
121
119
 
122
120
  if attributes.key?(:'pulp_href')
123
121
  self.pulp_href = attributes[:'pulp_href']
124
122
  end
125
123
 
126
- if attributes.key?(:'name')
127
- self.name = attributes[:'name']
128
- end
129
-
130
- if attributes.key?(:'pulp_created')
131
- self.pulp_created = attributes[:'pulp_created']
124
+ if attributes.key?(:'pulp_labels')
125
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
126
+ self.pulp_labels = value
127
+ end
132
128
  end
133
129
 
134
130
  if attributes.key?(:'content_guard')
@@ -139,6 +135,10 @@ module PulpContainerClient
139
135
  self.repository = attributes[:'repository']
140
136
  end
141
137
 
138
+ if attributes.key?(:'pulp_created')
139
+ self.pulp_created = attributes[:'pulp_created']
140
+ end
141
+
142
142
  if attributes.key?(:'repository_version')
143
143
  self.repository_version = attributes[:'repository_version']
144
144
  end
@@ -164,22 +164,22 @@ module PulpContainerClient
164
164
  # @return Array for valid properties with the reasons
165
165
  def list_invalid_properties
166
166
  invalid_properties = Array.new
167
- if @base_path.nil?
168
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
169
- end
170
-
171
167
  if @name.nil?
172
168
  invalid_properties.push('invalid value for "name", name cannot be nil.')
173
169
  end
174
170
 
171
+ if @base_path.nil?
172
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
173
+ end
174
+
175
175
  invalid_properties
176
176
  end
177
177
 
178
178
  # Check to see if the all the properties in the model are valid
179
179
  # @return true if the model is valid
180
180
  def valid?
181
- return false if @base_path.nil?
182
181
  return false if @name.nil?
182
+ return false if @base_path.nil?
183
183
  true
184
184
  end
185
185
 
@@ -188,13 +188,13 @@ module PulpContainerClient
188
188
  def ==(o)
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
+ name == o.name &&
191
192
  base_path == o.base_path &&
192
- pulp_labels == o.pulp_labels &&
193
193
  pulp_href == o.pulp_href &&
194
- name == o.name &&
195
- pulp_created == o.pulp_created &&
194
+ pulp_labels == o.pulp_labels &&
196
195
  content_guard == o.content_guard &&
197
196
  repository == o.repository &&
197
+ pulp_created == o.pulp_created &&
198
198
  repository_version == o.repository_version &&
199
199
  registry_path == o.registry_path &&
200
200
  namespace == o.namespace &&
@@ -211,7 +211,7 @@ module PulpContainerClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [base_path, pulp_labels, pulp_href, name, pulp_created, content_guard, repository, repository_version, registry_path, namespace, private, description].hash
214
+ [name, base_path, pulp_href, pulp_labels, content_guard, repository, pulp_created, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
19
- attr_accessor :retain_repo_versions
20
-
21
- # An optional description.
22
- attr_accessor :description
23
-
24
- attr_accessor :pulp_labels
25
-
26
18
  # A unique name for this repository.
27
19
  attr_accessor :name
28
20
 
21
+ attr_accessor :pulp_labels
22
+
29
23
  # A reference to an associated signing service.
30
24
  attr_accessor :manifest_signing_service
31
25
 
26
+ # An optional description.
27
+ attr_accessor :description
28
+
29
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
30
+ attr_accessor :retain_repo_versions
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'retain_repo_versions' => :'retain_repo_versions',
36
- :'description' => :'description',
37
- :'pulp_labels' => :'pulp_labels',
38
35
  :'name' => :'name',
39
- :'manifest_signing_service' => :'manifest_signing_service'
36
+ :'pulp_labels' => :'pulp_labels',
37
+ :'manifest_signing_service' => :'manifest_signing_service',
38
+ :'description' => :'description',
39
+ :'retain_repo_versions' => :'retain_repo_versions'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'retain_repo_versions' => :'Integer',
47
- :'description' => :'String',
48
- :'pulp_labels' => :'Hash<String, String>',
49
46
  :'name' => :'String',
50
- :'manifest_signing_service' => :'String'
47
+ :'pulp_labels' => :'Hash<String, String>',
48
+ :'manifest_signing_service' => :'String',
49
+ :'description' => :'String',
50
+ :'retain_repo_versions' => :'Integer'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'retain_repo_versions',
57
+ :'manifest_signing_service',
58
58
  :'description',
59
- :'manifest_signing_service'
59
+ :'retain_repo_versions'
60
60
  ])
61
61
  end
62
62
 
@@ -75,12 +75,8 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'retain_repo_versions')
79
- self.retain_repo_versions = attributes[:'retain_repo_versions']
80
- end
81
-
82
- if attributes.key?(:'description')
83
- self.description = attributes[:'description']
78
+ if attributes.key?(:'name')
79
+ self.name = attributes[:'name']
84
80
  end
85
81
 
86
82
  if attributes.key?(:'pulp_labels')
@@ -89,27 +85,23 @@ module PulpContainerClient
89
85
  end
90
86
  end
91
87
 
92
- if attributes.key?(:'name')
93
- self.name = attributes[:'name']
94
- end
95
-
96
88
  if attributes.key?(:'manifest_signing_service')
97
89
  self.manifest_signing_service = attributes[:'manifest_signing_service']
98
90
  end
91
+
92
+ if attributes.key?(:'description')
93
+ self.description = attributes[:'description']
94
+ end
95
+
96
+ if attributes.key?(:'retain_repo_versions')
97
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
- end
108
-
109
- if !@description.nil? && @description.to_s.length < 1
110
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
- end
112
-
113
105
  if @name.nil?
114
106
  invalid_properties.push('invalid value for "name", name cannot be nil.')
115
107
  end
@@ -118,27 +110,39 @@ module PulpContainerClient
118
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
119
111
  end
120
112
 
113
+ if !@description.nil? && @description.to_s.length < 1
114
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
+ end
116
+
117
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
118
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
119
+ end
120
+
121
121
  invalid_properties
122
122
  end
123
123
 
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
- return false if !@description.nil? && @description.to_s.length < 1
129
127
  return false if @name.nil?
130
128
  return false if @name.to_s.length < 1
129
+ return false if !@description.nil? && @description.to_s.length < 1
130
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
131
131
  true
132
132
  end
133
133
 
134
134
  # Custom attribute writer method with validation
135
- # @param [Object] retain_repo_versions Value to be assigned
136
- def retain_repo_versions=(retain_repo_versions)
137
- if !retain_repo_versions.nil? && retain_repo_versions < 1
138
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
135
+ # @param [Object] name Value to be assigned
136
+ def name=(name)
137
+ if name.nil?
138
+ fail ArgumentError, 'name cannot be nil'
139
139
  end
140
140
 
141
- @retain_repo_versions = retain_repo_versions
141
+ if name.to_s.length < 1
142
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
143
+ end
144
+
145
+ @name = name
142
146
  end
143
147
 
144
148
  # Custom attribute writer method with validation
@@ -152,17 +156,13 @@ module PulpContainerClient
152
156
  end
153
157
 
154
158
  # Custom attribute writer method with validation
155
- # @param [Object] name Value to be assigned
156
- def name=(name)
157
- if name.nil?
158
- fail ArgumentError, 'name cannot be nil'
159
- end
160
-
161
- if name.to_s.length < 1
162
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
159
+ # @param [Object] retain_repo_versions Value to be assigned
160
+ def retain_repo_versions=(retain_repo_versions)
161
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
162
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
163
163
  end
164
164
 
165
- @name = name
165
+ @retain_repo_versions = retain_repo_versions
166
166
  end
167
167
 
168
168
  # Checks equality by comparing each attribute.
@@ -170,11 +170,11 @@ module PulpContainerClient
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- retain_repo_versions == o.retain_repo_versions &&
174
- description == o.description &&
175
- pulp_labels == o.pulp_labels &&
176
173
  name == o.name &&
177
- manifest_signing_service == o.manifest_signing_service
174
+ pulp_labels == o.pulp_labels &&
175
+ manifest_signing_service == o.manifest_signing_service &&
176
+ description == o.description &&
177
+ retain_repo_versions == o.retain_repo_versions
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [retain_repo_versions, description, pulp_labels, name, manifest_signing_service].hash
189
+ [name, pulp_labels, manifest_signing_service, description, retain_repo_versions].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash