pulp_ansible_client 0.10.5 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -4
  3. data/docs/AnsibleCollectionRemote.md +1 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +3 -1
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleGitRemote.md +59 -0
  7. data/docs/AnsibleGitRemoteResponse.md +55 -0
  8. data/docs/AnsibleRoleRemote.md +1 -1
  9. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/CollectionVersionResponse.md +4 -0
  12. data/docs/PaginatedansibleGitRemoteResponseList.md +23 -0
  13. data/docs/PatchedansibleCollectionRemote.md +1 -1
  14. data/docs/PatchedansibleGitRemote.md +59 -0
  15. data/docs/PatchedansibleRoleRemote.md +1 -1
  16. data/docs/RemotesGitApi.md +376 -0
  17. data/docs/UnpaginatedCollectionVersionResponse.md +5 -1
  18. data/git_push.sh +58 -0
  19. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +16 -0
  20. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -0
  21. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +16 -0
  22. data/lib/pulp_ansible_client/api/remotes_git_api.rb +463 -0
  23. data/lib/pulp_ansible_client/api_client.rb +5 -2
  24. data/lib/pulp_ansible_client/configuration.rb +0 -1
  25. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +38 -0
  26. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +34 -0
  27. data/lib/pulp_ansible_client/models/ansible_collection.rb +38 -0
  28. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +192 -1
  29. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +28 -2
  30. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +27 -0
  31. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -19
  32. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +692 -0
  33. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +493 -0
  34. data/lib/pulp_ansible_client/models/ansible_role.rb +57 -0
  35. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +159 -1
  36. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  37. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  38. data/lib/pulp_ansible_client/models/collection_one_shot.rb +60 -0
  39. data/lib/pulp_ansible_client/models/collection_version_response.rb +19 -1
  40. data/lib/pulp_ansible_client/models/galaxy_collection.rb +38 -0
  41. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +237 -0
  42. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +30 -0
  43. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +30 -0
  44. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +184 -1
  45. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +674 -0
  46. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +151 -1
  47. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +22 -4
  48. data/lib/pulp_ansible_client/version.rb +1 -1
  49. data/lib/pulp_ansible_client.rb +5 -0
  50. data/pulp_ansible_client.gemspec +3 -3
  51. data/spec/api/remotes_git_api_spec.rb +127 -0
  52. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  53. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  54. data/spec/models/ansible_git_remote_response_spec.rb +155 -0
  55. data/spec/models/ansible_git_remote_spec.rb +167 -0
  56. data/spec/models/ansible_role_response_spec.rb +2 -2
  57. data/spec/models/collection_version_response_spec.rb +12 -0
  58. data/spec/models/paginatedansible_git_remote_response_list_spec.rb +59 -0
  59. data/spec/models/patchedansible_git_remote_spec.rb +167 -0
  60. data/spec/models/unpaginated_collection_version_response_spec.rb +12 -0
  61. metadata +94 -79
@@ -74,7 +74,7 @@ module PulpAnsibleClient
74
74
  # Headers for aiohttp.Clientsession
75
75
  attr_accessor :headers
76
76
 
77
- # Limits total download rate in requests per second
77
+ # Limits requests per second for each concurrent downloader
78
78
  attr_accessor :rate_limit
79
79
 
80
80
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -258,6 +258,46 @@ module PulpAnsibleClient
258
258
  # @return Array for valid properties with the reasons
259
259
  def list_invalid_properties
260
260
  invalid_properties = Array.new
261
+ if !@name.nil? && @name.to_s.length < 1
262
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
263
+ end
264
+
265
+ if !@url.nil? && @url.to_s.length < 1
266
+ invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
267
+ end
268
+
269
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
270
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
271
+ end
272
+
273
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
274
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
275
+ end
276
+
277
+ if !@client_key.nil? && @client_key.to_s.length < 1
278
+ invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
279
+ end
280
+
281
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
282
+ invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
283
+ end
284
+
285
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
286
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
287
+ end
288
+
289
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
290
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
291
+ end
292
+
293
+ if !@username.nil? && @username.to_s.length < 1
294
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
295
+ end
296
+
297
+ if !@password.nil? && @password.to_s.length < 1
298
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
299
+ end
300
+
261
301
  if !@download_concurrency.nil? && @download_concurrency < 1
262
302
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
263
303
  end
@@ -284,6 +324,16 @@ module PulpAnsibleClient
284
324
  # Check to see if the all the properties in the model are valid
285
325
  # @return true if the model is valid
286
326
  def valid?
