pulp_container_client 2.19.8 → 2.19.10

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 +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +12 -12
  5. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
  7. data/docs/ContainerContainerPushRepository.md +5 -5
  8. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  9. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  11. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +54 -54
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +54 -54
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -52
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  23. data/spec/models/container_container_distribution_spec.rb +5 -5
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  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 +5 -5
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  31. metadata +59 -59
@@ -15,31 +15,31 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- attr_accessor :pulp_href
19
-
20
- # 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.
21
- attr_accessor :pulp_last_updated
22
-
23
- # An optional content-guard. If none is specified, a default one will be used.
24
- attr_accessor :content_guard
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
25
20
 
26
21
  # Timestamp of creation.
27
22
  attr_accessor :pulp_created
28
23
 
29
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
- attr_accessor :base_path
24
+ # An optional content-guard. If none is specified, a default one will be used.
25
+ attr_accessor :content_guard
31
26
 
32
- # A unique name. Ex, `rawhide` and `stable`.
33
- attr_accessor :name
27
+ attr_accessor :pulp_labels
34
28
 
35
29
  # Whether this distribution should be shown in the content app.
36
30
  attr_accessor :hidden
37
31
 
38
- attr_accessor :pulp_labels
32
+ # 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.
33
+ attr_accessor :pulp_last_updated
39
34
 
40
35
  # The latest RepositoryVersion for this Repository will be served.
41
36
  attr_accessor :repository
42
37
 
38
+ attr_accessor :pulp_href
39
+
40
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
41
+ attr_accessor :base_path
42
+
43
43
  # RepositoryVersion to be served
44
44
  attr_accessor :repository_version
45
45
 
@@ -61,15 +61,15 @@ module PulpContainerClient
61
61
  # Attribute mapping from ruby-style variable name to JSON key.
62
62
  def self.attribute_map
