pulp_container_client 2.28.1 → 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 (37) 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 +14 -14
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  9. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  11. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  12. data/docs/RepositoriesContainerApi.md +3 -3
  13. data/docs/RepositoriesContainerPushApi.md +75 -0
  14. data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
  15. data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -0
  16. data/lib/pulp_container_client/models/container_container_distribution.rb +28 -28
  17. data/lib/pulp_container_client/models/container_container_distribution_response.rb +68 -68
  18. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +28 -28
  19. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +68 -68
  20. data/lib/pulp_container_client/models/container_container_push_repository.rb +60 -60
  21. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +80 -80
  22. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
  23. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +26 -26
  24. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +60 -60
  25. data/lib/pulp_container_client/version.rb +1 -1
  26. data/spec/api/repositories_container_api_spec.rb +3 -3
  27. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  28. data/spec/models/container_container_distribution_response_spec.rb +13 -13
  29. data/spec/models/container_container_distribution_spec.rb +4 -4
  30. data/spec/models/container_container_pull_through_distribution_response_spec.rb +13 -13
  31. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  32. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  33. data/spec/models/container_container_push_repository_spec.rb +5 -5
  34. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  35. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  36. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  37. metadata +59 -59
@@ -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,22 +16,22 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistribution
19
- # An optional content-guard. If none is specified, a default one will be used.
20
- attr_accessor :content_guard
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
21
21
 
22
22
  attr_accessor :pulp_labels
23
23
 
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
26
-
27
24
  # Whether this distribution should be shown in the content app.
28
25
  attr_accessor :hidden
29
26
 
27
+ # A unique name. Ex, `rawhide` and `stable`.
28
+ attr_accessor :name
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
33
+ # An optional content-guard. If none is specified, a default one will be used.
34
+ attr_accessor :content_guard
35
35
 
36
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
37
  attr_accessor :base_path
@@ -45,12 +45,12 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
- :'content_guard' => :'content_guard',
48
+ :'repository_version' => :'repository_version',
49
49
  :'pulp_labels' => :'pulp_labels',
50
- :'name' => :'name',
51
50
  :'hidden' => :'hidden',
51
+ :'name' => :'name',
52
52
  :'repository' => :'repository',
53
- :'repository_version' => :'repository_version',
53
+ :'content_guard' => :'content_guard',
54
54
  :'base_path' => :'base_path',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
@@ -65,12 +65,12 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'content_guard' => :'String',
68
+ :'repository_version' => :'String',
69
69
  :'pulp_labels' => :'Hash<String, String>',
70
- :'name' => :'String',
71
70
  :'hidden' => :'Boolean',
71
+ :'name' => :'String',
72
72
  :'repository' => :'String',
73
- :'repository_version' => :'String',
73
+ :'content_guard' => :'String',
74
74
  :'base_path' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
@@ -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,8 +101,8 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'content_guard')
105
- self.content_guard = attributes[:'content_guard']
104
+ if attributes.key?(:'repository_version')
105
+ self.repository_version = attributes[:'repository_version']
106
106
  end
107
107
 
108
108
  if attributes.key?(:'pulp_labels')
@@ -111,24 +111,24 @@ module PulpContainerClient
111
111
  end
112
112
  end
113
113
 
114
- if attributes.key?(:'name')
115
- self.name = attributes[:'name']
116
- else
117
- self.name = nil
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
 
120
+ if attributes.key?(:'name')
121
+ self.name = attributes[:'name']
122
+ else
123
+ self.name = nil
124
+ end
125
+
126
126
  if attributes.key?(:'repository')
127
127
  self.repository = attributes[:'repository']
128
128
  end
129
129
 
130
- if attributes.key?(:'repository_version')
131
- self.repository_version = attributes[:'repository_version']
130
+ if attributes.key?(:'content_guard')
131
+ self.content_guard = attributes[:'content_guard']
132
132
  end
133
133
 
134
134
  if attributes.key?(:'base_path')
