pulp_container_client 2.20.9 → 2.20.12

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +6 -6
  5. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +6 -6
  7. data/docs/ContainerContainerPushRepository.md +4 -4
  8. data/docs/ContainerContainerPushRepositoryResponse.md +6 -6
  9. data/docs/DistributionsPullThroughApi.md +6 -8
  10. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  11. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  12. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  13. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
  14. data/lib/pulp_container_client/models/container_container_distribution.rb +54 -54
  15. data/lib/pulp_container_client/models/container_container_distribution_response.rb +36 -36
  16. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +55 -55
  17. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +36 -36
  18. data/lib/pulp_container_client/models/container_container_push_repository.rb +35 -35
  19. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
  20. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +45 -45
  21. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +46 -46
  22. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +35 -35
  23. data/lib/pulp_container_client/version.rb +1 -1
  24. data/spec/api/distributions_pull_through_api_spec.rb +2 -4
  25. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  26. data/spec/models/container_container_distribution_spec.rb +6 -6
  27. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  28. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  29. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  30. data/spec/models/container_container_push_repository_spec.rb +3 -3
  31. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  32. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  33. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  34. metadata +61 -61
@@ -17,29 +17,29 @@ module PulpContainerClient
17
17
  class ContainerContainerPullThroughDistributionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
- # The latest RepositoryVersion for this Repository will be served.
21
- attr_accessor :repository
22
-
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\")
24
- attr_accessor :base_path
25
-
26
20
  # 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.
27
21
  attr_accessor :pulp_last_updated
28
22
 
29
23
  # Timestamp of creation.
30
24
  attr_accessor :pulp_created
31
25
 
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
34
-
35
26
  # A unique name. Ex, `rawhide` and `stable`.
36
27
  attr_accessor :name
37
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
38
32
  # Whether this distribution should be shown in the content app.
39
33
  attr_accessor :hidden
40
34
 
35
+ # The registry path exposed by this pull-through distribution.
36
+ attr_accessor :base_path
37
+
41
38
  attr_accessor :pulp_labels
42
39
 
40
+ # An optional content-guard. If none is specified, a default one will be used.
41
+ attr_accessor :content_guard
42
+
43
43
  # Remote that can be used to fetch content when using pull-through caching.
44
44
  attr_accessor :remote
45
45
 
@@ -59,14 +59,14 @@ module PulpContainerClient
59
59
  def self.attribute_map
