pulp_container_client 2.27.2 → 2.27.3

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 (44) 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 +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +5 -5
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  11. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  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 +54 -54
  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 +54 -54
  16. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +15 -0
  17. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +15 -0
  18. data/lib/pulp_container_client/models/container_container_push_repository.rb +56 -41
  19. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +72 -57
  20. data/lib/pulp_container_client/models/container_container_remote.rb +15 -0
  21. data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -0
  22. data/lib/pulp_container_client/models/container_container_repository.rb +15 -0
  23. data/lib/pulp_container_client/models/container_container_repository_response.rb +15 -0
  24. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +29 -29
  25. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
  26. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +15 -0
  27. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +56 -41
  28. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +15 -0
  29. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +15 -0
  30. data/lib/pulp_container_client/models/set_label.rb +0 -11
  31. data/lib/pulp_container_client/models/set_label_response.rb +0 -21
  32. data/lib/pulp_container_client/models/unset_label.rb +0 -11
  33. data/lib/pulp_container_client/models/unset_label_response.rb +0 -21
  34. data/lib/pulp_container_client/version.rb +1 -1
  35. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  36. data/spec/models/container_container_distribution_spec.rb +5 -5
  37. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  38. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  39. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  40. data/spec/models/container_container_push_repository_spec.rb +5 -5
  41. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  42. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  43. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  44. metadata +59 -59
@@ -16,37 +16,37 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistributionResponse
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
21
-
22
19
  # Timestamp of creation.
23
20
  attr_accessor :pulp_created
24
21
 
22
+ attr_accessor :pulp_labels
23
+
24
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
25
+ attr_accessor :no_content_change_since
26
+
25
27
  # Whether this distribution should be shown in the content app.
26
28
  attr_accessor :hidden
27
29
 
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
- attr_accessor :base_path
30
-
31
30
  # The Pulp Resource Name (PRN).
32
31
  attr_accessor :prn
33
32
 
34
- # The latest RepositoryVersion for this Repository will be served.
35
- attr_accessor :repository
36
-
37
- # An optional content-guard. If none is specified, a default one will be used.
38
- attr_accessor :content_guard
39
-
40
33
  # 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.
41
34
  attr_accessor :pulp_last_updated
42
35
 
43
- attr_accessor :pulp_labels
44
-
45
36
  attr_accessor :pulp_href
46
37
 
38
+ # The latest RepositoryVersion for this Repository will be served.
39
+ attr_accessor :repository
40
+
41
+ # 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
+ attr_accessor :base_path
43
+
47
44
  # A unique name. Ex, `rawhide` and `stable`.
48
45
  attr_accessor :name
49
46
 
47
+ # An optional content-guard. If none is specified, a default one will be used.
48
+ attr_accessor :content_guard
49
+
50
50
  # RepositoryVersion to be served
51
51
  attr_accessor :repository_version
52
52
 
@@ -68,17 +68,17 @@ module PulpContainerClient
68
68
  # Attribute mapping from ruby-style variable name to JSON key.
69
69
  def self.attribute_map
