pulp_ostree_client 2.0.0a1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +174 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentCommitsApi.md +138 -0
  7. data/docs/ContentConfigsApi.md +138 -0
  8. data/docs/ContentObjectsApi.md +138 -0
  9. data/docs/ContentRefsApi.md +138 -0
  10. data/docs/ContentSummariesApi.md +138 -0
  11. data/docs/ContentSummary.md +21 -0
  12. data/docs/ContentSummaryResponse.md +21 -0
  13. data/docs/DistributionsOstreeApi.md +372 -0
  14. data/docs/OstreeOstreeCommitResponse.md +25 -0
  15. data/docs/OstreeOstreeConfigResponse.md +21 -0
  16. data/docs/OstreeOstreeDistribution.md +27 -0
  17. data/docs/OstreeOstreeDistributionResponse.md +33 -0
  18. data/docs/OstreeOstreeObjectResponse.md +27 -0
  19. data/docs/OstreeOstreeRefResponse.md +25 -0
  20. data/docs/OstreeOstreeRemote.md +59 -0
  21. data/docs/OstreeOstreeRemoteResponse.md +55 -0
  22. data/docs/OstreeOstreeRepository.md +25 -0
  23. data/docs/OstreeOstreeRepositoryResponse.md +33 -0
  24. data/docs/OstreeOstreeSummaryResponse.md +21 -0
  25. data/docs/OstreeRepoImport.md +23 -0
  26. data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
  27. data/docs/PaginatedostreeOstreeCommitResponseList.md +23 -0
  28. data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
  29. data/docs/PaginatedostreeOstreeDistributionResponseList.md +23 -0
  30. data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
  31. data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
  32. data/docs/PaginatedostreeOstreeRemoteResponseList.md +23 -0
  33. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +23 -0
  34. data/docs/PaginatedostreeOstreeSummaryResponseList.md +23 -0
  35. data/docs/PatchedostreeOstreeDistribution.md +27 -0
  36. data/docs/PatchedostreeOstreeRemote.md +59 -0
  37. data/docs/PatchedostreeOstreeRepository.md +25 -0
  38. data/docs/PolicyEnum.md +16 -0
  39. data/docs/RemotesOstreeApi.md +376 -0
  40. data/docs/RepositoriesOstreeApi.md +532 -0
  41. data/docs/RepositoriesOstreeVersionsApi.md +271 -0
  42. data/docs/RepositoryAddRemoveContent.md +21 -0
  43. data/docs/RepositorySyncURL.md +19 -0
  44. data/docs/RepositoryVersion.md +17 -0
  45. data/docs/RepositoryVersionResponse.md +27 -0
  46. data/git_push.sh +58 -0
  47. data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
  48. data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
  49. data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
  50. data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
  51. data/lib/pulp_ostree_client/api/content_summaries_api.rb +170 -0
  52. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +457 -0
  53. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +463 -0
  54. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +655 -0
  55. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +339 -0
  56. data/lib/pulp_ostree_client/api_client.rb +406 -0
  57. data/lib/pulp_ostree_client/api_error.rb +57 -0
  58. data/lib/pulp_ostree_client/configuration.rb +250 -0
  59. data/lib/pulp_ostree_client/models/async_operation_response.rb +213 -0
  60. data/lib/pulp_ostree_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_ostree_client/models/content_summary_response.rb +246 -0
  62. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
  63. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +232 -0
  64. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +270 -0
  65. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +299 -0
  66. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
  67. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +260 -0
  68. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +536 -0
  69. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +510 -0
  70. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +270 -0
  71. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +307 -0
  72. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +232 -0
  73. data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
  74. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +237 -0
  75. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +237 -0
  76. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
  77. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +237 -0
  78. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
  79. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +237 -0
  80. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +237 -0
  81. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +237 -0
  82. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +237 -0
  83. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +260 -0
  84. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +526 -0
  85. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +265 -0
  86. data/lib/pulp_ostree_client/models/policy_enum.rb +36 -0
  87. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +232 -0
  88. data/lib/pulp_ostree_client/models/repository_sync_url.rb +220 -0
  89. data/lib/pulp_ostree_client/models/repository_version.rb +208 -0
  90. data/lib/pulp_ostree_client/models/repository_version_response.rb +255 -0
  91. data/lib/pulp_ostree_client/version.rb +15 -0
  92. data/lib/pulp_ostree_client.rb +80 -0
  93. data/pulp_ostree_client.gemspec +39 -0
  94. data/spec/api/content_commits_api_spec.rb +68 -0
  95. data/spec/api/content_configs_api_spec.rb +68 -0
  96. data/spec/api/content_objects_api_spec.rb +68 -0
  97. data/spec/api/content_refs_api_spec.rb +68 -0
  98. data/spec/api/content_summaries_api_spec.rb +68 -0
  99. data/spec/api/distributions_ostree_api_spec.rb +125 -0
  100. data/spec/api/remotes_ostree_api_spec.rb +127 -0
  101. data/spec/api/repositories_ostree_api_spec.rb +160 -0
  102. data/spec/api/repositories_ostree_versions_api_spec.rb +104 -0
  103. data/spec/api_client_spec.rb +188 -0
  104. data/spec/configuration_spec.rb +42 -0
  105. data/spec/models/async_operation_response_spec.rb +41 -0
  106. data/spec/models/content_summary_response_spec.rb +53 -0
  107. data/spec/models/content_summary_spec.rb +53 -0
  108. data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
  109. data/spec/models/ostree_ostree_config_response_spec.rb +53 -0
  110. data/spec/models/ostree_ostree_distribution_response_spec.rb +89 -0
  111. data/spec/models/ostree_ostree_distribution_spec.rb +71 -0
  112. data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
  113. data/spec/models/ostree_ostree_ref_response_spec.rb +65 -0
  114. data/spec/models/ostree_ostree_remote_response_spec.rb +155 -0
  115. data/spec/models/ostree_ostree_remote_spec.rb +167 -0
  116. data/spec/models/ostree_ostree_repository_response_spec.rb +89 -0
  117. data/spec/models/ostree_ostree_repository_spec.rb +65 -0
  118. data/spec/models/ostree_ostree_summary_response_spec.rb +53 -0
  119. data/spec/models/ostree_repo_import_spec.rb +59 -0
  120. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  121. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +59 -0
  122. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
  123. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +59 -0
  124. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
  125. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
  126. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +59 -0
  127. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +59 -0
  128. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +59 -0
  129. data/spec/models/patchedostree_ostree_distribution_spec.rb +71 -0
  130. data/spec/models/patchedostree_ostree_remote_spec.rb +167 -0
  131. data/spec/models/patchedostree_ostree_repository_spec.rb +65 -0
  132. data/spec/models/policy_enum_spec.rb +35 -0
  133. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  134. data/spec/models/repository_sync_url_spec.rb +47 -0
  135. data/spec/models/repository_version_response_spec.rb +71 -0
  136. data/spec/models/repository_version_spec.rb +41 -0
  137. data/spec/spec_helper.rb +111 -0
  138. metadata +277 -0