60
60
  {
61
61
  :'pulp_href' => :'pulp_href',
62
- :'repository' => :'repository',
63
- :'base_path' => :'base_path',
64
62
  :'pulp_last_updated' => :'pulp_last_updated',
65
63
  :'pulp_created' => :'pulp_created',
66
- :'content_guard' => :'content_guard',
67
64
  :'name' => :'name',
65
+ :'repository' => :'repository',
68
66
  :'hidden' => :'hidden',
67
+ :'base_path' => :'base_path',
69
68
  :'pulp_labels' => :'pulp_labels',
69
+ :'content_guard' => :'content_guard',
70
70
  :'remote' => :'remote',
71
71
  :'distributions' => :'distributions',
72
72
  :'namespace' => :'namespace',
@@ -79,14 +79,14 @@ module PulpContainerClient
79
79
  def self.openapi_types
80
80
  {
81
81
  :'pulp_href' => :'String',
82
- :'repository' => :'String',
83
- :'base_path' => :'String',
84
82
  :'pulp_last_updated' => :'DateTime',
85
83
  :'pulp_created' => :'DateTime',
86
- :'content_guard' => :'String',
87
84
  :'name' => :'String',
85
+ :'repository' => :'String',
88
86
  :'hidden' => :'Boolean',
87
+ :'base_path' => :'String',
89
88
  :'pulp_labels' => :'Hash<String, String>',
89
+ :'content_guard' => :'String',
90
90
  :'remote' => :'String',
91
91
  :'distributions' => :'Array<String>',
92
92
  :'namespace' => :'String',
@@ -122,14 +122,6 @@ module PulpContainerClient
122
122
  self.pulp_href = attributes[:'pulp_href']
123
123
  end
124
124
 
125
- if attributes.key?(:'repository')
126
- self.repository = attributes[:'repository']
127
- end
128
-
129
- if attributes.key?(:'base_path')
130
- self.base_path = attributes[:'base_path']
131
- end
132
-
133
125
  if attributes.key?(:'pulp_last_updated')
134
126
  self.pulp_last_updated = attributes[:'pulp_last_updated']
135
127
  end
@@ -138,26 +130,34 @@ module PulpContainerClient
138
130
  self.pulp_created = attributes[:'pulp_created']
139
131
  end
140
132
 
141
- if attributes.key?(:'content_guard')
142
- self.content_guard = attributes[:'content_guard']
143
- end
144
-
145
133
  if attributes.key?(:'name')
146
134
  self.name = attributes[:'name']
147
135
  end
148
136
 
137
+ if attributes.key?(:'repository')
138
+ self.repository = attributes[:'repository']
139
+ end
140
+
149
141
  if attributes.key?(:'hidden')
150
142
  self.hidden = attributes[:'hidden']
151
143
  else
152
144
  self.hidden = false
153
145
  end
154
146
 
147
+ if attributes.key?(:'base_path')
148
+ self.base_path = attributes[:'base_path']
149
+ end
150
+
155
151
  if attributes.key?(:'pulp_labels')
156
152
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
157
153
  self.pulp_labels = value
158
154
  end
159
155
  end
160
156
 
157
+ if attributes.key?(:'content_guard')
158
+ self.content_guard = attributes[:'content_guard']
159
+ end
160
+
161
161
  if attributes.key?(:'remote')
162
162
  self.remote = attributes[:'remote']
163
163
  end
@@ -185,14 +185,14 @@ module PulpContainerClient
185
185
  # @return Array for valid properties with the reasons
186
186
  def list_invalid_properties
187
187
  invalid_properties = Array.new
188
- if @base_path.nil?
189
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
190
- end
191
-
192
188
  if @name.nil?
193
189
  invalid_properties.push('invalid value for "name", name cannot be nil.')
194
190
  end
195
191
 
192
+ if @base_path.nil?
193
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
194
+ end
195
+
196
196
  if @remote.nil?
197
197
  invalid_properties.push('invalid value for "remote", remote cannot be nil.')
198
198
  end
@@ -203,8 +203,8 @@ module PulpContainerClient
203
203
  # Check to see if the all the properties in the model are valid
204
204
  # @return true if the model is valid
205
205
  def valid?
206
- return false if @base_path.nil?
207
206
  return false if @name.nil?
207
+ return false if @base_path.nil?
208
208
  return false if @remote.nil?
209
209
  true
210
210
  end
@@ -215,14 +215,14 @@ module PulpContainerClient
215
215
  return true if self.equal?(o)
216
216
  self.class == o.class &&
217
217
  pulp_href == o.pulp_href &&
218
- repository == o.repository &&
219
- base_path == o.base_path &&
220
218
  pulp_last_updated == o.pulp_last_updated &&
221
219
  pulp_created == o.pulp_created &&
222
- content_guard == o.content_guard &&
223
220
  name == o.name &&
221
+ repository == o.repository &&
224
222
  hidden == o.hidden &&
223
+ base_path == o.base_path &&
225
224
  pulp_labels == o.pulp_labels &&
225
+ content_guard == o.content_guard &&
226
226
  remote == o.remote &&
227
227
  distributions == o.distributions &&
228
228
  namespace == o.namespace &&
@@ -239,7 +239,7 @@ module PulpContainerClient
239
239
  # Calculates hash code according to all attributes.
240
240
  # @return [Integer] Hash code
241
241
  def hash
242
- [pulp_href, repository, base_path, pulp_last_updated, pulp_created, content_guard, name, hidden, pulp_labels, remote, distributions, namespace, private, description].hash
242
+ [pulp_href, pulp_last_updated, pulp_created, name, repository, hidden, base_path, pulp_labels, content_guard, remote, distributions, namespace, private, description].hash
243
243
  end
244
244
 
245
245
  # Builds the object from hash
@@ -15,27 +15,27 @@ 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
18
+ # Retain X versions of the repository. Default is null which retains all versions.
19
+ attr_accessor :retain_repo_versions
20
20
 
21
21
  # A unique name for this repository.
22
22
  attr_accessor :name
23
23
 
24
+ # An optional description.
25
+ attr_accessor :description
26
+
24
27
  # A reference to an associated signing service.
25
28
  attr_accessor :manifest_signing_service
26
29
 
27
- # Retain X versions of the repository. Default is null which retains all versions.
28
- attr_accessor :retain_repo_versions
29
-
30
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',
35
+ :'retain_repo_versions' => :'retain_repo_versions',
36
36
  :'name' => :'name',
37
+ :'description' => :'description',
37
38
  :'manifest_signing_service' => :'manifest_signing_service',
38
- :'retain_repo_versions' => :'retain_repo_versions',
39
39
  :'pulp_labels' => :'pulp_labels'
40
40
  }
41
41
  end
@@ -43,10 +43,10 @@ module PulpContainerClient
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'description' => :'String',
46
+ :'retain_repo_versions' => :'Integer',
47
47
  :'name' => :'String',
48
+ :'description' => :'String',
48
49
  :'manifest_signing_service' => :'String',
49
- :'retain_repo_versions' => :'Integer',
50
50
  :'pulp_labels' => :'Hash<String, String>'
51
51
  }