@@ -229,12 +229,12 @@ module PulpContainerClient
229
229
  def ==(o)
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
- content_guard == o.content_guard &&
232
+ repository_version == o.repository_version &&
233
233
  pulp_labels == o.pulp_labels &&
234
- name == o.name &&
235
234
  hidden == o.hidden &&
235
+ name == o.name &&
236
236
  repository == o.repository &&
237
- repository_version == o.repository_version &&
237
+ content_guard == o.content_guard &&
238
238
  base_path == o.base_path &&
239
239
  private == o.private &&
240
240
  description == o.description
@@ -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
- [content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, 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,11 +16,19 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistributionResponse
19
- # 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.
20
- attr_accessor :pulp_last_updated
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
21
21
 
22
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
23
- attr_accessor :no_content_change_since
22
+ attr_accessor :pulp_labels
23
+
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
26
+
27
+ # A unique name. Ex, `rawhide` and `stable`.
28
+ attr_accessor :name
29
+
30
+ # The latest RepositoryVersion for this Repository will be served.
31
+ attr_accessor :repository
24
32
 
25
33
  # The Pulp Resource Name (PRN) of the associated optional content guard.
26
34
  attr_accessor :content_guard_prn
@@ -36,23 +44,15 @@ module PulpContainerClient
36
44
  # Timestamp of creation.
37
45
  attr_accessor :pulp_created
38
46
 
39
- attr_accessor :pulp_labels
40
-
41
- # A unique name. Ex, `rawhide` and `stable`.
42
- attr_accessor :name
43
-
44
- # Whether this distribution should be shown in the content app.
45
- attr_accessor :hidden
46
-
47
- # The latest RepositoryVersion for this Repository will be served.
48
- attr_accessor :repository
49
-
50
- # RepositoryVersion to be served
51
- attr_accessor :repository_version
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
52
49
 
53
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\")
54
51
  attr_accessor :base_path
55
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
+
56
56
  # The Registry hostname/name/ to use with docker pull command defined by this distribution.
57
57
  attr_accessor :registry_path
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_last_updated' => :'pulp_last_updated',
75
- :'no_content_change_since' => :'no_content_change_since',
74
+ :'repository_version' => :'repository_version',
75
+ :'pulp_labels' => :'pulp_labels',
76
+ :'hidden' => :'hidden',
77
+ :'name' => :'name',
78
+ :'repository' => :'repository',
76
79
  :'content_guard_prn' => :'content_guard_prn',
77
80
  :'pulp_href' => :'pulp_href',
78
81
  :'content_guard' => :'content_guard',
79
82
  :'prn' => :'prn',
80
83
  :'pulp_created' => :'pulp_created',
81
- :'pulp_labels' => :'pulp_labels',
82
- :'name' => :'name',
83
- :'hidden' => :'hidden',
84
- :'repository' => :'repository',
85
- :'repository_version' => :'repository_version',
84
+ :'pulp_last_updated' => :'pulp_last_updated',
86
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
- :'pulp_last_updated' => :'Time',
104
- :'no_content_change_since' => :'String',
103
+ :'repository_version' => :'String',
104
+ :'pulp_labels' => :'Hash<String, String>',
105
+ :'hidden' => :'Boolean',
106
+ :'name' => :'String',
107
+ :'repository' => :'String',
105
108
  :'content_guard_prn' => :'String',
106
109
  :'pulp_href' => :'String',
107
110
  :'content_guard' => :'String',
108
111
  :'prn' => :'String',
109
112
  :'pulp_created' => :'Time',
110
- :'pulp_labels' => :'Hash<String, String>',
111
- :'name' => :'String',
112
- :'hidden' => :'Boolean',
113
- :'repository' => :'String',
114
- :'repository_version' => :'String',
113
+ :'pulp_last_updated' => :'Time',
115
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,12 +145,30 @@ module PulpContainerClient
145
145
  h[k.to_sym] = v
146
146
  }
147
147
 
148
- if attributes.key?(:'pulp_last_updated')
149
- self.pulp_last_updated = attributes[:'pulp_last_updated']
148
+ if attributes.key?(:'repository_version')
149
+ self.repository_version = attributes[:'repository_version']
150
150
  end
