pulp_container_client 2.27.5 → 2.27.7

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -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 +8 -8
  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 +8 -8
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +32 -32
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +72 -72
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +32 -32
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +72 -72
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +64 -64
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +76 -76
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +30 -30
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +62 -62
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +11 -11
  23. data/spec/models/container_container_distribution_spec.rb +6 -6
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  26. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  27. data/spec/models/container_container_push_repository_spec.rb +4 -4
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  31. metadata +60 -60
@@ -19,39 +19,39 @@ module PulpContainerClient
19
19
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
20
20
  attr_accessor :base_path
21
21
 
22
- # The Pulp Resource Name (PRN).
23
- attr_accessor :prn
24
-
25
- # 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.
26
- attr_accessor :pulp_last_updated
27
-
28
- attr_accessor :pulp_labels
22
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
29
24
 
30
- # Timestamp of creation.
31
- attr_accessor :pulp_created
25
+ # The latest RepositoryVersion for this Repository will be served.
26
+ attr_accessor :repository
32
27
 
33
28
  # RepositoryVersion to be served
34
29
  attr_accessor :repository_version
35
30
 
31
+ attr_accessor :pulp_href
32
+
36
33
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
37
34
  attr_accessor :no_content_change_since
38
35
 
36
+ # Timestamp of creation.
37
+ attr_accessor :pulp_created
38
+
39
39
  # An optional content-guard. If none is specified, a default one will be used.
40
40
  attr_accessor :content_guard
41
41
 
42
- # Whether this distribution should be shown in the content app.
43
- attr_accessor :hidden
42
+ attr_accessor :pulp_labels
44
43
 
45
- # A unique name. Ex, `rawhide` and `stable`.
46
- attr_accessor :name
44
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
45
+ attr_accessor :content_guard_prn
47
46
 
48
- attr_accessor :pulp_href
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
49
 
50
- # The latest RepositoryVersion for this Repository will be served.
51
- attr_accessor :repository
50
+ # The Pulp Resource Name (PRN).
51
+ attr_accessor :prn
52
52
 
53
- # The Pulp Resource Name (PRN) of the associated optional content guard.
54
- attr_accessor :content_guard_prn
53
+ # Whether this distribution should be shown in the content app.
54
+ attr_accessor :hidden
55
55
 
56
56
  # The Registry hostname/name/ to use with docker pull command defined by this distribution.
57
57
  attr_accessor :registry_path
@@ -72,18 +72,18 @@ module PulpContainerClient
72
72
  def self.attribute_map
73
73
  {
74
74
  :'base_path' => :'base_path',
75
- :'prn' => :'prn',
76
- :'pulp_last_updated' => :'pulp_last_updated',
77
- :'pulp_labels' => :'pulp_labels',
78
- :'pulp_created' => :'pulp_created',
75
+ :'name' => :'name',
76
+ :'repository' => :'repository',
79
77
  :'repository_version' => :'repository_version',
78
+ :'pulp_href' => :'pulp_href',
80
79
  :'no_content_change_since' => :'no_content_change_since',
80
+ :'pulp_created' => :'pulp_created',
81
81
  :'content_guard' => :'content_guard',
82
- :'hidden' => :'hidden',
83
- :'name' => :'name',
84
- :'pulp_href' => :'pulp_href',
85
- :'repository' => :'repository',
82
+ :'pulp_labels' => :'pulp_labels',
86
83
  :'content_guard_prn' => :'content_guard_prn',
84
+ :'pulp_last_updated' => :'pulp_last_updated',
85
+ :'prn' => :'prn',
86
+ :'hidden' => :'hidden',
87
87
  :'registry_path' => :'registry_path',
88
88
  :'remote' => :'remote',
89
89
  :'namespace' => :'namespace',
@@ -101,18 +101,18 @@ module PulpContainerClient
101
101
  def self.openapi_types
102
102
  {
103
103
  :'base_path' => :'String',
104
- :'prn' => :'String',
105
- :'pulp_last_updated' => :'Time',
106
- :'pulp_labels' => :'Hash<String, String>',
107
- :'pulp_created' => :'Time',
104
+ :'name' => :'String',
105
+ :'repository' => :'String',
108
106
  :'repository_version' => :'String',
107
+ :'pulp_href' => :'String',
109
108
  :'no_content_change_since' => :'String',
109
+ :'pulp_created' => :'Time',
110
110
  :'content_guard' => :'String',
111
- :'hidden' => :'Boolean',
112
- :'name' => :'String',
113
- :'pulp_href' => :'String',
114
- :'repository' => :'String',
111
+ :'pulp_labels' => :'Hash<String, String>',
115
112
  :'content_guard_prn' => :'String',
113
+ :'pulp_last_updated' => :'Time',
114
+ :'prn' => :'String',
115
+ :'hidden' => :'Boolean',
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_version',
128
127
  :'repository',
128
+ :'repository_version',
129
129
  :'description'
130
130
  ])
131
131
  end
@@ -151,58 +151,58 @@ module PulpContainerClient
151
151
  self.base_path = nil
152
152
  end
153
153
 
154
- if attributes.key?(:'prn')
155
- self.prn = attributes[:'prn']
156
- end
157
-
158
- if attributes.key?(:'pulp_last_updated')
159
- self.pulp_last_updated = attributes[:'pulp_last_updated']
160
- end
161
-
162
- if attributes.key?(:'pulp_labels')
163
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
164
- self.pulp_labels = value
165
- end
154
+ if attributes.key?(:'name')
155
+ self.name = attributes[:'name']
156
+ else
157
+ self.name = nil
166
158
  end
167
159
 
168
- if attributes.key?(:'pulp_created')
169
- self.pulp_created = attributes[:'pulp_created']
160
+ if attributes.key?(:'repository')
161
+ self.repository = attributes[:'repository']
170
162
  end
171
163
 
172
164
  if attributes.key?(:'repository_version')
173
165
  self.repository_version = attributes[:'repository_version']
174
166
  end
175
167
 
168
+ if attributes.key?(:'pulp_href')
169
+ self.pulp_href = attributes[:'pulp_href']
170
+ end
171
+
176
172
  if attributes.key?(:'no_content_change_since')
177
173
  self.no_content_change_since = attributes[:'no_content_change_since']
178
174
  end
179
175
 
176
+ if attributes.key?(:'pulp_created')
177
+ self.pulp_created = attributes[:'pulp_created']
178
+ end
179
+
180
180
  if attributes.key?(:'content_guard')
181
181
  self.content_guard = attributes[:'content_guard']
182
182
  end
183
183
 
184
- if attributes.key?(:'hidden')
185
- self.hidden = attributes[:'hidden']
186
- else
187
- self.hidden = false
184
+ if attributes.key?(:'pulp_labels')
185
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
186
+ self.pulp_labels = value
187
+ end
188
188
  end
189
189
 
190
- if attributes.key?(:'name')
191
- self.name = attributes[:'name']
192
- else
193
- self.name = nil
190
+ if attributes.key?(:'content_guard_prn')
191
+ self.content_guard_prn = attributes[:'content_guard_prn']
194
192
  end
195
193
 
196
- if attributes.key?(:'pulp_href')
197
- self.pulp_href = attributes[:'pulp_href']
194
+ if attributes.key?(:'pulp_last_updated')
195
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
198
196
  end
199
197
 
200
- if attributes.key?(:'repository')
201
- self.repository = attributes[:'repository']
198
+ if attributes.key?(:'prn')
199
+ self.prn = attributes[:'prn']
202
200
  end
203
201
 
204
- if attributes.key?(:'content_guard_prn')
205
- self.content_guard_prn = attributes[:'content_guard_prn']
202
+ if attributes.key?(:'hidden')
203
+ self.hidden = attributes[:'hidden']
204
+ else
205
+ self.hidden = false
206
206
  end
207
207
 
208
208
  if attributes.key?(:'registry_path')