52
52
  end
@@ -54,9 +54,9 @@ module PulpContainerClient
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
+ :'retain_repo_versions',
57
58
  :'description',
58
59
  :'manifest_signing_service',
59
- :'retain_repo_versions',
60
60
  ])
61
61
  end
62
62
 
@@ -75,20 +75,20 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
80
80
  end
81
81
 
82
82
  if attributes.key?(:'name')
83
83
  self.name = attributes[:'name']
84
84
  end
85
85
 
86
- if attributes.key?(:'manifest_signing_service')
87
- self.manifest_signing_service = attributes[:'manifest_signing_service']
86
+ if attributes.key?(:'description')
87
+ self.description = attributes[:'description']
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?(:'manifest_signing_service')
91
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
92
92
  end
93
93
 
94
94
  if attributes.key?(:'pulp_labels')
@@ -102,8 +102,8 @@ module PulpContainerClient
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@description.nil? && @description.to_s.length < 1
106
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
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
107
  end
108
108
 
109
109
  if @name.nil?
@@ -114,8 +114,8 @@ module PulpContainerClient
114
114
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
115
115
  end
116
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.')
117
+ if !@description.nil? && @description.to_s.length < 1
118
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
119
  end
120
120
 
121
121
  invalid_properties
@@ -124,21 +124,21 @@ module PulpContainerClient
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 !@description.nil? && @description.to_s.length < 1
127
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
128
  return false if @name.nil?
129
129
  return false if @name.to_s.length < 1
130
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
130
+ return false if !@description.nil? && @description.to_s.length < 1
131
131
  true
132
132
  end
133
133
 
134
134
  # Custom attribute writer method with validation
135
- # @param [Object] description Value to be assigned
136
- def description=(description)
137
- if !description.nil? && description.to_s.length < 1
138
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
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.'
139
139
  end
140
140
 
141
- @description = description
141
+ @retain_repo_versions = retain_repo_versions
142
142
  end
143
143
 
144
144
  # Custom attribute writer method with validation
@@ -156,13 +156,13 @@ module PulpContainerClient
156
156
  end
157
157
 
158
158
  # Custom attribute writer method with validation
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.'
159
+ # @param [Object] description Value to be assigned
160
+ def description=(description)
161
+ if !description.nil? && description.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
163
  end
164
164
 
