pulp_file_client 1.14.3 → 1.14.5

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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -25
  3. data/docs/AcsFileApi.md +23 -9
  4. data/docs/ContentFilesApi.md +5 -3
  5. data/docs/DistributionsFileApi.md +138 -12
  6. data/docs/FileFileContent.md +3 -3
  7. data/docs/FileFileDistribution.md +2 -0
  8. data/docs/FileFileDistributionResponse.md +2 -0
  9. data/docs/PatchedfileFileDistribution.md +2 -0
  10. data/docs/PublicationsFileApi.md +15 -9
  11. data/docs/RemotesFileApi.md +135 -9
  12. data/docs/RepositoriesFileApi.md +136 -10
  13. data/docs/RepositoriesFileVersionsApi.md +3 -1
  14. data/docs/SetLabel.md +19 -0
  15. data/docs/SetLabelResponse.md +19 -0
  16. data/docs/UnsetLabel.md +17 -0
  17. data/docs/UnsetLabelResponse.md +19 -0
  18. data/lib/pulp_file_client/api/acs_file_api.rb +23 -0
  19. data/lib/pulp_file_client/api/content_files_api.rb +6 -3
  20. data/lib/pulp_file_client/api/distributions_file_api.rb +166 -3
  21. data/lib/pulp_file_client/api/publications_file_api.rb +11 -0
  22. data/lib/pulp_file_client/api/remotes_file_api.rb +163 -0
  23. data/lib/pulp_file_client/api/repositories_file_api.rb +163 -0
  24. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -0
  25. data/lib/pulp_file_client/configuration.rb +2 -2
  26. data/lib/pulp_file_client/models/file_file_content.rb +11 -11
  27. data/lib/pulp_file_client/models/file_file_distribution.rb +13 -1
  28. data/lib/pulp_file_client/models/file_file_distribution_response.rb +13 -1
  29. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +13 -1
  30. data/lib/pulp_file_client/models/set_label.rb +252 -0
  31. data/lib/pulp_file_client/models/set_label_response.rb +243 -0
  32. data/lib/pulp_file_client/models/unset_label.rb +242 -0
  33. data/lib/pulp_file_client/models/unset_label_response.rb +242 -0
  34. data/lib/pulp_file_client/version.rb +1 -1
  35. data/lib/pulp_file_client.rb +4 -0
  36. data/spec/api/acs_file_api_spec.rb +9 -0
  37. data/spec/api/content_files_api_spec.rb +2 -1
  38. data/spec/api/distributions_file_api_spec.rb +36 -1
  39. data/spec/api/publications_file_api_spec.rb +5 -0
  40. data/spec/api/remotes_file_api_spec.rb +35 -0
  41. data/spec/api/repositories_file_api_spec.rb +35 -0
  42. data/spec/api/repositories_file_versions_api_spec.rb +1 -0
  43. data/spec/configuration_spec.rb +3 -3
  44. data/spec/models/file_file_content_spec.rb +4 -4
  45. data/spec/models/file_file_distribution_response_spec.rb +6 -0
  46. data/spec/models/file_file_distribution_spec.rb +6 -0
  47. data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
  48. data/spec/models/set_label_response_spec.rb +47 -0
  49. data/spec/models/set_label_spec.rb +47 -0
  50. data/spec/models/unset_label_response_spec.rb +47 -0
  51. data/spec/models/unset_label_spec.rb +41 -0
  52. metadata +50 -34
@@ -32,25 +32,25 @@ describe 'FileFileContent' do
32
32
  expect(@instance).to be_instance_of(PulpFileClient::FileFileContent)
33
33
  end
34
34
  end
35
- describe 'test attribute "artifact"' do
35
+ describe 'test attribute "repository"' 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 "relative_path"' do
41
+ describe 'test attribute "artifact"' 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
45
45
  end
46
46
 
47
- describe 'test attribute "file"' do
47
+ describe 'test attribute "relative_path"' 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
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "file"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -62,6 +62,12 @@ describe 'FileFileDistributionResponse' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "hidden"' 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
+
65
71
  describe 'test attribute "pulp_labels"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'FileFileDistribution' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "hidden"' 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
