pulp_container_client 2.28.1 → 2.29.1

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 +9 -6
  3. data/docs/ContainerContainerDistribution.md +8 -8
  4. data/docs/ContainerContainerDistributionResponse.md +20 -20
  5. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +20 -20
  7. data/docs/ContainerContainerPushRepository.md +8 -8
  8. data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
  9. data/docs/ContainerRepositorySyncURL.md +1 -1
  10. data/docs/ContentBlobsApi.md +4 -0
  11. data/docs/ContentManifestsApi.md +4 -0
  12. data/docs/ContentSignaturesApi.md +4 -0
  13. data/docs/ContentTagsApi.md +4 -0
  14. data/docs/DistributionsPullThroughApi.md +10 -10
  15. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  17. data/docs/PatchedcontainerContainerPushRepository.md +8 -8
  18. data/docs/RepositoriesContainerApi.md +3 -3
  19. data/docs/RepositoriesContainerPushApi.md +75 -0
  20. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
  21. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
  22. data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
  23. data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
  24. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
  25. data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
  26. data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -0
  27. data/lib/pulp_container_client/models/container_container_distribution.rb +42 -42
  28. data/lib/pulp_container_client/models/container_container_distribution_response.rb +82 -82
  29. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +43 -43
  30. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +82 -82
  31. data/lib/pulp_container_client/models/container_container_push_repository.rb +68 -68
  32. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +83 -83
  33. data/lib/pulp_container_client/models/container_repository_sync_url.rb +1 -1
  34. data/lib/pulp_container_client/models/nested_role.rb +1 -1
  35. data/lib/pulp_container_client/models/nested_role_response.rb +1 -1
  36. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +40 -40
  37. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +41 -41
  38. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +66 -66
  39. data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
  40. data/lib/pulp_container_client/version.rb +1 -1
  41. data/spec/api/content_blobs_api_spec.rb +2 -0
  42. data/spec/api/content_manifests_api_spec.rb +2 -0
  43. data/spec/api/content_signatures_api_spec.rb +2 -0
  44. data/spec/api/content_tags_api_spec.rb +2 -0
  45. data/spec/api/distributions_pull_through_api_spec.rb +2 -4
  46. data/spec/api/repositories_container_api_spec.rb +3 -3
  47. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  48. data/spec/models/container_container_distribution_response_spec.rb +12 -12
  49. data/spec/models/container_container_distribution_spec.rb +7 -7
  50. data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
  51. data/spec/models/container_container_pull_through_distribution_spec.rb +7 -7
  52. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  53. data/spec/models/container_container_push_repository_spec.rb +5 -5
  54. data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
  55. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +7 -7
  56. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  57. metadata +60 -60
@@ -16,26 +16,26 @@ 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
21
-
22
- attr_accessor :pulp_labels
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
23
21
 
24
22
  # A unique name. Ex, `rawhide` and `stable`.
25
23
  attr_accessor :name
26
24
 
27
- # Whether this distribution should be shown in the content app.
28
- attr_accessor :hidden
29
-
30
25
  # The latest RepositoryVersion for this Repository will be served.
31
26
  attr_accessor :repository
32
27
 
33
- # RepositoryVersion to be served
34
- attr_accessor :repository_version
35
-
36
28
  # 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
29
  attr_accessor :base_path
38
30
 
31
+ attr_accessor :pulp_labels
32
+
33
+ # Whether this distribution should be shown in the content app.
34
+ attr_accessor :hidden
35
+
36
+ # An optional content-guard. If none is specified, a default one will be used.
37
+ attr_accessor :content_guard
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
- :'content_guard' => :'content_guard',
49
- :'pulp_labels' => :'pulp_labels',
48
+ :'repository_version' => :'repository_version',
50
49
  :'name' => :'name',
51
- :'hidden' => :'hidden',
52
50
  :'repository' => :'repository',
53
- :'repository_version' => :'repository_version',
54
51
  :'base_path' => :'base_path',
52
+ :'pulp_labels' => :'pulp_labels',
53
+ :'hidden' => :'hidden',
54
+ :'content_guard' => :'content_guard',
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
- :'content_guard' => :'String',
69
- :'pulp_labels' => :'Hash<String, String>',
68
+ :'repository_version' => :'String',
70
69
  :'name' => :'String',
71
- :'hidden' => :'Boolean',
72
70
  :'repository' => :'String',
73
- :'repository_version' => :'String',
74
71
  :'base_path' => :'String',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