151
151
 
152
- if attributes.key?(:'no_content_change_since')
153
- self.no_content_change_since = attributes[:'no_content_change_since']
152
+ if attributes.key?(:'pulp_labels')
153
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
154
+ self.pulp_labels = value
155
+ end
156
+ end
157
+
158
+ if attributes.key?(:'hidden')
159
+ self.hidden = attributes[:'hidden']
160
+ else
161
+ self.hidden = false
162
+ end
163
+
164
+ if attributes.key?(:'name')
165
+ self.name = attributes[:'name']
166
+ else
167
+ self.name = nil
168
+ end
169
+
170
+ if attributes.key?(:'repository')
171
+ self.repository = attributes[:'repository']
154
172
  end
155
173
 
156
174
  if attributes.key?(:'content_guard_prn')
@@ -173,30 +191,8 @@ module PulpContainerClient
173
191
  self.pulp_created = attributes[:'pulp_created']
174
192
  end
175
193
 
176
- if attributes.key?(:'pulp_labels')
177
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
178
- self.pulp_labels = value
179
- end
180
- end
181
-
182
- if attributes.key?(:'name')
183
- self.name = attributes[:'name']
184
- else
185
- self.name = nil
186
- end
187
-
188
- if attributes.key?(:'hidden')
189
- self.hidden = attributes[:'hidden']
190
- else
191
- self.hidden = false
192
- end
193
-
194
- if attributes.key?(:'repository')
195
- self.repository = attributes[:'repository']
196
- end
197
-
198
- if attributes.key?(:'repository_version')
199
- self.repository_version = attributes[:'repository_version']
194
+ if attributes.key?(:'pulp_last_updated')
195
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
200
196
  end
201
197
 
202
198
  if attributes.key?(:'base_path')
@@ -205,6 +201,10 @@ module PulpContainerClient
205
201
  self.base_path = nil
206
202
  end
207
203
 
204
+ if attributes.key?(:'no_content_change_since')
205
+ self.no_content_change_since = attributes[:'no_content_change_since']
206
+ end
207
+
208
208
  if attributes.key?(:'registry_path')
209
209
  self.registry_path = attributes[:'registry_path']
210
210
  end
@@ -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
- pulp_last_updated == o.pulp_last_updated &&
260
- no_content_change_since == o.no_content_change_since &&
259
+ repository_version == o.repository_version &&
260
+ pulp_labels == o.pulp_labels &&
261
+ hidden == o.hidden &&
262
+ name == o.name &&
263
+ repository == o.repository &&
261
264
  content_guard_prn == o.content_guard_prn &&
262
265
  pulp_href == o.pulp_href &&
263
266
  content_guard == o.content_guard &&
264
267
  prn == o.prn &&
265
268
  pulp_created == o.pulp_created &&
266
- pulp_labels == o.pulp_labels &&
267
- name == o.name &&
268
- hidden == o.hidden &&
269
- repository == o.repository &&
270
- repository_version == o.repository_version &&
269
+ pulp_last_updated == o.pulp_last_updated &&
271
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
- [pulp_last_updated, no_content_change_since, content_guard_prn, pulp_href, content_guard, prn, pulp_created, pulp_labels, name, hidden, repository, repository_version, base_path, 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
@@ -16,22 +16,22 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistribution
19
- # An optional content-guard. If none is specified, a default one will be used.
20
- attr_accessor :content_guard
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
21
21
 
22
22
  attr_accessor :pulp_labels
23
23
 
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
26
-
27
24
  # Whether this distribution should be shown in the content app.
28
25
  attr_accessor :hidden
29
26
 
27
+ # A unique name. Ex, `rawhide` and `stable`.
28
+ attr_accessor :name
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
33
+ # An optional content-guard. If none is specified, a default one will be used.
34
+ attr_accessor :content_guard
35
35
 
36
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
37
  attr_accessor :base_path
@@ -51,12 +51,12 @@ module PulpContainerClient
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
- :'content_guard' => :'content_guard',
54
+ :'repository_version' => :'repository_version',
55
55
  :'pulp_labels' => :'pulp_labels',
56
- :'name' => :'name',
57
56
  :'hidden' => :'hidden',
57
+ :'name' => :'name',
58
58
  :'repository' => :'repository',
59
- :'repository_version' => :'repository_version',
59
+ :'content_guard' => :'content_guard',
60
60
  :'base_path' => :'base_path',
61
61
  :'remote' => :'remote',
62
62
  :'distributions' => :'distributions',
@@ -73,12 +73,12 @@ module PulpContainerClient
73
73
  # Attribute type mapping.
74
74
  def self.openapi_types
75
75
  {
76
- :'content_guard' => :'String',
76
+ :'repository_version' => :'String',
77
77
  :'pulp_labels' => :'Hash<String, String>',
78
- :'name' => :'String',
79
78
  :'hidden' => :'Boolean',
79
+ :'name' => :'String',
80
80
  :'repository' => :'String',
81
- :'repository_version' => :'String',
81
+ :'content_guard' => :'String',
82
82
  :'base_path' => :'String',
83
83
  :'remote' => :'String',
84
84
  :'distributions' => :'Array<String>',
@@ -90,8 +90,8 @@ module PulpContainerClient
90
90
  # List of attributes with nullable: true
91
91
  def self.openapi_nullable
92
92
  Set.new([
93
- :'repository',
94
93
  :'repository_version',
94
+ :'repository',
95
95
  :'description'
96
96
  ])
97
97
  end
@@ -111,8 +111,8 @@ module PulpContainerClient
111
111
  h[k.to_sym] = v
112
112
  }
113
113
 
114
- if attributes.key?(:'content_guard')
115
- self.content_guard = attributes[:'content_guard']
114
+ if attributes.key?(:'repository_version')
115
+ self.repository_version = attributes[:'repository_version']
116
116
  end
117
117
 
118
118
  if attributes.key?(:'pulp_labels')
@@ -121,24 +121,24 @@ module PulpContainerClient
121
121
  end
122
122
  end
123
123
 
124
- if attributes.key?(:'name')
125
- self.name = attributes[:'name']
126
- else
127
- self.name = nil
128
- end
129
-
130
124
  if attributes.key?(:'hidden')
131
125
  self.hidden = attributes[:'hidden']
132
126
  else
133
127
  self.hidden = false
134
128
  end
135
129
 
130
+ if attributes.key?(:'name')
131
+ self.name = attributes[:'name']
132
+ else
133
+ self.name = nil
134
+ end
135
+
136
136
  if attributes.key?(:'repository')
137
137
  self.repository = attributes[:'repository']
138
138
  end
139
139
 
140
- if attributes.key?(:'repository_version')
141
- self.repository_version = attributes[:'repository_version']
140
+ if attributes.key?(:'content_guard')
141
+ self.content_guard = attributes[:'content_guard']
142
142
  end
143
143
 
144
144
  if attributes.key?(:'base_path')
@@ -256,12 +256,12 @@ module PulpContainerClient
256
256
  def ==(o)
257
257
  return true if self.equal?(o)
258
258
  self.class == o.class &&
259
- content_guard == o.content_guard &&
259
+ repository_version == o.repository_version &&
260
260
  pulp_labels == o.pulp_labels &&
261
- name == o.name &&
262
261
  hidden == o.hidden &&
262
+ name == o.name &&
263
263
  repository == o.repository &&
264
- repository_version == o.repository_version &&
264
+ content_guard == o.content_guard &&
265
265
  base_path == o.base_path &&
266
266
  remote == o.remote &&
267
267
  distributions == o.distributions &&
@@ -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
- [content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, remote, distributions, private, description].hash
281
+ [repository_version, pulp_labels, hidden, name, repository, content_guard, base_path, remote, distributions, private, description].hash
282
282
  end
283
283
 
284
284
  # Builds the object from hash