165
- @retain_repo_versions = retain_repo_versions
165
+ @description = description
166
166
  end
167
167
 
168
168
  # Checks equality by comparing each attribute.
@@ -170,10 +170,10 @@ module PulpContainerClient
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- description == o.description &&
173
+ retain_repo_versions == o.retain_repo_versions &&
174
174
  name == o.name &&
175
+ description == o.description &&
175
176
  manifest_signing_service == o.manifest_signing_service &&
176
- retain_repo_versions == o.retain_repo_versions &&
177
177
  pulp_labels == o.pulp_labels
178
178
  end
179
179
 
@@ -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
- [description, name, manifest_signing_service, retain_repo_versions, pulp_labels].hash
189
+ [retain_repo_versions, name, description, manifest_signing_service, pulp_labels].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -17,27 +17,27 @@ module PulpContainerClient
17
17
  class ContainerContainerPushRepositoryResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
- # An optional description.
21
- attr_accessor :description
22
-
23
- attr_accessor :latest_version_href
24
-
25
20
  attr_accessor :versions_href
26
21
 
27
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.
28
23
  attr_accessor :pulp_last_updated
29
24
 
25
+ # Retain X versions of the repository. Default is null which retains all versions.
26
+ attr_accessor :retain_repo_versions
27
+
30
28
  # Timestamp of creation.
31
29
  attr_accessor :pulp_created
32
30
 
33
31
  # A unique name for this repository.
34
32
  attr_accessor :name
35
33
 
34
+ # An optional description.
35
+ attr_accessor :description
36
+
36
37
  # A reference to an associated signing service.
37
38
  attr_accessor :manifest_signing_service
38
39
 
39
- # Retain X versions of the repository. Default is null which retains all versions.
40
- attr_accessor :retain_repo_versions
40
+ attr_accessor :latest_version_href
41
41
 
42
42
  attr_accessor :pulp_labels
43
43
 
@@ -45,14 +45,14 @@ module PulpContainerClient
45
45
  def self.attribute_map
46
46
  {
47
47
  :'pulp_href' => :'pulp_href',
48
- :'description' => :'description',
49
- :'latest_version_href' => :'latest_version_href',
50
48
  :'versions_href' => :'versions_href',
51
49
  :'pulp_last_updated' => :'pulp_last_updated',
50
+ :'retain_repo_versions' => :'retain_repo_versions',
52
51
  :'pulp_created' => :'pulp_created',
53
52
  :'name' => :'name',
53
+ :'description' => :'description',
54
54
  :'manifest_signing_service' => :'manifest_signing_service',
55
- :'retain_repo_versions' => :'retain_repo_versions',
55
+ :'latest_version_href' => :'latest_version_href',
56
56
  :'pulp_labels' => :'pulp_labels'
57
57
  }
58
58
  end
@@ -61,14 +61,14 @@ module PulpContainerClient
61
61
  def self.openapi_types
62
62
  {
63
63
  :'pulp_href' => :'String',
64
- :'description' => :'String',
65
- :'latest_version_href' => :'String',
66
64
  :'versions_href' => :'String',
67
65
  :'pulp_last_updated' => :'DateTime',
66
+ :'retain_repo_versions' => :'Integer',
68
67
  :'pulp_created' => :'DateTime',
69
68
  :'name' => :'String',
69
+ :'description' => :'String',
70
70
  :'manifest_signing_service' => :'String',
71
- :'retain_repo_versions' => :'Integer',
71
+ :'latest_version_href' => :'String',
72
72
  :'pulp_labels' => :'Hash<String, String>'
73
73
  }
74
74
  end
@@ -76,9 +76,9 @@ module PulpContainerClient
76
76
  # List of attributes with nullable: true
77
77
  def self.openapi_nullable
78
78
  Set.new([
79
+ :'retain_repo_versions',
79
80
  :'description',
80
81
  :'manifest_signing_service',
81
- :'retain_repo_versions',
82
82
  ])
83
83
  end
84
84
 
@@ -101,14 +101,6 @@ module PulpContainerClient
101
101
  self.pulp_href = attributes[:'pulp_href']
102
102
  end
103
103
 
104
- if attributes.key?(:'description')
105
- self.description = attributes[:'description']
106
- end
107
-
108
- if attributes.key?(:'latest_version_href')
109
- self.latest_version_href = attributes[:'latest_version_href']
110
- end
111
-
112
104
  if attributes.key?(:'versions_href')
113
105
  self.versions_href = attributes[:'versions_href']
114
106
  end
@@ -117,6 +109,10 @@ module PulpContainerClient
117
109
  self.pulp_last_updated = attributes[:'pulp_last_updated']
118
110
  end
119
111
 
112
+ if attributes.key?(:'retain_repo_versions')
113
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
114
+ end
115
+
120
116
  if attributes.key?(:'pulp_created')
121
117
  self.pulp_created = attributes[:'pulp_created']
122
118
  end
@@ -125,12 +121,16 @@ module PulpContainerClient
125
121
  self.name = attributes[:'name']
126
122
  end
127
123
 
124
+ if attributes.key?(:'description')
125
+ self.description = attributes[:'description']
126
+ end
127
+
128
128
  if attributes.key?(:'manifest_signing_service')
129
129
  self.manifest_signing_service = attributes[:'manifest_signing_service']
130
130
  end
131
131
 
132
- if attributes.key?(:'retain_repo_versions')
133
- self.retain_repo_versions = attributes[:'retain_repo_versions']
132
+ if attributes.key?(:'latest_version_href')
133
+ self.latest_version_href = attributes[:'latest_version_href']
134
134
  end
135
135
 
136
136
  if attributes.key?(:'pulp_labels')
@@ -144,22 +144,22 @@ module PulpContainerClient
144
144
  # @return Array for valid properties with the reasons
145
145
  def list_invalid_properties
146
146
  invalid_properties = Array.new
147
- if @name.nil?
148
- invalid_properties.push('invalid value for "name", name cannot be nil.')
149
- end
150
-
151
147
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
152
148
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
153
149
  end
154
150
 
151
+ if @name.nil?
152
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
153
+ end
154
+
155
155
  invalid_properties
156
156
  end
157
157
 
158
158
  # Check to see if the all the properties in the model are valid
159
159
  # @return true if the model is valid
160
160
  def valid?
161
- return false if @name.nil?
162
161
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
162
+ return false if @name.nil?
163
163
  true
164
164
  end
165
165
 
@@ -179,14 +179,14 @@ module PulpContainerClient
179
179
  return true if self.equal?(o)
180
180
  self.class == o.class &&
181
181
  pulp_href == o.pulp_href &&
182
- description == o.description &&
183
- latest_version_href == o.latest_version_href &&
184
182
  versions_href == o.versions_href &&
185
183
  pulp_last_updated == o.pulp_last_updated &&
184
+ retain_repo_versions == o.retain_repo_versions &&
186
185
  pulp_created == o.pulp_created &&
187
186
  name == o.name &&
187
+ description == o.description &&
188
188
  manifest_signing_service == o.manifest_signing_service &&
189
- retain_repo_versions == o.retain_repo_versions &&
189
+ latest_version_href == o.latest_version_href &&
190
190
  pulp_labels == o.pulp_labels
191
191
  end
192
192
 
@@ -199,7 +199,7 @@ module PulpContainerClient
199
199
  # Calculates hash code according to all attributes.
200
200
  # @return [Integer] Hash code
201
201
  def hash
202
- [pulp_href, description, latest_version_href, versions_href, pulp_last_updated, pulp_created, name, manifest_signing_service, retain_repo_versions, pulp_labels].hash
202
+ [pulp_href, versions_href, pulp_last_updated, retain_repo_versions, pulp_created, name, description, manifest_signing_service, latest_version_href, pulp_labels].hash
203
203
  end
204
204
 
205
205
  # Builds the object from hash