pulp_ansible_client 0.29.2 → 0.29.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 (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/AnsibleCollectionRemote.md +6 -6
  4. data/docs/AnsibleCollectionRemoteResponse.md +8 -8
  5. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  6. data/docs/AnsibleGitRemote.md +28 -28
  7. data/docs/AnsibleGitRemoteResponse.md +28 -28
  8. data/docs/AnsibleRoleRemote.md +6 -6
  9. data/docs/AnsibleRoleRemoteResponse.md +9 -9
  10. data/docs/AnsibleRoleResponse.md +6 -6
  11. data/docs/ContentCollectionSignaturesApi.md +3 -1
  12. data/docs/ContentCollectionVersionsApi.md +4 -2
  13. data/docs/PatchedansibleCollectionRemote.md +6 -6
  14. data/docs/PatchedansibleGitRemote.md +28 -28
  15. data/docs/PatchedansibleRoleRemote.md +6 -6
  16. data/docs/RemoteNetworkConfig.md +50 -0
  17. data/docs/RemoteNetworkConfigResponse.md +40 -0
  18. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
  19. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -3
  20. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +33 -33
  21. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +45 -45
  22. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +32 -32
  23. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +253 -253
  24. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +152 -152
  25. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +33 -33
  26. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +49 -49
  27. data/lib/pulp_ansible_client/models/ansible_role_response.rb +32 -32
  28. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +33 -33
  29. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
  30. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +33 -33
  31. data/lib/pulp_ansible_client/models/remote_network_config.rb +573 -0
  32. data/lib/pulp_ansible_client/models/remote_network_config_response.rb +398 -0
  33. data/lib/pulp_ansible_client/version.rb +1 -1
  34. data/lib/pulp_ansible_client.rb +2 -0
  35. data/spec/api/content_collection_signatures_api_spec.rb +1 -0
  36. data/spec/api/content_collection_versions_api_spec.rb +2 -1
  37. data/spec/models/ansible_collection_remote_response_spec.rb +10 -10
  38. data/spec/models/ansible_collection_remote_spec.rb +17 -17
  39. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  40. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  41. data/spec/models/ansible_git_remote_spec.rb +19 -19
  42. data/spec/models/ansible_role_remote_response_spec.rb +10 -10
  43. data/spec/models/ansible_role_remote_spec.rb +17 -17
  44. data/spec/models/ansible_role_response_spec.rb +6 -6
  45. data/spec/models/patchedansible_collection_remote_spec.rb +17 -17
  46. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  47. data/spec/models/patchedansible_role_remote_spec.rb +17 -17
  48. data/spec/models/remote_network_config_response_spec.rb +102 -0
  49. data/spec/models/remote_network_config_spec.rb +132 -0
  50. metadata +10 -2
@@ -33,6 +33,14 @@ module PulpAnsibleClient
33
33
  # The URL of an external content source.
34
34
  attr_accessor :url
35
35
 
36
+ attr_accessor :pulp_labels
37
+
38
+ # The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.
39
+ attr_accessor :policy
40
+
41
+ # List of hidden (write only) fields
42
+ attr_accessor :hidden_fields
43
+
36
44
  # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
37
45
  attr_accessor :ca_cert
38
46
 
@@ -45,17 +53,9 @@ module PulpAnsibleClient
45
53
  # The proxy URL. Format: scheme://host:port
46
54
  attr_accessor :proxy_url
47
55
 
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
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
54
57
  attr_accessor :max_retries
55
58
 
56
- # The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.
57
- attr_accessor :policy
58
-
59
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.
60
60
  attr_accessor :total_timeout
61
61
 
@@ -71,12 +71,12 @@ module PulpAnsibleClient
71
71
  # Headers for aiohttp.Clientsession
72
72
  attr_accessor :headers
73
73
 
74
+ # Total number of simultaneous connections. If not set then the default value will be used.
75
+ attr_accessor :download_concurrency
76
+
74
77
  # Limits requests per second for each concurrent downloader
75
78
  attr_accessor :rate_limit
76
79
 
77
- # List of hidden (write only) fields
78
- attr_accessor :hidden_fields
79
-
80
80
  class EnumAttributeValidator
81
81
  attr_reader :datatype
82
82
  attr_reader :allowable_values
@@ -108,21 +108,21 @@ module PulpAnsibleClient
108
108
  :'pulp_last_updated' => :'pulp_last_updated',
109
109
  :'name' => :'name',
110
110
  :'url' => :'url',
111
+ :'pulp_labels' => :'pulp_labels',
112
+ :'policy' => :'policy',
113
+ :'hidden_fields' => :'hidden_fields',
111
114
  :'ca_cert' => :'ca_cert',
112
115
  :'client_cert' => :'client_cert',
113
116
  :'tls_validation' => :'tls_validation',
114
117
  :'proxy_url' => :'proxy_url',
115
- :'pulp_labels' => :'pulp_labels',
116
- :'download_concurrency' => :'download_concurrency',
117
118
  :'max_retries' => :'max_retries',
118
- :'policy' => :'policy',
119
119
  :'total_timeout' => :'total_timeout',
120
120
  :'connect_timeout' => :'connect_timeout',
121
121
  :'sock_connect_timeout' => :'sock_connect_timeout',
122
122
  :'sock_read_timeout' => :'sock_read_timeout',
123
123
  :'headers' => :'headers',
124
- :'rate_limit' => :'rate_limit',
125
- :'hidden_fields' => :'hidden_fields'
124
+ :'download_concurrency' => :'download_concurrency',
125
+ :'rate_limit' => :'rate_limit'
126
126
  }
127
127
  end
128
128
 
@@ -140,21 +140,21 @@ module PulpAnsibleClient
140
140
  :'pulp_last_updated' => :'Time',
141
141
  :'name' => :'String',
142
142
  :'url' => :'String',
143
+ :'pulp_labels' => :'Hash<String, String>',
144
+ :'policy' => :'PolicyEnum',
145
+ :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
143
146
  :'ca_cert' => :'String',
144
147
  :'client_cert' => :'String',
145
148
  :'tls_validation' => :'Boolean',
146
149
  :'proxy_url' => :'String',
147
- :'pulp_labels' => :'Hash<String, String>',
148
- :'download_concurrency' => :'Integer',
149
150
  :'max_retries' => :'Integer',
150
- :'policy' => :'PolicyEnum',
151
151
  :'total_timeout' => :'Float',
152
152
  :'connect_timeout' => :'Float',
153
153
  :'sock_connect_timeout' => :'Float',
154
154
  :'sock_read_timeout' => :'Float',
155
155
  :'headers' => :'Array<Object>',
156
- :'rate_limit' => :'Integer',
157
- :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>'
156
+ :'download_concurrency' => :'Integer',
157
+ :'rate_limit' => :'Integer'
158
158
  }
159
159
  end
160
160
 
@@ -164,13 +164,13 @@ module PulpAnsibleClient
164
164
  :'ca_cert',
165
165
  :'client_cert',
166
166
  :'proxy_url',
167
- :'download_concurrency',
168
167
  :'max_retries',
169
168
  :'total_timeout',
170
169
  :'connect_timeout',
171
170
  :'sock_connect_timeout',
172
171
  :'sock_read_timeout',
173
- :'rate_limit',
172
+ :'download_concurrency',
173
+ :'rate_limit'
174
174
  ])
175
175
  end
176
176
 
@@ -217,6 +217,22 @@ module PulpAnsibleClient
217
217
  self.url = nil
218
218
  end
219
219
 
220
+ if attributes.key?(:'pulp_labels')
221
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
222
+ self.pulp_labels = value
223
+ end
224
+ end
225
+
226
+ if attributes.key?(:'policy')
227
+ self.policy = attributes[:'policy']
228
+ end
229
+
230
+ if attributes.key?(:'hidden_fields')
231
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
232
+ self.hidden_fields = value
233
+ end
234
+ end
235
+
220
236
  if attributes.key?(:'ca_cert')
221
237
  self.ca_cert = attributes[:'ca_cert']
222
238
  end
@@ -233,24 +249,10 @@ module PulpAnsibleClient
233
249
  self.proxy_url = attributes[:'proxy_url']
234
250
  end
235
251
 
236
- if attributes.key?(:'pulp_labels')
237
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
238
- self.pulp_labels = value
239
- end
240
- end
241
-
242
- if attributes.key?(:'download_concurrency')
243
- self.download_concurrency = attributes[:'download_concurrency']
244
- end
245
-
246
252
  if attributes.key?(:'max_retries')
247
253
  self.max_retries = attributes[:'max_retries']
248
254
  end
249
255
 
250
- if attributes.key?(:'policy')
251
- self.policy = attributes[:'policy']
252
- end
253
-
254
256
  if attributes.key?(:'total_timeout')
255
257
  self.total_timeout = attributes[:'total_timeout']
256
258
  end
@@ -273,14 +275,12 @@ module PulpAnsibleClient
273
275
  end
274
276
  end
275
277
 
276
- if attributes.key?(:'rate_limit')
277
- self.rate_limit = attributes[:'rate_limit']
278
+ if attributes.key?(:'download_concurrency')
279
+ self.download_concurrency = attributes[:'download_concurrency']
278
280
  end
279
281
 
280
- if attributes.key?(:'hidden_fields')
281
- if (value = attributes[:'hidden_fields']).is_a?(Array)
282
- self.hidden_fields = value
283
- end
282
+ if attributes.key?(:'rate_limit')
283
+ self.rate_limit = attributes[:'rate_limit']
284
284
  end
285
285
  end
286
286
 
@@ -380,21 +380,21 @@ module PulpAnsibleClient
380
380
  pulp_last_updated == o.pulp_last_updated &&
381
381
  name == o.name &&
382
382
  url == o.url &&
383
+ pulp_labels == o.pulp_labels &&
384
+ policy == o.policy &&
385
+ hidden_fields == o.hidden_fields &&
383
386
  ca_cert == o.ca_cert &&
384
387
  client_cert == o.client_cert &&
385
388
  tls_validation == o.tls_validation &&
386
389
  proxy_url == o.proxy_url &&
387
- pulp_labels == o.pulp_labels &&
388
- download_concurrency == o.download_concurrency &&
389
390
  max_retries == o.max_retries &&
390
- policy == o.policy &&
391
391
  total_timeout == o.total_timeout &&
392
392
  connect_timeout == o.connect_timeout &&
393
393
  sock_connect_timeout == o.sock_connect_timeout &&
394
394
  sock_read_timeout == o.sock_read_timeout &&
395
395
  headers == o.headers &&
396
- rate_limit == o.rate_limit &&
397
- hidden_fields == o.hidden_fields
396
+ download_concurrency == o.download_concurrency &&
397
+ rate_limit == o.rate_limit
398
398
  end
399
399
 
400
400
  # @see the `==` method
@@ -406,7 +406,7 @@ module PulpAnsibleClient
406
406
  # Calculates hash code according to all attributes.
407
407
  # @return [Integer] Hash code
408
408
  def hash
409
- [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].hash
409
+ [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].hash
410
410
  end
411
411
 
412
412
  # Builds the object from hash
@@ -16,25 +16,25 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Role versions.
18
18
  class AnsibleRoleResponse
19
+ # 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.
20
+ attr_accessor :pulp_last_updated
21
+
19
22
  # Timestamp of creation.
20
23
  attr_accessor :pulp_created
21
24
 
25
+ attr_accessor :pulp_href
26
+
22
27
  # Artifact file representing the physical content
23
28
  attr_accessor :artifact
24
29
 
25
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
- attr_accessor :pulp_labels
27
-
28
- # 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.
29
- attr_accessor :pulp_last_updated
30
-
31
30
  attr_accessor :vuln_report
32
31
 
33
- attr_accessor :pulp_href
34
-
35
32
  # The Pulp Resource Name (PRN).
36
33
  attr_accessor :prn
37
34
 
35
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
+ attr_accessor :pulp_labels
37
+
38
38
  attr_accessor :version
39
39
 
40
40
  attr_accessor :name
@@ -44,13 +44,13 @@ module PulpAnsibleClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'pulp_last_updated' => :'pulp_last_updated',
47
48
  :'pulp_created' => :'pulp_created',
49
+ :'pulp_href' => :'pulp_href',
48
50
  :'artifact' => :'artifact',
49
- :'pulp_labels' => :'pulp_labels',
50
- :'pulp_last_updated' => :'pulp_last_updated',
51
51
  :'vuln_report' => :'vuln_report',
52
- :'pulp_href' => :'pulp_href',
53
52
  :'prn' => :'prn',
53
+ :'pulp_labels' => :'pulp_labels',
54
54
  :'version' => :'version',
55
55
  :'name' => :'name',
56
56
  :'namespace' => :'namespace'
@@ -65,13 +65,13 @@ module PulpAnsibleClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
+ :'pulp_last_updated' => :'Time',
68
69
  :'pulp_created' => :'Time',
70
+ :'pulp_href' => :'String',
69
71
  :'artifact' => :'String',
70
- :'pulp_labels' => :'Hash<String, String>',
71
- :'pulp_last_updated' => :'Time',
72
72
  :'vuln_report' => :'String',
73
- :'pulp_href' => :'String',
74
73
  :'prn' => :'String',
74
+ :'pulp_labels' => :'Hash<String, String>',
75
75
  :'version' => :'String',
76
76
  :'name' => :'String',
77
77
  :'namespace' => :'String'
@@ -99,38 +99,38 @@ module PulpAnsibleClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
+ if attributes.key?(:'pulp_last_updated')
103
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
104
+ end
105
+
102
106
  if attributes.key?(:'pulp_created')
103
107
  self.pulp_created = attributes[:'pulp_created']
104
108
  end
105
109
 
110
+ if attributes.key?(:'pulp_href')
111
+ self.pulp_href = attributes[:'pulp_href']
112
+ end
113
+
106
114
  if attributes.key?(:'artifact')
107
115
  self.artifact = attributes[:'artifact']
108
116
  else
109
117
  self.artifact = nil
110
118
  end
111
119
 
112
- if attributes.key?(:'pulp_labels')
113
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
114
- self.pulp_labels = value
115
- end
116
- end
117
-
118
- if attributes.key?(:'pulp_last_updated')
119
- self.pulp_last_updated = attributes[:'pulp_last_updated']
120
- end
121
-
122
120
  if attributes.key?(:'vuln_report')
123
121
  self.vuln_report = attributes[:'vuln_report']
124
122
  end
125
123
 
126
- if attributes.key?(:'pulp_href')
127
- self.pulp_href = attributes[:'pulp_href']
128
- end
129
-
130
124
  if attributes.key?(:'prn')
131
125
  self.prn = attributes[:'prn']
132
126
  end
133
127
 
128
+ if attributes.key?(:'pulp_labels')
129
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
130
+ self.pulp_labels = value
131
+ end
132
+ end
133
+
134
134
  if attributes.key?(:'version')
135
135
  self.version = attributes[:'version']
136
136
  else
@@ -190,13 +190,13 @@ module PulpAnsibleClient
190
190
  def ==(o)
191
191
  return true if self.equal?(o)
192
192
  self.class == o.class &&
193
+ pulp_last_updated == o.pulp_last_updated &&
193
194
  pulp_created == o.pulp_created &&
195
+ pulp_href == o.pulp_href &&
194
196
  artifact == o.artifact &&
