pulp_container_client 2.20.10 → 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 +8 -8
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +11 -11
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/DistributionsPullThroughApi.md +6 -8
  10. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  11. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  12. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  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 +34 -34
  15. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
  16. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
  17. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
  18. data/lib/pulp_container_client/models/container_container_push_repository.rb +47 -47
  19. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
  20. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +34 -34
  21. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +34 -34
  22. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
  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 +5 -5
  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 +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_pull_through_distribution_spec.rb +5 -5
  33. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  34. metadata +61 -61
@@ -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
- attr_accessor :pulp_labels
18
+ # Retain X versions of the repository. Default is null which retains all versions.
19
+ attr_accessor :retain_repo_versions
22
20
 
23
21
  # A unique name for this repository.
24
22
  attr_accessor :name
25
23
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
27
- attr_accessor :retain_repo_versions
24
+ # An optional description.
25
+ attr_accessor :description
28
26
 
29
27
  # A reference to an associated signing service.
30
28
  attr_accessor :manifest_signing_service
31
29
 
30
+ attr_accessor :pulp_labels
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'description' => :'description',
36
- :'pulp_labels' => :'pulp_labels',
37
- :'name' => :'name',
38
35
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
36
+ :'name' => :'name',
37
+ :'description' => :'description',
38
+ :'manifest_signing_service' => :'manifest_signing_service',
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
- :'pulp_labels' => :'Hash<String, String>',
48
- :'name' => :'String',
49
46
  :'retain_repo_versions' => :'Integer',
50
- :'manifest_signing_service' => :'String'
47
+ :'name' => :'String',
48
+ :'description' => :'String',
49
+ :'manifest_signing_service' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>'
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
- :'description',
58
57
  :'retain_repo_versions',
59
- :'manifest_signing_service'
58
+ :'description',
59
+ :'manifest_signing_service',
60
60
  ])
61
61
  end
62
62
 
@@ -75,35 +75,35 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
80
- end
81
-
82
- if attributes.key?(:'pulp_labels')
83
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
- self.pulp_labels = value
85
- end
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
86
80
  end
87
81
 
88
82
  if attributes.key?(:'name')
89
83
  self.name = attributes[:'name']
90
84
  end
91
85
 
92
- if attributes.key?(:'retain_repo_versions')
93
- self.retain_repo_versions = attributes[:'retain_repo_versions']
86
+ if attributes.key?(:'description')
87
+ self.description = attributes[:'description']
94
88
  end
95
89
 
96
90
  if attributes.key?(:'manifest_signing_service')
97
91
  self.manifest_signing_service = attributes[:'manifest_signing_service']
98
92
  end
93
+
94
+ if attributes.key?(:'pulp_labels')
95
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
+ self.pulp_labels = value
97
+ end
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
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,11 +170,11 @@ module PulpContainerClient
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- description == o.description &&
174
- pulp_labels == o.pulp_labels &&
175
- name == o.name &&
176
173
  retain_repo_versions == o.retain_repo_versions &&
177
- manifest_signing_service == o.manifest_signing_service
174
+ name == o.name &&
175
+ description == o.description &&
176
+ manifest_signing_service == o.manifest_signing_service &&
177
+ pulp_labels == o.pulp_labels
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
- [description, pulp_labels, name, retain_repo_versions, manifest_signing_service].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
@@ -15,17 +15,15 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_href
20
19
 
21
- attr_accessor :pulp_labels
20
+ attr_accessor :versions_href
22
21
 
23
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.
24
23
  attr_accessor :pulp_last_updated
25
24
 
26
- attr_accessor :latest_version_href
27
-
28
- attr_accessor :pulp_href
25
+ # Retain X versions of the repository. Default is null which retains all versions.
26
+ attr_accessor :retain_repo_versions
29
27
 
30
28
  # Timestamp of creation.
31
29
  attr_accessor :pulp_created
@@ -33,52 +31,54 @@ module PulpContainerClient
33
31
  # A unique name for this repository.
34
32
  attr_accessor :name
35
33
 
36
- # Retain X versions of the repository. Default is null which retains all versions.
37
- attr_accessor :retain_repo_versions
38
-
39
- attr_accessor :versions_href
34
+ # An optional description.
35
+ attr_accessor :description
40
36
 
41
37
  # A reference to an associated signing service.
42
38
  attr_accessor :manifest_signing_service
43
39
 
