pulp_file_client 3.104.2 → 3.105.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -5
  3. data/docs/FileFileGitRemote.md +58 -0
  4. data/docs/FileFileGitRemoteResponse.md +58 -0
  5. data/docs/{FileFileRemoteResponseHiddenFieldsInner.md → FileFileGitRemoteResponseHiddenFieldsInner.md} +2 -2
  6. data/docs/FileFileRemoteResponse.md +1 -1
  7. data/docs/PaginatedfileFileGitRemoteResponseList.md +24 -0
  8. data/docs/PatchedfileFileGitRemote.md +58 -0
  9. data/docs/RemotesGitApi.md +981 -0
  10. data/lib/pulp_file_client/api/remotes_git_api.rb +979 -0
  11. data/lib/pulp_file_client/models/file_file_git_remote.rb +702 -0
  12. data/lib/pulp_file_client/models/file_file_git_remote_response.rb +521 -0
  13. data/lib/pulp_file_client/models/{file_file_remote_response_hidden_fields_inner.rb → file_file_git_remote_response_hidden_fields_inner.rb} +3 -3
  14. data/lib/pulp_file_client/models/file_file_remote.rb +15 -0
  15. data/lib/pulp_file_client/models/file_file_remote_response.rb +16 -1
  16. data/lib/pulp_file_client/models/file_file_repository.rb +15 -0
  17. data/lib/pulp_file_client/models/file_file_repository_response.rb +15 -0
  18. data/lib/pulp_file_client/models/paginatedfile_file_git_remote_response_list.rb +257 -0
  19. data/lib/pulp_file_client/models/patchedfile_file_git_remote.rb +688 -0
  20. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +15 -0
  21. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +15 -0
  22. data/lib/pulp_file_client/models/remote_network_config.rb +15 -0
  23. data/lib/pulp_file_client/models/remote_network_config_response.rb +15 -0
  24. data/lib/pulp_file_client/models/set_label.rb +0 -11
  25. data/lib/pulp_file_client/models/set_label_response.rb +0 -21
  26. data/lib/pulp_file_client/models/unset_label.rb +0 -11
  27. data/lib/pulp_file_client/models/unset_label_response.rb +0 -21
  28. data/lib/pulp_file_client/version.rb +1 -1
  29. data/lib/pulp_file_client.rb +6 -1
  30. data/spec/api/remotes_git_api_spec.rb +228 -0
  31. data/spec/models/{file_file_remote_response_hidden_fields_inner_spec.rb → file_file_git_remote_response_hidden_fields_inner_spec.rb} +6 -6
  32. data/spec/models/file_file_git_remote_response_spec.rb +156 -0
  33. data/spec/models/file_file_git_remote_spec.rb +156 -0
  34. data/spec/models/paginatedfile_file_git_remote_response_list_spec.rb +54 -0
  35. data/spec/models/patchedfile_file_git_remote_spec.rb +156 -0
  36. metadata +26 -6
@@ -345,6 +345,10 @@ module PulpFileClient
345
345
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
346
346
  end
347
347
 
348
+ if !@download_concurrency.nil? && @download_concurrency < 1
349
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
350
+ end
351
+
348
352
  invalid_properties
349
353
  end
350
354
 
@@ -366,6 +370,7 @@ module PulpFileClient
366
370
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
367
371
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
368
372
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
373
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
369
374
  true
370
375
  end
371
376
 
@@ -517,6 +522,16 @@ module PulpFileClient
517
522
  @sock_read_timeout = sock_read_timeout
518
523
  end
519
524
 
525
+ # Custom attribute writer method with validation
526
+ # @param [Object] download_concurrency Value to be assigned
527
+ def download_concurrency=(download_concurrency)
528
+ if !download_concurrency.nil? && download_concurrency < 1
529
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
530
+ end
531
+
532
+ @download_concurrency = download_concurrency
533
+ end
534
+
520
535
  # Checks equality by comparing each attribute.
521
536
  # @param [Object] Object to be compared
522
537
  def ==(o)
@@ -140,6 +140,10 @@ module PulpFileClient
140
140
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
141
141
  end
142
142
 
143
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
144
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
145
+ end
146
+
143
147
  if !@manifest.nil? && @manifest.to_s.length < 1
144
148
  invalid_properties.push('invalid value for "manifest", the character length must be great than or equal to 1.')
145
149
  end
@@ -153,6 +157,7 @@ module PulpFileClient
153
157
  warn '[DEPRECATED] the `valid?` method is obsolete'
154
158
  return false if !@name.nil? && @name.to_s.length < 1
155
159
  return false if !@description.nil? && @description.to_s.length < 1
160
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
156
161
  return false if !@manifest.nil? && @manifest.to_s.length < 1
157
162
  true
158
163
  end
@@ -181,6 +186,16 @@ module PulpFileClient
181
186
  @description = description
182
187
  end
183
188
 
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] retain_repo_versions Value to be assigned
191
+ def retain_repo_versions=(retain_repo_versions)
192
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
193
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
194
+ end
195
+
196
+ @retain_repo_versions = retain_repo_versions
197
+ end
198
+
184
199
  # Custom attribute writer method with validation
185
200
  # @param [Object] manifest Value to be assigned
186
201
  def manifest=(manifest)
@@ -278,6 +278,10 @@ module PulpFileClient
278
278
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
279
279
  end
280
280
 
281
+ if !@download_concurrency.nil? && @download_concurrency < 1
282
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
283
+ end
284
+
281
285
  invalid_properties
282
286
  end
283
287
 
@@ -297,6 +301,7 @@ module PulpFileClient
297
301
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
298
302
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
299
303
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
304
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
300
305
  true
301
306
  end
302
307
 
@@ -420,6 +425,16 @@ module PulpFileClient
420
425
  @sock_read_timeout = sock_read_timeout
421
426
  end
422
427
 
428
+ # Custom attribute writer method with validation
429
+ # @param [Object] download_concurrency Value to be assigned
430
+ def download_concurrency=(download_concurrency)
431
+ if !download_concurrency.nil? && download_concurrency < 1
432
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
433
+ end
434
+
435
+ @download_concurrency = download_concurrency
436
+ end
437
+
423
438
  # Checks equality by comparing each attribute.
424
439
  # @param [Object] Object to be compared
425
440
  def ==(o)
@@ -196,6 +196,10 @@ module PulpFileClient
196
196
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
197
197
  end
198
198
 
199
+ if !@download_concurrency.nil? && @download_concurrency < 1
200
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
201
+ end
202
+
199
203
  invalid_properties
200
204
  end
201
205
 
@@ -207,6 +211,7 @@ module PulpFileClient
207
211
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
208
212
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
209
213
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
214
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
210
215
  true
211
216
  end
212
217
 
@@ -250,6 +255,16 @@ module PulpFileClient
250
255
  @sock_read_timeout = sock_read_timeout
251
256
  end
252
257
 
258
+ # Custom attribute writer method with validation
259
+ # @param [Object] download_concurrency Value to be assigned
260
+ def download_concurrency=(download_concurrency)
261
+ if !download_concurrency.nil? && download_concurrency < 1
262
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
263
+ end
264
+
265
+ @download_concurrency = download_concurrency
266
+ end
267
+
253
268
  # Checks equality by comparing each attribute.
254
269
  # @param [Object] Object to be compared
255
270
  def ==(o)
@@ -89,11 +89,6 @@ module PulpFileClient
89
89
  invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
90
90
  end
91
91
 
92
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
93
- if @key !~ pattern
94
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
95
- end
96
-
97
92
  invalid_properties
98
93
  end
99
94
 
@@ -103,7 +98,6 @@ module PulpFileClient
103
98
  warn '[DEPRECATED] the `valid?` method is obsolete'
104
99
  return false if @key.nil?
105
100
  return false if @key.to_s.length < 1
106
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
107
101
  true
108
102
  end
109
103
 
@@ -118,11 +112,6 @@ module PulpFileClient
118
112
  fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
119
113
  end
120
114
 
121
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
122
- if key !~ pattern
123
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
124
- end
125
-
126
115
  @key = key
127
116
  end
128
117
 
@@ -85,11 +85,6 @@ module PulpFileClient
85
85
  invalid_properties.push('invalid value for "key", key cannot be nil.')
86
86
  end
87
87
 
