pulp_container_client 2.27.6 → 2.27.8

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