40
+ attr_accessor :latest_version_href
41
+
42
+ attr_accessor :pulp_labels
43
+
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'description' => :'description',
48
- :'pulp_labels' => :'pulp_labels',
49
- :'pulp_last_updated' => :'pulp_last_updated',
50
- :'latest_version_href' => :'latest_version_href',
51
47
  :'pulp_href' => :'pulp_href',
48
+ :'versions_href' => :'versions_href',
49
+ :'pulp_last_updated' => :'pulp_last_updated',
50
+ :'retain_repo_versions' => :'retain_repo_versions',
52
51
  :'pulp_created' => :'pulp_created',
53
52
  :'name' => :'name',
54
- :'retain_repo_versions' => :'retain_repo_versions',
55
- :'versions_href' => :'versions_href',
56
- :'manifest_signing_service' => :'manifest_signing_service'
53
+ :'description' => :'description',
54
+ :'manifest_signing_service' => :'manifest_signing_service',
55
+ :'latest_version_href' => :'latest_version_href',
56
+ :'pulp_labels' => :'pulp_labels'
57
57
  }
58
58
  end
59
59
 
60
60
  # Attribute type mapping.
61
61
  def self.openapi_types
62
62
  {
63
- :'description' => :'String',
64
- :'pulp_labels' => :'Hash<String, String>',
65
- :'pulp_last_updated' => :'DateTime',
66
- :'latest_version_href' => :'String',
67
63
  :'pulp_href' => :'String',
64
+ :'versions_href' => :'String',
65
+ :'pulp_last_updated' => :'DateTime',
66
+ :'retain_repo_versions' => :'Integer',
68
67
  :'pulp_created' => :'DateTime',
69
68
  :'name' => :'String',
70
- :'retain_repo_versions' => :'Integer',
71
- :'versions_href' => :'String',
72
- :'manifest_signing_service' => :'String'
69
+ :'description' => :'String',
70
+ :'manifest_signing_service' => :'String',
71
+ :'latest_version_href' => :'String',
72
+ :'pulp_labels' => :'Hash<String, String>'
73
73
  }
74
74
  end
75
75
 
76
76
  # List of attributes with nullable: true
77
77
  def self.openapi_nullable
78
78
  Set.new([
79
- :'description',
80
79
  :'retain_repo_versions',
81
- :'manifest_signing_service'
80
+ :'description',
81
+ :'manifest_signing_service',
82
82
  ])
83
83
  end
84
84
 
@@ -97,26 +97,20 @@ module PulpContainerClient
97
97
  h[k.to_sym] = v
98
98
  }
99
99
 
100
- if attributes.key?(:'description')
101
- self.description = attributes[:'description']
100
+ if attributes.key?(:'pulp_href')
101
+ self.pulp_href = attributes[:'pulp_href']
102
102
  end
103
103
 
104
- if attributes.key?(:'pulp_labels')
105
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
106
- self.pulp_labels = value
107
- end
104
+ if attributes.key?(:'versions_href')
105
+ self.versions_href = attributes[:'versions_href']
108
106
  end
109
107
 
110
108
  if attributes.key?(:'pulp_last_updated')
111
109
  self.pulp_last_updated = attributes[:'pulp_last_updated']
112
110
  end
113
111
 
114
- if attributes.key?(:'latest_version_href')
115
- self.latest_version_href = attributes[:'latest_version_href']
116
- end
117
-
118
- if attributes.key?(:'pulp_href')
119
- self.pulp_href = attributes[:'pulp_href']
112
+ if attributes.key?(:'retain_repo_versions')
113
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
120
114
  end
121
115
 
122
116
  if attributes.key?(:'pulp_created')
@@ -127,39 +121,45 @@ module PulpContainerClient
127
121
  self.name = attributes[:'name']
128
122
  end
129
123
 
130
- if attributes.key?(:'retain_repo_versions')
131
- self.retain_repo_versions = attributes[:'retain_repo_versions']
132
- end
133
-
134
- if attributes.key?(:'versions_href')
135
- self.versions_href = attributes[:'versions_href']
124
+ if attributes.key?(:'description')
125
+ self.description = attributes[:'description']
136
126
  end
137
127
 
138
128
  if attributes.key?(:'manifest_signing_service')
139
129
  self.manifest_signing_service = attributes[:'manifest_signing_service']
140
130
  end
131
+
132
+ if attributes.key?(:'latest_version_href')
133
+ self.latest_version_href = attributes[:'latest_version_href']
134
+ end
135
+
136
+ if attributes.key?(:'pulp_labels')
137
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
138
+ self.pulp_labels = value
139
+ end
140
+ end
141
141
  end