+
47
53
  describe 'test attribute "pulp_labels"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'PatchedfileFileDistribution' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "hidden"' 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
+
47
53
  describe 'test attribute "pulp_labels"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
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 PulpFileClient::SetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::SetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabelResponse' do
31
+ it 'should create an instance of SetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::SetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' 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 "value"' 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
+ end
@@ -0,0 +1,47 @@
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 PulpFileClient::SetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::SetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabel' do
31
+ it 'should create an instance of SetLabel' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::SetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' 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 "value"' 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
+ end
@@ -0,0 +1,47 @@
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 PulpFileClient::UnsetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UnsetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::UnsetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UnsetLabelResponse' do
31
+ it 'should create an instance of UnsetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::UnsetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' 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 "value"' 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
+ end
@@ -0,0 +1,41 @@
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 PulpFileClient::UnsetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UnsetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::UnsetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UnsetLabel' do
31
+ it 'should create an instance of UnsetLabel' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::UnsetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' 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
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_file_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.3
4
+ version: 1.14.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -122,7 +122,11 @@ files:
122
122
  - docs/RepositoryAddRemoveContent.md
123
123
  - docs/RepositorySyncURL.md
124
124
  - docs/RepositoryVersionResponse.md
125
+ - docs/SetLabel.md
126
+ - docs/SetLabelResponse.md
125
127
  - docs/TaskGroupOperationResponse.md
128
+ - docs/UnsetLabel.md
129
+ - docs/UnsetLabelResponse.md
126
130
  - lib/pulp_file_client.rb
127
131
  - lib/pulp_file_client/api/acs_file_api.rb
128
132
  - lib/pulp_file_client/api/content_files_api.rb
@@ -169,7 +173,11 @@ files:
169
173
  - lib/pulp_file_client/models/repository_add_remove_content.rb
170
174
  - lib/pulp_file_client/models/repository_sync_url.rb
171
175
  - lib/pulp_file_client/models/repository_version_response.rb
176
+ - lib/pulp_file_client/models/set_label.rb
177
+ - lib/pulp_file_client/models/set_label_response.rb
172
178
  - lib/pulp_file_client/models/task_group_operation_response.rb
179
+ - lib/pulp_file_client/models/unset_label.rb
180
+ - lib/pulp_file_client/models/unset_label_response.rb
173
181
  - lib/pulp_file_client/version.rb
174
182
  - pulp_file_client.gemspec
175
183
  - spec/api/acs_file_api_spec.rb
@@ -216,7 +224,11 @@ files:
216
224
  - spec/models/repository_add_remove_content_spec.rb
217
225
  - spec/models/repository_sync_url_spec.rb
218
226
  - spec/models/repository_version_response_spec.rb
227
+ - spec/models/set_label_response_spec.rb
228
+ - spec/models/set_label_spec.rb
219
229
  - spec/models/task_group_operation_response_spec.rb
230
+ - spec/models/unset_label_response_spec.rb
231
+ - spec/models/unset_label_spec.rb
220
232
  - spec/spec_helper.rb
221
233
  homepage: https://github.com/pulp/pulp_file
222
234
  licenses:
@@ -243,48 +255,52 @@ specification_version: 4
243
255
  summary: Pulp 3 API Ruby Gem
244
256
  test_files:
245
257
  - spec/api/repositories_file_versions_api_spec.rb
246
- - spec/api/distributions_file_api_spec.rb
247
- - spec/api/content_files_api_spec.rb
248
- - spec/api/remotes_file_api_spec.rb
249
258
  - spec/api/publications_file_api_spec.rb
250
- - spec/api/acs_file_api_spec.rb
251
259
  - spec/api/repositories_file_api_spec.rb
260
+ - spec/api/distributions_file_api_spec.rb
261
+ - spec/api/acs_file_api_spec.rb
262
+ - spec/api/remotes_file_api_spec.rb
263
+ - spec/api/content_files_api_spec.rb
252
264
  - spec/api_client_spec.rb
253
265
  - spec/configuration_spec.rb
