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