+ :'hidden' => :'Boolean',
74
+ :'content_guard' => :'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,14 +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']
106
- end
107
-
108
- if attributes.key?(:'pulp_labels')
109
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
- self.pulp_labels = value
111
- end
104
+ if attributes.key?(:'repository_version')
105
+ self.repository_version = attributes[:'repository_version']
112
106
  end
113
107
 
114
108
  if attributes.key?(:'name')
@@ -117,26 +111,32 @@ module PulpContainerClient
117
111
  self.name = nil
118
112
  end
119
113
 
120
- if attributes.key?(:'hidden')
121
- self.hidden = attributes[:'hidden']
122
- else
123
- self.hidden = false
124
- end
125
-
126
114
  if attributes.key?(:'repository')
127
115
  self.repository = attributes[:'repository']
128
116
  end
129
117
 
130
- if attributes.key?(:'repository_version')
131
- self.repository_version = attributes[:'repository_version']
132
- end
133
-
134
118
  if attributes.key?(:'base_path')
135
119
  self.base_path = attributes[:'base_path']
136
120
  else
137
121
  self.base_path = nil
138
122
  end
139
123
 
124
+ if attributes.key?(:'pulp_labels')
125
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
126
+ self.pulp_labels = value
127
+ end
128
+ end
129
+
130
+ if attributes.key?(:'hidden')
131
+ self.hidden = attributes[:'hidden']
132
+ else
133
+ self.hidden = false
134
+ end
135
+
136
+ if attributes.key?(:'content_guard')
137
+ self.content_guard = attributes[:'content_guard']
138
+ end
139
+
140
140
  if attributes.key?(:'private')
141
141
  self.private = attributes[:'private']
142
142
  end
@@ -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
- content_guard == o.content_guard &&
233
- pulp_labels == o.pulp_labels &&
232
+ repository_version == o.repository_version &&
234
233
  name == o.name &&
235
- hidden == o.hidden &&
236
234
  repository == o.repository &&
237
- repository_version == o.repository_version &&
238
235
  base_path == o.base_path &&
