pulp_container_client 2.27.10 → 2.27.11

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