pulp_container_client 2.26.6 → 2.27.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 (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +12 -12
  5. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
  7. data/docs/ContainerContainerPullThroughRemote.md +6 -6
  8. data/docs/ContainerContainerPullThroughRemoteResponse.md +8 -8
  9. data/docs/ContainerContainerPushRepository.md +5 -5
  10. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  11. data/docs/ContainerContainerRemote.md +6 -6
  12. data/docs/ContainerContainerRemoteResponse.md +8 -8
  13. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  14. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  15. data/docs/PatchedcontainerContainerPullThroughRemote.md +6 -6
  16. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  17. data/docs/PatchedcontainerContainerRemote.md +6 -6
  18. data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
  19. data/lib/pulp_container_client/models/container_container_distribution_response.rb +59 -59
  20. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
  21. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +59 -59
  22. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +32 -32
  23. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +44 -44
  24. data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
  25. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
  26. data/lib/pulp_container_client/models/container_container_remote.rb +33 -33
  27. data/lib/pulp_container_client/models/container_container_remote_response.rb +45 -45
  28. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
  29. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +20 -20
  30. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +32 -32
  31. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
  32. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +33 -33
  33. data/lib/pulp_container_client/version.rb +1 -1
  34. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  35. data/spec/models/container_container_distribution_spec.rb +4 -4
  36. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  37. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  38. data/spec/models/container_container_pull_through_remote_response_spec.rb +10 -10
  39. data/spec/models/container_container_pull_through_remote_spec.rb +17 -17
  40. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  41. data/spec/models/container_container_push_repository_spec.rb +4 -4
  42. data/spec/models/container_container_remote_response_spec.rb +10 -10
  43. data/spec/models/container_container_remote_spec.rb +17 -17
  44. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  45. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  46. data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +17 -17
  47. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  48. data/spec/models/patchedcontainer_container_remote_spec.rb +17 -17
  49. metadata +1 -1
@@ -16,30 +16,17 @@ 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 Pulp Resource Name (PRN).
20
- attr_accessor :prn
21
-
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.
23
- attr_accessor :pulp_last_updated
24
-
25
19
  # A unique name. Ex, `rawhide` and `stable`.
26
20
  attr_accessor :name
27
21
 
28
- attr_accessor :pulp_href
29
-
30
22
  # An optional content-guard. If none is specified, a default one will be used.
31
23
  attr_accessor :content_guard
32
24
 
33
- attr_accessor :pulp_labels
34
-
35
25
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
36
26
  attr_accessor :no_content_change_since
37
27
 
38
- # Whether this distribution should be shown in the content app.
39
- attr_accessor :hidden
40
-
41
- # Timestamp of creation.
42
- attr_accessor :pulp_created
28
+ # The Pulp Resource Name (PRN).
29
+ attr_accessor :prn
43
30
 
44
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\")
45
32
  attr_accessor :base_path
@@ -47,6 +34,19 @@ module PulpContainerClient
47
34
  # The latest RepositoryVersion for this Repository will be served.
48
35
  attr_accessor :repository
49
36
 
37
+ attr_accessor :pulp_labels
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
+ # Timestamp of creation.
43
+ attr_accessor :pulp_created
44
+
45
+ # Whether this distribution should be shown in the content app.
46
+ attr_accessor :hidden
47
+
48
+ attr_accessor :pulp_href
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
- :'prn' => :'prn',
69
- :'pulp_last_updated' => :'pulp_last_updated',
70
68
  :'name' => :'name',
71
- :'pulp_href' => :'pulp_href',
72
69
  :'content_guard' => :'content_guard',
73
- :'pulp_labels' => :'pulp_labels',
74
70
  :'no_content_change_since' => :'no_content_change_since',
75
- :'hidden' => :'hidden',
76
- :'pulp_created' => :'pulp_created',
71
+ :'prn' => :'prn',
77
72
  :'base_path' => :'base_path',
78
73
  :'repository' => :'repository',
74
+ :'pulp_labels' => :'pulp_labels',
75
+ :'pulp_last_updated' => :'pulp_last_updated',
76
+ :'pulp_created' => :'pulp_created',
77
+ :'hidden' => :'hidden',
78
+ :'pulp_href' => :'pulp_href',
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
- :'prn' => :'String',
96
- :'pulp_last_updated' => :'Time',
97
95
  :'name' => :'String',
98
- :'pulp_href' => :'String',
99
96
  :'content_guard' => :'String',
100
- :'pulp_labels' => :'Hash<String, String>',
101
97
  :'no_content_change_since' => :'String',
102
- :'hidden' => :'Boolean',
103
- :'pulp_created' => :'Time',
98
+ :'prn' => :'String',
104
99
  :'base_path' => :'String',
105
100
  :'repository' => :'String',
101
+ :'pulp_labels' => :'Hash<String, String>',
102
+ :'pulp_last_updated' => :'Time',
103
+ :'pulp_created' => :'Time',
104
+ :'hidden' => :'Boolean',
105
+ :'pulp_href' => :'String',
106
106
  :'remote' => :'String',
107
107
  :'distributions' => :'Array<String>',
108
108
  :'namespace' => :'String',
@@ -134,56 +134,56 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'prn')
138
- self.prn = attributes[:'prn']
139
- end
140
-
141
- if attributes.key?(:'pulp_last_updated')
142
- self.pulp_last_updated = attributes[:'pulp_last_updated']
143
- end
144
-
145
137
  if attributes.key?(:'name')
