pulp_container_client 2.27.10 → 2.28.0

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 (57) 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 +16 -16
  5. data/docs/ContainerContainerNamespace.md +3 -1
  6. data/docs/ContainerContainerNamespaceResponse.md +3 -1
  7. data/docs/ContainerContainerPullThroughDistribution.md +8 -8
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
  9. data/docs/ContainerContainerPushRepository.md +5 -5
  10. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  11. data/docs/ContainerContainerRemote.md +6 -2
  12. data/docs/ContainerContainerRemoteResponse.md +4 -4
  13. data/docs/ContainerManifestSignatureResponse.md +2 -0
  14. data/docs/ContentSignaturesApi.md +2 -2
  15. data/docs/DistributionsContainerApi.md +2 -2
  16. data/docs/DistributionsPullThroughApi.md +2 -2
  17. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  18. data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
  19. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  20. data/docs/PatchedcontainerContainerRemote.md +6 -2
  21. data/docs/PulpContainerNamespacesApi.md +2 -2
  22. data/lib/pulp_container_client/api/content_signatures_api.rb +3 -3
  23. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +3 -3
  24. data/lib/pulp_container_client/models/container_container_distribution.rb +59 -59
  25. data/lib/pulp_container_client/models/container_container_distribution_response.rb +78 -78
  26. data/lib/pulp_container_client/models/container_container_namespace.rb +15 -4
  27. data/lib/pulp_container_client/models/container_container_namespace_response.rb +15 -4
  28. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +59 -59
  29. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +78 -78
  30. data/lib/pulp_container_client/models/container_container_push_repository.rb +39 -39
  31. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
  32. data/lib/pulp_container_client/models/container_container_remote.rb +29 -3
  33. data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -19
  34. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +14 -1
  35. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +52 -52
  36. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +52 -52
  37. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
  38. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +29 -3
  39. data/lib/pulp_container_client/version.rb +1 -1
  40. data/spec/api/content_signatures_api_spec.rb +1 -1
  41. data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
  42. data/spec/models/container_container_distribution_response_spec.rb +12 -12
  43. data/spec/models/container_container_distribution_spec.rb +7 -7
  44. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  45. data/spec/models/container_container_namespace_spec.rb +6 -0
  46. data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
  47. data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
  48. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  49. data/spec/models/container_container_push_repository_spec.rb +5 -5
  50. data/spec/models/container_container_remote_response_spec.rb +2 -2
  51. data/spec/models/container_container_remote_spec.rb +12 -0
  52. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  53. data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
  54. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
  55. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  56. data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
  57. metadata +2 -2
@@ -29,6 +29,8 @@ module PulpContainerClient
29
29
 
30
30
  attr_accessor :name
31
31
 
32
+ attr_accessor :pulp_labels
33
+
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
33
35
  def self.attribute_map
34
36
  {
@@ -36,7 +38,8 @@ module PulpContainerClient
36
38
  :'prn' => :'prn',
37
39
  :'pulp_created' => :'pulp_created',
38
40
  :'pulp_last_updated' => :'pulp_last_updated',
39
- :'name' => :'name'
41
+ :'name' => :'name',
42
+ :'pulp_labels' => :'pulp_labels'
40
43
  }
41
44
  end
42
45
 
@@ -52,7 +55,8 @@ module PulpContainerClient
52
55
  :'prn' => :'String',
53
56
  :'pulp_created' => :'Time',
54
57
  :'pulp_last_updated' => :'Time',
55
- :'name' => :'String'
58
+ :'name' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>'
56
60
  }
57
61
  end
58
62
 
@@ -98,6 +102,12 @@ module PulpContainerClient
98
102
  else
99
103
  self.name = nil
100
104
  end
105
+
106
+ if attributes.key?(:'pulp_labels')
107
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
108
+ self.pulp_labels = value
109
+ end
110
+ end
101
111
  end
102
112
 
103
113
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -129,7 +139,8 @@ module PulpContainerClient
129
139
  prn == o.prn &&