327
+ return false if !@name.nil? && @name.to_s.length < 1
328
+ return false if !@url.nil? && @url.to_s.length < 1
329
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
330
+ return false if !@client_cert.nil? && @client_cert.to_s.length < 1
331
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
332
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
333
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
334
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
335
+ return false if !@username.nil? && @username.to_s.length < 1
336
+ return false if !@password.nil? && @password.to_s.length < 1
287
337
  return false if !@download_concurrency.nil? && @download_concurrency < 1
288
338
  return false if !@total_timeout.nil? && @total_timeout < 0.0
289
339
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
@@ -292,6 +342,106 @@ module PulpAnsibleClient
292
342
  true
293
343
  end
294
344
 
345
+ # Custom attribute writer method with validation
346
+ # @param [Object] name Value to be assigned
347
+ def name=(name)
348
+ if !name.nil? && name.to_s.length < 1
349
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
350
+ end
351
+
352
+ @name = name
353
+ end
354
+
355
+ # Custom attribute writer method with validation
356
+ # @param [Object] url Value to be assigned
357
+ def url=(url)
358
+ if !url.nil? && url.to_s.length < 1
359
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
360
+ end
361
+
362
+ @url = url
363
+ end
364
+
365
+ # Custom attribute writer method with validation
366
+ # @param [Object] ca_cert Value to be assigned
367
+ def ca_cert=(ca_cert)
368
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
369
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
370
+ end
371
+
372
+ @ca_cert = ca_cert
373
+ end
374
+
375
+ # Custom attribute writer method with validation
376
+ # @param [Object] client_cert Value to be assigned
377
+ def client_cert=(client_cert)
378
+ if !client_cert.nil? && client_cert.to_s.length < 1
379
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
380
+ end
381
+
382
+ @client_cert = client_cert
383
+ end
384
+
385
+ # Custom attribute writer method with validation
386
+ # @param [Object] client_key Value to be assigned
387
+ def client_key=(client_key)
388
+ if !client_key.nil? && client_key.to_s.length < 1
389
+ fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
390
+ end
391
+
392
+ @client_key = client_key
393
+ end
394
+
395
+ # Custom attribute writer method with validation
396
+ # @param [Object] proxy_url Value to be assigned
397
+ def proxy_url=(proxy_url)
398
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
399
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
400
+ end
401
+
402
+ @proxy_url = proxy_url
403
+ end
404
+
405
+ # Custom attribute writer method with validation
406
+ # @param [Object] proxy_username Value to be assigned
407
+ def proxy_username=(proxy_username)
408
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
409
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
410
+ end
411
+
412
+ @proxy_username = proxy_username
413
+ end
414
+
415
+ # Custom attribute writer method with validation
416
+ # @param [Object] proxy_password Value to be assigned
417
+ def proxy_password=(proxy_password)
418
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
419
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
420
+ end
421
+
422
+ @proxy_password = proxy_password
423
+ end
424
+
425
+ # Custom attribute writer method with validation
426
+ # @param [Object] username Value to be assigned
427
+ def username=(username)
428
+ if !username.nil? && username.to_s.length < 1
429
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
430
+ end
431
+
432
+ @username = username
433
+ end
434
+
435
+ # Custom attribute writer method with validation
436
+ # @param [Object] password Value to be assigned
437
+ def password=(password)
438
+ if !password.nil? && password.to_s.length < 1
439
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
440
+ end
441
+
442
+ @password = password
443
+ end
444
+
295
445
  # Custom attribute writer method with validation
296
446
  # @param [Object] download_concurrency Value to be assigned
297
447
  def download_concurrency=(download_concurrency)
@@ -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.10.5'
14
+ VERSION = '0.11.0'
15
15
  end
@@ -27,6 +27,8 @@ require 'pulp_ansible_client/models/ansible_collection_remote_response'
27
27
  require 'pulp_ansible_client/models/ansible_collection_response'
28
28
  require 'pulp_ansible_client/models/ansible_collection_version'
29
29
  require 'pulp_ansible_client/models/ansible_collection_version_response'
30
+ require 'pulp_ansible_client/models/ansible_git_remote'
31
+ require 'pulp_ansible_client/models/ansible_git_remote_response'
30
32
  require 'pulp_ansible_client/models/ansible_repository_sync_url'
31
33
  require 'pulp_ansible_client/models/ansible_role'
32
34
  require 'pulp_ansible_client/models/ansible_role_remote'
@@ -66,11 +68,13 @@ require 'pulp_ansible_client/models/paginatedansible_ansible_repository_response
66
68
  require 'pulp_ansible_client/models/paginatedansible_collection_remote_response_list'
67
69
  require 'pulp_ansible_client/models/paginatedansible_collection_response_list'
68
70
  require 'pulp_ansible_client/models/paginatedansible_collection_version_response_list'