146
138
  self.name = attributes[:'name']
147
139
  else
148
140
  self.name = nil
149
141
  end
150
142
 
151
- if attributes.key?(:'pulp_href')
152
- self.pulp_href = attributes[:'pulp_href']
153
- end
154
-
155
143
  if attributes.key?(:'content_guard')
156
144
  self.content_guard = attributes[:'content_guard']
157
145
  end
158
146
 
147
+ if attributes.key?(:'no_content_change_since')
148
+ self.no_content_change_since = attributes[:'no_content_change_since']
149
+ end
150
+
151
+ if attributes.key?(:'prn')
152
+ self.prn = attributes[:'prn']
153
+ end
154
+
155
+ if attributes.key?(:'base_path')
156
+ self.base_path = attributes[:'base_path']
157
+ else
158
+ self.base_path = nil
159
+ end
160
+
161
+ if attributes.key?(:'repository')
162
+ self.repository = attributes[:'repository']
163
+ end
164
+
159
165
  if attributes.key?(:'pulp_labels')
160
166
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
161
167
  self.pulp_labels = value
162
168
  end
163
169
  end
164
170
 
165
- if attributes.key?(:'no_content_change_since')
166
- self.no_content_change_since = attributes[:'no_content_change_since']
167
- end
168
-
169
- if attributes.key?(:'hidden')
170
- self.hidden = attributes[:'hidden']
171
- else
172
- self.hidden = false
171
+ if attributes.key?(:'pulp_last_updated')
172
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
173
173
  end
174
174
 
175
175
  if attributes.key?(:'pulp_created')
176
176
  self.pulp_created = attributes[:'pulp_created']
177
177
  end
178
178
 
179
- if attributes.key?(:'base_path')
180
- self.base_path = attributes[:'base_path']
179
+ if attributes.key?(:'hidden')
180
+ self.hidden = attributes[:'hidden']
181
181
  else
182
- self.base_path = nil
182
+ self.hidden = false
183
183
  end
184
184
 
185
- if attributes.key?(:'repository')
186
- self.repository = attributes[:'repository']
185
+ if attributes.key?(:'pulp_href')
186
+ self.pulp_href = attributes[:'pulp_href']
187
187
  end
188
188
 
189
189
  if attributes.key?(:'remote')
@@ -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
- prn == o.prn &&
250
- pulp_last_updated == o.pulp_last_updated &&
251
249
  name == o.name &&
252
- pulp_href == o.pulp_href &&
253
250
  content_guard == o.content_guard &&
254
- pulp_labels == o.pulp_labels &&
255
251
  no_content_change_since == o.no_content_change_since &&
256
- hidden == o.hidden &&
257
- pulp_created == o.pulp_created &&
252
+ prn == o.prn &&
258
253
  base_path == o.base_path &&
259
254
  repository == o.repository &&