@@ -0,0 +1,15 @@
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
+ module PulpOstreeClient
14
+ VERSION = '2.0.0a1'
15
+ end
@@ -0,0 +1,80 @@
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
+ # Common files
14
+ require 'pulp_ostree_client/api_client'
15
+ require 'pulp_ostree_client/api_error'
16
+ require 'pulp_ostree_client/version'
17
+ require 'pulp_ostree_client/configuration'
18
+
19
+ # Models
20
+ require 'pulp_ostree_client/models/async_operation_response'
21
+ require 'pulp_ostree_client/models/content_summary'
22
+ require 'pulp_ostree_client/models/content_summary_response'
23
+ require 'pulp_ostree_client/models/ostree_ostree_commit_response'
24
+ require 'pulp_ostree_client/models/ostree_ostree_config_response'
25
+ require 'pulp_ostree_client/models/ostree_ostree_distribution'
26
+ require 'pulp_ostree_client/models/ostree_ostree_distribution_response'
27
+ require 'pulp_ostree_client/models/ostree_ostree_object_response'
28
+ require 'pulp_ostree_client/models/ostree_ostree_ref_response'
29
+ require 'pulp_ostree_client/models/ostree_ostree_remote'
30
+ require 'pulp_ostree_client/models/ostree_ostree_remote_response'
31
+ require 'pulp_ostree_client/models/ostree_ostree_repository'
32
+ require 'pulp_ostree_client/models/ostree_ostree_repository_response'
33
+ require 'pulp_ostree_client/models/ostree_ostree_summary_response'
34
+ require 'pulp_ostree_client/models/ostree_repo_import'
35
+ require 'pulp_ostree_client/models/paginated_repository_version_response_list'
36
+ require 'pulp_ostree_client/models/paginatedostree_ostree_commit_response_list'
37
+ require 'pulp_ostree_client/models/paginatedostree_ostree_config_response_list'
38
+ require 'pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list'
39
+ require 'pulp_ostree_client/models/paginatedostree_ostree_object_response_list'
40
+ require 'pulp_ostree_client/models/paginatedostree_ostree_ref_response_list'
41
+ require 'pulp_ostree_client/models/paginatedostree_ostree_remote_response_list'
42
+ require 'pulp_ostree_client/models/paginatedostree_ostree_repository_response_list'
43
+ require 'pulp_ostree_client/models/paginatedostree_ostree_summary_response_list'
44
+ require 'pulp_ostree_client/models/patchedostree_ostree_distribution'
45
+ require 'pulp_ostree_client/models/patchedostree_ostree_remote'
46
+ require 'pulp_ostree_client/models/patchedostree_ostree_repository'
47
+ require 'pulp_ostree_client/models/policy_enum'
48
+ require 'pulp_ostree_client/models/repository_add_remove_content'
49
+ require 'pulp_ostree_client/models/repository_sync_url'
50
+ require 'pulp_ostree_client/models/repository_version'
51
+ require 'pulp_ostree_client/models/repository_version_response'
52
+
53
+ # APIs
54
+ require 'pulp_ostree_client/api/content_commits_api'
55
+ require 'pulp_ostree_client/api/content_configs_api'
56
+ require 'pulp_ostree_client/api/content_objects_api'
57
+ require 'pulp_ostree_client/api/content_refs_api'
58
+ require 'pulp_ostree_client/api/content_summaries_api'
59
+ require 'pulp_ostree_client/api/distributions_ostree_api'
60
+ require 'pulp_ostree_client/api/remotes_ostree_api'
61
+ require 'pulp_ostree_client/api/repositories_ostree_api'
62
+ require 'pulp_ostree_client/api/repositories_ostree_versions_api'
63
+
64
+ module PulpOstreeClient
65
+ class << self
66
+ # Customize default settings for the SDK using block.
67
+ # PulpOstreeClient.configure do |config|
68
+ # config.username = "xxx"
69
+ # config.password = "xxx"
70
+ # end
71
+ # If no block given, return the default Configuration object.
72
+ def configure
73
+ if block_given?
74
+ yield(Configuration.default)
75
+ else
76
+ Configuration.default
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,39 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Pulp 3 API
5
+
6
+ #Fetch, Upload, Organize, and Distribute Software Packages
7
+
8
+ The version of the OpenAPI document: v3
9
+ Contact: pulp-list@redhat.com
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 4.3.1
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "pulp_ostree_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "pulp_ostree_client"
20
+ s.version = PulpOstreeClient::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = ["pulp-list@redhat.com"]
24
+ s.homepage = "https://openapi-generator.tech"
25
+ s.summary = "Pulp 3 API Ruby Gem"
26
+ s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
+ s.license = 'GPL-2.0+'
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+
35
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
+ s.test_files = `find spec/*`.split("\n")
37
+ s.executables = []
38
+ s.require_paths = ["lib"]
39
+ end
@@ -0,0 +1,68 @@
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 PulpOstreeClient::ContentCommitsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentCommitsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpOstreeClient::ContentCommitsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentCommitsApi' do
30
+ it 'should create an instance of ContentCommitsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentCommitsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List ostree commits
37
+ # A ViewSet class for OSTree commits.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :repository_version Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
+ # @option opts [String] :fields A list of fields to include in the response.
46
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @return [PaginatedostreeOstreeCommitResponseList]
48
+ describe 'list test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for read
55
+ # Inspect an ostree commit
56
+ # A ViewSet class for OSTree commits.
57
+ # @param ostree_ostree_commit_href
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [String] :fields A list of fields to include in the response.
60
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [OstreeOstreeCommitResponse]
62
+ describe 'read test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,68 @@
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 PulpOstreeClient::ContentConfigsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentConfigsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpOstreeClient::ContentConfigsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentConfigsApi' do
30
+ it 'should create an instance of ContentConfigsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentConfigsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List ostree configs
37
+ # A ViewSet class for OSTree repository configurations.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :repository_version Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
+ # @option opts [String] :fields A list of fields to include in the response.
46
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @return [PaginatedostreeOstreeConfigResponseList]
48
+ describe 'list test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for read
55
+ # Inspect an ostree config
56
+ # A ViewSet class for OSTree repository configurations.
57
+ # @param ostree_ostree_config_href
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [String] :fields A list of fields to include in the response.
60
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [OstreeOstreeConfigResponse]
62
+ describe 'read test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,68 @@
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 PulpOstreeClient::ContentObjectsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentObjectsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpOstreeClient::ContentObjectsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentObjectsApi' do
30
+ it 'should create an instance of ContentObjectsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentObjectsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List ostree objects
37
+ # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :repository_version Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
+ # @option opts [String] :fields A list of fields to include in the response.
46
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @return [PaginatedostreeOstreeObjectResponseList]
48
+ describe 'list test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for read
55
+ # Inspect an ostree object
56
+ # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
57
+ # @param ostree_ostree_object_href
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [String] :fields A list of fields to include in the response.
60
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [OstreeOstreeObjectResponse]
62
+ describe 'read test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,68 @@
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 PulpOstreeClient::ContentRefsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentRefsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpOstreeClient::ContentRefsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentRefsApi' do
30
+ it 'should create an instance of ContentRefsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentRefsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List ostree refs
37
+ # A ViewSet class for OSTree head commits.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :repository_version Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
+ # @option opts [String] :fields A list of fields to include in the response.
46
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @return [PaginatedostreeOstreeRefResponseList]
48
+ describe 'list test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for read
55
+ # Inspect an ostree ref
56
+ # A ViewSet class for OSTree head commits.
57
+ # @param ostree_ostree_ref_href
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [String] :fields A list of fields to include in the response.
60
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [OstreeOstreeRefResponse]
62
+ describe 'read test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,68 @@
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 PulpOstreeClient::ContentSummariesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentSummariesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpOstreeClient::ContentSummariesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentSummariesApi' do
30
+ it 'should create an instance of ContentSummariesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentSummariesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List ostree summarys
37
+ # A ViewSet class for OSTree repository summary files.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :repository_version Repository Version referenced by HREF
43
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
+ # @option opts [String] :fields A list of fields to include in the response.
46
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @return [PaginatedostreeOstreeSummaryResponseList]
48
+ describe 'list test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for read
55
+ # Inspect an ostree summary
56
+ # A ViewSet class for OSTree repository summary files.
57
+ # @param ostree_ostree_summary_href
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [String] :fields A list of fields to include in the response.
60
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [OstreeOstreeSummaryResponse]
62
+ describe 'read test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end