88
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
89
- if @key !~ pattern
90
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
91
- end
92
-
93
88
  invalid_properties
94
89
  end
95
90
 
@@ -98,25 +93,9 @@ module PulpFileClient
98
93
  def valid?
99
94
  warn '[DEPRECATED] the `valid?` method is obsolete'
100
95
  return false if @key.nil?
101
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
102
96
  true
103
97
  end
104
98
 
105
- # Custom attribute writer method with validation
106
- # @param [Object] key Value to be assigned
107
- def key=(key)
108
- if key.nil?
109
- fail ArgumentError, 'key cannot be nil'
110
- end
111
-
112
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
113
- if key !~ pattern
114
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
115
- end
116
-
117
- @key = key
118
- end
119
-
120
99
  # Checks equality by comparing each attribute.
121
100
  # @param [Object] Object to be compared
122
101
  def ==(o)
@@ -78,11 +78,6 @@ module PulpFileClient
78
78
  invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
79
79
  end
80
80
 
81
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
82
- if @key !~ pattern
83
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
84
- end
85
-
86
81
  invalid_properties
87
82
  end
88
83
 
@@ -92,7 +87,6 @@ module PulpFileClient
92
87
  warn '[DEPRECATED] the `valid?` method is obsolete'
93
88
  return false if @key.nil?
94
89
  return false if @key.to_s.length < 1
95
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
96
90
  true
97
91
  end
98
92
 
@@ -107,11 +101,6 @@ module PulpFileClient
107
101
  fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
108
102
  end
109
103
 
110
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
111
- if key !~ pattern
112
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
113
- end
114
-
115
104
  @key = key
116
105
  end
117
106
 
@@ -82,11 +82,6 @@ module PulpFileClient
82
82
  invalid_properties.push('invalid value for "key", key cannot be nil.')
83
83
  end
84
84
 
85
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
86
- if @key !~ pattern
87
- invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
88
- end
89
-
90
85
  invalid_properties
91
86
  end
92
87
 
@@ -95,25 +90,9 @@ module PulpFileClient
95
90
  def valid?
96
91
  warn '[DEPRECATED] the `valid?` method is obsolete'
97
92
  return false if @key.nil?
98
- return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
99
93
  true
100
94
  end
101
95
 
102
- # Custom attribute writer method with validation
103
- # @param [Object] key Value to be assigned
104
- def key=(key)
105
- if key.nil?
106
- fail ArgumentError, 'key cannot be nil'
107
- end
108
-
109
- pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
110
- if key !~ pattern
111
- fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
112
- end
113
-
114
- @key = key
115
- end
116
-
117
96
  # Checks equality by comparing each attribute.
118
97
  # @param [Object] Object to be compared
119
98
  def ==(o)
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '3.104.2'
14
+ VERSION = '3.105.1'
15
15
  end
@@ -25,11 +25,13 @@ require 'pulp_file_client/models/file_file_alternate_content_source_response'
25
25
  require 'pulp_file_client/models/file_file_content_response'
26
26
  require 'pulp_file_client/models/file_file_distribution'
27
27
  require 'pulp_file_client/models/file_file_distribution_response'
28
+ require 'pulp_file_client/models/file_file_git_remote'
29
+ require 'pulp_file_client/models/file_file_git_remote_response'
30
+ require 'pulp_file_client/models/file_file_git_remote_response_hidden_fields_inner'
28
31
  require 'pulp_file_client/models/file_file_publication'
29
32
  require 'pulp_file_client/models/file_file_publication_response'
30
33
  require 'pulp_file_client/models/file_file_remote'
31
34
  require 'pulp_file_client/models/file_file_remote_response'
32
- require 'pulp_file_client/models/file_file_remote_response_hidden_fields_inner'
33
35
  require 'pulp_file_client/models/file_file_repository'
34
36
  require 'pulp_file_client/models/file_file_repository_response'
35
37
  require 'pulp_file_client/models/my_permissions_response'
@@ -40,11 +42,13 @@ require 'pulp_file_client/models/paginated_repository_version_response_list'
40
42
  require 'pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list'
41
43
  require 'pulp_file_client/models/paginatedfile_file_content_response_list'
42
44
  require 'pulp_file_client/models/paginatedfile_file_distribution_response_list'