70
70
  {
71
- :'no_content_change_since' => :'no_content_change_since',
72
71
  :'pulp_created' => :'pulp_created',
72
+ :'pulp_labels' => :'pulp_labels',
73
+ :'no_content_change_since' => :'no_content_change_since',
73
74
  :'hidden' => :'hidden',
74
- :'base_path' => :'base_path',
75
75
  :'prn' => :'prn',
76
- :'repository' => :'repository',
77
- :'content_guard' => :'content_guard',
78
76
  :'pulp_last_updated' => :'pulp_last_updated',
79
- :'pulp_labels' => :'pulp_labels',
80
77
  :'pulp_href' => :'pulp_href',
78
+ :'repository' => :'repository',
79
+ :'base_path' => :'base_path',
81
80
  :'name' => :'name',
81
+ :'content_guard' => :'content_guard',
82
82
  :'repository_version' => :'repository_version',
83
83
  :'registry_path' => :'registry_path',
84
84
  :'remote' => :'remote',
@@ -96,17 +96,17 @@ module PulpContainerClient
96
96
  # Attribute type mapping.
97
97
  def self.openapi_types
98
98
  {
99
- :'no_content_change_since' => :'String',
100
99
  :'pulp_created' => :'Time',
100
+ :'pulp_labels' => :'Hash<String, String>',
101
+ :'no_content_change_since' => :'String',
101
102
  :'hidden' => :'Boolean',
102
- :'base_path' => :'String',
103
103
  :'prn' => :'String',
104
- :'repository' => :'String',
105
- :'content_guard' => :'String',
106
104
  :'pulp_last_updated' => :'Time',
107
- :'pulp_labels' => :'Hash<String, String>',
108
105
  :'pulp_href' => :'String',
106
+ :'repository' => :'String',
107
+ :'base_path' => :'String',
109
108
  :'name' => :'String',
109
+ :'content_guard' => :'String',
110
110
  :'repository_version' => :'String',
111
111
  :'registry_path' => :'String',
112
112
  :'remote' => :'String',
@@ -140,58 +140,58 @@ module PulpContainerClient
140
140
  h[k.to_sym] = v
141
141
  }
142
142
 
143
- if attributes.key?(:'no_content_change_since')
144
- self.no_content_change_since = attributes[:'no_content_change_since']
145
- end
146
-
147
143
  if attributes.key?(:'pulp_created')
148
144
  self.pulp_created = attributes[:'pulp_created']
149
145
  end
150
146
 
147
+ if attributes.key?(:'pulp_labels')
148
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
149
+ self.pulp_labels = value
150
+ end
151
+ end
152
+
153
+ if attributes.key?(:'no_content_change_since')
154
+ self.no_content_change_since = attributes[:'no_content_change_since']
155
+ end
156
+
151
157
  if attributes.key?(:'hidden')
152
158
  self.hidden = attributes[:'hidden']
153
159
  else
154
160
  self.hidden = false
155
161
  end
156
162
 
157
- if attributes.key?(:'base_path')
158
- self.base_path = attributes[:'base_path']
159
- else
160
- self.base_path = nil
161
- end
162
-
163
163
  if attributes.key?(:'prn')
164
164
  self.prn = attributes[:'prn']
165
165
  end
166
166
 
167
- if attributes.key?(:'repository')
168
- self.repository = attributes[:'repository']
169
- end
170
-
171
- if attributes.key?(:'content_guard')
172
- self.content_guard = attributes[:'content_guard']
173
- end
174
-
175
167
  if attributes.key?(:'pulp_last_updated')
176
168
  self.pulp_last_updated = attributes[:'pulp_last_updated']
177
169
  end
178
170
 
179
- if attributes.key?(:'pulp_labels')
180
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
181
- self.pulp_labels = value
182
- end
183
- end
184
-
185
171
  if attributes.key?(:'pulp_href')
186
172
  self.pulp_href = attributes[:'pulp_href']
187
173
  end
188
174
 
175
+ if attributes.key?(:'repository')
176
+ self.repository = attributes[:'repository']
177
+ end
178
+
179
+ if attributes.key?(:'base_path')
180
+ self.base_path = attributes[:'base_path']
181
+ else
182
+ self.base_path = nil
183
+ end
184
+
189
185
  if attributes.key?(:'name')
190
186
  self.name = attributes[:'name']
191
187
  else
192
188
  self.name = nil
193
189
  end
194
190
 
191
+ if attributes.key?(:'content_guard')
192
+ self.content_guard = attributes[:'content_guard']
193
+ end
194
+
195
195
  if attributes.key?(:'repository_version')
196
196
  self.repository_version = attributes[:'repository_version']
197
197
  end
@@ -247,17 +247,17 @@ module PulpContainerClient
247
247
  def ==(o)
248
248
  return true if self.equal?(o)
249
249
  self.class == o.class &&
250
- no_content_change_since == o.no_content_change_since &&
251
250
  pulp_created == o.pulp_created &&
251
+ pulp_labels == o.pulp_labels &&
252
+ no_content_change_since == o.no_content_change_since &&
252
253
  hidden == o.hidden &&
253
- base_path == o.base_path &&
254
254
  prn == o.prn &&
255
- repository == o.repository &&
256
- content_guard == o.content_guard &&
257
255
  pulp_last_updated == o.pulp_last_updated &&
258
- pulp_labels == o.pulp_labels &&
259
256
  pulp_href == o.pulp_href &&
257
+ repository == o.repository &&
258
+ base_path == o.base_path &&
260
259
  name == o.name &&
260
+ content_guard == o.content_guard &&
261
261
  repository_version == o.repository_version &&
262
262
  registry_path == o.registry_path &&
263
263
  remote == o.remote &&
@@ -275,7 +275,7 @@ module PulpContainerClient
275
275
  # Calculates hash code according to all attributes.
276
276
  # @return [Integer] Hash code
277
277
  def hash
278
- [no_content_change_since, pulp_created, hidden, base_path, prn, repository, content_guard, pulp_last_updated, pulp_labels, pulp_href, name, repository_version, registry_path, remote, namespace, private, description].hash
278
+ [pulp_created, pulp_labels, no_content_change_since, hidden, prn, pulp_last_updated, pulp_href, repository, base_path, name, content_guard, repository_version, registry_path, remote, namespace, private, description].hash
279
279
  end
280
280
 
281
281
  # Builds the object from hash
@@ -16,23 +16,23 @@ 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
+
19
21
  # Whether this distribution should be shown in the content app.
20
22
  attr_accessor :hidden
21
23
 
22
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
23
- attr_accessor :base_path
24
-
25
24
  # The latest RepositoryVersion for this Repository will be served.
26
25
  attr_accessor :repository
27
26
 
28
- # An optional content-guard. If none is specified, a default one will be used.
29
- attr_accessor :content_guard
30
-
31
- attr_accessor :pulp_labels
27
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
+ attr_accessor :base_path
32
29
 
33
30
  # A unique name. Ex, `rawhide` and `stable`.
34
31
  attr_accessor :name
35
32
 
33
+ # An optional content-guard. If none is specified, a default one will be used.
34
+ attr_accessor :content_guard
35
+
36
36
  # Remote that can be used to fetch content when using pull-through caching.
37
37
  attr_accessor :remote
38
38
 
@@ -48,12 +48,12 @@ module PulpContainerClient
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
+ :'pulp_labels' => :'pulp_labels',
51
52
  :'hidden' => :'hidden',
52
- :'base_path' => :'base_path',
53
53
  :'repository' => :'repository',
54
- :'content_guard' => :'content_guard',
55
- :'pulp_labels' => :'pulp_labels',
54
+ :'base_path' => :'base_path',
56
55
  :'name' => :'name',
56
+ :'content_guard' => :'content_guard',
57
57
  :'remote' => :'remote',
58
58
  :'distributions' => :'distributions',
59
59
  :'private' => :'private',
@@ -69,12 +69,12 @@ module PulpContainerClient
69
69
  # Attribute type mapping.
70
70
  def self.openapi_types
71
71
  {
72
+ :'pulp_labels' => :'Hash<String, String>',
72
73
  :'hidden' => :'Boolean',
73
- :'base_path' => :'String',
74
74
  :'repository' => :'String',
75
- :'content_guard' => :'String',
76
- :'pulp_labels' => :'Hash<String, String>',
75
+ :'base_path' => :'String',
77
76
  :'name' => :'String',
77
+ :'content_guard' => :'String',
78
78
  :'remote' => :'String',
79
79
  :'distributions' => :'Array<String>',
80
80
  :'private' => :'Boolean',
@@ -105,30 +105,26 @@ module PulpContainerClient
105
105
  h[k.to_sym] = v
106
106
  }
107
107
 
108
+ if attributes.key?(:'pulp_labels')
109
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
+ self.pulp_labels = value
111
+ end
112
+ end
113
+
108
114
  if attributes.key?(:'hidden')
109
115
  self.hidden = attributes[:'hidden']
110
116
  else
111
117
  self.hidden = false
112
118
  end
113
119
 
114
- if attributes.key?(:'base_path')
115
- self.base_path = attributes[:'base_path']
116
- else
117
- self.base_path = nil
118
- end
119
-
120
120
  if attributes.key?(:'repository')
121
121
  self.repository = attributes[:'repository']
122
122
  end
123
123
 
124
- if attributes.key?(:'content_guard')
125
- self.content_guard = attributes[:'content_guard']
126
- end
127
-
128
- if attributes.key?(:'pulp_labels')
129
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
130
- self.pulp_labels = value
131
- end
124
+ if attributes.key?(:'base_path')
125
+ self.base_path = attributes[:'base_path']
126
+ else
127
+ self.base_path = nil
132
128
  end
133
129
 
134
130
  if attributes.key?(:'name')
@@ -137,6 +133,10 @@ module PulpContainerClient
137
133
  self.name = nil
138
134
  end
139
135
 
136
+ if attributes.key?(:'content_guard')
137
+ self.content_guard = attributes[:'content_guard']
138
+ end
139
+
140
140
  if attributes.key?(:'remote')
141
141
  self.remote = attributes[:'remote']
142
142
  else
@@ -246,12 +246,12 @@ module PulpContainerClient
246
246
  def ==(o)
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
+ pulp_labels == o.pulp_labels &&
249
250
  hidden == o.hidden &&
250
- base_path == o.base_path &&
251
251
  repository == o.repository &&
252
- content_guard == o.content_guard &&
253
- pulp_labels == o.pulp_labels &&
252
+ base_path == o.base_path &&
254
253
  name == o.name &&
254
+ content_guard == o.content_guard &&
255
255
  remote == o.remote &&
256
256
  distributions == o.distributions &&
257
257
  private == o.private &&
@@ -267,7 +267,7 @@ module PulpContainerClient
267
267
  # Calculates hash code according to all attributes.
268
268
  # @return [Integer] Hash code
269
269
  def hash
270
- [hidden, base_path, repository, content_guard, pulp_labels, name, remote, distributions, private, description].hash
270
+ [pulp_labels, hidden, repository, base_path, name, content_guard, remote, distributions, private, description].hash
271
271
  end
272
272
 
273
273
  # Builds the object from hash
@@ -16,37 +16,37 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistributionResponse
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
21
-
22
19
  # Timestamp of creation.
23
20
  attr_accessor :pulp_created
24
21
 
22
+ attr_accessor :pulp_labels
23
+
24
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
25
+ attr_accessor :no_content_change_since
26
+
25
27
  # Whether this distribution should be shown in the content app.
26
28
  attr_accessor :hidden
27
29
 
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
- attr_accessor :base_path
30
-
31
30
  # The Pulp Resource Name (PRN).
32
31
  attr_accessor :prn
33
32
 
34
- # The latest RepositoryVersion for this Repository will be served.
35
- attr_accessor :repository
36
-
37
- # An optional content-guard. If none is specified, a default one will be used.
38
- attr_accessor :content_guard
39
-
40
33
  # 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.
41
34
  attr_accessor :pulp_last_updated
42
35
 
43
- attr_accessor :pulp_labels
44
-
45
36
  attr_accessor :pulp_href
46
37
 
38
+ # The latest RepositoryVersion for this Repository will be served.
39
+ attr_accessor :repository
40
+
41
+ # 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
+ attr_accessor :base_path
43
+
47
44
  # A unique name. Ex, `rawhide` and `stable`.
48
45
  attr_accessor :name
49
46
 
47
+ # An optional content-guard. If none is specified, a default one will be used.
48
+ attr_accessor :content_guard
49
+
50
50
  # Remote that can be used to fetch content when using pull-through caching.
51
51
  attr_accessor :remote
52
52
 
@@ -65,17 +65,17 @@ module PulpContainerClient
65
65
  # Attribute mapping from ruby-style variable name to JSON key.
66
66
  def self.attribute_map
67
67
  {
68
- :'no_content_change_since' => :'no_content_change_since',
69
68
  :'pulp_created' => :'pulp_created',
69
+ :'pulp_labels' => :'pulp_labels',
70
+ :'no_content_change_since' => :'no_content_change_since',
70
71
  :'hidden' => :'hidden',
71
- :'base_path' => :'base_path',
72
72
  :'prn' => :'prn',
73
- :'repository' => :'repository',
74
- :'content_guard' => :'content_guard',
75
73
  :'pulp_last_updated' => :'pulp_last_updated',
76
- :'pulp_labels' => :'pulp_labels',
77
74
  :'pulp_href' => :'pulp_href',
75
+ :'repository' => :'repository',
76
+ :'base_path' => :'base_path',
78
77
  :'name' => :'name',
78
+ :'content_guard' => :'content_guard',
79
79
  :'remote' => :'remote',
80
80
  :'distributions' => :'distributions',
81
81
  :'namespace' => :'namespace',
@@ -92,17 +92,17 @@ module PulpContainerClient
92
92
  # Attribute type mapping.
93
93
  def self.openapi_types
94
94
  {
95
- :'no_content_change_since' => :'String',
96
95
  :'pulp_created' => :'Time',
96
+ :'pulp_labels' => :'Hash<String, String>',
97
+ :'no_content_change_since' => :'String',
97
98
  :'hidden' => :'Boolean',
98
- :'base_path' => :'String',
99
99
  :'prn' => :'String',
100
- :'repository' => :'String',
101
- :'content_guard' => :'String',
102
100
  :'pulp_last_updated' => :'Time',
103
- :'pulp_labels' => :'Hash<String, String>',
104
101
  :'pulp_href' => :'String',
102
+ :'repository' => :'String',
103
+ :'base_path' => :'String',
105
104
  :'name' => :'String',
105
+ :'content_guard' => :'String',
106
106
  :'remote' => :'String',
107
107
  :'distributions' => :'Array<String>',
108
108
  :'namespace' => :'String',
@@ -134,58 +134,58 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'no_content_change_since')
138
- self.no_content_change_since = attributes[:'no_content_change_since']
139
- end
140
-
141
137
  if attributes.key?(:'pulp_created')
142
138
  self.pulp_created = attributes[:'pulp_created']
143
139
  end
144
140
 
141
+ if attributes.key?(:'pulp_labels')
142
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
143
+ self.pulp_labels = value
144
+ end
145
+ end
146
+
147
+ if attributes.key?(:'no_content_change_since')
148
+ self.no_content_change_since = attributes[:'no_content_change_since']
149
+ end
150
+
145
151
  if attributes.key?(:'hidden')
146
152
  self.hidden = attributes[:'hidden']
147
153
  else
148
154
  self.hidden = false
149
155
  end
150
156
 
151
- if attributes.key?(:'base_path')
152
- self.base_path = attributes[:'base_path']
153
- else
154
- self.base_path = nil
155
- end
156
-
157
157
  if attributes.key?(:'prn')
158
158
  self.prn = attributes[:'prn']
159
159
  end
160
160
 
161
- if attributes.key?(:'repository')
162
- self.repository = attributes[:'repository']
163
- end
164
-
165
- if attributes.key?(:'content_guard')
166
- self.content_guard = attributes[:'content_guard']
167
- end
168
-
169
161
  if attributes.key?(:'pulp_last_updated')
170
162
  self.pulp_last_updated = attributes[:'pulp_last_updated']
171
163
  end
172
164
 
173
- if attributes.key?(:'pulp_labels')
174
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
175
- self.pulp_labels = value
176
- end
177
- end
178
-
179
165
  if attributes.key?(:'pulp_href')
180
166
  self.pulp_href = attributes[:'pulp_href']
181
167
  end
182
168
 
169
+ if attributes.key?(:'repository')
170
+ self.repository = attributes[:'repository']
171
+ end
172
+
173
+ if attributes.key?(:'base_path')
174
+ self.base_path = attributes[:'base_path']
175
+ else
176
+ self.base_path = nil
177
+ end
178
+
183
179
  if attributes.key?(:'name')
184
180
  self.name = attributes[:'name']
185
181
  else
186
182
  self.name = nil
187
183
  end
188
184
 
185
+ if attributes.key?(:'content_guard')
186
+ self.content_guard = attributes[:'content_guard']
187
+ end
188
+
189
189
  if attributes.key?(:'remote')
190
190
  self.remote = attributes[:'remote']
191
191
  else
@@ -246,17 +246,17 @@ module PulpContainerClient
246
246
  def ==(o)
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
- no_content_change_since == o.no_content_change_since &&
250
249
  pulp_created == o.pulp_created &&
250
+ pulp_labels == o.pulp_labels &&
251
+ no_content_change_since == o.no_content_change_since &&
251
252
  hidden == o.hidden &&
252
- base_path == o.base_path &&
253
253
  prn == o.prn &&
254
- repository == o.repository &&
255
- content_guard == o.content_guard &&
256
254
  pulp_last_updated == o.pulp_last_updated &&
257
- pulp_labels == o.pulp_labels &&
258
255
  pulp_href == o.pulp_href &&
256
+ repository == o.repository &&
257
+ base_path == o.base_path &&
259
258
  name == o.name &&
259
+ content_guard == o.content_guard &&
260
260
  remote == o.remote &&
261
261
  distributions == o.distributions &&
262
262
  namespace == o.namespace &&
@@ -273,7 +273,7 @@ module PulpContainerClient
273
273
  # Calculates hash code according to all attributes.
274
274
  # @return [Integer] Hash code
275
275
  def hash
276
- [no_content_change_since, pulp_created, hidden, base_path, prn, repository, content_guard, pulp_last_updated, pulp_labels, pulp_href, name, remote, distributions, namespace, private, description].hash
276
+ [pulp_created, pulp_labels, no_content_change_since, hidden, prn, pulp_last_updated, pulp_href, repository, base_path, name, content_guard, remote, distributions, namespace, private, description].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash
@@ -380,6 +380,10 @@ module PulpContainerClient
380
380
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
381
381
  end
382
382
 
383
+ if !@download_concurrency.nil? && @download_concurrency < 1
384
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
385
+ end
386
+
383
387
  invalid_properties
384
388
  end
385
389
 
@@ -403,6 +407,7 @@ module PulpContainerClient
403
407
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
404
408
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
405
409
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
410
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
406
411
  true
407
412
  end
408
413
 
@@ -554,6 +559,16 @@ module PulpContainerClient
554
559
  @sock_read_timeout = sock_read_timeout
555
560
  end
556
561
 
562
+ # Custom attribute writer method with validation
563
+ # @param [Object] download_concurrency Value to be assigned
564
+ def download_concurrency=(download_concurrency)
565
+ if !download_concurrency.nil? && download_concurrency < 1
566
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
567
+ end
568
+
569
+ @download_concurrency = download_concurrency
570
+ end
571
+
557
572
  # Checks equality by comparing each attribute.
558
573
  # @param [Object] Object to be compared
559
574
  def ==(o)
@@ -336,6 +336,10 @@ module PulpContainerClient
336
336
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
337
337
  end
338
338
 
339
+ if !@download_concurrency.nil? && @download_concurrency < 1
340
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
341
+ end
342
+
339
343
  invalid_properties
340
344
  end
341
345
 
@@ -349,6 +353,7 @@ module PulpContainerClient
349
353
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
350
354
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
351
355
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
356
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
352
357
  true
353
358
  end
354
359
 
@@ -392,6 +397,16 @@ module PulpContainerClient
392
397
  @sock_read_timeout = sock_read_timeout
393
398
  end
394
399
 
400
+ # Custom attribute writer method with validation
401
+ # @param [Object] download_concurrency Value to be assigned
402
+ def download_concurrency=(download_concurrency)
403
+ if !download_concurrency.nil? && download_concurrency < 1
404
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
405
+ end
406
+
407
+ @download_concurrency = download_concurrency
408
+ end
409
+
395
410
  # Checks equality by comparing each attribute.
396
411
  # @param [Object] Object to be compared
397
412
  def ==(o)