pulp_container_client 2.28.0 → 2.29.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +16 -16
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  9. data/docs/DistributionsContainerApi.md +2 -2
  10. data/docs/DistributionsPullThroughApi.md +2 -2
  11. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  12. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  13. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  14. data/docs/RepositoriesContainerApi.md +3 -3
  15. data/docs/RepositoriesContainerPushApi.md +75 -0
  16. data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
  17. data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -0
  18. data/lib/pulp_container_client/models/container_container_distribution.rb +57 -57
  19. data/lib/pulp_container_client/models/container_container_distribution_response.rb +78 -78
  20. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +57 -57
  21. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +78 -78
  22. data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
  23. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +64 -64
  24. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +50 -50
  25. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +50 -50
  26. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
  27. data/lib/pulp_container_client/version.rb +1 -1
  28. data/spec/api/repositories_container_api_spec.rb +3 -3
  29. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  30. data/spec/models/container_container_distribution_response_spec.rb +13 -13
  31. data/spec/models/container_container_distribution_spec.rb +5 -5
  32. data/spec/models/container_container_pull_through_distribution_response_spec.rb +13 -13
  33. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  34. data/spec/models/container_container_push_repository_response_spec.rb +12 -12
  35. data/spec/models/container_container_push_repository_spec.rb +5 -5
  36. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  37. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  38. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  39. metadata +58 -58
@@ -346,6 +346,72 @@ module PulpContainerClient
346
346
  return data, status_code, headers
347
347
  end
348
348
 
349
+ # Migrate push repository to container repository
350
+ # Trigger an asynchronous task to convert this push repository into a container repository in place. The repository primary key and version history are preserved; only the repository type changes.
351
+ # @param container_container_push_repository_href [String]
352
+ # @param [Hash] opts the optional parameters
353
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
354
+ # @return [AsyncOperationResponse]
355
+ def migrate(container_container_push_repository_href, opts = {})
356
+ data, _status_code, _headers = migrate_with_http_info(container_container_push_repository_href, opts)
357
+ data
358
+ end
359
+
360
+ # Migrate push repository to container repository
361
+ # Trigger an asynchronous task to convert this push repository into a container repository in place. The repository primary key and version history are preserved; only the repository type changes.
362
+ # @param container_container_push_repository_href [String]
363
+ # @param [Hash] opts the optional parameters
364
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
365
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
366
+ def migrate_with_http_info(container_container_push_repository_href, opts = {})
367
+ if @api_client.config.debugging
368
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.migrate ...'
369
+ end
370
+ # verify the required parameter 'container_container_push_repository_href' is set
371
+ if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
372
+ fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.migrate"
373
+ end
374
+ # resource path
375
+ local_var_path = '{container_container_push_repository_href}migrate/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
376
+
377
+ # query parameters
378
+ query_params = opts[:query_params] || {}
379
+
380
+ # header parameters
381
+ header_params = opts[:header_params] || {}
382
+ # HTTP header 'Accept' (if needed)
383
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
384
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
385
+
386
+ # form parameters
387
+ form_params = opts[:form_params] || {}
388
+
389
+ # http body (model)
390
+ post_body = opts[:debug_body]
391
+
392
+ # return_type
393
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
394
+
395
+ # auth_names
396
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
397
+
398
+ new_options = opts.merge(
399
+ :operation => :"RepositoriesContainerPushApi.migrate",
400
+ :header_params => header_params,
401
+ :query_params => query_params,
402
+ :form_params => form_params,
403
+ :body => post_body,
404
+ :auth_names => auth_names,
405
+ :return_type => return_type
406
+ )
407
+
408
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
409
+ if @api_client.config.debugging
410
+ @api_client.config.logger.debug "API called: RepositoriesContainerPushApi#migrate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
411
+ end
412
+ return data, status_code, headers
413
+ end
414
+
349
415
  # List user permissions
350
416
  # List permissions available to the current user on this object.
351
417
  # @param container_container_push_repository_href [String]
@@ -16,26 +16,26 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistribution
19
- # Whether this distribution should be shown in the content app.
20
- attr_accessor :hidden
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
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
24
21
 
25
22
  attr_accessor :pulp_labels
26
23
 
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
26
+
27
27
  # A unique name. Ex, `rawhide` and `stable`.
28
28
  attr_accessor :name