45
+ require 'pulp_file_client/models/paginatedfile_file_git_remote_response_list'
43
46
  require 'pulp_file_client/models/paginatedfile_file_publication_response_list'
44
47
  require 'pulp_file_client/models/paginatedfile_file_remote_response_list'
45
48
  require 'pulp_file_client/models/paginatedfile_file_repository_response_list'
46
49
  require 'pulp_file_client/models/patchedfile_file_alternate_content_source'
47
50
  require 'pulp_file_client/models/patchedfile_file_distribution'
51
+ require 'pulp_file_client/models/patchedfile_file_git_remote'
48
52
  require 'pulp_file_client/models/patchedfile_file_remote'
49
53
  require 'pulp_file_client/models/patchedfile_file_repository'
50
54
  require 'pulp_file_client/models/policy_enum'
@@ -66,6 +70,7 @@ require 'pulp_file_client/api/content_files_api'
66
70
  require 'pulp_file_client/api/distributions_file_api'
67
71
  require 'pulp_file_client/api/publications_file_api'
68
72
  require 'pulp_file_client/api/remotes_file_api'
73
+ require 'pulp_file_client/api/remotes_git_api'
69
74
  require 'pulp_file_client/api/repositories_file_api'
70
75
  require 'pulp_file_client/api/repositories_file_versions_api'
71
76
 