63
63
  {
64
- :'pulp_href' => :'pulp_href',
65
- :'pulp_last_updated' => :'pulp_last_updated',
66
- :'content_guard' => :'content_guard',
67
- :'pulp_created' => :'pulp_created',
68
- :'base_path' => :'base_path',
69
64
  :'name' => :'name',
70
- :'hidden' => :'hidden',
65
+ :'pulp_created' => :'pulp_created',
66
+ :'content_guard' => :'content_guard',
71
67
  :'pulp_labels' => :'pulp_labels',
68
+ :'hidden' => :'hidden',
69
+ :'pulp_last_updated' => :'pulp_last_updated',
72
70
  :'repository' => :'repository',
71
+ :'pulp_href' => :'pulp_href',
72
+ :'base_path' => :'base_path',
73
73
  :'repository_version' => :'repository_version',
74
74
  :'registry_path' => :'registry_path',
75
75
  :'remote' => :'remote',
@@ -82,15 +82,15 @@ module PulpContainerClient
82
82
  # Attribute type mapping.
83
83
  def self.openapi_types
84
84
  {
85
- :'pulp_href' => :'String',
86
- :'pulp_last_updated' => :'DateTime',
87
- :'content_guard' => :'String',
88
- :'pulp_created' => :'DateTime',
89
- :'base_path' => :'String',
90
85
  :'name' => :'String',
91
- :'hidden' => :'Boolean',
86
+ :'pulp_created' => :'DateTime',
87
+ :'content_guard' => :'String',
92
88
  :'pulp_labels' => :'Hash<String, String>',
89
+ :'hidden' => :'Boolean',
90
+ :'pulp_last_updated' => :'DateTime',
93
91
  :'repository' => :'String',
92
+ :'pulp_href' => :'String',
93
+ :'base_path' => :'String',
94
94
  :'repository_version' => :'String',
95
95
  :'registry_path' => :'String',
96
96
  :'remote' => :'String',
@@ -124,28 +124,22 @@ module PulpContainerClient
124
124
  h[k.to_sym] = v
125
125
  }
126
126
 
127
- if attributes.key?(:'pulp_href')
128
- self.pulp_href = attributes[:'pulp_href']
129
- end
130
-
131
- if attributes.key?(:'pulp_last_updated')
132
- self.pulp_last_updated = attributes[:'pulp_last_updated']
133
- end
134
-
135
- if attributes.key?(:'content_guard')
136
- self.content_guard = attributes[:'content_guard']
127
+ if attributes.key?(:'name')
128
+ self.name = attributes[:'name']
137
129
  end
138
130
 
139
131
  if attributes.key?(:'pulp_created')
140
132
  self.pulp_created = attributes[:'pulp_created']
141
133
  end
142
134
 
143
- if attributes.key?(:'base_path')
144
- self.base_path = attributes[:'base_path']
135
+ if attributes.key?(:'content_guard')
136
+ self.content_guard = attributes[:'content_guard']
145
137
  end
146
138
 
147
- if attributes.key?(:'name')
148
- self.name = attributes[:'name']
139
+ if attributes.key?(:'pulp_labels')
140
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
141
+ self.pulp_labels = value
142
+ end
149
143
  end
150
144
 
151
145
  if attributes.key?(:'hidden')
@@ -154,16 +148,22 @@ module PulpContainerClient
154
148
  self.hidden = false
155
149
  end
156
150
 
157
- if attributes.key?(:'pulp_labels')
158
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
159
- self.pulp_labels = value
160
- end
151
+ if attributes.key?(:'pulp_last_updated')
152
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
161
153
  end
162
154
 
163
155
  if attributes.key?(:'repository')
164
156
  self.repository = attributes[:'repository']
165
157
  end
166
158
 
159
+ if attributes.key?(:'pulp_href')
160
+ self.pulp_href = attributes[:'pulp_href']
161
+ end
162
+
163
+ if attributes.key?(:'base_path')
164
+ self.base_path = attributes[:'base_path']
165
+ end
166
+
167
167
  if attributes.key?(:'repository_version')
168
168
  self.repository_version = attributes[:'repository_version']
169
169
  end
@@ -193,22 +193,22 @@ module PulpContainerClient
193
193
  # @return Array for valid properties with the reasons
194
194
  def list_invalid_properties
195
195
  invalid_properties = Array.new
196
- if @base_path.nil?
197
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
198
- end
199
-
200
196
  if @name.nil?
201
197
  invalid_properties.push('invalid value for "name", name cannot be nil.')
202
198
  end
203
199
 
200
+ if @base_path.nil?
201
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
202
+ end
203
+
204
204
  invalid_properties
205
205
  end
206
206
 
207
207
  # Check to see if the all the properties in the model are valid
208
208
  # @return true if the model is valid
209
209
  def valid?
210
- return false if @base_path.nil?
211
210
  return false if @name.nil?
211
+ return false if @base_path.nil?
212
212
  true
213
213
  end
214
214
 
@@ -217,15 +217,15 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- pulp_href == o.pulp_href &&
221
- pulp_last_updated == o.pulp_last_updated &&
222
- content_guard == o.content_guard &&
223
- pulp_created == o.pulp_created &&
224
- base_path == o.base_path &&
225
220
  name == o.name &&
226
- hidden == o.hidden &&
221
+ pulp_created == o.pulp_created &&
222
+ content_guard == o.content_guard &&
227
223
  pulp_labels == o.pulp_labels &&
224
+ hidden == o.hidden &&
225
+ pulp_last_updated == o.pulp_last_updated &&
228
226
  repository == o.repository &&
227
+ pulp_href == o.pulp_href &&
228
+ base_path == o.base_path &&
229
229
  repository_version == o.repository_version &&
230
230
  registry_path == o.registry_path &&
231
231
  remote == o.remote &&
@@ -243,7 +243,7 @@ module PulpContainerClient
243
243
  # Calculates hash code according to all attributes.
244
244
  # @return [Integer] Hash code
245
245
  def hash
246
- [pulp_href, pulp_last_updated, content_guard, pulp_created, base_path, name, hidden, pulp_labels, repository, repository_version, registry_path, remote, namespace, private, description].hash
246
+ [name, pulp_created, content_guard, pulp_labels, hidden, pulp_last_updated, repository, pulp_href, base_path, repository_version, registry_path, remote, namespace, private, description].hash
247
247
  end
248
248
 
249
249
  # Builds the object from hash
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistribution
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
18
21
  # An optional content-guard. If none is specified, a default one will be used.
19
22
  attr_accessor :content_guard
20
23
 
21
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
- attr_accessor :base_path
23
-
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
24
+ attr_accessor :pulp_labels
26
25
 
27
26
  # Whether this distribution should be shown in the content app.
28
27
  attr_accessor :hidden
29
28
 
30
- attr_accessor :pulp_labels
31
-
32
29
  # The latest RepositoryVersion for this Repository will be served.
33
30
  attr_accessor :repository
34
31
 
32
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
+ attr_accessor :base_path
34
+
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
37
37
 
@@ -47,12 +47,12 @@ module PulpContainerClient
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
- :'content_guard' => :'content_guard',
51
- :'base_path' => :'base_path',
52
50
  :'name' => :'name',
53
- :'hidden' => :'hidden',
51
+ :'content_guard' => :'content_guard',
54
52
  :'pulp_labels' => :'pulp_labels',
53
+ :'hidden' => :'hidden',
55
54
  :'repository' => :'repository',
55
+ :'base_path' => :'base_path',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -63,12 +63,12 @@ module PulpContainerClient
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'content_guard' => :'String',
67
- :'base_path' => :'String',
68
66
  :'name' => :'String',
69
- :'hidden' => :'Boolean',
67
+ :'content_guard' => :'String',
70
68
  :'pulp_labels' => :'Hash<String, String>',
69
+ :'hidden' => :'Boolean',
71
70
  :'repository' => :'String',
71
+ :'base_path' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,22 +99,12 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'content_guard')
103
- self.content_guard = attributes[:'content_guard']
104
- end
105
-
106
- if attributes.key?(:'base_path')
107
- self.base_path = attributes[:'base_path']
108
- end
109
-
110
102
  if attributes.key?(:'name')
