pulp_container_client 2.24.8 → 2.24.10

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