pulp_ansible_client 0.11.0.dev1636859743 → 0.11.0.dev1637205359

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_ansible_client might be problematic. Click here for more details.

Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +3 -3
  4. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  5. data/docs/AnsibleGitRemote.md +23 -21
  6. data/docs/AnsibleGitRemoteResponse.md +23 -21
  7. data/docs/AnsibleRoleResponse.md +4 -4
  8. data/docs/CollectionVersionResponse.md +4 -0
  9. data/docs/ContentCollectionVersionsApi.md +3 -3
  10. data/docs/PatchedansibleGitRemote.md +23 -21
  11. data/docs/UnpaginatedCollectionVersionResponse.md +5 -1
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  13. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  14. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -19
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +140 -130
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -129
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  18. data/lib/pulp_ansible_client/models/collection_version_response.rb +19 -1
  19. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +130 -120
  20. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +22 -4
  21. data/lib/pulp_ansible_client/version.rb +1 -1
  22. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  23. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  24. data/spec/models/ansible_collection_version_spec.rb +2 -2
  25. data/spec/models/ansible_git_remote_response_spec.rb +22 -16
  26. data/spec/models/ansible_git_remote_spec.rb +22 -16
  27. data/spec/models/ansible_role_response_spec.rb +2 -2
  28. data/spec/models/collection_version_response_spec.rb +12 -0
  29. data/spec/models/patchedansible_git_remote_spec.rb +22 -16
  30. data/spec/models/unpaginated_collection_version_response_spec.rb +12 -0
  31. metadata +2 -2
@@ -15,8 +15,8 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class PatchedansibleGitRemote
18
- # Total number of simultaneous connections. If not set then the default value will be used.
19
- attr_accessor :download_concurrency
18
+ # Limits total download rate in requests per second
19
+ attr_accessor :rate_limit
20
20
 
21
21
  # The password to be used for authentication when syncing.
22
22
  attr_accessor :password
@@ -24,11 +24,17 @@ module PulpAnsibleClient
24
24
  # A PEM encoded private key used for authentication.
25
25
  attr_accessor :client_key
26
26
 
27
- # Limits total download rate in requests per second
28
- attr_accessor :rate_limit
27
+ # The password to authenticte to the proxy.
28
+ attr_accessor :proxy_password
29
29
 
30
- # A unique name for this remote.
31
- attr_accessor :name
30
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
31
+ attr_accessor :max_retries
32
+
33
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
34
+ attr_accessor :sock_connect_timeout
35
+
36
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
37
+ attr_accessor :ca_cert
32
38
 
33
39
  # The proxy URL. Format: scheme://host:port
34
40
  attr_accessor :proxy_url
@@ -39,14 +45,8 @@ module PulpAnsibleClient
39
45
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
40
46
  attr_accessor :sock_read_timeout
41
47
 
42
- # The username to authenticte to the proxy.
43
- attr_accessor :proxy_username
44
-
45
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
46
- attr_accessor :sock_connect_timeout
47
-
48
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
49
- attr_accessor :ca_cert
48
+ # A PEM encoded client certificate used for authentication.
49
+ attr_accessor :client_cert
50
50
 
51
51
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
52
52
  attr_accessor :total_timeout
@@ -54,8 +54,17 @@ module PulpAnsibleClient
54
54
  # Headers for aiohttp.Clientsession
55
55
  attr_accessor :headers
56
56
 
57
- # The password to authenticte to the proxy.
58
- attr_accessor :proxy_password
57
+ # The username to authenticte to the proxy.
58
+ attr_accessor :proxy_username
59
+
60
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
61
+ attr_accessor :connect_timeout
62
+
63
+ # A unique name for this remote.
64
+ attr_accessor :name
65
+
66
+ # Total number of simultaneous connections. If not set then the default value will be used.
67
+ attr_accessor :download_concurrency
59
68
 
60
69
  attr_accessor :pulp_labels
61
70
 
@@ -65,90 +74,86 @@ module PulpAnsibleClient
65
74
  # The URL of an external content source.
66
75
  attr_accessor :url
67
76
 
68
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
69
- attr_accessor :max_retries
70
-
71
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
72
- attr_accessor :connect_timeout
73
-
74
- # A PEM encoded client certificate used for authentication.
75
- attr_accessor :client_cert
76
-
77
77
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
78
78
  attr_accessor :metadata_only
79
79
 
80
+ # A git ref. e.g.: branch, tag, or commit sha.
81
+ attr_accessor :git_ref
82
+
80
83
  # Attribute mapping from ruby-style variable name to JSON key.
81
84
  def self.attribute_map
82
85
  {
83
- :'download_concurrency' => :'download_concurrency',
86
+ :'rate_limit' => :'rate_limit',
84
87
  :'password' => :'password',
85
88
  :'client_key' => :'client_key',
86
- :'rate_limit' => :'rate_limit',
87
- :'name' => :'name',
89
+ :'proxy_password' => :'proxy_password',
90
+ :'max_retries' => :'max_retries',
91
+ :'sock_connect_timeout' => :'sock_connect_timeout',
92
+ :'ca_cert' => :'ca_cert',
88
93
  :'proxy_url' => :'proxy_url',
89
94
  :'username' => :'username',
90
95
  :'sock_read_timeout' => :'sock_read_timeout',
91
- :'proxy_username' => :'proxy_username',
92
- :'sock_connect_timeout' => :'sock_connect_timeout',
93
- :'ca_cert' => :'ca_cert',
96
+ :'client_cert' => :'client_cert',
94
97
  :'total_timeout' => :'total_timeout',
95
98
  :'headers' => :'headers',
96
- :'proxy_password' => :'proxy_password',
99
+ :'proxy_username' => :'proxy_username',
100
+ :'connect_timeout' => :'connect_timeout',
101
+ :'name' => :'name',
102
+ :'download_concurrency' => :'download_concurrency',
97
103
  :'pulp_labels' => :'pulp_labels',
98
104
  :'tls_validation' => :'tls_validation',
99
105
  :'url' => :'url',
100
- :'max_retries' => :'max_retries',
101
- :'connect_timeout' => :'connect_timeout',
102
- :'client_cert' => :'client_cert',
103
- :'metadata_only' => :'metadata_only'
106
+ :'metadata_only' => :'metadata_only',
107
+ :'git_ref' => :'git_ref'
104
108
  }
105
109
  end
106
110
 
107
111
  # Attribute type mapping.
108
112
  def self.openapi_types
109
113
  {
110
- :'download_concurrency' => :'Integer',
114
+ :'rate_limit' => :'Integer',
111
115
  :'password' => :'String',
112
116
  :'client_key' => :'String',
113
- :'rate_limit' => :'Integer',
114
- :'name' => :'String',
117
+ :'proxy_password' => :'String',
118
+ :'max_retries' => :'Integer',
119
+ :'sock_connect_timeout' => :'Float',
120
+ :'ca_cert' => :'String',
115
121
  :'proxy_url' => :'String',
116
122
  :'username' => :'String',
117
123
  :'sock_read_timeout' => :'Float',
118
- :'proxy_username' => :'String',
119
- :'sock_connect_timeout' => :'Float',
120
- :'ca_cert' => :'String',
124
+ :'client_cert' => :'String',
121
125
  :'total_timeout' => :'Float',
122
126
  :'headers' => :'Array<Object>',
123
- :'proxy_password' => :'String',
127
+ :'proxy_username' => :'String',
128
+ :'connect_timeout' => :'Float',
129
+ :'name' => :'String',
130
+ :'download_concurrency' => :'Integer',
124
131
  :'pulp_labels' => :'Object',
125
132
  :'tls_validation' => :'Boolean',
126
133
  :'url' => :'String',
127
- :'max_retries' => :'Integer',
128
- :'connect_timeout' => :'Float',
129
- :'client_cert' => :'String',
130
- :'metadata_only' => :'Boolean'
134
+ :'metadata_only' => :'Boolean',
135
+ :'git_ref' => :'String'
131
136
  }
132
137
  end
133
138
 
134
139
  # List of attributes with nullable: true
135
140
  def self.openapi_nullable
136
141
  Set.new([
137
- :'download_concurrency',
142
+ :'rate_limit',
138
143
  :'password',
139
144
  :'client_key',
140
- :'rate_limit',
145
+ :'proxy_password',
146
+ :'max_retries',
147
+ :'sock_connect_timeout',
148
+ :'ca_cert',
141
149
  :'proxy_url',
142
150
  :'username',
143
151
  :'sock_read_timeout',
144
- :'proxy_username',
145
- :'sock_connect_timeout',
146
- :'ca_cert',
152
+ :'client_cert',
147
153
  :'total_timeout',
148
- :'proxy_password',
149
- :'max_retries',
154
+ :'proxy_username',
150
155
  :'connect_timeout',
151
- :'client_cert',
156
+ :'download_concurrency',
152
157
  ])
153
158
  end
154
159
 
@@ -167,8 +172,8 @@ module PulpAnsibleClient
167
172
  h[k.to_sym] = v