111
103
  self.name = attributes[:'name']
112
104
  end
113
105
 
114
- if attributes.key?(:'hidden')
115
- self.hidden = attributes[:'hidden']
116
- else
117
- self.hidden = false
106
+ if attributes.key?(:'content_guard')
107
+ self.content_guard = attributes[:'content_guard']
118
108
  end
119
109
 
120
110
  if attributes.key?(:'pulp_labels')
@@ -123,10 +113,20 @@ module PulpContainerClient
123
113
  end
124
114
  end
125
115
 
116
+ if attributes.key?(:'hidden')
117
+ self.hidden = attributes[:'hidden']
118
+ else
119
+ self.hidden = false
120
+ end
121
+
126
122
  if attributes.key?(:'repository')
127
123
  self.repository = attributes[:'repository']
128
124
  end
129
125
 
126
+ if attributes.key?(:'base_path')
127
+ self.base_path = attributes[:'base_path']
128
+ end
129
+
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -150,14 +150,6 @@ module PulpContainerClient
150
150
  # @return Array for valid properties with the reasons
151
151
  def list_invalid_properties
152
152
  invalid_properties = Array.new
153
- if @base_path.nil?
154
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
155
- end
156
-
157
- if @base_path.to_s.length < 1
158
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
159
- end
160
-
161
153
  if @name.nil?
162
154
  invalid_properties.push('invalid value for "name", name cannot be nil.')
163
155
  end
@@ -166,6 +158,14 @@ module PulpContainerClient
166
158
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
167
159
  end
168
160
 
161
+ if @base_path.nil?
162
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
163
+ end
164
+
165
+ if @base_path.to_s.length < 1
166
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
167
+ end
168
+
169
169
  if @remote.nil?
170
170
  invalid_properties.push('invalid value for "remote", remote cannot be nil.')
171
171
  end
@@ -180,29 +180,15 @@ module PulpContainerClient
180
180
  # Check to see if the all the properties in the model are valid
181
181
  # @return true if the model is valid
182
182
  def valid?
183
- return false if @base_path.nil?
184
- return false if @base_path.to_s.length < 1
185
183
  return false if @name.nil?
186
184
  return false if @name.to_s.length < 1
185
+ return false if @base_path.nil?
186
+ return false if @base_path.to_s.length < 1
187
187
  return false if @remote.nil?
188
188
  return false if !@description.nil? && @description.to_s.length < 1
189
189
  true
190
190
  end
191
191
 
192
- # Custom attribute writer method with validation
193
- # @param [Object] base_path Value to be assigned
194
- def base_path=(base_path)
195
- if base_path.nil?
196
- fail ArgumentError, 'base_path cannot be nil'
197
- end
198
-
199
- if base_path.to_s.length < 1
200
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
201
- end
202
-
203
- @base_path = base_path
204
- end
205
-
206
192
  # Custom attribute writer method with validation
207
193
  # @param [Object] name Value to be assigned
208
194
  def name=(name)
@@ -217,6 +203,20 @@ module PulpContainerClient
217
203
  @name = name
218
204
  end
219
205
 
206
+ # Custom attribute writer method with validation
207
+ # @param [Object] base_path Value to be assigned
208
+ def base_path=(base_path)
209
+ if base_path.nil?
210
+ fail ArgumentError, 'base_path cannot be nil'
211
+ end
212
+
213
+ if base_path.to_s.length < 1
214
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
215
+ end
216
+
217
+ @base_path = base_path
218
+ end
219
+
220
220
  # Custom attribute writer method with validation
221
221
  # @param [Object] description Value to be assigned
222
222
  def description=(description)
@@ -232,12 +232,12 @@ module PulpContainerClient
232
232
  def ==(o)