142
142
 
143
143
  # Show invalid properties with the reasons. Usually used together with valid?
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
 
@@ -178,16 +178,16 @@ module PulpContainerClient
178
178
  def ==(o)
179
179
  return true if self.equal?(o)
180
180
  self.class == o.class &&
181
- description == o.description &&
182
- pulp_labels == o.pulp_labels &&
183
- pulp_last_updated == o.pulp_last_updated &&
184
- latest_version_href == o.latest_version_href &&
185
181
  pulp_href == o.pulp_href &&
182
+ versions_href == o.versions_href &&
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 &&
188
- retain_repo_versions == o.retain_repo_versions &&
189
- versions_href == o.versions_href &&
190
- manifest_signing_service == o.manifest_signing_service
187
+ description == o.description &&
188
+ manifest_signing_service == o.manifest_signing_service &&
189
+ latest_version_href == o.latest_version_href &&
190
+ pulp_labels == o.pulp_labels
191
191
  end
192
192
 
193
193
  # @see the `==` method
@@ -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
- [description, pulp_labels, pulp_last_updated, latest_version_href, pulp_href, pulp_created, name, retain_repo_versions, versions_href, manifest_signing_service].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
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
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
- # Whether this distribution should be shown in the content app.
24
- attr_accessor :hidden
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
25
20
 
26
21
  # The latest RepositoryVersion for this Repository will be served.
27
22
  attr_accessor :repository
28
23
 
29
- # A unique name. Ex, `rawhide` and `stable`.
30
- attr_accessor :name
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
31
26
 
32
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
28
  attr_accessor :base_path
34
29
 
30
+ attr_accessor :pulp_labels
31
+
32
+ # An optional content-guard. If none is specified, a default one will be used.
33
+ attr_accessor :content_guard
34
+
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'content_guard' => :'content_guard',
48
- :'pulp_labels' => :'pulp_labels',
49
- :'hidden' => :'hidden',
50
- :'repository' => :'repository',
51
47
  :'name' => :'name',
48
+ :'repository' => :'repository',
49
+ :'hidden' => :'hidden',
52
50
  :'base_path' => :'base_path',
51
+ :'pulp_labels' => :'pulp_labels',
52
+ :'content_guard' => :'content_guard',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'content_guard' => :'String',
63
- :'pulp_labels' => :'Hash<String, String>',
64
- :'hidden' => :'Boolean',
65
- :'repository' => :'String',
66
62
  :'name' => :'String',
63
+ :'repository' => :'String',
64
+ :'hidden' => :'Boolean',
67
65
  :'base_path' => :'String',
66
+ :'pulp_labels' => :'Hash<String, String>',
67
+ :'content_guard' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,14 +95,12 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'content_guard')
99
- self.content_guard = attributes[:'content_guard']
98
+ if attributes.key?(:'name')
99
+ self.name = attributes[:'name']
100
100
  end
101
101
 
102
- if attributes.key?(:'pulp_labels')
103
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
- self.pulp_labels = value
105
- end
102
+ if attributes.key?(:'repository')
103
+ self.repository = attributes[:'repository']
106
104
  end
107
105
 
108
106
  if attributes.key?(:'hidden')
@@ -111,16 +109,18 @@ module PulpContainerClient
111
109
  self.hidden = false
112
110
  end
113
111
 
114
- if attributes.key?(:'repository')
115
- self.repository = attributes[:'repository']
112
+ if attributes.key?(:'base_path')
113
+ self.base_path = attributes[:'base_path']
116
114
  end
117
115
 
118
- if attributes.key?(:'name')
119
- self.name = attributes[:'name']
116
+ if attributes.key?(:'pulp_labels')
117
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
+ self.pulp_labels = value
119
+ end
120
120
  end
121
121
 
122
- if attributes.key?(:'base_path')
123
- self.base_path = attributes[:'base_path']
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'repository_version')
@@ -199,12 +199,12 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- content_guard == o.content_guard &&
203
- pulp_labels == o.pulp_labels &&
204
- hidden == o.hidden &&
205
- repository == o.repository &&
206
202
  name == o.name &&
203
+ repository == o.repository &&
204
+ hidden == o.hidden &&
207
205
  base_path == o.base_path &&
206
+ pulp_labels == o.pulp_labels &&
207
+ content_guard == o.content_guard &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [content_guard, pulp_labels, hidden, repository, name, base_path, repository_version, private, description].hash
222
+ [name, repository, hidden, base_path, pulp_labels, content_guard, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash