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,28 +16,28 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepository
19
- # An optional description.
20
- attr_accessor :description
21
-
22
19
  # A unique name for this repository.
23
20
  attr_accessor :name
24
21
 
22
+ attr_accessor :pulp_labels
23
+
25
24
  # Retain X versions of the repository. Default is null which retains all versions.
26
25
  attr_accessor :retain_repo_versions
27
26
 
27
+ # An optional description.
28
+ attr_accessor :description
29
+
28
30
  # A reference to an associated signing service.
29
31
  attr_accessor :manifest_signing_service
30
32
 
31
- attr_accessor :pulp_labels
32
-
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'description' => :'description',
37
36
  :'name' => :'name',
37
+ :'pulp_labels' => :'pulp_labels',
38
38
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service',
40
- :'pulp_labels' => :'pulp_labels'
39
+ :'description' => :'description',
40
+ :'manifest_signing_service' => :'manifest_signing_service'
41
41
  }
42
42
  end
43
43
 
@@ -49,20 +49,20 @@ module PulpContainerClient
49
49
  # Attribute type mapping.
50
50
  def self.openapi_types
51
51
  {
52
- :'description' => :'String',
53
52
  :'name' => :'String',
53
+ :'pulp_labels' => :'Hash<String, String>',
54
54
  :'retain_repo_versions' => :'Integer',
55
- :'manifest_signing_service' => :'String',
56
- :'pulp_labels' => :'Hash<String, String>'
55
+ :'description' => :'String',
56
+ :'manifest_signing_service' => :'String'
57
57
  }
58
58
  end
59
59
 
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
- :'description',
64
63
  :'retain_repo_versions',
65
- :'manifest_signing_service',
64
+ :'description',
65
+ :'manifest_signing_service'
66
66
  ])
67
67
  end
68
68
 
@@ -81,28 +81,28 @@ module PulpContainerClient
81
81
  h[k.to_sym] = v
82
82
  }
83
83
 
84
- if attributes.key?(:'description')
85
- self.description = attributes[:'description']
86
- end
87
-
88
84
  if attributes.key?(:'name')
89
85
  self.name = attributes[:'name']
90
86
  else
91
87
  self.name = nil
92
88
  end
93
89
 
90
+ if attributes.key?(:'pulp_labels')
91
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
+ self.pulp_labels = value
93
+ end
94
+ end
95
+
94
96
  if attributes.key?(:'retain_repo_versions')
95
97
  self.retain_repo_versions = attributes[:'retain_repo_versions']
96
98
  end
97
99
 
98
- if attributes.key?(:'manifest_signing_service')
99
- self.manifest_signing_service = attributes[:'manifest_signing_service']
100
+ if attributes.key?(:'description')
101
+ self.description = attributes[:'description']
100
102
  end
101
103
 
102
- if attributes.key?(:'pulp_labels')
103
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
- self.pulp_labels = value
105
- end
104
+ if attributes.key?(:'manifest_signing_service')
105
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
106
106
  end
107
107
  end
108
108
 
@@ -111,10 +111,6 @@ module PulpContainerClient
111
111
  def list_invalid_properties
112
112
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
113
113
  invalid_properties = Array.new
114
- if !@description.nil? && @description.to_s.length < 1
115
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
116
- end
117
-
118
114
  if @name.nil?
119
115
  invalid_properties.push('invalid value for "name", name cannot be nil.')
120
116
  end
@@ -123,6 +119,10 @@ module PulpContainerClient
123
119
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
124
120
  end
125
121
 
122
+ if !@description.nil? && @description.to_s.length < 1
123
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
124
+ end
125
+
126
126
  invalid_properties
127
127
  end
128
128
 
@@ -130,22 +130,12 @@ module PulpContainerClient
130
130
  # @return true if the model is valid
131
131
  def valid?
132
132
  warn '[DEPRECATED] the `valid?` method is obsolete'
133
- return false if !@description.nil? && @description.to_s.length < 1
134
133
  return false if @name.nil?
135
134
  return false if @name.to_s.length < 1
135
+ return false if !@description.nil? && @description.to_s.length < 1
136
136
  true
137
137
  end
138
138
 
139
- # Custom attribute writer method with validation
140
- # @param [Object] description Value to be assigned
141
- def description=(description)
142
- if !description.nil? && description.to_s.length < 1
143
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
144
- end
145
-
146
- @description = description
147
- end
148
-
149
139
  # Custom attribute writer method with validation
150
140
  # @param [Object] name Value to be assigned
151
141
  def name=(name)
@@ -160,16 +150,26 @@ module PulpContainerClient
160
150
  @name = name
161
151
  end
162
152
 
153
+ # Custom attribute writer method with validation
154
+ # @param [Object] description Value to be assigned
155
+ def description=(description)
156
+ if !description.nil? && description.to_s.length < 1
157
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
158
+ end
159
+
160
+ @description = description
161
+ end
162
+
163
163
  # Checks equality by comparing each attribute.
164
164
  # @param [Object] Object to be compared
165
165
  def ==(o)
166
166
  return true if self.equal?(o)
167
167
  self.class == o.class &&
168
- description == o.description &&
169
168
  name == o.name &&
169
+ pulp_labels == o.pulp_labels &&
170
170
  retain_repo_versions == o.retain_repo_versions &&
171
- manifest_signing_service == o.manifest_signing_service &&
172
- pulp_labels == o.pulp_labels
171
+ description == o.description &&
172
+ manifest_signing_service == o.manifest_signing_service
173
173
  end
174
174
 
175
175
  # @see the `==` method
@@ -181,7 +181,7 @@ module PulpContainerClient
181
181
  # Calculates hash code according to all attributes.
182
182
  # @return [Integer] Hash code
183
183
  def hash
184
- [description, name, retain_repo_versions, manifest_signing_service, pulp_labels].hash
184
+ [name, pulp_labels, retain_repo_versions, description, manifest_signing_service].hash
185
185
  end
186
186
 
187
187
  # Builds the object from hash
@@ -18,47 +18,47 @@ module PulpContainerClient
18
18
  class ContainerContainerPushRepositoryResponse
19
19
  attr_accessor :versions_href
20
20
 
21
+ # A unique name for this repository.
22
+ attr_accessor :name
23
+
21
24
  # The Pulp Resource Name (PRN).
22
25
  attr_accessor :prn
23
26
 
27
+ attr_accessor :latest_version_href
28
+
29
+ attr_accessor :pulp_labels
30
+
31
+ # Retain X versions of the repository. Default is null which retains all versions.
32
+ attr_accessor :retain_repo_versions
33
+
24
34
  # 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.
25
35
  attr_accessor :pulp_last_updated
26
36
 
27
37
  # An optional description.
28
38
  attr_accessor :description
29
39
 
30
- # A unique name for this repository.
31
- attr_accessor :name
40
+ # Timestamp of creation.
41
+ attr_accessor :pulp_created
32
42
 
33
43
  attr_accessor :pulp_href
34
44
 
35
- # Retain X versions of the repository. Default is null which retains all versions.
36
- attr_accessor :retain_repo_versions
37
-
38
- attr_accessor :latest_version_href
39
-
40
45
  # A reference to an associated signing service.
41
46
  attr_accessor :manifest_signing_service
42
47
 
43
- attr_accessor :pulp_labels
44
-
45
- # Timestamp of creation.
46
- attr_accessor :pulp_created
47
-
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
51
  :'versions_href' => :'versions_href',
52
+ :'name' => :'name',
52
53
  :'prn' => :'prn',
54
+ :'latest_version_href' => :'latest_version_href',
55
+ :'pulp_labels' => :'pulp_labels',
56
+ :'retain_repo_versions' => :'retain_repo_versions',
53
57
  :'pulp_last_updated' => :'pulp_last_updated',
54
58
  :'description' => :'description',
55
- :'name' => :'name',
59
+ :'pulp_created' => :'pulp_created',
56
60
  :'pulp_href' => :'pulp_href',
57
- :'retain_repo_versions' => :'retain_repo_versions',
58
- :'latest_version_href' => :'latest_version_href',
59
- :'manifest_signing_service' => :'manifest_signing_service',
60
- :'pulp_labels' => :'pulp_labels',
61
- :'pulp_created' => :'pulp_created'
61
+ :'manifest_signing_service' => :'manifest_signing_service'
62
62
  }
63
63
  end
64
64
 
@@ -71,25 +71,25 @@ module PulpContainerClient
71
71
  def self.openapi_types
72
72
  {
73
73
  :'versions_href' => :'String',
74
+ :'name' => :'String',
74
75
  :'prn' => :'String',
76
+ :'latest_version_href' => :'String',
77
+ :'pulp_labels' => :'Hash<String, String>',
78
+ :'retain_repo_versions' => :'Integer',
75
79
  :'pulp_last_updated' => :'Time',
76
80
  :'description' => :'String',
77
- :'name' => :'String',
81
+ :'pulp_created' => :'Time',
78
82
  :'pulp_href' => :'String',
79
- :'retain_repo_versions' => :'Integer',
80
- :'latest_version_href' => :'String',
81
- :'manifest_signing_service' => :'String',
82
- :'pulp_labels' => :'Hash<String, String>',
83
- :'pulp_created' => :'Time'
83
+ :'manifest_signing_service' => :'String'
84
84
  }
85
85
  end
86
86
 
87
87
  # List of attributes with nullable: true
88
88
  def self.openapi_nullable
89
89
  Set.new([
90
- :'description',
91
90
  :'retain_repo_versions',
92
- :'manifest_signing_service',
91
+ :'description',
92
+ :'manifest_signing_service'
93
93
  ])
94
94
  end
95
95
 
@@ -112,49 +112,49 @@ module PulpContainerClient
112
112
  self.versions_href = attributes[:'versions_href']
113
113
  end
114
114
 
115
- if attributes.key?(:'prn')
116
- self.prn = attributes[:'prn']
117
- end
118
-
119
- if attributes.key?(:'pulp_last_updated')
120
- self.pulp_last_updated = attributes[:'pulp_last_updated']
121
- end
122
-
123
- if attributes.key?(:'description')
124
- self.description = attributes[:'description']
125
- end
126
-
127
115
  if attributes.key?(:'name')
128
116
  self.name = attributes[:'name']
129
117
  else
130
118
  self.name = nil
131
119
  end
132
120
 
133
- if attributes.key?(:'pulp_href')
134
- self.pulp_href = attributes[:'pulp_href']
135
- end
136
-
137
- if attributes.key?(:'retain_repo_versions')
138
- self.retain_repo_versions = attributes[:'retain_repo_versions']
121
+ if attributes.key?(:'prn')
122
+ self.prn = attributes[:'prn']
139
123
  end
140
124
 
141
125
  if attributes.key?(:'latest_version_href')
142
126
  self.latest_version_href = attributes[:'latest_version_href']
143
127
  end
144
128
 
145
- if attributes.key?(:'manifest_signing_service')
146
- self.manifest_signing_service = attributes[:'manifest_signing_service']
147
- end
148
-
149
129
  if attributes.key?(:'pulp_labels')
150
130
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
151
131
  self.pulp_labels = value
152
132
  end
153
133
  end
154
134
 
135
+ if attributes.key?(:'retain_repo_versions')
136
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
137
+ end
138
+
139
+ if attributes.key?(:'pulp_last_updated')
140
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
141
+ end
142
+
143
+ if attributes.key?(:'description')
144
+ self.description = attributes[:'description']
145
+ end
146
+
155
147
  if attributes.key?(:'pulp_created')
156
148
  self.pulp_created = attributes[:'pulp_created']
157
149
  end
150
+
151
+ if attributes.key?(:'pulp_href')
152
+ self.pulp_href = attributes[:'pulp_href']
153
+ end
154
+
155
+ if attributes.key?(:'manifest_signing_service')
156
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
157
+ end
158
158
  end
159
159
 
160
160
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -183,16 +183,16 @@ module PulpContainerClient
183
183
  return true if self.equal?(o)
184
184
  self.class == o.class &&
185
185
  versions_href == o.versions_href &&
186
+ name == o.name &&
186
187
  prn == o.prn &&
188
+ latest_version_href == o.latest_version_href &&
189
+ pulp_labels == o.pulp_labels &&
190
+ retain_repo_versions == o.retain_repo_versions &&
187
191
  pulp_last_updated == o.pulp_last_updated &&
188
192
  description == o.description &&
189
- name == o.name &&
193
+ pulp_created == o.pulp_created &&
190
194
  pulp_href == o.pulp_href &&
191
- retain_repo_versions == o.retain_repo_versions &&
192
- latest_version_href == o.latest_version_href &&
193
- manifest_signing_service == o.manifest_signing_service &&
194
- pulp_labels == o.pulp_labels &&
195
- pulp_created == o.pulp_created
195
+ manifest_signing_service == o.manifest_signing_service
196
196
  end
197
197
 
198
198
  # @see the `==` method
@@ -204,7 +204,7 @@ module PulpContainerClient
204
204
  # Calculates hash code according to all attributes.
205
205
  # @return [Integer] Hash code
206
206
  def hash
207
- [versions_href, prn, pulp_last_updated, description, name, pulp_href, retain_repo_versions, latest_version_href, manifest_signing_service, pulp_labels, pulp_created].hash
207
+ [versions_href, name, prn, latest_version_href, pulp_labels, retain_repo_versions, pulp_last_updated, description, pulp_created, pulp_href, manifest_signing_service].hash
208
208
  end
209
209
 
210
210
  # Builds the object from hash
@@ -22,6 +22,11 @@ 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
+ # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
28
+ attr_accessor :policy
29
+
25
30
  # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
26
31
  attr_accessor :ca_cert
27
32
 
@@ -49,17 +54,9 @@ module PulpContainerClient
49
54
  # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
50
55
  attr_accessor :password
51
56
 
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
57
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
58
58
  attr_accessor :max_retries
59
59
 
60
- # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
61
- attr_accessor :policy
62
-
63
60
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
64
61
  attr_accessor :total_timeout
65
62
 
@@ -75,6 +72,9 @@ module PulpContainerClient
75
72
  # Headers for aiohttp.Clientsession
76
73
  attr_accessor :headers
77
74
 
75
+ # Total number of simultaneous connections. If not set then the default value will be used.
76
+ attr_accessor :download_concurrency
77
+
78
78
  # Limits requests per second for each concurrent downloader
79
79
  attr_accessor :rate_limit
80
80
 
@@ -117,6 +117,8 @@ module PulpContainerClient
117
117
  {
118
118
  :'name' => :'name',
119
119
  :'url' => :'url',
120
+ :'pulp_labels' => :'pulp_labels',
121
+ :'policy' => :'policy',
120
122
  :'ca_cert' => :'ca_cert',
121
123
  :'client_cert' => :'client_cert',
122
124
  :'client_key' => :'client_key',
@@ -126,15 +128,13 @@ module PulpContainerClient
126
128
  :'proxy_password' => :'proxy_password',
127
129
  :'username' => :'username',
128
130
  :'password' => :'password',
129
- :'pulp_labels' => :'pulp_labels',
130
- :'download_concurrency' => :'download_concurrency',
131
131
  :'max_retries' => :'max_retries',
132
- :'policy' => :'policy',
133
132
  :'total_timeout' => :'total_timeout',
134
133
  :'connect_timeout' => :'connect_timeout',
135
134
  :'sock_connect_timeout' => :'sock_connect_timeout',
136
135
  :'sock_read_timeout' => :'sock_read_timeout',
137
136
  :'headers' => :'headers',
137
+ :'download_concurrency' => :'download_concurrency',
138
138
  :'rate_limit' => :'rate_limit',
139
139
  :'upstream_name' => :'upstream_name',
140
140
  :'include_tags' => :'include_tags',
@@ -153,6 +153,8 @@ module PulpContainerClient
153
153
  {
154
154
  :'name' => :'String',
155
155
  :'url' => :'String',
156
+ :'pulp_labels' => :'Hash<String, String>',
157
+ :'policy' => :'Policy692Enum',
156
158
  :'ca_cert' => :'String',
157
159
  :'client_cert' => :'String',
158
160
  :'client_key' => :'String',
@@ -162,15 +164,13 @@ module PulpContainerClient
162
164
  :'proxy_password' => :'String',
163
165
  :'username' => :'String',
164
166
  :'password' => :'String',
165
- :'pulp_labels' => :'Hash<String, String>',
166
- :'download_concurrency' => :'Integer',
167
167
  :'max_retries' => :'Integer',
168
- :'policy' => :'Policy692Enum',
169
168
  :'total_timeout' => :'Float',
170
169
  :'connect_timeout' => :'Float',
171
170
  :'sock_connect_timeout' => :'Float',
172
171
  :'sock_read_timeout' => :'Float',
173
172
  :'headers' => :'Array<Object>',
173
+ :'download_concurrency' => :'Integer',
174
174
  :'rate_limit' => :'Integer',
175
175
  :'upstream_name' => :'String',
176
176
  :'include_tags' => :'Array<String>',
@@ -190,12 +190,12 @@ module PulpContainerClient
190
190
  :'proxy_password',
191
191
  :'username',
192
192
  :'password',
193
- :'download_concurrency',
194
193
  :'max_retries',
195
194
  :'total_timeout',
196
195
  :'connect_timeout',
197
196
  :'sock_connect_timeout',
198
197
  :'sock_read_timeout',
198
+ :'download_concurrency',
199
199
  :'rate_limit',
200
200
  :'include_tags',
201
201
  :'exclude_tags',
@@ -229,6 +229,16 @@ module PulpContainerClient
229
229
  self.url = nil
230
230
  end
231
231
 
232
+ if attributes.key?(:'pulp_labels')
233
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
234
+ self.pulp_labels = value
235
+ end
236
+ end
237
+
238
+ if attributes.key?(:'policy')
239
+ self.policy = attributes[:'policy']
240
+ end
241
+
232
242
  if attributes.key?(:'ca_cert')
233
243
  self.ca_cert = attributes[:'ca_cert']
234
244
  end
@@ -265,24 +275,10 @@ module PulpContainerClient
265
275
  self.password = attributes[:'password']
266
276
  end
267
277
 
268
- if attributes.key?(:'pulp_labels')
269
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
270
- self.pulp_labels = value
271
- end
272
- end
273
-
274
- if attributes.key?(:'download_concurrency')
275
- self.download_concurrency = attributes[:'download_concurrency']
276
- end
277
-
278
278
  if attributes.key?(:'max_retries')
279
279
  self.max_retries = attributes[:'max_retries']
280
280
  end
281
281
 
282
- if attributes.key?(:'policy')
283
- self.policy = attributes[:'policy']
284
- end
285
-
286
282
  if attributes.key?(:'total_timeout')
287
283
  self.total_timeout = attributes[:'total_timeout']
288
284
  end
@@ -305,6 +301,10 @@ module PulpContainerClient
305
301
  end
306
302
  end
307
303
 
304
+ if attributes.key?(:'download_concurrency')
305
+ self.download_concurrency = attributes[:'download_concurrency']
306
+ end
307
+
308
308
  if attributes.key?(:'rate_limit')
309
309
  self.rate_limit = attributes[:'rate_limit']
310
310
  end
@@ -625,6 +625,8 @@ module PulpContainerClient
625
625
  self.class == o.class &&
626
626
  name == o.name &&
627
627
  url == o.url &&
628
+ pulp_labels == o.pulp_labels &&
629
+ policy == o.policy &&
628
630
  ca_cert == o.ca_cert &&
629
631
  client_cert == o.client_cert &&
630
632
  client_key == o.client_key &&
@@ -634,15 +636,13 @@ module PulpContainerClient
634
636
  proxy_password == o.proxy_password &&
635
637
  username == o.username &&
636
638
  password == o.password &&
637
- pulp_labels == o.pulp_labels &&
638
- download_concurrency == o.download_concurrency &&
639
639
  max_retries == o.max_retries &&
640
- policy == o.policy &&
641
640
  total_timeout == o.total_timeout &&
642
641
  connect_timeout == o.connect_timeout &&
643
642
  sock_connect_timeout == o.sock_connect_timeout &&
644
643
  sock_read_timeout == o.sock_read_timeout &&
645
644
  headers == o.headers &&
645
+ download_concurrency == o.download_concurrency &&
646
646
  rate_limit == o.rate_limit &&
647
647
  upstream_name == o.upstream_name &&
648
648
  include_tags == o.include_tags &&
@@ -659,7 +659,7 @@ module PulpContainerClient
659
659
  # Calculates hash code according to all attributes.
660
660
  # @return [Integer] Hash code
661
661
  def hash
662
- [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, upstream_name, include_tags, exclude_tags, sigstore].hash
662
+ [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, upstream_name, include_tags, exclude_tags, sigstore].hash
663
663
  end
664
664
 
665
665
  # Builds the object from hash