130
140
  pulp_created == o.pulp_created &&
131
141
  pulp_last_updated == o.pulp_last_updated &&
132
- name == o.name
142
+ name == o.name &&
143
+ pulp_labels == o.pulp_labels
133
144
  end
134
145
 
135
146
  # @see the `==` method
@@ -141,7 +152,7 @@ module PulpContainerClient
141
152
  # Calculates hash code according to all attributes.
142
153
  # @return [Integer] Hash code
143
154
  def hash
144
- [pulp_href, prn, pulp_created, pulp_last_updated, name].hash
155
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, pulp_labels].hash
145
156
  end
146
157
 
147
158
  # Builds the object from hash
@@ -16,26 +16,26 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistribution
19
- attr_accessor :pulp_labels
20
-
21
19
  # Whether this distribution should be shown in the content app.
22
20
  attr_accessor :hidden
23
21
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
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
26
24
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
25
+ attr_accessor :pulp_labels
29
26
 
30
27
  # A unique name. Ex, `rawhide` and `stable`.
31
28
  attr_accessor :name
32
29
 
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
30
+ # The latest RepositoryVersion for this Repository will be served.
31
+ attr_accessor :repository
35
32
 
36
33
  # RepositoryVersion to be served
37
34
  attr_accessor :repository_version
38
35
 
36
+ # An optional content-guard. If none is specified, a default one will be used.
37
+ attr_accessor :content_guard
38
+
39
39
  # Remote that can be used to fetch content when using pull-through caching.
40
40
  attr_accessor :remote
41
41
 
@@ -51,13 +51,13 @@ module PulpContainerClient
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
- :'pulp_labels' => :'pulp_labels',
55
54
  :'hidden' => :'hidden',
56
- :'content_guard' => :'content_guard',
57
- :'repository' => :'repository',
58
- :'name' => :'name',
59
55
  :'base_path' => :'base_path',
56
+ :'pulp_labels' => :'pulp_labels',
57
+ :'name' => :'name',
58
+ :'repository' => :'repository',
60
59
  :'repository_version' => :'repository_version',
60
+ :'content_guard' => :'content_guard',
61
61
  :'remote' => :'remote',
62
62
  :'distributions' => :'distributions',
63
63
  :'private' => :'private',
@@ -73,13 +73,13 @@ module PulpContainerClient
73
73
  # Attribute type mapping.
74
74
  def self.openapi_types
75
75
  {
76
- :'pulp_labels' => :'Hash<String, String>',
77
76
  :'hidden' => :'Boolean',
78
- :'content_guard' => :'String',
79
- :'repository' => :'String',
80
- :'name' => :'String',
81
77
  :'base_path' => :'String',
78
+ :'pulp_labels' => :'Hash<String, String>',
79
+ :'name' => :'String',
80
+ :'repository' => :'String',
82
81
  :'repository_version' => :'String',
82
+ :'content_guard' => :'String',
83
83
  :'remote' => :'String',
84
84
  :'distributions' => :'Array<String>',
85
85
  :'private' => :'Boolean',
@@ -111,24 +111,22 @@ module PulpContainerClient
111
111
  h[k.to_sym] = v
112
112
  }
113
113
 
114
- if attributes.key?(:'pulp_labels')
115
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
116
- self.pulp_labels = value
117
- end
118
- end
119
-
120
114
  if attributes.key?(:'hidden')
121
115
  self.hidden = attributes[:'hidden']
122
116
  else
123
117
  self.hidden = false
124
118
  end
125
119
 
126
- if attributes.key?(:'content_guard')
127
- self.content_guard = attributes[:'content_guard']
120
+ if attributes.key?(:'base_path')
121
+ self.base_path = attributes[:'base_path']
122
+ else
123
+ self.base_path = nil
128
124
  end
129
125
 
130
- if attributes.key?(:'repository')
131
- self.repository = attributes[:'repository']
126
+ if attributes.key?(:'pulp_labels')
127
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
128
+ self.pulp_labels = value
129
+ end
132
130
  end
133
131
 
134
132
  if attributes.key?(:'name')
@@ -137,16 +135,18 @@ module PulpContainerClient
137
135
  self.name = nil
138
136
  end
139
137
 
140
- if attributes.key?(:'base_path')
141
- self.base_path = attributes[:'base_path']
142
- else
143
- self.base_path = nil
138
+ if attributes.key?(:'repository')
139
+ self.repository = attributes[:'repository']
144
140
  end
145
141
 
146
142
  if attributes.key?(:'repository_version')
147
143
  self.repository_version = attributes[:'repository_version']
148
144
  end
149
145
 
146
+ if attributes.key?(:'content_guard')
147
+ self.content_guard = attributes[:'content_guard']
148
+ end
149
+
150
150
  if attributes.key?(:'remote')
151
151
  self.remote = attributes[:'remote']
152
152
  else
@@ -173,14 +173,6 @@ module PulpContainerClient
173
173
  def list_invalid_properties
174
174
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
175
175
  invalid_properties = Array.new
176
- if @name.nil?
177
- invalid_properties.push('invalid value for "name", name cannot be nil.')
178
- end
179
-
180
- if @name.to_s.length < 1
181
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
182
- end
183
-
184
176
  if @base_path.nil?
185
177
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
186
178
  end
@@ -189,6 +181,14 @@ module PulpContainerClient
189
181
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
190
182
  end
191
183
 
184
+ if @name.nil?
185
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
186
+ end
187
+
188
+ if @name.to_s.length < 1
189
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
190
+ end
191
+
192
192
  if @remote.nil?
193
193
  invalid_properties.push('invalid value for "remote", remote cannot be nil.')
194
194
  end
@@ -204,29 +204,15 @@ module PulpContainerClient
204
204
  # @return true if the model is valid
205
205
  def valid?
206
206
  warn '[DEPRECATED] the `valid?` method is obsolete'
207
- return false if @name.nil?
208
- return false if @name.to_s.length < 1
209
207
  return false if @base_path.nil?
210
208
  return false if @base_path.to_s.length < 1
209
+ return false if @name.nil?
210
+ return false if @name.to_s.length < 1
211
211
  return false if @remote.nil?
212
212
  return false if !@description.nil? && @description.to_s.length < 1
213
213
  true
214
214
  end
215
215
 
216
- # Custom attribute writer method with validation
217
- # @param [Object] name Value to be assigned
218
- def name=(name)
219
- if name.nil?
220
- fail ArgumentError, 'name cannot be nil'
221
- end
222
-
223
- if name.to_s.length < 1
224
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
225
- end
226
-
227
- @name = name
228
- end
229
-
230
216
  # Custom attribute writer method with validation
231
217
  # @param [Object] base_path Value to be assigned
232
218
  def base_path=(base_path)
@@ -241,6 +227,20 @@ module PulpContainerClient
241
227
  @base_path = base_path
242
228
  end
243
229
 
230
+ # Custom attribute writer method with validation
231
+ # @param [Object] name Value to be assigned
232
+ def name=(name)
233
+ if name.nil?
234
+ fail ArgumentError, 'name cannot be nil'
235
+ end
236
+
237
+ if name.to_s.length < 1
238
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
239
+ end
240
+
241
+ @name = name
242
+ end
243
+
244
244
  # Custom attribute writer method with validation
245
245
  # @param [Object] description Value to be assigned
246
246
  def description=(description)
@@ -256,13 +256,13 @@ module PulpContainerClient
256
256
  def ==(o)
257
257
  return true if self.equal?(o)
258
258
  self.class == o.class &&
259
- pulp_labels == o.pulp_labels &&
260
259
  hidden == o.hidden &&
261
- content_guard == o.content_guard &&
262
- repository == o.repository &&
263
- name == o.name &&
264
260
  base_path == o.base_path &&
