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