pulp_ansible_client 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/AnsibleCollectionRemote.md +7 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +3 -7
  5. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  6. data/docs/AnsibleCollectionsApi.md +4 -4
  7. data/docs/AnsibleRoleRemote.md +7 -1
  8. data/docs/AnsibleRoleRemoteResponse.md +3 -7
  9. data/docs/AnsibleRoleResponse.md +3 -3
  10. data/docs/ContentCollectionVersionsApi.md +18 -18
  11. data/docs/ContentRolesApi.md +12 -12
  12. data/docs/ContentSummary.md +3 -3
  13. data/docs/ContentSummaryResponse.md +3 -3
  14. data/docs/DistributionsAnsibleApi.md +20 -20
  15. data/docs/PatchedansibleCollectionRemote.md +7 -1
  16. data/docs/PatchedansibleRoleRemote.md +7 -1
  17. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +6 -6
  18. data/docs/PulpAnsibleGalaxyApiV3AllApi.md +6 -24
  19. data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +18 -18
  20. data/docs/RemotesCollectionApi.md +24 -24
  21. data/docs/RemotesRoleApi.md +24 -24
  22. data/docs/RepositoriesAnsibleApi.md +12 -12
  23. data/docs/RepositoriesAnsibleVersionsApi.md +28 -28
  24. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +4 -4
  25. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +18 -18
  26. data/lib/pulp_ansible_client/api/content_roles_api.rb +12 -12
  27. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +22 -22
  28. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +6 -6
  29. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +6 -33
  30. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +18 -18
  31. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +26 -26
  32. data/lib/pulp_ansible_client/api/remotes_role_api.rb +26 -26
  33. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +13 -13
  34. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +30 -30
  35. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +36 -2
  36. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -35
  37. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  38. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +36 -2
  39. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +14 -35
  40. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  41. data/lib/pulp_ansible_client/models/content_summary.rb +12 -6
  42. data/lib/pulp_ansible_client/models/content_summary_response.rb +12 -6
  43. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +36 -2
  44. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +36 -2
  45. data/lib/pulp_ansible_client/version.rb +1 -1
  46. data/spec/api/ansible_collections_api_spec.rb +2 -2
  47. data/spec/api/content_collection_versions_api_spec.rb +9 -9
  48. data/spec/api/content_roles_api_spec.rb +6 -6
  49. data/spec/api/distributions_ansible_api_spec.rb +10 -10
  50. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +3 -3
  51. data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +3 -12
  52. data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +9 -9
  53. data/spec/api/remotes_collection_api_spec.rb +12 -12
  54. data/spec/api/remotes_role_api_spec.rb +12 -12
  55. data/spec/api/repositories_ansible_api_spec.rb +6 -6
  56. data/spec/api/repositories_ansible_versions_api_spec.rb +14 -14
  57. data/spec/models/ansible_collection_remote_response_spec.rb +6 -18
  58. data/spec/models/ansible_collection_remote_spec.rb +18 -0
  59. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  60. data/spec/models/ansible_role_remote_response_spec.rb +6 -18
  61. data/spec/models/ansible_role_remote_spec.rb +18 -0
  62. data/spec/models/ansible_role_response_spec.rb +3 -3
  63. data/spec/models/patchedansible_collection_remote_spec.rb +18 -0
  64. data/spec/models/patchedansible_role_remote_spec.rb +18 -0
  65. metadata +65 -65
@@ -33,9 +33,15 @@ module PulpAnsibleClient
33
33
  # If True, TLS peer validation must be performed.
34
34
  attr_accessor :tls_validation
35
35
 
36
- # The proxy URL. Format: scheme://user:password@host:port
36
+ # The proxy URL. Format: scheme://host:port
37
37
  attr_accessor :proxy_url
38
38
 
39
+ # The username to authenticte to the proxy.
40
+ attr_accessor :proxy_username
41
+
42
+ # The password to authenticte to the proxy.
43
+ attr_accessor :proxy_password
44
+
39
45
  # The username to be used for authentication when syncing.
40
46
  attr_accessor :username
41
47
 
@@ -62,6 +68,9 @@ module PulpAnsibleClient
62
68
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
63
69
  attr_accessor :sock_read_timeout
64
70
 
71
+ # Headers for aiohttp.Clientsession
72
+ attr_accessor :headers
73
+
65
74
  # Limits total download rate in requests per second
66
75
  attr_accessor :rate_limit
67
76
 
@@ -75,6 +84,8 @@ module PulpAnsibleClient
75
84
  :'client_key' => :'client_key',
76
85
  :'tls_validation' => :'tls_validation',
77
86
  :'proxy_url' => :'proxy_url',
87
+ :'proxy_username' => :'proxy_username',
88
+ :'proxy_password' => :'proxy_password',
78
89
  :'username' => :'username',
79
90
  :'password' => :'password',
80
91
  :'pulp_labels' => :'pulp_labels',
@@ -84,6 +95,7 @@ module PulpAnsibleClient
84
95
  :'connect_timeout' => :'connect_timeout',
85
96
  :'sock_connect_timeout' => :'sock_connect_timeout',
86
97
  :'sock_read_timeout' => :'sock_read_timeout',
98
+ :'headers' => :'headers',
87
99
  :'rate_limit' => :'rate_limit'
88
100
  }
89
101
  end
@@ -98,6 +110,8 @@ module PulpAnsibleClient
98
110
  :'client_key' => :'String',
99
111
  :'tls_validation' => :'Boolean',
100
112
  :'proxy_url' => :'String',
113
+ :'proxy_username' => :'String',
114
+ :'proxy_password' => :'String',
101
115
  :'username' => :'String',
102
116
  :'password' => :'String',
103
117
  :'pulp_labels' => :'Object',
@@ -107,6 +121,7 @@ module PulpAnsibleClient
107
121
  :'connect_timeout' => :'Float',
108
122
  :'sock_connect_timeout' => :'Float',
109
123
  :'sock_read_timeout' => :'Float',
124
+ :'headers' => :'Array<Object>',
110
125
  :'rate_limit' => :'Integer'
111
126
  }
112
127
  end
@@ -118,6 +133,8 @@ module PulpAnsibleClient
118
133
  :'client_cert',
119
134
  :'client_key',
120
135
  :'proxy_url',
136
+ :'proxy_username',
137
+ :'proxy_password',
121
138
  :'username',
122
139
  :'password',
123
140
  :'total_timeout',
@@ -171,6 +188,14 @@ module PulpAnsibleClient
171
188
  self.proxy_url = attributes[:'proxy_url']
172
189
  end
173
190
 
191
+ if attributes.key?(:'proxy_username')
192
+ self.proxy_username = attributes[:'proxy_username']
193
+ end
194
+
195
+ if attributes.key?(:'proxy_password')
196
+ self.proxy_password = attributes[:'proxy_password']
197
+ end
198
+
174
199
  if attributes.key?(:'username')
175
200
  self.username = attributes[:'username']
176
201
  end
@@ -207,6 +232,12 @@ module PulpAnsibleClient
207
232
  self.sock_read_timeout = attributes[:'sock_read_timeout']
208
233
  end
209
234
 
235
+ if attributes.key?(:'headers')
236
+ if (value = attributes[:'headers']).is_a?(Array)
237
+ self.headers = value
238
+ end
239
+ end
240
+
210
241
  if attributes.key?(:'rate_limit')
211
242
  self.rate_limit = attributes[:'rate_limit']
212
243
  end
@@ -322,6 +353,8 @@ module PulpAnsibleClient
322
353
  client_key == o.client_key &&
323
354
  tls_validation == o.tls_validation &&
324
355
  proxy_url == o.proxy_url &&
356
+ proxy_username == o.proxy_username &&
357
+ proxy_password == o.proxy_password &&
325
358
  username == o.username &&
326
359
  password == o.password &&
327
360
  pulp_labels == o.pulp_labels &&
@@ -331,6 +364,7 @@ module PulpAnsibleClient
331
364
  connect_timeout == o.connect_timeout &&
332
365
  sock_connect_timeout == o.sock_connect_timeout &&
333
366
  sock_read_timeout == o.sock_read_timeout &&
367
+ headers == o.headers &&
334
368
  rate_limit == o.rate_limit
335
369
  end
336
370
 
@@ -343,7 +377,7 @@ module PulpAnsibleClient
343
377
  # Calculates hash code according to all attributes.
344
378
  # @return [Integer] Hash code
345
379
  def hash
346
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
380
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
347
381
  end
348
382
 
349
383
  # Builds the object from hash
@@ -32,21 +32,12 @@ module PulpAnsibleClient
32
32
  # A PEM encoded client certificate used for authentication.
33
33
  attr_accessor :client_cert
34
34
 
35
- # A PEM encoded private key used for authentication.
36
- attr_accessor :client_key
37
-
38
35
  # If True, TLS peer validation must be performed.
39
36
  attr_accessor :tls_validation
40
37
 
41
- # The proxy URL. Format: scheme://user:password@host:port
38
+ # The proxy URL. Format: scheme://host:port
42
39
  attr_accessor :proxy_url
43
40
 
44
- # The username to be used for authentication when syncing.
45
- attr_accessor :username
46
-
47
- # The password to be used for authentication when syncing.
48
- attr_accessor :password
49
-
50
41
  attr_accessor :pulp_labels
51
42
 
52
43
  # Timestamp of the most recent update of the remote.
@@ -70,6 +61,9 @@ module PulpAnsibleClient
70
61
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
71
62
  attr_accessor :sock_read_timeout
72
63
 
64
+ # Headers for aiohttp.Clientsession
65
+ attr_accessor :headers
66
+
73
67
  # Limits total download rate in requests per second
74
68
  attr_accessor :rate_limit
75
69
 
@@ -82,11 +76,8 @@ module PulpAnsibleClient
82
76
  :'url' => :'url',
83
77
  :'ca_cert' => :'ca_cert',
84
78
  :'client_cert' => :'client_cert',
85
- :'client_key' => :'client_key',
86
79
  :'tls_validation' => :'tls_validation',
87
80
  :'proxy_url' => :'proxy_url',
88
- :'username' => :'username',
89
- :'password' => :'password',
90
81
  :'pulp_labels' => :'pulp_labels',
91
82
  :'pulp_last_updated' => :'pulp_last_updated',
92
83
  :'download_concurrency' => :'download_concurrency',
@@ -95,6 +86,7 @@ module PulpAnsibleClient
95
86
  :'connect_timeout' => :'connect_timeout',
96
87
  :'sock_connect_timeout' => :'sock_connect_timeout',
97
88
  :'sock_read_timeout' => :'sock_read_timeout',
89
+ :'headers' => :'headers',
98
90
  :'rate_limit' => :'rate_limit'
99
91
  }
100
92
  end
@@ -108,11 +100,8 @@ module PulpAnsibleClient
108
100
  :'url' => :'String',
109
101
  :'ca_cert' => :'String',
110
102
  :'client_cert' => :'String',
111
- :'client_key' => :'String',
112
103
  :'tls_validation' => :'Boolean',
113
104
  :'proxy_url' => :'String',
114
- :'username' => :'String',
115
- :'password' => :'String',
116
105
  :'pulp_labels' => :'Object',
117
106
  :'pulp_last_updated' => :'DateTime',
118
107
  :'download_concurrency' => :'Integer',
@@ -121,6 +110,7 @@ module PulpAnsibleClient
121
110
  :'connect_timeout' => :'Float',
122
111
  :'sock_connect_timeout' => :'Float',
123
112
  :'sock_read_timeout' => :'Float',
113
+ :'headers' => :'Array<Object>',
124
114
  :'rate_limit' => :'Integer'
125
115
  }
126
116
  end