261
+ pulp_labels == o.pulp_labels &&
262
+ name == o.name &&
263
+ repository == o.repository &&
265
264
  repository_version == o.repository_version &&
265
+ content_guard == o.content_guard &&
266
266
  remote == o.remote &&
267
267
  distributions == o.distributions &&
268
268
  private == o.private &&
@@ -278,7 +278,7 @@ module PulpContainerClient
278
278
  # Calculates hash code according to all attributes.
279
279
  # @return [Integer] Hash code
280
280
  def hash
281
- [pulp_labels, hidden, content_guard, repository, name, base_path, repository_version, remote, distributions, private, description].hash
281
+ [hidden, base_path, pulp_labels, name, repository, repository_version, content_guard, remote, distributions, private, description].hash
282
282
  end
283
283
 
284
284
  # Builds the object from hash
@@ -16,43 +16,43 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistributionResponse
19
- attr_accessor :pulp_labels
20
-
21
19
  # Whether this distribution should be shown in the content app.
22
20
  attr_accessor :hidden
23
21
 
24
- attr_accessor :pulp_href
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
25
24
 
26
- # The Pulp Resource Name (PRN) of the associated optional content guard.
27
- attr_accessor :content_guard_prn
25
+ # The Pulp Resource Name (PRN).
26
+ attr_accessor :prn
28
27
 
29
- # An optional content-guard. If none is specified, a default one will be used.
30
- attr_accessor :content_guard
28
+ # 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.
29
+ attr_accessor :pulp_last_updated
31
30
 
32
- # The latest RepositoryVersion for this Repository will be served.
33
- attr_accessor :repository
31
+ attr_accessor :pulp_labels
32
+
33
+ attr_accessor :pulp_href
34
34
 
35
35
  # A unique name. Ex, `rawhide` and `stable`.
36
36
  attr_accessor :name
37
37
 
38
- # The Pulp Resource Name (PRN).
39
- attr_accessor :prn
40
-
41
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
42
- attr_accessor :base_path
43
-
44
- # Timestamp of creation.
45
- attr_accessor :pulp_created
46
-
47
- # 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.
48
- attr_accessor :pulp_last_updated
38
+ # The latest RepositoryVersion for this Repository will be served.
39
+ attr_accessor :repository
49
40
 
50
41
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
51
42
  attr_accessor :no_content_change_since
52
43
 
44
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
45
+ attr_accessor :content_guard_prn
46
+
53
47
  # RepositoryVersion to be served
54
48
  attr_accessor :repository_version
55
49
 
50
+ # Timestamp of creation.
51
+ attr_accessor :pulp_created
52
+
53
+ # An optional content-guard. If none is specified, a default one will be used.
54
+ attr_accessor :content_guard
55
+
56
56
  # Remote that can be used to fetch content when using pull-through caching.
57
57
  attr_accessor :remote
58
58
 
@@ -71,19 +71,19 @@ module PulpContainerClient
71
71
  # Attribute mapping from ruby-style variable name to JSON key.
72
72
  def self.attribute_map