@@ -0,0 +1,228 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpFileClient::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 = PulpFileClient::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(PulpFileClient::RemotesGitApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param file_file_git_remote_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
+ # @return [NestedRoleResponse]
43
+ describe 'add_role test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for create
50
+ # Create a file git remote
51
+ # FileGitRemote represents a Git repository as an external source of File Content. The target url of a FileGitRemote must point to a Git repository. Syncing will perform a bare clone and extract file metadata from the specified git ref.
52
+ # @param file_file_git_remote
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
55
+ # @return [FileFileGitRemoteResponse]
56
+ describe 'create test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
59
+ end
60
+ end
61
+
62
+ # unit tests for delete
63
+ # Delete a file git remote
64
+ # Trigger an asynchronous delete task
65
+ # @param file_file_git_remote_href
66
+ # @param [Hash] opts the optional parameters
67
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
68
+ # @return [AsyncOperationResponse]
69
+ describe 'delete test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
72
+ end
73
+ end
74
+
75
+ # unit tests for list
76
+ # List file git remotes
77
+ # FileGitRemote represents a Git repository as an external source of File Content. The target url of a FileGitRemote must point to a Git repository. Syncing will perform a bare clone and extract file metadata from the specified git ref.
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
80
+ # @option opts [Integer] :limit Number of results to return per page.
81
+ # @option opts [String] :name Filter results where name matches value
82
+ # @option opts [String] :name__contains Filter results where name contains value
83
+ # @option opts [String] :name__icontains Filter results where name contains value
84
+ # @option opts [String] :name__iexact Filter results where name matches value
85
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
86
+ # @option opts [String] :name__iregex Filter results where name matches regex value
87
+ # @option opts [String] :name__istartswith Filter results where name starts with value
88
+ # @option opts [String] :name__regex Filter results where name matches regex value
89
+ # @option opts [String] :name__startswith Filter results where name starts with value
90
+ # @option opts [Integer] :offset The initial index from which to return the results.
91
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
93
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
+ # @option opts [String] :pulp_label_select Filter labels by search string
96
+ # @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
97
+ # @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
98
+ # @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
99
+ # @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
100
+ # @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
101
+ # @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
102
+ # @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
103
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
104
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
105
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
106
+ # @return [PaginatedfileFileGitRemoteResponseList]
107
+ describe 'list test' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
110
+ end
111
+ end
112
+
113
+ # unit tests for list_roles
114
+ # List roles
115
+ # List roles assigned to this object.
116
+ # @param file_file_git_remote_href
117
+ # @param [Hash] opts the optional parameters
118
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
119
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
120
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
121
+ # @return [ObjectRolesResponse]
122
+ describe 'list_roles test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
125
+ end
126
+ end
127
+
128
+ # unit tests for my_permissions
129
+ # List user permissions
130
+ # List permissions available to the current user on this object.
131
+ # @param file_file_git_remote_href
132
+ # @param [Hash] opts the optional parameters
133
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
134
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
135
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
+ # @return [MyPermissionsResponse]
137
+ describe 'my_permissions test' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
140
+ end
141
+ end
142
+
143
+ # unit tests for partial_update
144
+ # Update a file git remote
145
+ # Update the entity partially and trigger an asynchronous task if necessary
146
+ # @param file_file_git_remote_href
147
+ # @param patchedfile_file_git_remote
148
+ # @param [Hash] opts the optional parameters
149
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
150
+ # @return [FileFileGitRemoteResponse]
151
+ describe 'partial_update test' do
152
+ it 'should work' do
153
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
154
+ end
155
+ end
156
+
157
+ # unit tests for read
158
+ # Inspect a file git remote
159
+ # FileGitRemote represents a Git repository as an external source of File Content. The target url of a FileGitRemote must point to a Git repository. Syncing will perform a bare clone and extract file metadata from the specified git ref.
160
+ # @param file_file_git_remote_href
161
+ # @param [Hash] opts the optional parameters
162
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
163
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
164
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
165
+ # @return [FileFileGitRemoteResponse]
166
+ describe 'read test' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
169
+ end
170
+ end
171
+
172
+ # unit tests for remove_role
173
+ # Remove a role
174
+ # Remove a role for this object from users/groups.
175
+ # @param file_file_git_remote_href
176
+ # @param nested_role
177
+ # @param [Hash] opts the optional parameters
178
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
179
+ # @return [NestedRoleResponse]
180
+ describe 'remove_role test' do
181
+ it 'should work' do
182
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
183
+ end
184
+ end
185
+
186
+ # unit tests for set_label
187
+ # Set a label
188
+ # Set a single pulp_label on the object to a specific value or null.
189
+ # @param file_file_git_remote_href
190
+ # @param set_label
191
+ # @param [Hash] opts the optional parameters
192
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
193
+ # @return [SetLabelResponse]
194
+ describe 'set_label test' do
195
+ it 'should work' do
196
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
197
+ end
198
+ end
199
+
200
+ # unit tests for unset_label
201
+ # Unset a label
202
+ # Unset a single pulp_label on the object.
203
+ # @param file_file_git_remote_href
204
+ # @param unset_label
205
+ # @param [Hash] opts the optional parameters
206
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
207
+ # @return [UnsetLabelResponse]
208
+ describe 'unset_label test' do
209
+ it 'should work' do
210
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
211
+ end
212
+ end
213
+
214
+ # unit tests for update
215
+ # Update a file git remote
216
+ # Update the entity and trigger an asynchronous task if necessary
217
+ # @param file_file_git_remote_href
218
+ # @param file_file_git_remote
219
+ # @param [Hash] opts the optional parameters
220
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
221
+ # @return [FileFileGitRemoteResponse]
222
+ describe 'update test' do
223
+ it 'should work' do
224
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
225
+ end
226
+ end
227
+
228
+ end
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpFileClient::FileFileRemoteResponseHiddenFieldsInner
17
+ # Unit tests for PulpFileClient::FileFileGitRemoteResponseHiddenFieldsInner
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe PulpFileClient::FileFileRemoteResponseHiddenFieldsInner do
21
- let(:instance) { PulpFileClient::FileFileRemoteResponseHiddenFieldsInner.new }
20
+ describe PulpFileClient::FileFileGitRemoteResponseHiddenFieldsInner do
21
+ let(:instance) { PulpFileClient::FileFileGitRemoteResponseHiddenFieldsInner.new }
22
22
 
23
- describe 'test an instance of FileFileRemoteResponseHiddenFieldsInner' do
24
- it 'should create an instance of FileFileRemoteResponseHiddenFieldsInner' do
23
+ describe 'test an instance of FileFileGitRemoteResponseHiddenFieldsInner' do
24
+ it 'should create an instance of FileFileGitRemoteResponseHiddenFieldsInner' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(PulpFileClient::FileFileRemoteResponseHiddenFieldsInner)
26
+ #expect(instance).to be_instance_of(PulpFileClient::FileFileGitRemoteResponseHiddenFieldsInner)
27
27
  end
28
28
  end
29
29