233
233
  return true if self.equal?(o)
234
234
  self.class == o.class &&
235
- content_guard == o.content_guard &&
236
- base_path == o.base_path &&
237
235
  name == o.name &&
238
- hidden == o.hidden &&
236
+ content_guard == o.content_guard &&
239
237
  pulp_labels == o.pulp_labels &&
238
+ hidden == o.hidden &&
240
239
  repository == o.repository &&
240
+ base_path == o.base_path &&
241
241
  remote == o.remote &&
242
242
  distributions == o.distributions &&
243
243
  private == o.private &&
@@ -253,7 +253,7 @@ module PulpContainerClient
253
253
  # Calculates hash code according to all attributes.
254
254
  # @return [Integer] Hash code
255
255
  def hash
256
- [content_guard, base_path, name, hidden, pulp_labels, repository, remote, distributions, private, description].hash
256
+ [name, content_guard, pulp_labels, hidden, repository, base_path, remote, distributions, private, description].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -15,31 +15,31 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistributionResponse
18
- attr_accessor :pulp_href
19
-
20
- # 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.
21
- attr_accessor :pulp_last_updated
22
-
23
- # An optional content-guard. If none is specified, a default one will be used.
24
- attr_accessor :content_guard
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
25
20
 
26
21
  # Timestamp of creation.
27
22
  attr_accessor :pulp_created
28
23
 
29
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
- attr_accessor :base_path
24
+ # An optional content-guard. If none is specified, a default one will be used.
25
+ attr_accessor :content_guard
31
26
 
32
- # A unique name. Ex, `rawhide` and `stable`.
33
- attr_accessor :name
27
+ attr_accessor :pulp_labels
34
28
 
35
29
  # Whether this distribution should be shown in the content app.
36
30
  attr_accessor :hidden
37
31
 
38
- attr_accessor :pulp_labels
32
+ # 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.
33
+ attr_accessor :pulp_last_updated
39
34
 
40
35
  # The latest RepositoryVersion for this Repository will be served.
41
36
  attr_accessor :repository
42
37
 
38
+ attr_accessor :pulp_href
39
+
40
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
41
+ attr_accessor :base_path
42
+
43
43
  # Remote that can be used to fetch content when using pull-through caching.
44
44
  attr_accessor :remote
45
45
 
@@ -58,15 +58,15 @@ module PulpContainerClient
58
58
  # Attribute mapping from ruby-style variable name to JSON key.
59
59
  def self.attribute_map
