pulp_container_client 2.27.11 → 2.27.13

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