236
+ pulp_labels == o.pulp_labels &&
237
+ hidden == o.hidden &&
238
+ content_guard == o.content_guard &&
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
- [content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, private, description].hash
252
+ [repository_version, name, repository, base_path, pulp_labels, hidden, content_guard, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -16,42 +16,42 @@ 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
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
24
24
 
25
- # The Pulp Resource Name (PRN) of the associated optional content guard.
26
- attr_accessor :content_guard_prn
25
+ # The latest RepositoryVersion for this Repository will be served.
26
+ attr_accessor :repository
27
27
 
28
28
  attr_accessor :pulp_href
29
29
 
30
- # An optional content-guard. If none is specified, a default one will be used.
31
- attr_accessor :content_guard
32
-
33
- # The Pulp Resource Name (PRN).
34
- attr_accessor :prn
30
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
31
+ attr_accessor :content_guard_prn
35
32
 
36
- # Timestamp of creation.
37
- attr_accessor :pulp_created
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
38
35
 
39
36
  attr_accessor :pulp_labels
40
37
 
41
- # A unique name. Ex, `rawhide` and `stable`.
42
- attr_accessor :name
43
-
44
38
  # Whether this distribution should be shown in the content app.
45
39
  attr_accessor :hidden
46
40
 
47
- # The latest RepositoryVersion for this Repository will be served.
48
- attr_accessor :repository
41
+ # Timestamp of creation.
42
+ attr_accessor :pulp_created
49
43
 
50
- # RepositoryVersion to be served
51
- attr_accessor :repository_version
44
+ # The Pulp Resource Name (PRN).
45
+ attr_accessor :prn
52
46
 
53
- # 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
- attr_accessor :base_path
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
+ # An optional content-guard. If none is specified, a default one will be used.
51
+ attr_accessor :content_guard
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
- :'pulp_last_updated' => :'pulp_last_updated',
75
- :'no_content_change_since' => :'no_content_change_since',
76
- :'content_guard_prn' => :'content_guard_prn',
77
- :'pulp_href' => :'pulp_href',
78
- :'content_guard' => :'content_guard',
79
- :'prn' => :'prn',
80
- :'pulp_created' => :'pulp_created',
81
- :'pulp_labels' => :'pulp_labels',
74
+ :'repository_version' => :'repository_version',
82
75
  :'name' => :'name',
83
- :'hidden' => :'hidden',
84
76
  :'repository' => :'repository',
85
- :'repository_version' => :'repository_version',
77
+ :'pulp_href' => :'pulp_href',
78
+ :'content_guard_prn' => :'content_guard_prn',
86
79
  :'base_path' => :'base_path',
80
+ :'pulp_labels' => :'pulp_labels',
81
+ :'hidden' => :'hidden',
82
+ :'pulp_created' => :'pulp_created',
83
+ :'prn' => :'prn',
84
+ :'pulp_last_updated' => :'pulp_last_updated',
85
+ :'content_guard' => :'content_guard',
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',
105
- :'content_guard_prn' => :'String',
106
- :'pulp_href' => :'String',
107
- :'content_guard' => :'String',
108
- :'prn' => :'String',
109
- :'pulp_created' => :'Time',
110
- :'pulp_labels' => :'Hash<String, String>',
103
+ :'repository_version' => :'String',
111
104
  :'name' => :'String',
112
- :'hidden' => :'Boolean',
113
105
  :'repository' => :'String',
114
- :'repository_version' => :'String',
106
+ :'pulp_href' => :'String',
107
+ :'content_guard_prn' => :'String',
115
108
  :'base_path' => :'String',
109
+ :'pulp_labels' => :'Hash<String, String>',
110
+ :'hidden' => :'Boolean',
111
+ :'pulp_created' => :'Time',
112
+ :'prn' => :'String',
113
+ :'pulp_last_updated' => :'Time',
114
+ :'content_guard' => :'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,32 +145,32 @@ 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?(:'name')
153
+ self.name = attributes[:'name']
154
+ else
155
+ self.name = nil
154
156
  end
155
157
 
156
- if attributes.key?(:'content_guard_prn')
157
- self.content_guard_prn = attributes[:'content_guard_prn']
158
+ if attributes.key?(:'repository')
159
+ self.repository = attributes[:'repository']
158
160
  end
159
161
 
160
162
  if attributes.key?(:'pulp_href')
161
163
  self.pulp_href = attributes[:'pulp_href']
162
164
  end
163
165
 
164
- if attributes.key?(:'content_guard')
165
- self.content_guard = attributes[:'content_guard']
166
- end
167
-
168
- if attributes.key?(:'prn')
169
- self.prn = attributes[:'prn']
166
+ if attributes.key?(:'content_guard_prn')
167
+ self.content_guard_prn = attributes[:'content_guard_prn']
170
168
  end
171
169
 
172
- if attributes.key?(:'pulp_created')
173
- self.pulp_created = attributes[:'pulp_created']
170
+ if attributes.key?(:'base_path')
171
+ self.base_path = attributes[:'base_path']
172
+ else
173
+ self.base_path = nil
174
174
  end
175
175
 
176
176
  if attributes.key?(:'pulp_labels')
@@ -179,30 +179,30 @@ module PulpContainerClient
179
179
  end
180
180
  end
181
181
 
182
- if attributes.key?(:'name')
183
- self.name = attributes[:'name']
184
- else
185
- self.name = nil
186
- end
187
-
188
182
  if attributes.key?(:'hidden')
189
183
  self.hidden = attributes[:'hidden']
190
184
  else
191
185
  self.hidden = false
192
186
  end
193
187
 
194
- if attributes.key?(:'repository')
195
- self.repository = attributes[:'repository']
188
+ if attributes.key?(:'pulp_created')
189
+ self.pulp_created = attributes[:'pulp_created']
196
190
  end
197
191
 
198
- if attributes.key?(:'repository_version')
199
- self.repository_version = attributes[:'repository_version']
192
+ if attributes.key?(:'prn')
193
+ self.prn = attributes[:'prn']
200
194
  end
201
195
 
202
- if attributes.key?(:'base_path')
203
- self.base_path = attributes[:'base_path']
204
- else
205
- self.base_path = nil
196
+ if attributes.key?(:'pulp_last_updated')
197
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
198
+ end
199
+
200
+ if attributes.key?(:'content_guard')
201
+ self.content_guard = attributes[:'content_guard']
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')
@@ -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 &&
261
- content_guard_prn == o.content_guard_prn &&
262
- pulp_href == o.pulp_href &&
263
- content_guard == o.content_guard &&
264
- prn == o.prn &&
265
- pulp_created == o.pulp_created &&
266
- pulp_labels == o.pulp_labels &&
259
+ repository_version == o.repository_version &&
267
260
  name == o.name &&
268
- hidden == o.hidden &&
269
261
  repository == o.repository &&
270
- repository_version == o.repository_version &&
262
+ pulp_href == o.pulp_href &&
263
+ content_guard_prn == o.content_guard_prn &&
271
264
  base_path == o.base_path &&
265
+ pulp_labels == o.pulp_labels &&
266
+ hidden == o.hidden &&
267
+ pulp_created == o.pulp_created &&
268
+ prn == o.prn &&
269
+ pulp_last_updated == o.pulp_last_updated &&
270
+ content_guard == o.content_guard &&
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, name, repository, pulp_href, content_guard_prn, base_path, pulp_labels, hidden, pulp_created, prn, pulp_last_updated, content_guard, no_content_change_since, registry_path, remote, namespace, private, description].hash
289
289
  end
