pulp_deb_client 2.0.0b2 → 2.0.0b3

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 (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -18
  3. data/docs/ContentGenericContentsApi.md +12 -4
  4. data/docs/ContentInstallerFileIndexApi.md +20 -8
  5. data/docs/ContentInstallerPackagesApi.md +42 -4
  6. data/docs/ContentPackageIndexApi.md +20 -8
  7. data/docs/ContentPackagesApi.md +46 -6
  8. data/docs/{ContentReleasesApi.md → ContentReleaseFilesApi.md} +44 -32
  9. data/docs/ContentSummary.md +21 -0
  10. data/docs/{InstallerPackage.md → DebBasePackage.md} +40 -46
  11. data/docs/{DebDistribution.md → DebDebDistribution.md} +6 -6
  12. data/docs/{DebPublication.md → DebDebPublication.md} +5 -7
  13. data/docs/{DebRemote.md → DebDebRemote.md} +15 -21
  14. data/docs/DebDebRepository.md +27 -0
  15. data/docs/{GenericContent.md → DebGenericContent.md} +11 -17
  16. data/docs/{InstallerFileIndex.md → DebInstallerFileIndex.md} +5 -7
  17. data/docs/{PackageIndex.md → DebPackageIndex.md} +5 -7
  18. data/docs/{Release.md → DebReleaseFile.md} +5 -7
  19. data/docs/{VerbatimPublication.md → DebVerbatimPublication.md} +5 -7
  20. data/docs/DistributionsAptApi.md +16 -12
  21. data/docs/InlineResponse200.md +1 -1
  22. data/docs/InlineResponse2001.md +1 -1
  23. data/docs/InlineResponse20010.md +23 -0
  24. data/docs/InlineResponse2002.md +1 -1
  25. data/docs/InlineResponse2003.md +1 -1
  26. data/docs/InlineResponse2004.md +1 -1
  27. data/docs/InlineResponse2005.md +1 -1
  28. data/docs/InlineResponse2006.md +1 -1
  29. data/docs/InlineResponse2007.md +1 -1
  30. data/docs/InlineResponse2008.md +1 -1
  31. data/docs/InlineResponse2009.md +1 -1
  32. data/docs/PublicationsAptApi.md +12 -8
  33. data/docs/PublicationsVerbatimApi.md +12 -8
  34. data/docs/RemotesAptApi.md +30 -81
  35. data/docs/RepositoriesAptApi.md +465 -0
  36. data/docs/RepositoriesDebVersionsApi.md +214 -0
  37. data/docs/RepositoryAddRemoveContent.md +21 -0
  38. data/docs/RepositorySyncURL.md +2 -2
  39. data/docs/RepositoryVersion.md +25 -0
  40. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +16 -4
  41. data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +27 -9
  42. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +61 -4
  43. data/lib/pulp_deb_client/api/content_package_index_api.rb +27 -9
  44. data/lib/pulp_deb_client/api/content_packages_api.rb +67 -7
  45. data/lib/pulp_deb_client/api/{content_releases_api.rb → content_release_files_api.rb} +61 -43
  46. data/lib/pulp_deb_client/api/distributions_apt_api.rb +19 -13
  47. data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -9
  48. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -9
  49. data/lib/pulp_deb_client/api/remotes_apt_api.rb +40 -102
  50. data/lib/pulp_deb_client/api/repositories_apt_api.rb +568 -0
  51. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +268 -0
  52. data/lib/pulp_deb_client/api_client.rb +1 -1
  53. data/lib/pulp_deb_client/api_error.rb +1 -1
  54. data/lib/pulp_deb_client/configuration.rb +1 -1
  55. data/lib/pulp_deb_client/models/async_operation_response.rb +12 -2
  56. data/lib/pulp_deb_client/models/content_summary.rb +246 -0
  57. data/lib/pulp_deb_client/models/{package.rb → deb_base_package.rb} +28 -62
  58. data/lib/pulp_deb_client/models/{deb_distribution.rb → deb_deb_distribution.rb} +30 -36
  59. data/lib/pulp_deb_client/models/{deb_publication.rb → deb_deb_publication.rb} +29 -42
  60. data/lib/pulp_deb_client/models/{deb_remote.rb → deb_deb_remote.rb} +87 -147
  61. data/lib/pulp_deb_client/models/deb_deb_repository.rb +294 -0
  62. data/lib/pulp_deb_client/models/{generic_content.rb → deb_generic_content.rb} +28 -62
  63. data/lib/pulp_deb_client/models/{installer_file_index.rb → deb_installer_file_index.rb} +28 -42
  64. data/lib/pulp_deb_client/models/{package_index.rb → deb_package_index.rb} +28 -42
  65. data/lib/pulp_deb_client/models/{release.rb → deb_release_file.rb} +28 -42
  66. data/lib/pulp_deb_client/models/{verbatim_publication.rb → deb_verbatim_publication.rb} +29 -42
  67. data/lib/pulp_deb_client/models/inline_response200.rb +15 -3
  68. data/lib/pulp_deb_client/models/inline_response2001.rb +15 -3
  69. data/lib/pulp_deb_client/models/inline_response20010.rb +247 -0
  70. data/lib/pulp_deb_client/models/inline_response2002.rb +15 -3
  71. data/lib/pulp_deb_client/models/inline_response2003.rb +15 -3
  72. data/lib/pulp_deb_client/models/inline_response2004.rb +15 -3
  73. data/lib/pulp_deb_client/models/inline_response2005.rb +15 -3
  74. data/lib/pulp_deb_client/models/inline_response2006.rb +15 -3
  75. data/lib/pulp_deb_client/models/inline_response2007.rb +15 -3
  76. data/lib/pulp_deb_client/models/inline_response2008.rb +15 -3
  77. data/lib/pulp_deb_client/models/inline_response2009.rb +15 -3
  78. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +231 -0
  79. data/lib/pulp_deb_client/models/repository_sync_url.rb +22 -12
  80. data/lib/pulp_deb_client/models/repository_version.rb +244 -0
  81. data/lib/pulp_deb_client/version.rb +2 -2
  82. data/lib/pulp_deb_client.rb +18 -12
  83. data/pulp_deb_client.gemspec +1 -1
  84. data/spec/api/content_generic_contents_api_spec.rb +6 -2
  85. data/spec/api/content_installer_file_index_api_spec.rb +9 -3
  86. data/spec/api/content_installer_packages_api_spec.rb +21 -2
  87. data/spec/api/content_package_index_api_spec.rb +9 -3
  88. data/spec/api/content_packages_api_spec.rb +23 -3
  89. data/spec/api/{content_releases_api_spec.rb → content_release_files_api_spec.rb} +23 -17
  90. data/spec/api/distributions_apt_api_spec.rb +5 -3
  91. data/spec/api/publications_apt_api_spec.rb +5 -3
  92. data/spec/api/publications_verbatim_api_spec.rb +5 -3
  93. data/spec/api/remotes_apt_api_spec.rb +12 -22
  94. data/spec/api/repositories_apt_api_spec.rb +141 -0
  95. data/spec/api/repositories_deb_versions_api_spec.rb +91 -0
  96. data/spec/api_client_spec.rb +2 -2
  97. data/spec/configuration_spec.rb +1 -1
  98. data/spec/models/async_operation_response_spec.rb +1 -1
  99. data/spec/models/content_summary_spec.rb +53 -0
  100. data/spec/models/{package_spec.rb → deb_base_package_spec.rb} +9 -27
  101. data/spec/models/{deb_distribution_spec.rb → deb_deb_distribution_spec.rb} +9 -9
  102. data/spec/models/{deb_publication_spec.rb → deb_deb_publication_spec.rb} +9 -15
  103. data/spec/models/{deb_remote_spec.rb → deb_deb_remote_spec.rb} +14 -32
  104. data/spec/models/{verbatim_publication_spec.rb → deb_deb_repository_spec.rb} +13 -13
  105. data/spec/models/{generic_content_spec.rb → deb_generic_content_spec.rb} +9 -27
  106. data/spec/models/{package_index_spec.rb → deb_installer_file_index_spec.rb} +9 -15
  107. data/spec/models/{installer_file_index_spec.rb → deb_package_index_spec.rb} +9 -15
  108. data/spec/models/{release_spec.rb → deb_release_file_spec.rb} +9 -15
  109. data/spec/models/deb_verbatim_publication_spec.rb +65 -0
  110. data/spec/models/inline_response20010_spec.rb +59 -0
  111. data/spec/models/inline_response2001_spec.rb +1 -1
  112. data/spec/models/inline_response2002_spec.rb +1 -1
  113. data/spec/models/inline_response2003_spec.rb +1 -1
  114. data/spec/models/inline_response2004_spec.rb +1 -1
  115. data/spec/models/inline_response2005_spec.rb +1 -1
  116. data/spec/models/inline_response2006_spec.rb +1 -1
  117. data/spec/models/inline_response2007_spec.rb +1 -1
  118. data/spec/models/inline_response2008_spec.rb +1 -1
  119. data/spec/models/inline_response2009_spec.rb +1 -1
  120. data/spec/models/inline_response200_spec.rb +1 -1
  121. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  122. data/spec/models/repository_sync_url_spec.rb +2 -2
  123. data/spec/models/repository_version_spec.rb +65 -0
  124. data/spec/spec_helper.rb +1 -1
  125. metadata +70 -46
  126. data/docs/Package.md +0 -99
  127. data/lib/pulp_deb_client/models/installer_package.rb +0 -1101
  128. data/spec/models/installer_package_spec.rb +0 -287
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -51,12 +51,15 @@ describe 'ContentGenericContentsApi' do
51
51
  # List generic contents
52
52
  # A ViewSet for GenericContent.
53
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :relative_path Filter results where relative_path matches value
55
+ # @option opts [String] :sha256 Filter results where sha256 matches value
54
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
55
57
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
56
58
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
57
59
  # @option opts [Integer] :limit Number of results to return per page.
58
60
  # @option opts [Integer] :offset The initial index from which to return the results.
59
61
  # @option opts [String] :fields A list of fields to include in the response.
62
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
60
63
  # @return [InlineResponse200]
61
64
  describe 'list test' do
62
65
  it 'should work' do
@@ -70,7 +73,8 @@ describe 'ContentGenericContentsApi' do
70
73
  # @param generic_content_href URI of Generic Content. e.g.: /pulp/api/v3/content/deb/generic_contents/1/
71
74
  # @param [Hash] opts the optional parameters
72
75
  # @option opts [String] :fields A list of fields to include in the response.
73
- # @return [GenericContent]
76
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
77
+ # @return [DebGenericContent]
74
78
  describe 'read test' do
75
79
  it 'should work' do
76
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'ContentInstallerFileIndexApi' do
37
37
  # A ViewSet for InstallerFileIndex.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [InstallerFileIndex]
40
+ # @return [DebInstallerFileIndex]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -48,12 +48,17 @@ describe 'ContentInstallerFileIndexApi' do
48
48
  # List InstallerFileIndices
49
49
  # A ViewSet for InstallerFileIndex.
50
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :component Filter results where component matches value
52
+ # @option opts [String] :architecture Filter results where architecture matches value
53
+ # @option opts [String] :relative_path Filter results where relative_path matches value
54
+ # @option opts [String] :sha256 Filter results where sha256 matches value
51
55
  # @option opts [String] :repository_version Repository Version referenced by HREF
52
56
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
57
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
58
  # @option opts [Integer] :limit Number of results to return per page.
55
59
  # @option opts [Integer] :offset The initial index from which to return the results.
56
60
  # @option opts [String] :fields A list of fields to include in the response.
61
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
57
62
  # @return [InlineResponse2001]
58
63
  describe 'list test' do
59
64
  it 'should work' do
@@ -67,7 +72,8 @@ describe 'ContentInstallerFileIndexApi' do
67
72
  # @param installer_file_index_href URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_index/1/
68
73
  # @param [Hash] opts the optional parameters
69
74
  # @option opts [String] :fields A list of fields to include in the response.
70
- # @return [InstallerFileIndex]
75
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
+ # @return [DebInstallerFileIndex]
71
77
  describe 'read test' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -51,12 +51,30 @@ describe 'ContentInstallerPackagesApi' do
51
51
  # List installer packages
52
52
  # A ViewSet for InstallerPackage.
53
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :package Filter results where package matches value
55
+ # @option opts [String] :source Filter results where source matches value
56
+ # @option opts [String] :version Filter results where version matches value
57
+ # @option opts [String] :architecture Filter results where architecture matches value
58
+ # @option opts [String] :section Filter results where section matches value
59
+ # @option opts [String] :priority Filter results where priority matches value
60
+ # @option opts [String] :origin Filter results where origin matches value
61
+ # @option opts [String] :tag Filter results where tag matches value
62
+ # @option opts [String] :essential Filter results where essential matches value
63
+ # @option opts [String] :build_essential Filter results where build_essential matches value
64
+ # @option opts [Float] :installed_size Filter results where installed_size matches value
65
+ # @option opts [String] :maintainer Filter results where maintainer matches value
66
+ # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
67
+ # @option opts [String] :built_using Filter results where built_using matches value
68
+ # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
69
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value
70
+ # @option opts [String] :sha256 Filter results where sha256 matches value
54
71
  # @option opts [String] :repository_version Repository Version referenced by HREF
55
72
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
56
73
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
57
74
  # @option opts [Integer] :limit Number of results to return per page.
58
75
  # @option opts [Integer] :offset The initial index from which to return the results.
59
76
  # @option opts [String] :fields A list of fields to include in the response.
77
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
60
78
  # @return [InlineResponse2002]
61
79
  describe 'list test' do
62
80
  it 'should work' do
@@ -70,7 +88,8 @@ describe 'ContentInstallerPackagesApi' do
70
88
  # @param installer_package_href URI of Installer Package. e.g.: /pulp/api/v3/content/deb/installer_packages/1/
71
89
  # @param [Hash] opts the optional parameters
72
90
  # @option opts [String] :fields A list of fields to include in the response.
73
- # @return [InstallerPackage]
91
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
92
+ # @return [DebBasePackage]
74
93
  describe 'read test' do
75
94
  it 'should work' do
76
95
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'ContentPackageIndexApi' do
37
37
  # A ViewSet for PackageIndex.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [PackageIndex]
40
+ # @return [DebPackageIndex]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -48,12 +48,17 @@ describe 'ContentPackageIndexApi' do
48
48
  # List PackageIndices
49
49
  # A ViewSet for PackageIndex.
50
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :component Filter results where component matches value
52
+ # @option opts [String] :architecture Filter results where architecture matches value
53
+ # @option opts [String] :relative_path Filter results where relative_path matches value
54
+ # @option opts [String] :sha256 Filter results where sha256 matches value
51
55
  # @option opts [String] :repository_version Repository Version referenced by HREF
52
56
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
57
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
58
  # @option opts [Integer] :limit Number of results to return per page.
55
59
  # @option opts [Integer] :offset The initial index from which to return the results.
56
60
  # @option opts [String] :fields A list of fields to include in the response.
61
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
57
62
  # @return [InlineResponse2003]
58
63
  describe 'list test' do
59
64
  it 'should work' do
@@ -67,7 +72,8 @@ describe 'ContentPackageIndexApi' do
67
72
  # @param package_index_href URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_index/1/
68
73
  # @param [Hash] opts the optional parameters
69
74
  # @option opts [String] :fields A list of fields to include in the response.
70
- # @return [PackageIndex]
75
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
+ # @return [DebPackageIndex]
71
77
  describe 'read test' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -51,13 +51,32 @@ describe 'ContentPackagesApi' do
51
51
  # List packages
52
52
  # A ViewSet for Package.
53
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :package Filter results where package matches value
55
+ # @option opts [String] :source Filter results where source matches value
56
+ # @option opts [String] :version Filter results where version matches value
57
+ # @option opts [String] :architecture Filter results where architecture matches value
58
+ # @option opts [String] :section Filter results where section matches value
59
+ # @option opts [String] :priority Filter results where priority matches value
60
+ # @option opts [String] :origin Filter results where origin matches value
61
+ # @option opts [String] :tag Filter results where tag matches value
62
+ # @option opts [String] :essential Filter results where essential matches value
63
+ # @option opts [String] :build_essential Filter results where build_essential matches value
64
+ # @option opts [Float] :installed_size Filter results where installed_size matches value
65
+ # @option opts [String] :maintainer Filter results where maintainer matches value
66
+ # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
67
+ # @option opts [String] :built_using Filter results where built_using matches value
68
+ # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
69
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value
70
+ # @option opts [String] :sha256 Filter results where sha256 matches value
71
+ # @option opts [String] :relative_path Filter results where relative_path matches value
54
72
  # @option opts [String] :repository_version Repository Version referenced by HREF
55
73
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
56
74
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
57
75
  # @option opts [Integer] :limit Number of results to return per page.
58
76
  # @option opts [Integer] :offset The initial index from which to return the results.
59
77
  # @option opts [String] :fields A list of fields to include in the response.
60
- # @return [InlineResponse2004]
78
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
79
+ # @return [InlineResponse2002]
61
80
  describe 'list test' do
62
81
  it 'should work' do
63
82
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -70,7 +89,8 @@ describe 'ContentPackagesApi' do
70
89
  # @param package_href URI of Package. e.g.: /pulp/api/v3/content/deb/packages/1/
71
90
  # @param [Hash] opts the optional parameters
72
91
  # @option opts [String] :fields A list of fields to include in the response.
73
- # @return [Package]
92
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
+ # @return [DebBasePackage]
74
94
  describe 'read test' do
75
95
  it 'should work' do
76
96
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,38 +6,38 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for PulpDebClient::ContentReleasesApi
16
+ # Unit tests for PulpDebClient::ContentReleaseFilesApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'ContentReleasesApi' do
19
+ describe 'ContentReleaseFilesApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpDebClient::ContentReleasesApi.new
22
+ @api_instance = PulpDebClient::ContentReleaseFilesApi.new
23
23
  end
24
24
 
25
25
  after do
26
26
  # run after each test
27
27
  end
28
28
 
29
- describe 'test an instance of ContentReleasesApi' do
30
- it 'should create an instance of ContentReleasesApi' do
31
- expect(@api_instance).to be_instance_of(PulpDebClient::ContentReleasesApi)
29
+ describe 'test an instance of ContentReleaseFilesApi' do
30
+ it 'should create an instance of ContentReleaseFilesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDebClient::ContentReleaseFilesApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # Create a release
37
- # A ViewSet for Release.
36
+ # Create a release file
37
+ # A ViewSet for ReleaseFile.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [Release]
40
+ # @return [DebReleaseFile]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -45,16 +45,21 @@ describe 'ContentReleasesApi' do
45
45
  end
46
46
 
47
47
  # unit tests for list
48
- # List releases
49
- # A ViewSet for Release.
48
+ # List release files
49
+ # A ViewSet for ReleaseFile.
50
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :codename Filter results where codename matches value
52
+ # @option opts [String] :suite Filter results where suite matches value
53
+ # @option opts [String] :relative_path Filter results where relative_path matches value
54
+ # @option opts [String] :sha256 Filter results where sha256 matches value
51
55
  # @option opts [String] :repository_version Repository Version referenced by HREF
52
56
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
57
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
58
  # @option opts [Integer] :limit Number of results to return per page.
55
59
  # @option opts [Integer] :offset The initial index from which to return the results.
56
60
  # @option opts [String] :fields A list of fields to include in the response.
57
- # @return [InlineResponse2005]
61
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
62
+ # @return [InlineResponse2004]
58
63
  describe 'list test' do
59
64
  it 'should work' do
60
65
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,12 +67,13 @@ describe 'ContentReleasesApi' do
62
67
  end
63
68
 
64
69
  # unit tests for read
65
- # Inspect a release
66
- # A ViewSet for Release.
67
- # @param release_href URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/
70
+ # Inspect a release file
71
+ # A ViewSet for ReleaseFile.
72
+ # @param release_file_href URI of Release File. e.g.: /pulp/api/v3/content/deb/release_files/1/
68
73
  # @param [Hash] opts the optional parameters
69
74
  # @option opts [String] :fields A list of fields to include in the response.
70
- # @return [Release]
75
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
+ # @return [DebReleaseFile]
71
77
  describe 'read test' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -69,7 +69,8 @@ describe 'DistributionsAptApi' do
69
69
  # @option opts [Integer] :limit Number of results to return per page.
70
70
  # @option opts [Integer] :offset The initial index from which to return the results.
71
71
  # @option opts [String] :fields A list of fields to include in the response.
72
- # @return [InlineResponse2006]
72
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
+ # @return [InlineResponse2005]
73
74
  describe 'list test' do
74
75
  it 'should work' do
75
76
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -95,7 +96,8 @@ describe 'DistributionsAptApi' do
95
96
  # @param deb_distribution_href URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
96
97
  # @param [Hash] opts the optional parameters
97
98
  # @option opts [String] :fields A list of fields to include in the response.
98
- # @return [DebDistribution]
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
+ # @return [DebDebDistribution]
99
101
  describe 'read test' do
100
102
  it 'should work' do
101
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -64,7 +64,8 @@ describe 'PublicationsAptApi' do
64
64
  # @option opts [Integer] :limit Number of results to return per page.
65
65
  # @option opts [Integer] :offset The initial index from which to return the results.
66
66
  # @option opts [String] :fields A list of fields to include in the response.
67
- # @return [InlineResponse2007]
67
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
68
+ # @return [InlineResponse2006]
68
69
  describe 'list test' do
69
70
  it 'should work' do
70
71
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -77,7 +78,8 @@ describe 'PublicationsAptApi' do
77
78
  # @param deb_publication_href URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
78
79
  # @param [Hash] opts the optional parameters
79
80
  # @option opts [String] :fields A list of fields to include in the response.
80
- # @return [DebPublication]
81
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
82
+ # @return [DebDebPublication]
81
83
  describe 'read test' do
82
84
  it 'should work' do
83
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -64,7 +64,8 @@ describe 'PublicationsVerbatimApi' do
64
64
  # @option opts [Integer] :limit Number of results to return per page.
65
65
  # @option opts [Integer] :offset The initial index from which to return the results.
66
66
  # @option opts [String] :fields A list of fields to include in the response.
67
- # @return [InlineResponse2008]
67
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
68
+ # @return [InlineResponse2007]
68
69
  describe 'list test' do
69
70
  it 'should work' do
70
71
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -77,7 +78,8 @@ describe 'PublicationsVerbatimApi' do
77
78
  # @param verbatim_publication_href URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/
78
79
  # @param [Hash] opts the optional parameters
79
80
  # @option opts [String] :fields A list of fields to include in the response.
80
- # @return [VerbatimPublication]
81
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
82
+ # @return [DebVerbatimPublication]
81
83
  describe 'read test' do
82
84
  it 'should work' do
83
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'RemotesAptApi' do
37
37
  # A ViewSet for DebRemote.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebRemote]
40
+ # @return [DebDebRemote]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,16 +62,17 @@ describe 'RemotesAptApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [String] :name
64
64
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
66
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
67
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
68
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
65
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
66
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
67
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
68
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
69
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
70
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
71
71
  # @option opts [Integer] :limit Number of results to return per page.
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
- # @return [InlineResponse2009]
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [InlineResponse2008]
75
76
  describe 'list test' do
76
77
  it 'should work' do
77
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,25 +98,14 @@ describe 'RemotesAptApi' do
97
98
  # @param deb_remote_href URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
98
99
  # @param [Hash] opts the optional parameters
99
100
  # @option opts [String] :fields A list of fields to include in the response.
100
- # @return [DebRemote]
101
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @return [DebDebRemote]
101
103
  describe 'read test' do
102
104
  it 'should work' do
103
105
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
106
  end
105
107
  end
106
108
 
107
- # unit tests for sync
108
- # Trigger an asynchronous task to sync content
109
- # @param deb_remote_href URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
110
- # @param data
111
- # @param [Hash] opts the optional parameters
112
- # @return [AsyncOperationResponse]
113
- describe 'sync test' 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
109
  # unit tests for update
120
110
  # Update a deb remote
121
111
  # Trigger an asynchronous update task
@@ -0,0 +1,141 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDebClient::RepositoriesAptApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesAptApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDebClient::RepositoriesAptApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesAptApi' do
30
+ it 'should create an instance of RepositoriesAptApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDebClient::RepositoriesAptApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a deb repository
37
+ # A ViewSet for DebRepository.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DebDebRepository]
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 deb repository
49
+ # Trigger an asynchronous task to delete a repository.
50
+ # @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
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 deb repositorys
61
+ # A ViewSet for DebRepository.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :name
64
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
+ # @option opts [Integer] :limit Number of results to return per page.
66
+ # @option opts [Integer] :offset The initial index from which to return the results.
67
+ # @option opts [String] :fields A list of fields to include in the response.
68
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @return [InlineResponse2009]
70
+ describe 'list test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ # unit tests for modify
77
+ # Trigger an asynchronous task to create a new repository version.
78
+ # @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
79
+ # @param data
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [AsyncOperationResponse]
82
+ describe 'modify test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ # unit tests for partial_update
89
+ # Partially update a deb repository
90
+ # A ViewSet for DebRepository.
91
+ # @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
92
+ # @param data
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [DebDebRepository]
95
+ describe 'partial_update test' 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
+ # unit tests for read
102
+ # Inspect a deb repository
103
+ # A ViewSet for DebRepository.
104
+ # @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [String] :fields A list of fields to include in the response.
107
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
+ # @return [DebDebRepository]
109
+ describe 'read test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for sync
116
+ # Sync from remote
117
+ # Trigger an asynchronous task to sync content
118
+ # @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
119
+ # @param data
120
+ # @param [Hash] opts the optional parameters
121
+ # @return [AsyncOperationResponse]
122
+ describe 'sync test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
125
+ end
126
+ end
127
+
128
+ # unit tests for update
129
+ # Update a deb repository
130
+ # Trigger an asynchronous task to update a repository.
131
+ # @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
132
+ # @param data
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [AsyncOperationResponse]
135
+ describe 'update test' do
136
+ it 'should work' do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
141
+ end