168
173
  }
169
174
 
170
- if attributes.key?(:'download_concurrency')
171
- self.download_concurrency = attributes[:'download_concurrency']
175
+ if attributes.key?(:'rate_limit')
176
+ self.rate_limit = attributes[:'rate_limit']
172
177
  end
173
178
 
174
179
  if attributes.key?(:'password')
@@ -179,12 +184,20 @@ module PulpAnsibleClient
179
184
  self.client_key = attributes[:'client_key']
180
185
  end
181
186
 
182
- if attributes.key?(:'rate_limit')
183
- self.rate_limit = attributes[:'rate_limit']
187
+ if attributes.key?(:'proxy_password')
188
+ self.proxy_password = attributes[:'proxy_password']
184
189
  end
185
190
 
186
- if attributes.key?(:'name')
187
- self.name = attributes[:'name']
191
+ if attributes.key?(:'max_retries')
192
+ self.max_retries = attributes[:'max_retries']
193
+ end
194
+
195
+ if attributes.key?(:'sock_connect_timeout')
196
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
197
+ end
198
+
199
+ if attributes.key?(:'ca_cert')
200
+ self.ca_cert = attributes[:'ca_cert']
188
201
  end
189
202
 
190
203
  if attributes.key?(:'proxy_url')
@@ -199,16 +212,8 @@ module PulpAnsibleClient
199
212
  self.sock_read_timeout = attributes[:'sock_read_timeout']
200
213
  end
201
214
 
202
- if attributes.key?(:'proxy_username')
203
- self.proxy_username = attributes[:'proxy_username']
204
- end
205
-
206
- if attributes.key?(:'sock_connect_timeout')
207
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
208
- end
209
-
210
- if attributes.key?(:'ca_cert')
211
- self.ca_cert = attributes[:'ca_cert']
215
+ if attributes.key?(:'client_cert')
216
+ self.client_cert = attributes[:'client_cert']
212
217
  end
213
218
 
214
219
  if attributes.key?(:'total_timeout')
@@ -221,55 +226,55 @@ module PulpAnsibleClient
221
226
  end
222
227
  end
223
228
 
224
- if attributes.key?(:'proxy_password')
225
- self.proxy_password = attributes[:'proxy_password']
229
+ if attributes.key?(:'proxy_username')
230
+ self.proxy_username = attributes[:'proxy_username']
226
231
  end
227
232
 
228
- if attributes.key?(:'pulp_labels')
229
- self.pulp_labels = attributes[:'pulp_labels']
233
+ if attributes.key?(:'connect_timeout')
234
+ self.connect_timeout = attributes[:'connect_timeout']
230
235
  end
231
236
 
232
- if attributes.key?(:'tls_validation')
233
- self.tls_validation = attributes[:'tls_validation']
237
+ if attributes.key?(:'name')
238
+ self.name = attributes[:'name']
234
239
  end
235
240
 
236
- if attributes.key?(:'url')
237
- self.url = attributes[:'url']
241
+ if attributes.key?(:'download_concurrency')
242
+ self.download_concurrency = attributes[:'download_concurrency']
238
243
  end
239
244
 
240
- if attributes.key?(:'max_retries')
241
- self.max_retries = attributes[:'max_retries']
245
+ if attributes.key?(:'pulp_labels')
246
+ self.pulp_labels = attributes[:'pulp_labels']
242
247
  end
243
248
 
244
- if attributes.key?(:'connect_timeout')
245
- self.connect_timeout = attributes[:'connect_timeout']
249
+ if attributes.key?(:'tls_validation')
250
+ self.tls_validation = attributes[:'tls_validation']
246
251
  end
247
252
 
248
- if attributes.key?(:'client_cert')
249
- self.client_cert = attributes[:'client_cert']
253
+ if attributes.key?(:'url')
254
+ self.url = attributes[:'url']
250
255
  end
251
256
 
252
257
  if attributes.key?(:'metadata_only')
253
258
  self.metadata_only = attributes[:'metadata_only']
254
259
  end
260
+
261
+ if attributes.key?(:'git_ref')
262
+ self.git_ref = attributes[:'git_ref']
263
+ end
255
264
  end
256
265
 
257
266
  # Show invalid properties with the reasons. Usually used together with valid?
258
267
  # @return Array for valid properties with the reasons
259
268
  def list_invalid_properties
260
269
  invalid_properties = Array.new
261
- if !@download_concurrency.nil? && @download_concurrency < 1
262
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
270
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
271
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
263
272
  end
264
273
 
265
274
  if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
266
275
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
267
276
  end
268
277
 
269
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
270
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
271
- end
272
-
273
278
  if !@total_timeout.nil? && @total_timeout < 0.0
274
279
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
275
280
  end
@@ -278,28 +283,32 @@ module PulpAnsibleClient
278
283
  invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
279
284
  end
280
285
 
286
+ if !@download_concurrency.nil? && @download_concurrency < 1
287
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
288
+ end
289
+
281
290
  invalid_properties
282
291
  end
283
292
 
284
293
  # Check to see if the all the properties in the model are valid
285
294
  # @return true if the model is valid
286
295
  def valid?
287
- return false if !@download_concurrency.nil? && @download_concurrency < 1
288
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
289
296
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
297
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
290
298
  return false if !@total_timeout.nil? && @total_timeout < 0.0
291
299
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
300
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
292
301
  true
293
302
  end
294
303
 
295
304
  # Custom attribute writer method with validation
296
- # @param [Object] download_concurrency Value to be assigned
297
- def download_concurrency=(download_concurrency)
298
- if !download_concurrency.nil? && download_concurrency < 1
299
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
305
+ # @param [Object] sock_connect_timeout Value to be assigned
306
+ def sock_connect_timeout=(sock_connect_timeout)
307
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
308
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
300
309
  end
301
310
 
302
- @download_concurrency = download_concurrency
311
+ @sock_connect_timeout = sock_connect_timeout
303
312
  end
304
313
 
305
314
  # Custom attribute writer method with validation
@@ -312,16 +321,6 @@ module PulpAnsibleClient
312
321
  @sock_read_timeout = sock_read_timeout
313
322
  end
314
323
 
315
- # Custom attribute writer method with validation
316
- # @param [Object] sock_connect_timeout Value to be assigned
317
- def sock_connect_timeout=(sock_connect_timeout)
318
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
319
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
320
- end
321
-
322
- @sock_connect_timeout = sock_connect_timeout
323
- end
324
-
325
324
  # Custom attribute writer method with validation
326
325
  # @param [Object] total_timeout Value to be assigned
327
326
  def total_timeout=(total_timeout)
@@ -342,32 +341,43 @@ module PulpAnsibleClient
342
341
  @connect_timeout = connect_timeout
343
342
  end
344
343
 
344
+ # Custom attribute writer method with validation
345
+ # @param [Object] download_concurrency Value to be assigned
346
+ def download_concurrency=(download_concurrency)
347
+ if !download_concurrency.nil? && download_concurrency < 1
348
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
349
+ end
350
+
351
+ @download_concurrency = download_concurrency
352
+ end
353
+
345
354
  # Checks equality by comparing each attribute.
346
355
  # @param [Object] Object to be compared
347
356
  def ==(o)
348
357
  return true if self.equal?(o)
349
358
  self.class == o.class &&
350
- download_concurrency == o.download_concurrency &&
359
+ rate_limit == o.rate_limit &&
351
360
  password == o.password &&
352
361
  client_key == o.client_key &&
353
- rate_limit == o.rate_limit &&
354
- name == o.name &&
362
+ proxy_password == o.proxy_password &&
363
+ max_retries == o.max_retries &&
364
+ sock_connect_timeout == o.sock_connect_timeout &&
365
+ ca_cert == o.ca_cert &&
355
366
  proxy_url == o.proxy_url &&
356
367
  username == o.username &&
357
368
  sock_read_timeout == o.sock_read_timeout &&
358
- proxy_username == o.proxy_username &&
359
- sock_connect_timeout == o.sock_connect_timeout &&
360
- ca_cert == o.ca_cert &&
369
+ client_cert == o.client_cert &&
361
370
  total_timeout == o.total_timeout &&
362
371
  headers == o.headers &&
363
- proxy_password == o.proxy_password &&
372
+ proxy_username == o.proxy_username &&
373
+ connect_timeout == o.connect_timeout &&
374
+ name == o.name &&
375
+ download_concurrency == o.download_concurrency &&
364
376
  pulp_labels == o.pulp_labels &&
365
377
  tls_validation == o.tls_validation &&
366
378
  url == o.url &&
367
- max_retries == o.max_retries &&
368
- connect_timeout == o.connect_timeout &&
369
- client_cert == o.client_cert &&
370
- metadata_only == o.metadata_only
379
+ metadata_only == o.metadata_only &&
380
+ git_ref == o.git_ref
371
381
  end
372
382
 
373
383
  # @see the `==` method
@@ -379,7 +389,7 @@ module PulpAnsibleClient
379
389
  # Calculates hash code according to all attributes.