195
- pulp_labels == o.pulp_labels &&
196
- pulp_last_updated == o.pulp_last_updated &&
197
197
  vuln_report == o.vuln_report &&
198
- pulp_href == o.pulp_href &&
199
198
  prn == o.prn &&
199
+ pulp_labels == o.pulp_labels &&
200
200
  version == o.version &&
201
201
  name == o.name &&
202
202
  namespace == o.namespace
@@ -211,7 +211,7 @@ module PulpAnsibleClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [pulp_created, artifact, pulp_labels, pulp_last_updated, vuln_report, pulp_href, prn, version, name, namespace].hash
214
+ [pulp_last_updated, pulp_created, pulp_href, artifact, vuln_report, prn, pulp_labels, version, name, namespace].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -22,6 +22,11 @@ module PulpAnsibleClient
22
22
  # The URL of an external content source.
23
23
  attr_accessor :url
24
24
 
25
+ attr_accessor :pulp_labels
26
+
27
+ # The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.
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 PulpAnsibleClient
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
- # The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.
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 PulpAnsibleClient
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
 
@@ -120,6 +120,8 @@ module PulpAnsibleClient
120
120
  {
121
121
  :'name' => :'name',
122
122
  :'url' => :'url',
123
+ :'pulp_labels' => :'pulp_labels',
124
+ :'policy' => :'policy',
123
125
  :'ca_cert' => :'ca_cert',
124
126
  :'client_cert' => :'client_cert',
125
127
  :'client_key' => :'client_key',
@@ -129,15 +131,13 @@ module PulpAnsibleClient
129
131
  :'proxy_password' => :'proxy_password',
130
132
  :'username' => :'username',
131
133
  :'password' => :'password',
132
- :'pulp_labels' => :'pulp_labels',
133
- :'download_concurrency' => :'download_concurrency',
134
134
  :'max_retries' => :'max_retries',
135
- :'policy' => :'policy',
136
135
  :'total_timeout' => :'total_timeout',
137
136
  :'connect_timeout' => :'connect_timeout',
138
137
  :'sock_connect_timeout' => :'sock_connect_timeout',
139
138
  :'sock_read_timeout' => :'sock_read_timeout',
140
139
  :'headers' => :'headers',
140
+ :'download_concurrency' => :'download_concurrency',
141
141
  :'rate_limit' => :'rate_limit',
142
142
  :'requirements_file' => :'requirements_file',
143
143
  :'auth_url' => :'auth_url',
@@ -157,6 +157,8 @@ module PulpAnsibleClient
157
157
  {
158
158
  :'name' => :'String',
159
159
  :'url' => :'String',
160
+ :'pulp_labels' => :'Hash<String, String>',
161
+ :'policy' => :'PolicyEnum',
160
162
  :'ca_cert' => :'String',
161
163
  :'client_cert' => :'String',
162
164
  :'client_key' => :'String',
@@ -166,15 +168,13 @@ module PulpAnsibleClient
166
168
  :'proxy_password' => :'String',
167
169
  :'username' => :'String',
168
170
  :'password' => :'String',
169
- :'pulp_labels' => :'Hash<String, String>',
170
- :'download_concurrency' => :'Integer',
171
171
  :'max_retries' => :'Integer',
172
- :'policy' => :'PolicyEnum',
173
172
  :'total_timeout' => :'Float',
174
173
  :'connect_timeout' => :'Float',
175
174
  :'sock_connect_timeout' => :'Float',
176
175
  :'sock_read_timeout' => :'Float',
177
176
  :'headers' => :'Array<Object>',
177
+ :'download_concurrency' => :'Integer',
178
178
  :'rate_limit' => :'Integer',
179
179
  :'requirements_file' => :'String',
180
180
  :'auth_url' => :'String',
@@ -195,12 +195,12 @@ module PulpAnsibleClient
195
195
  :'proxy_password',
196
196
  :'username',
197
197
  :'password',
198
- :'download_concurrency',
199
198
  :'max_retries',
200
199
  :'total_timeout',
201
200
  :'connect_timeout',
202
201
  :'sock_connect_timeout',
203
202
  :'sock_read_timeout',
203
+ :'download_concurrency',
204
204
  :'rate_limit',
205
205
  :'requirements_file',
206
206
  :'auth_url',
@@ -231,6 +231,16 @@ module PulpAnsibleClient
231
231
  self.url = attributes[:'url']
232
232
  end
233
233
 
234
+ if attributes.key?(:'pulp_labels')
235
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
236
+ self.pulp_labels = value
237
+ end
238
+ end
239
+
240
+ if attributes.key?(:'policy')
241
+ self.policy = attributes[:'policy']
242
+ end
243
+
234
244
  if attributes.key?(:'ca_cert')
235
245
  self.ca_cert = attributes[:'ca_cert']
236
246
  end
@@ -267,24 +277,10 @@ module PulpAnsibleClient
267
277
  self.password = attributes[:'password']
268
278
  end
269
279
 
270
- if attributes.key?(:'pulp_labels')
271
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
272
- self.pulp_labels = value
273
- end
274
- end
275
-
276
- if attributes.key?(:'download_concurrency')
277
- self.download_concurrency = attributes[:'download_concurrency']
278
- end
279
-
280
280
  if attributes.key?(:'max_retries')
281
281
  self.max_retries = attributes[:'max_retries']
282
282
  end
283
283
 
284
- if attributes.key?(:'policy')
285
- self.policy = attributes[:'policy']
286
- end
287
-
288
284
  if attributes.key?(:'total_timeout')
289
285
  self.total_timeout = attributes[:'total_timeout']
290
286
  end
@@ -307,6 +303,10 @@ module PulpAnsibleClient
307
303
  end
308
304
  end
309
305
 
306
+ if attributes.key?(:'download_concurrency')
307
+ self.download_concurrency = attributes[:'download_concurrency']
308
+ end
309
+
310
310
  if attributes.key?(:'rate_limit')
311
311
  self.rate_limit = attributes[:'rate_limit']
312
312
  end
@@ -617,6 +617,8 @@ module PulpAnsibleClient
617
617
  self.class == o.class &&
618
618
  name == o.name &&
619
619
  url == o.url &&
620
+ pulp_labels == o.pulp_labels &&
621
+ policy == o.policy &&
620
622
  ca_cert == o.ca_cert &&
621
623
  client_cert == o.client_cert &&
622
624
  client_key == o.client_key &&
@@ -626,15 +628,13 @@ module PulpAnsibleClient
626
628
  proxy_password == o.proxy_password &&
627
629
  username == o.username &&
628
630
  password == o.password &&
629
- pulp_labels == o.pulp_labels &&
630
- download_concurrency == o.download_concurrency &&
631
631
  max_retries == o.max_retries &&
632
- policy == o.policy &&
633
632
  total_timeout == o.total_timeout &&
634
633
  connect_timeout == o.connect_timeout &&
635
634
  sock_connect_timeout == o.sock_connect_timeout &&
636
635
  sock_read_timeout == o.sock_read_timeout &&
637
636
  headers == o.headers &&
637
+ download_concurrency == o.download_concurrency &&
638
638
  rate_limit == o.rate_limit &&
639
639
  requirements_file == o.requirements_file &&
640
640
  auth_url == o.auth_url &&
@@ -652,7 +652,7 @@ module PulpAnsibleClient
652
652
  # Calculates hash code according to all attributes.
653
653
  # @return [Integer] Hash code
654
654
  def hash
655
- [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, requirements_file, auth_url, token, sync_dependencies, signed_only].hash
655
+ [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, requirements_file, auth_url, token, sync_dependencies, signed_only].hash
656
656
  end
657
657
 
658
658
  # Builds the object from hash