29
29
 
30
30
  # The latest RepositoryVersion for this Repository will be served.
31
31
  attr_accessor :repository
32
32
 
33
- # RepositoryVersion to be served
34
- attr_accessor :repository_version
35
-
36
33
  # An optional content-guard. If none is specified, a default one will be used.
37
34
  attr_accessor :content_guard
38
35
 
36
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
37
+ attr_accessor :base_path
38
+
39
39
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
40
40
  attr_accessor :private
41
41
 
@@ -45,13 +45,13 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
- :'hidden' => :'hidden',
49
- :'base_path' => :'base_path',
48
+ :'repository_version' => :'repository_version',
50
49
  :'pulp_labels' => :'pulp_labels',
50
+ :'hidden' => :'hidden',
51
51
  :'name' => :'name',
52
52
  :'repository' => :'repository',
53
- :'repository_version' => :'repository_version',
54
53
  :'content_guard' => :'content_guard',
54
+ :'base_path' => :'base_path',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
57
57
  }
@@ -65,13 +65,13 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'hidden' => :'Boolean',
69
- :'base_path' => :'String',
68
+ :'repository_version' => :'String',
70
69
  :'pulp_labels' => :'Hash<String, String>',
70
+ :'hidden' => :'Boolean',
71
71
  :'name' => :'String',
72
72
  :'repository' => :'String',
73
- :'repository_version' => :'String',
74
73
  :'content_guard' => :'String',
74
+ :'base_path' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -80,8 +80,8 @@ module PulpContainerClient
80
80
  # List of attributes with nullable: true
81
81
  def self.openapi_nullable
82
82
  Set.new([
83
- :'repository',
84
83
  :'repository_version',
84
+ :'repository',
85
85
  :'description'
86
86
  ])
87
87
  end
@@ -101,16 +101,8 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'hidden')
105
- self.hidden = attributes[:'hidden']
106
- else
107
- self.hidden = false
108
- end
109
-
110
- if attributes.key?(:'base_path')
111
- self.base_path = attributes[:'base_path']
112
- else
113
- self.base_path = nil
104
+ if attributes.key?(:'repository_version')
105
+ self.repository_version = attributes[:'repository_version']
114
106
  end
115
107
 
116
108
  if attributes.key?(:'pulp_labels')
@@ -119,6 +111,12 @@ module PulpContainerClient
119
111
  end
120
112
  end
121
113
 
114
+ if attributes.key?(:'hidden')
115
+ self.hidden = attributes[:'hidden']
116
+ else
117
+ self.hidden = false
118
+ end
119
+
122
120
  if attributes.key?(:'name')
123
121
  self.name = attributes[:'name']
124
122
  else
@@ -129,14 +127,16 @@ module PulpContainerClient
129
127
  self.repository = attributes[:'repository']
130
128
  end
131
129
 
132
- if attributes.key?(:'repository_version')
133
- self.repository_version = attributes[:'repository_version']
134
- end
135
-
136
130
  if attributes.key?(:'content_guard')
137
131
  self.content_guard = attributes[:'content_guard']
138
132
  end
139
133
 
134
+ if attributes.key?(:'base_path')
135
+ self.base_path = attributes[:'base_path']
136
+ else
137
+ self.base_path = nil
138
+ end
139
+
140
140
  if attributes.key?(:'private')
141
141
  self.private = attributes[:'private']
142
142
  end
@@ -151,14 +151,6 @@ module PulpContainerClient
151
151
  def list_invalid_properties
152
152
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
153
153
  invalid_properties = Array.new
154
- if @base_path.nil?
155
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
156
- end
157
-
158
- if @base_path.to_s.length < 1
159
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
160
- end
161
-
162
154
  if @name.nil?
163
155
  invalid_properties.push('invalid value for "name", name cannot be nil.')
164
156
  end
@@ -167,6 +159,14 @@ module PulpContainerClient
167
159
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
168
160
  end
169
161
 
162
+ if @base_path.nil?
163
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
164
+ end
165
+
166
+ if @base_path.to_s.length < 1
167
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
168
+ end
169
+
170
170
  if !@description.nil? && @description.to_s.length < 1
171
171
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
172
172
  end
@@ -178,28 +178,14 @@ module PulpContainerClient
178
178
  # @return true if the model is valid
179
179
  def valid?
180
180
  warn '[DEPRECATED] the `valid?` method is obsolete'
181
- return false if @base_path.nil?
182
- return false if @base_path.to_s.length < 1
183
181
  return false if @name.nil?
184
182
  return false if @name.to_s.length < 1
183
+ return false if @base_path.nil?
184
+ return false if @base_path.to_s.length < 1
185
185
  return false if !@description.nil? && @description.to_s.length < 1
186
186
  true
187
187
  end
188
188
 
189
- # Custom attribute writer method with validation
190
- # @param [Object] base_path Value to be assigned
191
- def base_path=(base_path)
192
- if base_path.nil?
193
- fail ArgumentError, 'base_path cannot be nil'
194
- end
195
-
196
- if base_path.to_s.length < 1
197
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
198
- end
199
-
200
- @base_path = base_path
201
- end
202
-
203
189
  # Custom attribute writer method with validation
204
190
  # @param [Object] name Value to be assigned
205
191
  def name=(name)
@@ -214,6 +200,20 @@ module PulpContainerClient
214
200
  @name = name
215
201
  end
216
202
 
203
+ # Custom attribute writer method with validation
204
+ # @param [Object] base_path Value to be assigned
205
+ def base_path=(base_path)
206
+ if base_path.nil?
207
+ fail ArgumentError, 'base_path cannot be nil'
208
+ end
209
+
210
+ if base_path.to_s.length < 1
211
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
212
+ end
213
+
214
+ @base_path = base_path
215
+ end
216
+
217
217
  # Custom attribute writer method with validation
218
218
  # @param [Object] description Value to be assigned
219
219
  def description=(description)
@@ -229,13 +229,13 @@ module PulpContainerClient
229
229
  def ==(o)
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
- hidden == o.hidden &&
233
- base_path == o.base_path &&
232
+ repository_version == o.repository_version &&
234
233
  pulp_labels == o.pulp_labels &&
234
+ hidden == o.hidden &&
235
235
  name == o.name &&
236
236
  repository == o.repository &&
237
- repository_version == o.repository_version &&
238
237
  content_guard == o.content_guard &&
238
+ base_path == o.base_path &&
239
239
  private == o.private &&
240
240
  description == o.description
241
241
  end
@@ -249,7 +249,7 @@ module PulpContainerClient
249
249
  # Calculates hash code according to all attributes.
250
250
  # @return [Integer] Hash code
251
251
  def hash
252
- [hidden, base_path, pulp_labels, name, repository, repository_version, content_guard, private, description].hash
252
+ [repository_version, pulp_labels, hidden, name, repository, content_guard, base_path, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -16,21 +16,13 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistributionResponse
19
- # Whether this distribution should be shown in the content app.
20
- attr_accessor :hidden
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
-
25
- # The Pulp Resource Name (PRN).
26
- attr_accessor :prn
27
-
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
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
30
21
 
31
22
  attr_accessor :pulp_labels
32
23
 
33
- attr_accessor :pulp_href
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
34
26
 
35
27
  # A unique name. Ex, `rawhide` and `stable`.
36
28
  attr_accessor :name
@@ -38,20 +30,28 @@ module PulpContainerClient
38
30
  # The latest RepositoryVersion for this Repository will be served.
39
31
  attr_accessor :repository
40
32
 
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.
42
- attr_accessor :no_content_change_since
43
-
44
33
  # The Pulp Resource Name (PRN) of the associated optional content guard.
45
34
  attr_accessor :content_guard_prn
46
35
 
47
- # RepositoryVersion to be served
48
- attr_accessor :repository_version
36
+ attr_accessor :pulp_href
37
+
38
+ # An optional content-guard. If none is specified, a default one will be used.
39
+ attr_accessor :content_guard
40
+
41
+ # The Pulp Resource Name (PRN).
42
+ attr_accessor :prn
49
43
 
50
44
  # Timestamp of creation.
51
45
  attr_accessor :pulp_created
52
46
 
53
- # An optional content-guard. If none is specified, a default one will be used.
54
- attr_accessor :content_guard
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
49
+
50
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
51
+ attr_accessor :base_path
52
+
53
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
54
+ attr_accessor :no_content_change_since
55
55
 
56
56
  # The Registry hostname/name/ to use with docker pull command defined by this distribution.
57
57
  attr_accessor :registry_path
@@ -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
- :'hidden' => :'hidden',
75
- :'base_path' => :'base_path',
76
- :'prn' => :'prn',
77
- :'pulp_last_updated' => :'pulp_last_updated',
74
+ :'repository_version' => :'repository_version',
78
75
  :'pulp_labels' => :'pulp_labels',
79
- :'pulp_href' => :'pulp_href',
76
+ :'hidden' => :'hidden',
80
77
  :'name' => :'name',
81
78
  :'repository' => :'repository',
82
- :'no_content_change_since' => :'no_content_change_since',
83
79
  :'content_guard_prn' => :'content_guard_prn',
84
- :'repository_version' => :'repository_version',
85
- :'pulp_created' => :'pulp_created',
80
+ :'pulp_href' => :'pulp_href',
86
81
  :'content_guard' => :'content_guard',
82
+ :'prn' => :'prn',
83
+ :'pulp_created' => :'pulp_created',
84
+ :'pulp_last_updated' => :'pulp_last_updated',
85
+ :'base_path' => :'base_path',
86
+ :'no_content_change_since' => :'no_content_change_since',
87
87
  :'registry_path' => :'registry_path',
88
88
  :'remote' => :'remote',
89
89
  :'namespace' => :'namespace',
@@ -100,19 +100,19 @@ module PulpContainerClient
100
100
  # Attribute type mapping.
101
101
  def self.openapi_types
102
102
  {
103
- :'hidden' => :'Boolean',
104
- :'base_path' => :'String',
105
- :'prn' => :'String',
106
- :'pulp_last_updated' => :'Time',
103
+ :'repository_version' => :'String',
107
104
  :'pulp_labels' => :'Hash<String, String>',
108
- :'pulp_href' => :'String',
105
+ :'hidden' => :'Boolean',
109
106
  :'name' => :'String',
110
107
  :'repository' => :'String',
111
- :'no_content_change_since' => :'String',
112
108
  :'content_guard_prn' => :'String',
113
- :'repository_version' => :'String',
114
- :'pulp_created' => :'Time',
109
+ :'pulp_href' => :'String',
115
110
  :'content_guard' => :'String',
111
+ :'prn' => :'String',
112
+ :'pulp_created' => :'Time',
113
+ :'pulp_last_updated' => :'Time',
114
+ :'base_path' => :'String',
115
+ :'no_content_change_since' => :'String',
116
116
  :'registry_path' => :'String',
117
117
  :'remote' => :'String',
118
118
  :'namespace' => :'String',
@@ -124,8 +124,8 @@ module PulpContainerClient
124
124
  # List of attributes with nullable: true
125
125
  def self.openapi_nullable
126
126
  Set.new([
127
- :'repository',
128
127
  :'repository_version',
128
+ :'repository',
129
129
  :'description'
130
130
  ])
131
131
  end
@@ -145,24 +145,8 @@ module PulpContainerClient
145
145
  h[k.to_sym] = v
146
146
  }
147
147
 
148
- if attributes.key?(:'hidden')
149
- self.hidden = attributes[:'hidden']
150
- else
151
- self.hidden = false
152
- end
153
-
154
- if attributes.key?(:'base_path')
155
- self.base_path = attributes[:'base_path']
156
- else
157
- self.base_path = nil
158
- end
159
-
160
- if attributes.key?(:'prn')
161
- self.prn = attributes[:'prn']
162
- end
163
-
164
- if attributes.key?(:'pulp_last_updated')
165
- self.pulp_last_updated = attributes[:'pulp_last_updated']
148
+ if attributes.key?(:'repository_version')
149
+ self.repository_version = attributes[:'repository_version']
166
150
  end
167
151
 
168
152
  if attributes.key?(:'pulp_labels')
@@ -171,8 +155,10 @@ module PulpContainerClient
171
155
  end
172
156
  end
173
157
 
174
- if attributes.key?(:'pulp_href')
175
- self.pulp_href = attributes[:'pulp_href']
158
+ if attributes.key?(:'hidden')
159
+ self.hidden = attributes[:'hidden']
160
+ else
161
+ self.hidden = false
176
162
  end
177
163
 
178
164
  if attributes.key?(:'name')
@@ -185,24 +171,38 @@ module PulpContainerClient
185
171
  self.repository = attributes[:'repository']
186
172
  end
187
173
 
188
- if attributes.key?(:'no_content_change_since')
189
- self.no_content_change_since = attributes[:'no_content_change_since']
190
- end
191
-
192
174
  if attributes.key?(:'content_guard_prn')
193
175
  self.content_guard_prn = attributes[:'content_guard_prn']
194
176
  end
195
177
 
196
- if attributes.key?(:'repository_version')
197
- self.repository_version = attributes[:'repository_version']
178
+ if attributes.key?(:'pulp_href')
179
+ self.pulp_href = attributes[:'pulp_href']
180
+ end
181
+
182
+ if attributes.key?(:'content_guard')
183
+ self.content_guard = attributes[:'content_guard']
184
+ end
185
+
186
+ if attributes.key?(:'prn')
187
+ self.prn = attributes[:'prn']
198
188
  end
199
189
 
200
190
  if attributes.key?(:'pulp_created')
201
191
  self.pulp_created = attributes[:'pulp_created']
202
192
  end
203
193
 
204
- if attributes.key?(:'content_guard')
205
- self.content_guard = attributes[:'content_guard']
194
+ if attributes.key?(:'pulp_last_updated')
195
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
196
+ end
197
+
198
+ if attributes.key?(:'base_path')
199
+ self.base_path = attributes[:'base_path']
200
+ else
201
+ self.base_path = nil
202
+ end
203
+
204
+ if attributes.key?(:'no_content_change_since')
205
+ self.no_content_change_since = attributes[:'no_content_change_since']
206
206
  end
207
207
 
208
208
  if attributes.key?(:'registry_path')
@@ -231,14 +231,14 @@ module PulpContainerClient
231
231
  def list_invalid_properties
232
232
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
233
233
  invalid_properties = Array.new
234
- if @base_path.nil?
235
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
236
- end
237
-
238
234
  if @name.nil?
239
235
  invalid_properties.push('invalid value for "name", name cannot be nil.')
240
236
  end
241
237
 
238
+ if @base_path.nil?
239
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
240
+ end
241
+
242
242
  invalid_properties
243
243
  end
244
244
 
@@ -246,8 +246,8 @@ module PulpContainerClient
246
246
  # @return true if the model is valid
247
247
  def valid?
248
248
  warn '[DEPRECATED] the `valid?` method is obsolete'
249
- return false if @base_path.nil?
250
249
  return false if @name.nil?
250
+ return false if @base_path.nil?
251
251
  true
252
252
  end
253
253
 
@@ -256,19 +256,19 @@ module PulpContainerClient
256
256
  def ==(o)
257
257
  return true if self.equal?(o)
258
258
  self.class == o.class &&
259
- hidden == o.hidden &&
260
- base_path == o.base_path &&
261
- prn == o.prn &&
262
- pulp_last_updated == o.pulp_last_updated &&
259
+ repository_version == o.repository_version &&
263
260
  pulp_labels == o.pulp_labels &&
264
- pulp_href == o.pulp_href &&
261
+ hidden == o.hidden &&
265
262
  name == o.name &&
266
263
  repository == o.repository &&
267
- no_content_change_since == o.no_content_change_since &&
268
264
  content_guard_prn == o.content_guard_prn &&
269
- repository_version == o.repository_version &&
270
- pulp_created == o.pulp_created &&
265
+ pulp_href == o.pulp_href &&
271
266
  content_guard == o.content_guard &&
267
+ prn == o.prn &&
268
+ pulp_created == o.pulp_created &&
269
+ pulp_last_updated == o.pulp_last_updated &&
270
+ base_path == o.base_path &&
271
+ no_content_change_since == o.no_content_change_since &&
272
272
  registry_path == o.registry_path &&
273
273
  remote == o.remote &&
274
274
  namespace == o.namespace &&
@@ -285,7 +285,7 @@ module PulpContainerClient
285
285
  # Calculates hash code according to all attributes.
286
286
  # @return [Integer] Hash code
287
287
  def hash
288
- [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, registry_path, remote, namespace, private, description].hash
288
+ [repository_version, pulp_labels, hidden, name, repository, content_guard_prn, pulp_href, content_guard, prn, pulp_created, pulp_last_updated, base_path, no_content_change_since, registry_path, remote, namespace, private, description].hash
289
289
  end
290
290
 
291
291
  # Builds the object from hash