290
290
 
291
291
  # 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
- # An optional content-guard. If none is specified, a default one will be used.
20
- attr_accessor :content_guard
21
-
22
- attr_accessor :pulp_labels
19
+ # RepositoryVersion to be served
20
+ attr_accessor :repository_version
23
21
 
24
22
  # A unique name. Ex, `rawhide` and `stable`.
25
23
  attr_accessor :name
26
24
 
27
- # Whether this distribution should be shown in the content app.
28
- attr_accessor :hidden
29
-
30
25
  # The latest RepositoryVersion for this Repository will be served.
31
26
  attr_accessor :repository
32
27
 
33
- # RepositoryVersion to be served
34
- attr_accessor :repository_version
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\")
28
+ # The registry path exposed by this pull-through distribution.
37
29
  attr_accessor :base_path
38
30
 
31
+ attr_accessor :pulp_labels
32
+
33
+ # Whether this distribution should be shown in the content app.
34
+ attr_accessor :hidden
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
- :'content_guard' => :'content_guard',
55
- :'pulp_labels' => :'pulp_labels',
54
+ :'repository_version' => :'repository_version',
56
55
  :'name' => :'name',
57
- :'hidden' => :'hidden',
58
56
  :'repository' => :'repository',
59
- :'repository_version' => :'repository_version',
60
57
  :'base_path' => :'base_path',
58
+ :'pulp_labels' => :'pulp_labels',
59
+ :'hidden' => :'hidden',
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
- :'content_guard' => :'String',
77
- :'pulp_labels' => :'Hash<String, String>',
76
+ :'repository_version' => :'String',
78
77
  :'name' => :'String',
79
- :'hidden' => :'Boolean',
80
78
  :'repository' => :'String',
81
- :'repository_version' => :'String',
82
79
  :'base_path' => :'String',
80
+ :'pulp_labels' => :'Hash<String, String>',
81
+ :'hidden' => :'Boolean',
82
+ :'content_guard' => :'String',
83
83
  :'remote' => :'String',
84
84
  :'distributions' => :'Array<String>',
85
85
  :'private' => :'Boolean',
@@ -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,14 +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']
116
- end
117
-
118
- if attributes.key?(:'pulp_labels')
119
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
120
- self.pulp_labels = value
121
- end
114
+ if attributes.key?(:'repository_version')
115
+ self.repository_version = attributes[:'repository_version']
122
116
  end
123
117
 
124
118
  if attributes.key?(:'name')
@@ -127,26 +121,32 @@ module PulpContainerClient
127
121
  self.name = nil
128
122
  end
129
123
 
130
- if attributes.key?(:'hidden')
131
- self.hidden = attributes[:'hidden']
132
- else
133
- self.hidden = false
134
- end
135
-
136
124
  if attributes.key?(:'repository')
137
125
  self.repository = attributes[:'repository']
138
126
  end
139
127
 
140
- if attributes.key?(:'repository_version')
141
- self.repository_version = attributes[:'repository_version']
142
- end
143
-
144
128
  if attributes.key?(:'base_path')
145
129
  self.base_path = attributes[:'base_path']
146
130
  else
147
131
  self.base_path = nil
148
132
  end
149
133
 
134
+ if attributes.key?(:'pulp_labels')
135
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
136
+ self.pulp_labels = value
137
+ end
138
+ end
139
+
140
+ if attributes.key?(:'hidden')
141
+ self.hidden = attributes[:'hidden']
142
+ else
143
+ self.hidden = false
144
+ end
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
@@ -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
- content_guard == o.content_guard &&
260
- pulp_labels == o.pulp_labels &&
259
+ repository_version == o.repository_version &&
261
260
  name == o.name &&
262
- hidden == o.hidden &&
263
261
  repository == o.repository &&
264
- repository_version == o.repository_version &&
265
262
  base_path == o.base_path &&
263
+ pulp_labels == o.pulp_labels &&
264
+ hidden == o.hidden &&
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
- [content_guard, pulp_labels, name, hidden, repository, repository_version, base_path, remote, distributions, private, description].hash
281
+ [repository_version, name, repository, base_path, pulp_labels, hidden, content_guard, remote, distributions, private, description].hash
282
282
  end
283
283
 
284
284
  # Builds the object from hash