60
60
  {
61
- :'pulp_href' => :'pulp_href',
62
- :'pulp_last_updated' => :'pulp_last_updated',
63
- :'content_guard' => :'content_guard',
64
- :'pulp_created' => :'pulp_created',
65
- :'base_path' => :'base_path',
66
61
  :'name' => :'name',
67
- :'hidden' => :'hidden',
62
+ :'pulp_created' => :'pulp_created',
63
+ :'content_guard' => :'content_guard',
68
64
  :'pulp_labels' => :'pulp_labels',
65
+ :'hidden' => :'hidden',
66
+ :'pulp_last_updated' => :'pulp_last_updated',
69
67
  :'repository' => :'repository',
68
+ :'pulp_href' => :'pulp_href',
69
+ :'base_path' => :'base_path',
70
70
  :'remote' => :'remote',
71
71
  :'distributions' => :'distributions',
72
72
  :'namespace' => :'namespace',
@@ -78,15 +78,15 @@ module PulpContainerClient
78
78
  # Attribute type mapping.
79
79
  def self.openapi_types
80
80
  {
81
- :'pulp_href' => :'String',
82
- :'pulp_last_updated' => :'DateTime',
83
- :'content_guard' => :'String',
84
- :'pulp_created' => :'DateTime',
85
- :'base_path' => :'String',
86
81
  :'name' => :'String',
87
- :'hidden' => :'Boolean',
82
+ :'pulp_created' => :'DateTime',
83
+ :'content_guard' => :'String',
88
84
  :'pulp_labels' => :'Hash<String, String>',
85
+ :'hidden' => :'Boolean',
86
+ :'pulp_last_updated' => :'DateTime',
89
87
  :'repository' => :'String',
88
+ :'pulp_href' => :'String',
89
+ :'base_path' => :'String',
90
90
  :'remote' => :'String',
91
91
  :'distributions' => :'Array<String>',
92
92
  :'namespace' => :'String',
@@ -118,28 +118,22 @@ module PulpContainerClient
118
118
  h[k.to_sym] = v
119
119
  }
120
120
 
121
- if attributes.key?(:'pulp_href')
122
- self.pulp_href = attributes[:'pulp_href']
123
- end
124
-
125
- if attributes.key?(:'pulp_last_updated')
126
- self.pulp_last_updated = attributes[:'pulp_last_updated']
127
- end
128
-
129
- if attributes.key?(:'content_guard')
130
- self.content_guard = attributes[:'content_guard']
121
+ if attributes.key?(:'name')
122
+ self.name = attributes[:'name']
131
123
  end
132
124
 
133
125
  if attributes.key?(:'pulp_created')
134
126
  self.pulp_created = attributes[:'pulp_created']
135
127
  end
136
128
 
137
- if attributes.key?(:'base_path')
138
- self.base_path = attributes[:'base_path']
129
+ if attributes.key?(:'content_guard')
130
+ self.content_guard = attributes[:'content_guard']
139
131
  end
140
132
 
141
- if attributes.key?(:'name')
142
- self.name = attributes[:'name']
133
+ if attributes.key?(:'pulp_labels')
134
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
135
+ self.pulp_labels = value
136
+ end
143
137
  end
144
138
 
145
139
  if attributes.key?(:'hidden')
@@ -148,16 +142,22 @@ module PulpContainerClient
148
142
  self.hidden = false
149
143
  end
150
144
 
151
- if attributes.key?(:'pulp_labels')
152
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
153
- self.pulp_labels = value
154
- end
145
+ if attributes.key?(:'pulp_last_updated')
146
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
155
147
  end
156
148
 
157
149
  if attributes.key?(:'repository')
158
150
  self.repository = attributes[:'repository']
159
151
  end
160
152
 
153
+ if attributes.key?(:'pulp_href')
154
+ self.pulp_href = attributes[:'pulp_href']
155
+ end
156
+
157
+ if attributes.key?(:'base_path')
158
+ self.base_path = attributes[:'base_path']
159
+ end
160
+
161
161
  if attributes.key?(:'remote')
162
162
  self.remote = attributes[:'remote']
163
163
  end
@@ -185,14 +185,14 @@ module PulpContainerClient
185
185
  # @return Array for valid properties with the reasons
186
186
  def list_invalid_properties
187
187
  invalid_properties = Array.new
188
- if @base_path.nil?
189
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
190
- end
191
-
192
188
  if @name.nil?
193
189
  invalid_properties.push('invalid value for "name", name cannot be nil.')
194
190
  end
195
191
 
192
+ if @base_path.nil?
193
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
194
+ end
195
+
196
196
  if @remote.nil?
197
197
  invalid_properties.push('invalid value for "remote", remote cannot be nil.')
198
198
  end
@@ -203,8 +203,8 @@ module PulpContainerClient
203
203
  # Check to see if the all the properties in the model are valid
204
204
  # @return true if the model is valid
205
205
  def valid?
206
- return false if @base_path.nil?
207
206
  return false if @name.nil?
207
+ return false if @base_path.nil?
208
208
  return false if @remote.nil?
209
209
  true
210
210
  end
@@ -214,15 +214,15 @@ module PulpContainerClient
214
214
  def ==(o)
215
215
  return true if self.equal?(o)
216
216
  self.class == o.class &&
217
- pulp_href == o.pulp_href &&
218
- pulp_last_updated == o.pulp_last_updated &&
219
- content_guard == o.content_guard &&
220
- pulp_created == o.pulp_created &&
221
- base_path == o.base_path &&
222
217
  name == o.name &&
223
- hidden == o.hidden &&
218
+ pulp_created == o.pulp_created &&
219
+ content_guard == o.content_guard &&
224
220
  pulp_labels == o.pulp_labels &&
221
+ hidden == o.hidden &&
222
+ pulp_last_updated == o.pulp_last_updated &&
225
223
  repository == o.repository &&
224
+ pulp_href == o.pulp_href &&
225
+ base_path == o.base_path &&
226
226
  remote == o.remote &&
227
227
  distributions == o.distributions &&
228
228
  namespace == o.namespace &&
@@ -239,7 +239,7 @@ module PulpContainerClient
239
239
  # Calculates hash code according to all attributes.
240
240
  # @return [Integer] Hash code
241
241
  def hash
242
- [pulp_href, pulp_last_updated, content_guard, pulp_created, base_path, name, hidden, pulp_labels, repository, remote, distributions, namespace, private, description].hash
242
+ [name, pulp_created, content_guard, pulp_labels, hidden, pulp_last_updated, repository, pulp_href, base_path, remote, distributions, namespace, private, description].hash
243
243
  end
244
244
 
245
245
  # Builds the object from hash