71
+ require 'pulp_ansible_client/models/paginatedansible_git_remote_response_list'
69
72
  require 'pulp_ansible_client/models/paginatedansible_role_remote_response_list'
70
73
  require 'pulp_ansible_client/models/paginatedansible_role_response_list'
71
74
  require 'pulp_ansible_client/models/patchedansible_ansible_distribution'
72
75
  require 'pulp_ansible_client/models/patchedansible_ansible_repository'
73
76
  require 'pulp_ansible_client/models/patchedansible_collection_remote'
77
+ require 'pulp_ansible_client/models/patchedansible_git_remote'
74
78
  require 'pulp_ansible_client/models/patchedansible_role_remote'
75
79
  require 'pulp_ansible_client/models/policy_enum'
76
80
  require 'pulp_ansible_client/models/repo_metadata_response'
@@ -102,6 +106,7 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_b
102
106
  require 'pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api'
103
107
  require 'pulp_ansible_client/api/pulp_ansible_tags_api'
104
108
  require 'pulp_ansible_client/api/remotes_collection_api'
109
+ require 'pulp_ansible_client/api/remotes_git_api'
105
110
  require 'pulp_ansible_client/api/remotes_role_api'
106
111
  require 'pulp_ansible_client/api/repositories_ansible_api'
107
112
  require 'pulp_ansible_client/api/repositories_ansible_versions_api'
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["pulp-list@redhat.com"]
24
- s.homepage = "https://github.com/pulp/pulp_ansible"
24
+ s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPLv2+'
27
+ s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -0,0 +1,127 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::RemotesGitApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RemotesGitApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::RemotesGitApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RemotesGitApi' do
30
+ it 'should create an instance of RemotesGitApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::RemotesGitApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a git remote
37
+ # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
38
+ # @param ansible_git_remote
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AnsibleGitRemoteResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a git remote
49
+ # Trigger an asynchronous delete task
50
+ # @param ansible_git_remote_href
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List git remotes
61
+ # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__contains Filter results where name contains value
66
+ # @option opts [String] :name__icontains Filter results where name contains value
67
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
+ # @option opts [String] :name__startswith Filter results where name starts with value
69
+ # @option opts [Integer] :offset The initial index from which to return the results.
70
+ # @option opts [String] :ordering Which field to use when ordering the results.
71
+ # @option opts [String] :pulp_label_select Filter labels by search string
72
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
73
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
74
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
75
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
76
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
77
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
78
+ # @option opts [String] :fields A list of fields to include in the response.
79
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
80
+ # @return [PaginatedansibleGitRemoteResponseList]
81
+ describe 'list test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ # unit tests for partial_update
88
+ # Update a git remote
89
+ # Trigger an asynchronous partial update task
90
+ # @param ansible_git_remote_href
91
+ # @param patchedansible_git_remote
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [AsyncOperationResponse]
94
+ describe 'partial_update test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for read
101
+ # Inspect a git remote
102
+ # ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
103
+ # @param ansible_git_remote_href
104
+ # @param [Hash] opts the optional parameters
105
+ # @option opts [String] :fields A list of fields to include in the response.
106
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
+ # @return [AnsibleGitRemoteResponse]
108
+ describe 'read test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ # unit tests for update
115
+ # Update a git remote
116
+ # Trigger an asynchronous update task
117
+ # @param ansible_git_remote_href
118
+ # @param ansible_git_remote
119
+ # @param [Hash] opts the optional parameters
120
+ # @return [AsyncOperationResponse]
121
+ describe 'update test' do
122
+ it 'should work' do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ end
@@ -158,6 +158,12 @@ describe 'AnsibleCollectionRemoteResponse' do
158
158
  end
159
159
  end
160
160
 
161
+ describe 'test attribute "token"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
161
167
  describe 'test attribute "sync_dependencies"' do
162
168
  it 'should work' do
163
169
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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
@@ -0,0 +1,155 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpAnsibleClient::AnsibleGitRemoteResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'AnsibleGitRemoteResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of AnsibleGitRemoteResponse' do
31
+ it 'should create an instance of AnsibleGitRemoteResponse' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleGitRemoteResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "sock_read_timeout"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "pulp_labels"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "client_cert"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "pulp_href"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "rate_limit"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "total_timeout"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "pulp_last_updated"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "proxy_url"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "tls_validation"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "max_retries"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "name"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "ca_cert"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "connect_timeout"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "headers"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ describe 'test attribute "sock_connect_timeout"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ describe 'test attribute "pulp_created"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ describe 'test attribute "url"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ describe 'test attribute "download_concurrency"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "metadata_only"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ describe 'test attribute "git_ref"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ end