pulp_container_client 2.22.7 → 2.22.8

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