254
- - spec/models/file_file_repository_response_spec.rb
255
- - spec/models/patchedfile_file_remote_spec.rb
256
- - spec/models/paginatedfile_file_remote_response_list_spec.rb
257
- - spec/models/nested_role_response_spec.rb
258
- - spec/models/content_summary_response_spec.rb
259
- - spec/models/file_file_alternate_content_source_spec.rb
266
+ - spec/models/paginatedfile_file_publication_response_list_spec.rb
267
+ - spec/models/file_file_publication_response_spec.rb
268
+ - spec/models/file_file_content_response_spec.rb
269
+ - spec/models/repository_sync_url_spec.rb
270
+ - spec/models/async_operation_response_spec.rb
271
+ - spec/models/repair_spec.rb
272
+ - spec/models/file_file_content_spec.rb
273
+ - spec/models/unset_label_response_spec.rb
274
+ - spec/models/file_file_publication_spec.rb
275
+ - spec/models/my_permissions_response_spec.rb
276
+ - spec/models/set_label_response_spec.rb
277
+ - spec/models/repository_add_remove_content_spec.rb
260
278
  - spec/models/file_file_distribution_spec.rb
261
279
  - spec/models/object_roles_response_spec.rb
280
+ - spec/models/set_label_spec.rb
281
+ - spec/models/patchedfile_file_repository_spec.rb
282
+ - spec/models/file_file_alternate_content_source_spec.rb
283
+ - spec/models/paginated_repository_version_response_list_spec.rb
284
+ - spec/models/file_file_alternate_content_source_response_spec.rb
262
285
  - spec/models/task_group_operation_response_spec.rb
263
- - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
264
- - spec/models/file_file_content_spec.rb
265
- - spec/models/repository_sync_url_spec.rb
266
- - spec/models/repository_add_remove_content_spec.rb
267
286
  - spec/models/paginatedfile_file_content_response_list_spec.rb
268
- - spec/models/nested_role_spec.rb
269
- - spec/models/file_file_publication_response_spec.rb
270
- - spec/models/paginatedfile_file_repository_response_list_spec.rb
271
287
  - spec/models/paginatedfile_file_distribution_response_list_spec.rb
272
- - spec/models/repair_spec.rb
273
- - spec/models/file_file_content_response_spec.rb
274
288
  - spec/models/file_file_distribution_response_spec.rb
275
- - spec/models/policy_enum_spec.rb
276
- - spec/models/paginatedfile_file_publication_response_list_spec.rb
277
- - spec/models/patchedfile_file_repository_spec.rb
278
- - spec/models/my_permissions_response_spec.rb
279
- - spec/models/file_file_remote_spec.rb
280
- - spec/models/paginated_repository_version_response_list_spec.rb
281
- - spec/models/async_operation_response_spec.rb
282
- - spec/models/patchedfile_file_distribution_spec.rb
283
- - spec/models/file_file_alternate_content_source_response_spec.rb
284
- - spec/models/file_file_remote_response_hidden_fields_spec.rb
285
- - spec/models/repository_version_response_spec.rb
286
- - spec/models/file_file_repository_spec.rb
287
289
  - spec/models/file_file_remote_response_spec.rb
288
- - spec/models/file_file_publication_spec.rb
290
+ - spec/models/file_file_repository_spec.rb
289
291
  - spec/models/patchedfile_file_alternate_content_source_spec.rb
292
+ - spec/models/patchedfile_file_remote_spec.rb
293
+ - spec/models/patchedfile_file_distribution_spec.rb
294
+ - spec/models/repository_version_response_spec.rb
295
+ - spec/models/paginatedfile_file_repository_response_list_spec.rb
296
+ - spec/models/paginatedfile_file_remote_response_list_spec.rb
297
+ - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
298
+ - spec/models/nested_role_spec.rb
299
+ - spec/models/unset_label_spec.rb
300
+ - spec/models/content_summary_response_spec.rb
301
+ - spec/models/file_file_remote_spec.rb
302
+ - spec/models/file_file_repository_response_spec.rb
303
+ - spec/models/policy_enum_spec.rb
304
+ - spec/models/nested_role_response_spec.rb
305
+ - spec/models/file_file_remote_response_hidden_fields_spec.rb
290
306
  - spec/spec_helper.rb