@@ -130,10 +120,7 @@ module PulpAnsibleClient
130
120
  Set.new([
131
121
  :'ca_cert',
132
122
  :'client_cert',
133
- :'client_key',
134
123
  :'proxy_url',
135
- :'username',
136
- :'password',
137
124
  :'total_timeout',
138
125
  :'connect_timeout',
139
126
  :'sock_connect_timeout',
@@ -181,10 +168,6 @@ module PulpAnsibleClient
181
168
  self.client_cert = attributes[:'client_cert']
182
169
  end
183
170
 
184
- if attributes.key?(:'client_key')
185
- self.client_key = attributes[:'client_key']
186
- end
187
-
188
171
  if attributes.key?(:'tls_validation')
189
172
  self.tls_validation = attributes[:'tls_validation']
190
173
  end
@@ -193,14 +176,6 @@ module PulpAnsibleClient
193
176
  self.proxy_url = attributes[:'proxy_url']
194
177
  end
195
178
 
196
- if attributes.key?(:'username')
197
- self.username = attributes[:'username']
198
- end
199
-
200
- if attributes.key?(:'password')
201
- self.password = attributes[:'password']
202
- end
203
-
204
179
  if attributes.key?(:'pulp_labels')
205
180
  self.pulp_labels = attributes[:'pulp_labels']
206
181
  end
@@ -233,6 +208,12 @@ module PulpAnsibleClient
233
208
  self.sock_read_timeout = attributes[:'sock_read_timeout']
234
209
  end
235
210
 
211
+ if attributes.key?(:'headers')
212
+ if (value = attributes[:'headers']).is_a?(Array)
213
+ self.headers = value
214
+ end
215
+ end
216
+
236
217
  if attributes.key?(:'rate_limit')
237
218
  self.rate_limit = attributes[:'rate_limit']
238
219
  end
@@ -347,11 +328,8 @@ module PulpAnsibleClient
347
328
  url == o.url &&
348
329
  ca_cert == o.ca_cert &&
349
330
  client_cert == o.client_cert &&
350
- client_key == o.client_key &&
351
331
  tls_validation == o.tls_validation &&
352
332
  proxy_url == o.proxy_url &&
353
- username == o.username &&
354
- password == o.password &&
355
333
  pulp_labels == o.pulp_labels &&
356
334
  pulp_last_updated == o.pulp_last_updated &&
357
335
  download_concurrency == o.download_concurrency &&
@@ -360,6 +338,7 @@ module PulpAnsibleClient
360
338
  connect_timeout == o.connect_timeout &&
361
339
  sock_connect_timeout == o.sock_connect_timeout &&
362
340
  sock_read_timeout == o.sock_read_timeout &&
341
+ headers == o.headers &&
363
342
  rate_limit == o.rate_limit
364
343
  end
365
344
 
@@ -372,7 +351,7 @@ module PulpAnsibleClient
372
351
  # Calculates hash code according to all attributes.
373
352
  # @return [Integer] Hash code
374
353
  def hash
375
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
354
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
376
355
  end
377
356
 
378
357
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
20
-
21
18
  attr_accessor :pulp_href
22
19
 
23
20
  # Artifact file representing the physical content
24
21
  attr_accessor :artifact
25
22
 
23
+ # Timestamp of creation.
24
+ attr_accessor :pulp_created
25
+
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -32,9 +32,9 @@ module PulpAnsibleClient
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'pulp_created' => :'pulp_created',
36
35
  :'pulp_href' => :'pulp_href',
37
36
  :'artifact' => :'artifact',
37
+ :'pulp_created' => :'pulp_created',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
40
40
  :'namespace' => :'namespace'
@@ -44,9 +44,9 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'pulp_created' => :'DateTime',
48
47
  :'pulp_href' => :'String',
49
48
  :'artifact' => :'String',
49
+ :'pulp_created' => :'DateTime',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -74,10 +74,6 @@ module PulpAnsibleClient
74
74
  h[k.to_sym] = v
75
75
  }
76
76
 
77
- if attributes.key?(:'pulp_created')
78
- self.pulp_created = attributes[:'pulp_created']
79
- end
80
-
81
77
  if attributes.key?(:'pulp_href')
82
78
  self.pulp_href = attributes[:'pulp_href']
83
79
  end
@@ -86,6 +82,10 @@ module PulpAnsibleClient
86
82
  self.artifact = attributes[:'artifact']
87
83
  end
88
84
 
85
+ if attributes.key?(:'pulp_created')
86
+ self.pulp_created = attributes[:'pulp_created']
87
+ end
88
+
89
89
  if attributes.key?(:'version')
90
90
  self.version = attributes[:'version']
91
91
  end
@@ -137,9 +137,9 @@ module PulpAnsibleClient
137
137
  def ==(o)
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
- pulp_created == o.pulp_created &&
141
140
  pulp_href == o.pulp_href &&
142
141
  artifact == o.artifact &&
142
+ pulp_created == o.pulp_created &&
143
143
  version == o.version &&
144
144
  name == o.name &&
145
145
  namespace == o.namespace
@@ -154,7 +154,7 @@ module PulpAnsibleClient
154
154
  # Calculates hash code according to all attributes.
155
155
  # @return [Integer] Hash code
156
156
  def hash
157
- [pulp_created, pulp_href, artifact, version, name, namespace].hash
157
+ [pulp_href, artifact, pulp_created, version, name, namespace].hash
158
158
  end
159
159
 
160
160
  # Builds the object from hash
@@ -33,9 +33,9 @@ module PulpAnsibleClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpAnsibleClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -33,9 +33,9 @@ module PulpAnsibleClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpAnsibleClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -33,9 +33,15 @@ module PulpAnsibleClient
33
33
  # If True, TLS peer validation must be performed.
34
34
  attr_accessor :tls_validation
35
35
 
36
- # The proxy URL. Format: scheme://user:password@host:port
36
+ # The proxy URL. Format: scheme://host:port
37
37
  attr_accessor :proxy_url
38
38
 
39
+ # The username to authenticte to the proxy.
40
+ attr_accessor :proxy_username
41
+
42
+ # The password to authenticte to the proxy.
43
+ attr_accessor :proxy_password
44
+
39
45
  # The username to be used for authentication when syncing.
40
46
  attr_accessor :username
41
47
 
@@ -62,6 +68,9 @@ module PulpAnsibleClient
62
68
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
63
69
  attr_accessor :sock_read_timeout
64
70
 
71
+ # Headers for aiohttp.Clientsession
72
+ attr_accessor :headers
73
+
65
74
  # Limits total download rate in requests per second
66
75
  attr_accessor :rate_limit
67
76
 
@@ -84,6 +93,8 @@ module PulpAnsibleClient
84
93
  :'client_key' => :'client_key',
85
94
  :'tls_validation' => :'tls_validation',
86
95
  :'proxy_url' => :'proxy_url',
96
+ :'proxy_username' => :'proxy_username',
97
+ :'proxy_password' => :'proxy_password',
87
98
  :'username' => :'username',
88
99
  :'password' => :'password',
89
100
  :'pulp_labels' => :'pulp_labels',
@@ -93,6 +104,7 @@ module PulpAnsibleClient
93
104
  :'connect_timeout' => :'connect_timeout',
94
105
  :'sock_connect_timeout' => :'sock_connect_timeout',
95
106
  :'sock_read_timeout' => :'sock_read_timeout',
107
+ :'headers' => :'headers',
96
108
  :'rate_limit' => :'rate_limit',
97
109
  :'requirements_file' => :'requirements_file',
98
110
  :'auth_url' => :'auth_url',
@@ -110,6 +122,8 @@ module PulpAnsibleClient
110
122
  :'client_key' => :'String',
111
123
  :'tls_validation' => :'Boolean',
112
124
  :'proxy_url' => :'String',
125
+ :'proxy_username' => :'String',
126
+ :'proxy_password' => :'String',
113
127
  :'username' => :'String',
114
128
  :'password' => :'String',
115
129
  :'pulp_labels' => :'Object',
@@ -119,6 +133,7 @@ module PulpAnsibleClient
119
133
  :'connect_timeout' => :'Float',
120
134
  :'sock_connect_timeout' => :'Float',
121
135
  :'sock_read_timeout' => :'Float',
136
+ :'headers' => :'Array<Object>',
122
137
  :'rate_limit' => :'Integer',
123
138
  :'requirements_file' => :'String',
124
139
  :'auth_url' => :'String',
@@ -133,6 +148,8 @@ module PulpAnsibleClient
133
148
  :'client_cert',
134
149
  :'client_key',
135
150
  :'proxy_url',
151
+ :'proxy_username',
152
+ :'proxy_password',
136
153
  :'username',
137
154
  :'password',
138
155
  :'total_timeout',
@@ -189,6 +206,14 @@ module PulpAnsibleClient
189
206
  self.proxy_url = attributes[:'proxy_url']
190
207
  end
191
208
 
209
+ if attributes.key?(:'proxy_username')
210
+ self.proxy_username = attributes[:'proxy_username']
211
+ end
212
+
213
+ if attributes.key?(:'proxy_password')
214
+ self.proxy_password = attributes[:'proxy_password']
215
+ end
216
+
192
217
  if attributes.key?(:'username')
193
218
  self.username = attributes[:'username']
194
219
  end
@@ -225,6 +250,12 @@ module PulpAnsibleClient
225
250
  self.sock_read_timeout = attributes[:'sock_read_timeout']
226
251
  end
227
252
 
253
+ if attributes.key?(:'headers')
254
+ if (value = attributes[:'headers']).is_a?(Array)
255
+ self.headers = value
256
+ end
257
+ end
258
+
228
259
  if attributes.key?(:'rate_limit')
229
260
  self.rate_limit = attributes[:'rate_limit']
230
261
  end
@@ -372,6 +403,8 @@ module PulpAnsibleClient
372
403
  client_key == o.client_key &&
373
404
  tls_validation == o.tls_validation &&
374
405
  proxy_url == o.proxy_url &&
406
+ proxy_username == o.proxy_username &&
407
+ proxy_password == o.proxy_password &&
375
408
  username == o.username &&
376
409
  password == o.password &&
377
410
  pulp_labels == o.pulp_labels &&
@@ -381,6 +414,7 @@ module PulpAnsibleClient
381
414
  connect_timeout == o.connect_timeout &&
382
415
  sock_connect_timeout == o.sock_connect_timeout &&
383
416
  sock_read_timeout == o.sock_read_timeout &&
417
+ headers == o.headers &&
384
418
  rate_limit == o.rate_limit &&
385
419
  requirements_file == o.requirements_file &&
386
420
  auth_url == o.auth_url &&
@@ -396,7 +430,7 @@ module PulpAnsibleClient
396
430
  # Calculates hash code according to all attributes.
397
431
  # @return [Integer] Hash code
398
432
  def hash
399
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, requirements_file, auth_url, token].hash
433
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, token].hash
400
434
  end
401
435
 
402
436
  # Builds the object from hash