255
+ pulp_labels == o.pulp_labels &&
256
+ pulp_last_updated == o.pulp_last_updated &&
257
+ pulp_created == o.pulp_created &&
258
+ hidden == o.hidden &&
259
+ pulp_href == o.pulp_href &&
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
- [prn, pulp_last_updated, name, pulp_href, content_guard, pulp_labels, no_content_change_since, hidden, pulp_created, base_path, repository, remote, distributions, namespace, private, description].hash
276
+ [name, content_guard, no_content_change_since, prn, base_path, repository, pulp_labels, pulp_last_updated, pulp_created, hidden, pulp_href, remote, distributions, namespace, private, description].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash
@@ -22,6 +22,10 @@ module PulpContainerClient
22
22
  # The URL of an external content source.
23
23
  attr_accessor :url
24
24
 
25
+ attr_accessor :pulp_labels
26
+
27
+ attr_accessor :policy
28
+
25
29
  # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
26
30
  attr_accessor :ca_cert
27
31
 
@@ -49,16 +53,9 @@ module PulpContainerClient
49
53
  # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
50
54
  attr_accessor :password
51
55
 
52
- attr_accessor :pulp_labels
53
-
54
- # Total number of simultaneous connections. If not set then the default value will be used.
55
- attr_accessor :download_concurrency
56
-
57
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
58
57
  attr_accessor :max_retries
59
58
 
60
- attr_accessor :policy
61
-
62
59
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
63
60
  attr_accessor :total_timeout
64
61
 
@@ -74,6 +71,9 @@ module PulpContainerClient
74
71
  # Headers for aiohttp.Clientsession
75
72
  attr_accessor :headers
76
73
 
74
+ # Total number of simultaneous connections. If not set then the default value will be used.
75
+ attr_accessor :download_concurrency
76
+
77
77
  # Limits requests per second for each concurrent downloader
78
78
  attr_accessor :rate_limit
79
79
 
@@ -110,6 +110,8 @@ module PulpContainerClient
110
110
  {
111
111
  :'name' => :'name',
112
112
  :'url' => :'url',
113
+ :'pulp_labels' => :'pulp_labels',
114
+ :'policy' => :'policy',
113
115
  :'ca_cert' => :'ca_cert',
114
116
  :'client_cert' => :'client_cert',
115
117
  :'client_key' => :'client_key',
@@ -119,15 +121,13 @@ module PulpContainerClient
119
121
  :'proxy_password' => :'proxy_password',
120
122
  :'username' => :'username',
121
123
  :'password' => :'password',
122
- :'pulp_labels' => :'pulp_labels',
123
- :'download_concurrency' => :'download_concurrency',
124
124
  :'max_retries' => :'max_retries',
125
- :'policy' => :'policy',
126
125
  :'total_timeout' => :'total_timeout',
127
126
  :'connect_timeout' => :'connect_timeout',
128
127
  :'sock_connect_timeout' => :'sock_connect_timeout',
129
128
  :'sock_read_timeout' => :'sock_read_timeout',
130
129
  :'headers' => :'headers',
130
+ :'download_concurrency' => :'download_concurrency',
131
131
  :'rate_limit' => :'rate_limit',
132
132
  :'includes' => :'includes',
133
133
  :'excludes' => :'excludes'
@@ -144,6 +144,8 @@ module PulpContainerClient
144
144
  {
145
145
  :'name' => :'String',
146
146
  :'url' => :'String',
147
+ :'pulp_labels' => :'Hash<String, String>',
148
+ :'policy' => :'Policy7e0Enum',
147
149
  :'ca_cert' => :'String',
148
150
  :'client_cert' => :'String',
149
151
  :'client_key' => :'String',
@@ -153,15 +155,13 @@ module PulpContainerClient
153
155
  :'proxy_password' => :'String',
154
156
  :'username' => :'String',
155
157
  :'password' => :'String',
156
- :'pulp_labels' => :'Hash<String, String>',
157
- :'download_concurrency' => :'Integer',
158
158
  :'max_retries' => :'Integer',
159
- :'policy' => :'Policy7e0Enum',
160
159
  :'total_timeout' => :'Float',
161
160
  :'connect_timeout' => :'Float',
162
161
  :'sock_connect_timeout' => :'Float',
163
162
  :'sock_read_timeout' => :'Float',
164
163
  :'headers' => :'Array<Object>',
164
+ :'download_concurrency' => :'Integer',
165
165
  :'rate_limit' => :'Integer',
166
166
  :'includes' => :'Array<String>',
167
167
  :'excludes' => :'Array<String>'
@@ -179,12 +179,12 @@ module PulpContainerClient
179
179
  :'proxy_password',
180
180
  :'username',
181
181
  :'password',
182
- :'download_concurrency',
183
182
  :'max_retries',
184
183
  :'total_timeout',
185
184
  :'connect_timeout',
186
185
  :'sock_connect_timeout',
187
186
  :'sock_read_timeout',
187
+ :'download_concurrency',
188
188
  :'rate_limit',
189
189
  :'includes',
190
190
  :'excludes'
@@ -218,6 +218,16 @@ module PulpContainerClient
218
218
  self.url = nil
219
219
  end
220
220
 
221
+ if attributes.key?(:'pulp_labels')
222
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
223
+ self.pulp_labels = value
224
+ end
225
+ end
226
+
227
+ if attributes.key?(:'policy')
228
+ self.policy = attributes[:'policy']
229
+ end
230
+
221
231
  if attributes.key?(:'ca_cert')
222
232
  self.ca_cert = attributes[:'ca_cert']
223
233
  end
@@ -254,24 +264,10 @@ module PulpContainerClient
254
264
  self.password = attributes[:'password']
255
265
  end
256
266
 
257
- if attributes.key?(:'pulp_labels')
258
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
259
- self.pulp_labels = value
260
- end
261
- end
262
-
263
- if attributes.key?(:'download_concurrency')
264
- self.download_concurrency = attributes[:'download_concurrency']
265
- end
266
-
267
267
  if attributes.key?(:'max_retries')
268
268
  self.max_retries = attributes[:'max_retries']
269
269
  end
270
270
 
271
- if attributes.key?(:'policy')
272
- self.policy = attributes[:'policy']
273
- end
274
-
275
271
  if attributes.key?(:'total_timeout')
276
272
  self.total_timeout = attributes[:'total_timeout']
277
273
  end
@@ -294,6 +290,10 @@ module PulpContainerClient
294
290
  end
295
291
  end
296
292
 
293
+ if attributes.key?(:'download_concurrency')
294
+ self.download_concurrency = attributes[:'download_concurrency']
295
+ end
296
+
297
297
  if attributes.key?(:'rate_limit')
298
298
  self.rate_limit = attributes[:'rate_limit']
299
299
  end
@@ -561,6 +561,8 @@ module PulpContainerClient
561
561
  self.class == o.class &&
562
562
  name == o.name &&
563
563
  url == o.url &&
564
+ pulp_labels == o.pulp_labels &&
565
+ policy == o.policy &&
564
566
  ca_cert == o.ca_cert &&
565
567
  client_cert == o.client_cert &&
566
568
  client_key == o.client_key &&
@@ -570,15 +572,13 @@ module PulpContainerClient
570
572
  proxy_password == o.proxy_password &&
571
573
  username == o.username &&
572
574
  password == o.password &&
573
- pulp_labels == o.pulp_labels &&
574
- download_concurrency == o.download_concurrency &&
575
575
  max_retries == o.max_retries &&
576
- policy == o.policy &&
577
576
  total_timeout == o.total_timeout &&
578
577
  connect_timeout == o.connect_timeout &&
579
578
  sock_connect_timeout == o.sock_connect_timeout &&
580
579
  sock_read_timeout == o.sock_read_timeout &&
581
580
  headers == o.headers &&
581
+ download_concurrency == o.download_concurrency &&
582
582
  rate_limit == o.rate_limit &&
583
583
  includes == o.includes &&
584
584
  excludes == o.excludes
@@ -593,7 +593,7 @@ module PulpContainerClient
593
593
  # Calculates hash code according to all attributes.
594
594
  # @return [Integer] Hash code
595
595
  def hash
596
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, includes, excludes].hash
596
+ [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes].hash
597
597
  end
598
598
 
599
599
  # Builds the object from hash
@@ -33,6 +33,13 @@ module PulpContainerClient
33
33
  # The URL of an external content source.
34
34
  attr_accessor :url
35
35
 
36
+ attr_accessor :pulp_labels
37
+
38
+ attr_accessor :policy
39
+
40
+ # List of hidden (write only) fields
41
+ attr_accessor :hidden_fields
42
+
36
43
  # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
37
44
  attr_accessor :ca_cert
38
45
 
@@ -45,16 +52,9 @@ module PulpContainerClient
45
52
  # The proxy URL. Format: scheme://host:port
46
53
  attr_accessor :proxy_url
47
54
 
48
- attr_accessor :pulp_labels
49
-
50
- # Total number of simultaneous connections. If not set then the default value will be used.
51
- attr_accessor :download_concurrency
52
-
53
55
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
54
56
  attr_accessor :max_retries
55
57
 
56
- attr_accessor :policy
57
-
58
58
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
59
59
  attr_accessor :total_timeout
60
60
 
@@ -70,12 +70,12 @@ module PulpContainerClient
70
70
  # Headers for aiohttp.Clientsession
71
71
  attr_accessor :headers
72
72
 
73
+ # Total number of simultaneous connections. If not set then the default value will be used.
74
+ attr_accessor :download_concurrency
75
+
73
76
  # Limits requests per second for each concurrent downloader
74
77
  attr_accessor :rate_limit
75
78
 
76
- # List of hidden (write only) fields
77
- attr_accessor :hidden_fields
78
-
79
79
  # A list of remotes to include during pull-through caching. Wildcards *, ? are recognized. 'includes' is evaluated before 'excludes'.
80
80
  attr_accessor :includes
81
81
 
@@ -113,21 +113,21 @@ module PulpContainerClient
113
113
  :'pulp_last_updated' => :'pulp_last_updated',
114
114
  :'name' => :'name',
115
115
  :'url' => :'url',
116
+ :'pulp_labels' => :'pulp_labels',
117
+ :'policy' => :'policy',
118
+ :'hidden_fields' => :'hidden_fields',
116
119
  :'ca_cert' => :'ca_cert',
117
120
  :'client_cert' => :'client_cert',
118
121
  :'tls_validation' => :'tls_validation',
119
122
  :'proxy_url' => :'proxy_url',
120
- :'pulp_labels' => :'pulp_labels',
121
- :'download_concurrency' => :'download_concurrency',
122
123
  :'max_retries' => :'max_retries',
123
- :'policy' => :'policy',
124
124
  :'total_timeout' => :'total_timeout',
125
125
  :'connect_timeout' => :'connect_timeout',
126
126
  :'sock_connect_timeout' => :'sock_connect_timeout',
127
127
  :'sock_read_timeout' => :'sock_read_timeout',
128
128
  :'headers' => :'headers',
129
+ :'download_concurrency' => :'download_concurrency',
129
130
  :'rate_limit' => :'rate_limit',
130
- :'hidden_fields' => :'hidden_fields',
131
131
  :'includes' => :'includes',
132
132
  :'excludes' => :'excludes'
133
133
  }
@@ -147,21 +147,21 @@ module PulpContainerClient
147
147
  :'pulp_last_updated' => :'Time',
148
148
  :'name' => :'String',
149
149
  :'url' => :'String',
150
+ :'pulp_labels' => :'Hash<String, String>',
151
+ :'policy' => :'Policy7e0Enum',
152
+ :'hidden_fields' => :'Array<ContainerContainerPullThroughRemoteResponseHiddenFieldsInner>',
150
153
  :'ca_cert' => :'String',
151
154
  :'client_cert' => :'String',
152
155
  :'tls_validation' => :'Boolean',
153
156
  :'proxy_url' => :'String',
154
- :'pulp_labels' => :'Hash<String, String>',
155
- :'download_concurrency' => :'Integer',
156
157
  :'max_retries' => :'Integer',
157
- :'policy' => :'Policy7e0Enum',
158
158
  :'total_timeout' => :'Float',
159
159
  :'connect_timeout' => :'Float',
160
160
  :'sock_connect_timeout' => :'Float',
161
161
  :'sock_read_timeout' => :'Float',
162
162
  :'headers' => :'Array<Object>',
163
+ :'download_concurrency' => :'Integer',
163
164
  :'rate_limit' => :'Integer',
164
- :'hidden_fields' => :'Array<ContainerContainerPullThroughRemoteResponseHiddenFieldsInner>',
165
165
  :'includes' => :'Array<String>',
166
166
  :'excludes' => :'Array<String>'
167
167
  }
@@ -173,12 +173,12 @@ module PulpContainerClient
173
173
  :'ca_cert',