380
390
  # @return [Integer] Hash code
381
391
  def hash
382
- [download_concurrency, password, client_key, rate_limit, name, proxy_url, username, sock_read_timeout, proxy_username, sock_connect_timeout, ca_cert, total_timeout, headers, proxy_password, pulp_labels, tls_validation, url, max_retries, connect_timeout, client_cert, metadata_only].hash
392
+ [rate_limit, password, client_key, proxy_password, max_retries, sock_connect_timeout, ca_cert, proxy_url, username, sock_read_timeout, client_cert, total_timeout, headers, proxy_username, connect_timeout, name, download_concurrency, pulp_labels, tls_validation, url, metadata_only, git_ref].hash
383
393
  end
384
394
 
385
395
  # Builds the object from hash
@@ -37,6 +37,10 @@ module PulpAnsibleClient
37
37
 
38
38
  attr_accessor :metadata
39
39
 
40
+ attr_accessor :git_url
41
+
42
+ attr_accessor :git_commit_sha
43
+
40
44
  # Attribute mapping from ruby-style variable name to JSON key.
41
45
  def self.attribute_map
42
46
  {
@@ -50,7 +54,9 @@ module PulpAnsibleClient
50
54
  :'download_url' => :'download_url',
51
55
  :'name' => :'name',
52
56
  :'namespace' => :'namespace',
53
- :'metadata' => :'metadata'
57
+ :'metadata' => :'metadata',
58
+ :'git_url' => :'git_url',
59
+ :'git_commit_sha' => :'git_commit_sha'
54
60
  }
55
61
  end
56
62
 
@@ -67,7 +73,9 @@ module PulpAnsibleClient
67
73
  :'download_url' => :'String',
68
74
  :'name' => :'String',
69
75
  :'namespace' => :'CollectionNamespaceResponse',
70
- :'metadata' => :'CollectionMetadataResponse'
76
+ :'metadata' => :'CollectionMetadataResponse',
77
+ :'git_url' => :'String',
78
+ :'git_commit_sha' => :'String'
71
79
  }
72
80
  end
73
81
 
@@ -136,6 +144,14 @@ module PulpAnsibleClient
136
144
  if attributes.key?(:'metadata')
137
145
  self.metadata = attributes[:'metadata']
138
146
  end
147
+
148
+ if attributes.key?(:'git_url')
149
+ self.git_url = attributes[:'git_url']
150
+ end
151
+
152
+ if attributes.key?(:'git_commit_sha')
153
+ self.git_commit_sha = attributes[:'git_commit_sha']
154
+ end
139
155
  end
140
156
 
141
157
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -191,7 +207,9 @@ module PulpAnsibleClient
191
207
  download_url == o.download_url &&
192
208
  name == o.name &&
193
209
  namespace == o.namespace &&
194
- metadata == o.metadata
210
+ metadata == o.metadata &&
211
+ git_url == o.git_url &&
212
+ git_commit_sha == o.git_commit_sha
195
213
  end
196
214
 
197
215
  # @see the `==` method
@@ -203,7 +221,7 @@ module PulpAnsibleClient
203
221
  # Calculates hash code according to all attributes.
204
222
  # @return [Integer] Hash code
205
223
  def hash
206
- [version, href, created_at, updated_at, requires_ansible, artifact, collection, download_url, name, namespace, metadata].hash
224
+ [version, href, created_at, updated_at, requires_ansible, artifact, collection, download_url, name, namespace, metadata, git_url, git_commit_sha].hash
207
225
  end
208
226
 
209
227
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpAnsibleClient
14
- VERSION = '0.11.0.dev1636859743'
14
+ VERSION = '0.11.0.dev1637205359'
15
15
  end
@@ -39,8 +39,8 @@ describe 'ContentCollectionVersionsApi' do
39
39
  # @param namespace The namespace of the collection.
40
40
  # @param version The version of the collection.
41
41
  # @param [Hash] opts the optional parameters
42
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
42
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
44
  # @return [AsyncOperationResponse]
45
45
  describe 'create test' do
46
46
  it 'should work' do
@@ -32,7 +32,7 @@ describe 'AnsibleCollectionVersionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,7 +44,7 @@ describe 'AnsibleCollectionVersionResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_href"' do
47
+ describe 'test attribute "pulp_created"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -32,13 +32,13 @@ describe 'AnsibleCollectionVersion' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersion)
33
33
  end
34
34
  end
35
- describe 'test attribute "repository"' do
35
+ describe 'test attribute "file"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "file"' do
41
+ describe 'test attribute "repository"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end