@@ -257,18 +257,18 @@ module PulpContainerClient
257
257
  return true if self.equal?(o)
258
258
  self.class == o.class &&
259
259
  base_path == o.base_path &&
260
- prn == o.prn &&
261
- pulp_last_updated == o.pulp_last_updated &&
262
- pulp_labels == o.pulp_labels &&
263
- pulp_created == o.pulp_created &&
260
+ name == o.name &&
261
+ repository == o.repository &&
264
262
  repository_version == o.repository_version &&
263
+ pulp_href == o.pulp_href &&
265
264
  no_content_change_since == o.no_content_change_since &&
265
+ pulp_created == o.pulp_created &&
266
266
  content_guard == o.content_guard &&
267
- hidden == o.hidden &&
268
- name == o.name &&
269
- pulp_href == o.pulp_href &&
270
- repository == o.repository &&
267
+ pulp_labels == o.pulp_labels &&
271
268
  content_guard_prn == o.content_guard_prn &&
269
+ pulp_last_updated == o.pulp_last_updated &&
270
+ prn == o.prn &&
271
+ hidden == o.hidden &&
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
- [base_path, prn, pulp_last_updated, pulp_labels, pulp_created, repository_version, no_content_change_since, content_guard, hidden, name, pulp_href, repository, content_guard_prn, registry_path, remote, namespace, private, description].hash
288
+ [base_path, name, repository, repository_version, pulp_href, no_content_change_since, pulp_created, content_guard, pulp_labels, content_guard_prn, pulp_last_updated, prn, hidden, registry_path, remote, namespace, private, description].hash
289
289
  end
290
290
 
291
291
  # Builds the object from hash
@@ -19,7 +19,11 @@ module PulpContainerClient
19
19
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
20
20
  attr_accessor :base_path
21
21
 
22
- attr_accessor :pulp_labels
22
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
24
+
25
+ # The latest RepositoryVersion for this Repository will be served.
26
+ attr_accessor :repository
23
27
 
24
28
  # RepositoryVersion to be served
25
29
  attr_accessor :repository_version
@@ -27,15 +31,11 @@ module PulpContainerClient
27
31
  # An optional content-guard. If none is specified, a default one will be used.
28
32
  attr_accessor :content_guard
29
33
 
34
+ attr_accessor :pulp_labels
35
+
30
36
  # Whether this distribution should be shown in the content app.
31
37
  attr_accessor :hidden
32
38
 
33
- # A unique name. Ex, `rawhide` and `stable`.
34
- attr_accessor :name
35
-
36
- # The latest RepositoryVersion for this Repository will be served.
37
- attr_accessor :repository
38
-
39
39
  # Remote that can be used to fetch content when using pull-through caching.
40
40
  attr_accessor :remote
41
41
 
@@ -52,12 +52,12 @@ module PulpContainerClient
52
52
  def self.attribute_map
53
53
  {
54
54
  :'base_path' => :'base_path',
55
- :'pulp_labels' => :'pulp_labels',
55
+ :'name' => :'name',
56
+ :'repository' => :'repository',
56
57
  :'repository_version' => :'repository_version',
57
58
  :'content_guard' => :'content_guard',
59
+ :'pulp_labels' => :'pulp_labels',
58
60
  :'hidden' => :'hidden',
59
- :'name' => :'name',
60
- :'repository' => :'repository',
61
61
  :'remote' => :'remote',
62
62
  :'distributions' => :'distributions',
63
63
  :'private' => :'private',
@@ -74,12 +74,12 @@ module PulpContainerClient
74
74
  def self.openapi_types
75
75
  {
76
76
  :'base_path' => :'String',
77
- :'pulp_labels' => :'Hash<String, String>',
77
+ :'name' => :'String',
78
+ :'repository' => :'String',
78
79
  :'repository_version' => :'String',
79
80
  :'content_guard' => :'String',
81
+ :'pulp_labels' => :'Hash<String, String>',
80
82
  :'hidden' => :'Boolean',
81
- :'name' => :'String',
82
- :'repository' => :'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_version',
94
93
  :'repository',
94
+ :'repository_version',
95
95
  :'description'
96
96
  ])
97
97
  end
@@ -117,10 +117,14 @@ module PulpContainerClient
117
117
  self.base_path = nil
118
118
  end
119
119
 
120
- if attributes.key?(:'pulp_labels')
121
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
- self.pulp_labels = value
123
- end
120
+ if attributes.key?(:'name')
121
+ self.name = attributes[:'name']
122
+ else
123
+ self.name = nil
124
+ end
125
+
126
+ if attributes.key?(:'repository')
127
+ self.repository = attributes[:'repository']
124
128
  end
125
129
 
126
130
  if attributes.key?(:'repository_version')
@@ -131,22 +135,18 @@ module PulpContainerClient
131
135
  self.content_guard = attributes[:'content_guard']
132
136
  end
133
137
 
138
+ if attributes.key?(:'pulp_labels')
139
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
140
+ self.pulp_labels = value
141
+ end
142
+ end
143
+
134
144
  if attributes.key?(:'hidden')
135
145
  self.hidden = attributes[:'hidden']
136
146
  else
137
147
  self.hidden = false
138
148
  end
139
149
 
140
- if attributes.key?(:'name')
141
- self.name = attributes[:'name']
142
- else
143
- self.name = nil
144
- end
145
-
146
- if attributes.key?(:'repository')
147
- self.repository = attributes[:'repository']
148
- end
149
-
150
150
  if attributes.key?(:'remote')
151
151
  self.remote = attributes[:'remote']
152
152
  else
@@ -257,12 +257,12 @@ module PulpContainerClient
257
257
  return true if self.equal?(o)
258
258
  self.class == o.class &&
259
259
  base_path == o.base_path &&
260
- pulp_labels == o.pulp_labels &&
260
+ name == o.name &&
261
+ repository == o.repository &&
261
262
  repository_version == o.repository_version &&
262
263
  content_guard == o.content_guard &&
264
+ pulp_labels == o.pulp_labels &&
263
265
  hidden == o.hidden &&
264
- name == o.name &&
265
- repository == o.repository &&
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
- [base_path, pulp_labels, repository_version, content_guard, hidden, name, repository, remote, distributions, private, description].hash
281
+ [base_path, name, repository, repository_version, content_guard, pulp_labels, hidden, remote, distributions, private, description].hash
282
282
  end
283
283
 
284
284
  # Builds the object from hash
@@ -19,39 +19,39 @@ module PulpContainerClient
19
19
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
20
20
  attr_accessor :base_path
21
21
 
22
- # The Pulp Resource Name (PRN).
23
- attr_accessor :prn
24
-
25
- # 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.
26
- attr_accessor :pulp_last_updated
27
-
28
- attr_accessor :pulp_labels
22
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
29
24
 
30
- # Timestamp of creation.
31
- attr_accessor :pulp_created
25
+ # The latest RepositoryVersion for this Repository will be served.
26
+ attr_accessor :repository
32
27
 
33
28
  # RepositoryVersion to be served
34
29
  attr_accessor :repository_version
35
30
 
31
+ attr_accessor :pulp_href
32
+
36
33
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
37
34
  attr_accessor :no_content_change_since
38
35
 
36
+ # Timestamp of creation.
37
+ attr_accessor :pulp_created
38
+
39
39
  # An optional content-guard. If none is specified, a default one will be used.
40
40
  attr_accessor :content_guard
41
41
 
42
- # Whether this distribution should be shown in the content app.
43
- attr_accessor :hidden
42
+ attr_accessor :pulp_labels
44
43
 
45
- # A unique name. Ex, `rawhide` and `stable`.
46
- attr_accessor :name
44
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
45
+ attr_accessor :content_guard_prn
47
46
 
48
- attr_accessor :pulp_href
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
49
 
50
- # The latest RepositoryVersion for this Repository will be served.
51
- attr_accessor :repository
50
+ # The Pulp Resource Name (PRN).
51
+ attr_accessor :prn
52
52
 
53
- # The Pulp Resource Name (PRN) of the associated optional content guard.
54
- attr_accessor :content_guard_prn
53
+ # Whether this distribution should be shown in the content app.
54
+ attr_accessor :hidden
55
55
 
56
56
  # Remote that can be used to fetch content when using pull-through caching.
57
57
  attr_accessor :remote
@@ -72,18 +72,18 @@ module PulpContainerClient
72
72
  def self.attribute_map
73
73
  {
74
74
  :'base_path' => :'base_path',
75
- :'prn' => :'prn',
76
- :'pulp_last_updated' => :'pulp_last_updated',
77
- :'pulp_labels' => :'pulp_labels',
78
- :'pulp_created' => :'pulp_created',
75
+ :'name' => :'name',
76
+ :'repository' => :'repository',
79
77
  :'repository_version' => :'repository_version',
78
+ :'pulp_href' => :'pulp_href',
80
79
  :'no_content_change_since' => :'no_content_change_since',
80
+ :'pulp_created' => :'pulp_created',
81
81
  :'content_guard' => :'content_guard',
82
- :'hidden' => :'hidden',
83
- :'name' => :'name',
84
- :'pulp_href' => :'pulp_href',
85
- :'repository' => :'repository',
82
+ :'pulp_labels' => :'pulp_labels',
86
83
  :'content_guard_prn' => :'content_guard_prn',
84
+ :'pulp_last_updated' => :'pulp_last_updated',
85
+ :'prn' => :'prn',
86
+ :'hidden' => :'hidden',
87
87
  :'remote' => :'remote',
88
88
  :'distributions' => :'distributions',
89
89
  :'namespace' => :'namespace',
@@ -101,18 +101,18 @@ module PulpContainerClient
101
101
  def self.openapi_types
102
102
  {
103
103
  :'base_path' => :'String',
104
- :'prn' => :'String',
105
- :'pulp_last_updated' => :'Time',
106
- :'pulp_labels' => :'Hash<String, String>',
107
- :'pulp_created' => :'Time',
104
+ :'name' => :'String',
105
+ :'repository' => :'String',
108
106
  :'repository_version' => :'String',
107
+ :'pulp_href' => :'String',
109
108
  :'no_content_change_since' => :'String',
109
+ :'pulp_created' => :'Time',
110
110
  :'content_guard' => :'String',
111
- :'hidden' => :'Boolean',
112
- :'name' => :'String',
113
- :'pulp_href' => :'String',
114
- :'repository' => :'String',
111
+ :'pulp_labels' => :'Hash<String, String>',
115
112
  :'content_guard_prn' => :'String',
113
+ :'pulp_last_updated' => :'Time',
114
+ :'prn' => :'String',
115
+ :'hidden' => :'Boolean',
116
116
  :'remote' => :'String',
117
117
  :'distributions' => :'Array<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_version',
128
127
  :'repository',
128
+ :'repository_version',
129
129
  :'description'
130
130
  ])
131
131
  end
@@ -151,58 +151,58 @@ module PulpContainerClient
151
151
  self.base_path = nil
152
152
  end
153
153
 
154
- if attributes.key?(:'prn')
155
- self.prn = attributes[:'prn']
156
- end
157
-
158
- if attributes.key?(:'pulp_last_updated')
159
- self.pulp_last_updated = attributes[:'pulp_last_updated']
160
- end
161
-
162
- if attributes.key?(:'pulp_labels')
163
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
164
- self.pulp_labels = value
165
- end
154
+ if attributes.key?(:'name')
155
+ self.name = attributes[:'name']
156
+ else
157
+ self.name = nil
166
158
  end
167
159
 
168
- if attributes.key?(:'pulp_created')
169
- self.pulp_created = attributes[:'pulp_created']
160
+ if attributes.key?(:'repository')
161
+ self.repository = attributes[:'repository']
170
162
  end
171
163
 
172
164
  if attributes.key?(:'repository_version')