174
174
  :'client_cert',
175
175
  :'proxy_url',
176
- :'download_concurrency',
177
176
  :'max_retries',
178
177
  :'total_timeout',
179
178
  :'connect_timeout',
180
179
  :'sock_connect_timeout',
181
180
  :'sock_read_timeout',
181
+ :'download_concurrency',
182
182
  :'rate_limit',
183
183
  :'includes',
184
184
  :'excludes'
@@ -228,6 +228,22 @@ module PulpContainerClient
228
228
  self.url = nil
229
229
  end
230
230
 
231
+ if attributes.key?(:'pulp_labels')
232
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
233
+ self.pulp_labels = value
234
+ end
235
+ end
236
+
237
+ if attributes.key?(:'policy')
238
+ self.policy = attributes[:'policy']
239
+ end
240
+
241
+ if attributes.key?(:'hidden_fields')
242
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
243
+ self.hidden_fields = value
244
+ end
245
+ end
246
+
231
247
  if attributes.key?(:'ca_cert')
232
248
  self.ca_cert = attributes[:'ca_cert']
233
249
  end
@@ -244,24 +260,10 @@ module PulpContainerClient
244
260
  self.proxy_url = attributes[:'proxy_url']
245
261
  end
246
262
 
247
- if attributes.key?(:'pulp_labels')
248
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
249
- self.pulp_labels = value
250
- end
251
- end
252
-
253
- if attributes.key?(:'download_concurrency')
254
- self.download_concurrency = attributes[:'download_concurrency']
255
- end
256
-
257
263
  if attributes.key?(:'max_retries')
258
264
  self.max_retries = attributes[:'max_retries']
259
265
  end
260
266
 
261
- if attributes.key?(:'policy')
262
- self.policy = attributes[:'policy']
263
- end
264
-
265
267
  if attributes.key?(:'total_timeout')
266
268
  self.total_timeout = attributes[:'total_timeout']
267
269
  end
@@ -284,14 +286,12 @@ module PulpContainerClient
284
286
  end
285
287
  end
286
288
 
287
- if attributes.key?(:'rate_limit')
288
- self.rate_limit = attributes[:'rate_limit']
289
+ if attributes.key?(:'download_concurrency')
290
+ self.download_concurrency = attributes[:'download_concurrency']
289
291
  end
290
292
 
291
- if attributes.key?(:'hidden_fields')
292
- if (value = attributes[:'hidden_fields']).is_a?(Array)
293
- self.hidden_fields = value
294
- end
293
+ if attributes.key?(:'rate_limit')
294
+ self.rate_limit = attributes[:'rate_limit']
295
295
  end
296
296
 
297
297
  if attributes.key?(:'includes')
@@ -403,21 +403,21 @@ module PulpContainerClient
403
403
  pulp_last_updated == o.pulp_last_updated &&
404
404
  name == o.name &&
405
405
  url == o.url &&
406
+ pulp_labels == o.pulp_labels &&
407
+ policy == o.policy &&
408
+ hidden_fields == o.hidden_fields &&
406
409
  ca_cert == o.ca_cert &&
407
410
  client_cert == o.client_cert &&
408
411
  tls_validation == o.tls_validation &&
409
412
  proxy_url == o.proxy_url &&
410
- pulp_labels == o.pulp_labels &&
411
- download_concurrency == o.download_concurrency &&
412
413
  max_retries == o.max_retries &&
413
- policy == o.policy &&
414
414
  total_timeout == o.total_timeout &&
415
415
  connect_timeout == o.connect_timeout &&
416
416
  sock_connect_timeout == o.sock_connect_timeout &&
417
417
  sock_read_timeout == o.sock_read_timeout &&
418
418
  headers == o.headers &&
419
+ download_concurrency == o.download_concurrency &&
419
420
  rate_limit == o.rate_limit &&
420
- hidden_fields == o.hidden_fields &&
421
421
  includes == o.includes &&
422
422
  excludes == o.excludes
423
423
  end
@@ -431,7 +431,7 @@ module PulpContainerClient
431
431
  # Calculates hash code according to all attributes.
432
432
  # @return [Integer] Hash code
433
433
  def hash
434
- [pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, includes, excludes].hash
434
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, includes, excludes].hash
435
435
  end
436
436
 
437
437
  # Builds the object from hash