73
73
  {
74
- :'pulp_labels' => :'pulp_labels',
75
74
  :'hidden' => :'hidden',
76
- :'pulp_href' => :'pulp_href',
77
- :'content_guard_prn' => :'content_guard_prn',
78
- :'content_guard' => :'content_guard',
79
- :'repository' => :'repository',
80
- :'name' => :'name',
81
- :'prn' => :'prn',
82
75
  :'base_path' => :'base_path',
83
- :'pulp_created' => :'pulp_created',
76
+ :'prn' => :'prn',
84
77
  :'pulp_last_updated' => :'pulp_last_updated',
78
+ :'pulp_labels' => :'pulp_labels',
79
+ :'pulp_href' => :'pulp_href',
80
+ :'name' => :'name',
81
+ :'repository' => :'repository',
85
82
  :'no_content_change_since' => :'no_content_change_since',
83
+ :'content_guard_prn' => :'content_guard_prn',
86
84
  :'repository_version' => :'repository_version',
85
+ :'pulp_created' => :'pulp_created',
86
+ :'content_guard' => :'content_guard',
87
87
  :'remote' => :'remote',
88
88
  :'distributions' => :'distributions',
89
89
  :'namespace' => :'namespace',
@@ -100,19 +100,19 @@ module PulpContainerClient
100
100
  # Attribute type mapping.
101
101
  def self.openapi_types
102
102
  {
103
- :'pulp_labels' => :'Hash<String, String>',
104
103
  :'hidden' => :'Boolean',
105
- :'pulp_href' => :'String',
106
- :'content_guard_prn' => :'String',
107
- :'content_guard' => :'String',
108
- :'repository' => :'String',
109
- :'name' => :'String',
110
- :'prn' => :'String',
111
104
  :'base_path' => :'String',
112
- :'pulp_created' => :'Time',
105
+ :'prn' => :'String',
113
106
  :'pulp_last_updated' => :'Time',
107
+ :'pulp_labels' => :'Hash<String, String>',
108
+ :'pulp_href' => :'String',
109
+ :'name' => :'String',
110
+ :'repository' => :'String',
114
111
  :'no_content_change_since' => :'String',
112
+ :'content_guard_prn' => :'String',
115
113
  :'repository_version' => :'String',
114
+ :'pulp_created' => :'Time',
115
+ :'content_guard' => :'String',
116
116
  :'remote' => :'String',
117
117
  :'distributions' => :'Array<String>',
118
118
  :'namespace' => :'String',
@@ -145,32 +145,34 @@ module PulpContainerClient
145
145
  h[k.to_sym] = v
146
146
  }
147
147
 
148
- if attributes.key?(:'pulp_labels')
149
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
150
- self.pulp_labels = value
151
- end
152
- end
153
-
154
148
  if attributes.key?(:'hidden')
155
149
  self.hidden = attributes[:'hidden']
156
150
  else
157
151
  self.hidden = false
158
152
  end
159
153
 
160
- if attributes.key?(:'pulp_href')
161
- self.pulp_href = attributes[:'pulp_href']
154
+ if attributes.key?(:'base_path')
155
+ self.base_path = attributes[:'base_path']
156
+ else
157
+ self.base_path = nil
162
158
  end
163
159
 
164
- if attributes.key?(:'content_guard_prn')
165
- self.content_guard_prn = attributes[:'content_guard_prn']
160
+ if attributes.key?(:'prn')
161
+ self.prn = attributes[:'prn']
166
162
  end
167
163
 
168
- if attributes.key?(:'content_guard')
169
- self.content_guard = attributes[:'content_guard']
164
+ if attributes.key?(:'pulp_last_updated')
165
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
170
166
  end
171
167
 
172
- if attributes.key?(:'repository')
173
- self.repository = attributes[:'repository']
168
+ if attributes.key?(:'pulp_labels')
169
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
170
+ self.pulp_labels = value
171
+ end
172
+ end
173
+
174
+ if attributes.key?(:'pulp_href')
175
+ self.pulp_href = attributes[:'pulp_href']
174
176
  end
175
177
 
176
178
  if attributes.key?(:'name')
@@ -179,30 +181,28 @@ module PulpContainerClient
179
181
  self.name = nil
180
182
  end
181
183
 
182
- if attributes.key?(:'prn')
183
- self.prn = attributes[:'prn']
184
+ if attributes.key?(:'repository')
185
+ self.repository = attributes[:'repository']
184
186
  end
185
187
 
186
- if attributes.key?(:'base_path')
187
- self.base_path = attributes[:'base_path']
188
- else
189
- self.base_path = nil
188
+ if attributes.key?(:'no_content_change_since')
189
+ self.no_content_change_since = attributes[:'no_content_change_since']
190
190
  end
191
191
 
192
- if attributes.key?(:'pulp_created')
193
- self.pulp_created = attributes[:'pulp_created']
192
+ if attributes.key?(:'content_guard_prn')
193
+ self.content_guard_prn = attributes[:'content_guard_prn']
194
194
  end
195
195
 
196
- if attributes.key?(:'pulp_last_updated')
197
- self.pulp_last_updated = attributes[:'pulp_last_updated']
196
+ if attributes.key?(:'repository_version')
197
+ self.repository_version = attributes[:'repository_version']
198
198
  end
199
199
 
200
- if attributes.key?(:'no_content_change_since')
201
- self.no_content_change_since = attributes[:'no_content_change_since']
200
+ if attributes.key?(:'pulp_created')
201
+ self.pulp_created = attributes[:'pulp_created']
202
202
  end
203
203
 
204
- if attributes.key?(:'repository_version')
205
- self.repository_version = attributes[:'repository_version']
204
+ if attributes.key?(:'content_guard')
205
+ self.content_guard = attributes[:'content_guard']
206
206
  end
207
207
 
208
208
  if attributes.key?(:'remote')
@@ -235,14 +235,14 @@ module PulpContainerClient
235
235
  def list_invalid_properties
236
236
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
237
237
  invalid_properties = Array.new
238
- if @name.nil?
239
- invalid_properties.push('invalid value for "name", name cannot be nil.')
240
- end
241
-
242
238
  if @base_path.nil?
243
239
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
244
240
  end
245
241
 
242
+ if @name.nil?
243
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
244
+ end
245
+
246
246
  if @remote.nil?
247
247
  invalid_properties.push('invalid value for "remote", remote cannot be nil.')
248
248
  end
@@ -254,8 +254,8 @@ module PulpContainerClient
254
254
  # @return true if the model is valid
255
255
  def valid?
256
256
  warn '[DEPRECATED] the `valid?` method is obsolete'
257
- return false if @name.nil?
258
257
  return false if @base_path.nil?
258
+ return false if @name.nil?
259
259
  return false if @remote.nil?
260
260
  true
261
261
  end
@@ -265,19 +265,19 @@ module PulpContainerClient
265
265
  def ==(o)
266
266
  return true if self.equal?(o)
267
267
  self.class == o.class &&
268
- pulp_labels == o.pulp_labels &&
269
268
  hidden == o.hidden &&
270
- pulp_href == o.pulp_href &&
271
- content_guard_prn == o.content_guard_prn &&
272
- content_guard == o.content_guard &&
273
- repository == o.repository &&
274
- name == o.name &&
275
- prn == o.prn &&
276
269
  base_path == o.base_path &&
277
- pulp_created == o.pulp_created &&
270
+ prn == o.prn &&
278
271
  pulp_last_updated == o.pulp_last_updated &&
272
+ pulp_labels == o.pulp_labels &&
273
+ pulp_href == o.pulp_href &&
274
+ name == o.name &&
275
+ repository == o.repository &&
279
276
  no_content_change_since == o.no_content_change_since &&
277
+ content_guard_prn == o.content_guard_prn &&
280
278
  repository_version == o.repository_version &&
279
+ pulp_created == o.pulp_created &&
280
+ content_guard == o.content_guard &&
281
281
  remote == o.remote &&
282
282
  distributions == o.distributions &&
283
283
  namespace == o.namespace &&
@@ -294,7 +294,7 @@ module PulpContainerClient
294
294
  # Calculates hash code according to all attributes.
295
295
  # @return [Integer] Hash code
296
296
  def hash
297
- [pulp_labels, hidden, pulp_href, content_guard_prn, content_guard, repository, name, prn, base_path, pulp_created, pulp_last_updated, no_content_change_since, repository_version, remote, distributions, namespace, private, description].hash
297
+ [hidden, base_path, prn, pulp_last_updated, pulp_labels, pulp_href, name, repository, no_content_change_since, content_guard_prn, repository_version, pulp_created, content_guard, remote, distributions, namespace, private, description].hash
298
298
  end
299
299
 
300
300
  # Builds the object from hash