173
165
  self.repository_version = attributes[:'repository_version']
174
166
  end
175
167
 
168
+ if attributes.key?(:'pulp_href')
169
+ self.pulp_href = attributes[:'pulp_href']
170
+ end
171
+
176
172
  if attributes.key?(:'no_content_change_since')
177
173
  self.no_content_change_since = attributes[:'no_content_change_since']
178
174
  end
179
175
 
176
+ if attributes.key?(:'pulp_created')
177
+ self.pulp_created = attributes[:'pulp_created']
178
+ end
179
+
180
180
  if attributes.key?(:'content_guard')
181
181
  self.content_guard = attributes[:'content_guard']
182
182
  end
183
183
 
184
- if attributes.key?(:'hidden')
185
- self.hidden = attributes[:'hidden']
186
- else
187
- self.hidden = false
184
+ if attributes.key?(:'pulp_labels')
185
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
186
+ self.pulp_labels = value
187
+ end
188
188
  end
189
189
 
190
- if attributes.key?(:'name')
191
- self.name = attributes[:'name']
192
- else
193
- self.name = nil
190
+ if attributes.key?(:'content_guard_prn')
191
+ self.content_guard_prn = attributes[:'content_guard_prn']
194
192
  end
195
193
 
196
- if attributes.key?(:'pulp_href')
197
- self.pulp_href = attributes[:'pulp_href']
194
+ if attributes.key?(:'pulp_last_updated')
195
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
198
196
  end
199
197
 
200
- if attributes.key?(:'repository')
201
- self.repository = attributes[:'repository']
198
+ if attributes.key?(:'prn')
199
+ self.prn = attributes[:'prn']
202
200
  end
203
201
 
204
- if attributes.key?(:'content_guard_prn')
205
- self.content_guard_prn = attributes[:'content_guard_prn']
202
+ if attributes.key?(:'hidden')
203
+ self.hidden = attributes[:'hidden']
204
+ else
205
+ self.hidden = false
206
206
  end
207
207
 
208
208
  if attributes.key?(:'remote')
@@ -266,18 +266,18 @@ module PulpContainerClient
266
266
  return true if self.equal?(o)
267
267
  self.class == o.class &&
268
268
  base_path == o.base_path &&
269
- prn == o.prn &&
270
- pulp_last_updated == o.pulp_last_updated &&
271
- pulp_labels == o.pulp_labels &&
272
- pulp_created == o.pulp_created &&
269
+ name == o.name &&
270
+ repository == o.repository &&
273
271
  repository_version == o.repository_version &&
272
+ pulp_href == o.pulp_href &&
274
273
  no_content_change_since == o.no_content_change_since &&
274
+ pulp_created == o.pulp_created &&
275
275
  content_guard == o.content_guard &&
276
- hidden == o.hidden &&
277
- name == o.name &&
278
- pulp_href == o.pulp_href &&
279
- repository == o.repository &&
276
+ pulp_labels == o.pulp_labels &&
280
277
  content_guard_prn == o.content_guard_prn &&
278
+ pulp_last_updated == o.pulp_last_updated &&
279
+ prn == o.prn &&
280
+ hidden == o.hidden &&
281
281
  remote == o.remote &&
282
282
  distributions == o.distributions &&
283
283
  namespace == o.namespace &&
@@ -294,7 +294,7 @@ module PulpContainerClient
294
294
  # Calculates hash code according to all attributes.
295
295
  # @return [Integer] Hash code
296
296
  def hash
297
- [base_path, prn, pulp_last_updated, pulp_labels, pulp_created, repository_version, no_content_change_since, content_guard, hidden, name, pulp_href, repository, content_guard_prn, remote, distributions, namespace, private, description].hash
297
+ [base_path, name, repository, repository_version, pulp_href, no_content_change_since, pulp_created, content_guard, pulp_labels, content_guard_prn, pulp_last_updated, prn, hidden, remote, distributions, namespace, private, description].hash
298
298
  end
299
299
 
300
300
  # Builds the object from hash