pulp_deb_client 3.0.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -6
  3. data/docs/ContentGenericContentsApi.md +4 -4
  4. data/docs/ContentInstallerPackagesApi.md +4 -4
  5. data/docs/ContentPackagesApi.md +20 -4
  6. data/docs/ContentSourceIndicesApi.md +204 -0
  7. data/docs/ContentSourcePackagesApi.md +258 -0
  8. data/docs/ContentSourceReleaseComponentsApi.md +202 -0
  9. data/docs/DebGenericContent.md +2 -2
  10. data/docs/DebInstallerPackage.md +2 -2
  11. data/docs/DebPackage.md +2 -2
  12. data/docs/DebSourceIndex.md +25 -0
  13. data/docs/DebSourceIndexResponse.md +27 -0
  14. data/docs/DebSourcePackage.md +21 -0
  15. data/docs/DebSourcePackageReleaseComponent.md +21 -0
  16. data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
  17. data/docs/DebSourcePackageResponse.md +77 -0
  18. data/docs/PaginateddebSourceIndexResponseList.md +23 -0
  19. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
  20. data/docs/PaginateddebSourcePackageResponseList.md +23 -0
  21. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +4 -4
  22. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +4 -4
  23. data/lib/pulp_deb_client/api/content_packages_api.rb +28 -4
  24. data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
  25. data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
  26. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
  27. data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
  28. data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
  29. data/lib/pulp_deb_client/models/deb_package.rb +2 -2
  30. data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
  31. data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
  32. data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
  33. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
  34. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
  35. data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
  36. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
  37. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
  38. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
  39. data/lib/pulp_deb_client/version.rb +1 -1
  40. data/lib/pulp_deb_client.rb +12 -0
  41. data/spec/api/content_generic_contents_api_spec.rb +2 -2
  42. data/spec/api/content_installer_packages_api_spec.rb +2 -2
  43. data/spec/api/content_packages_api_spec.rb +10 -2
  44. data/spec/api/content_source_indices_api_spec.rb +86 -0
  45. data/spec/api/content_source_packages_api_spec.rb +113 -0
  46. data/spec/api/content_source_release_components_api_spec.rb +85 -0
  47. data/spec/models/deb_source_index_response_spec.rb +71 -0
  48. data/spec/models/deb_source_index_spec.rb +65 -0
  49. data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
  50. data/spec/models/deb_source_package_release_component_spec.rb +53 -0
  51. data/spec/models/deb_source_package_response_spec.rb +221 -0
  52. data/spec/models/deb_source_package_spec.rb +53 -0
  53. data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
  54. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
  55. data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
  56. metadata +110 -62
@@ -50,6 +50,12 @@ require 'pulp_deb_client/models/deb_release_component_response'
50
50
  require 'pulp_deb_client/models/deb_release_file'
51
51
  require 'pulp_deb_client/models/deb_release_file_response'
52
52
  require 'pulp_deb_client/models/deb_release_response'
53
+ require 'pulp_deb_client/models/deb_source_index'
54
+ require 'pulp_deb_client/models/deb_source_index_response'
55
+ require 'pulp_deb_client/models/deb_source_package'
56
+ require 'pulp_deb_client/models/deb_source_package_release_component'
57
+ require 'pulp_deb_client/models/deb_source_package_release_component_response'
58
+ require 'pulp_deb_client/models/deb_source_package_response'
53
59
  require 'pulp_deb_client/models/deb_verbatim_publication'
54
60
  require 'pulp_deb_client/models/deb_verbatim_publication_response'
55
61
  require 'pulp_deb_client/models/paginated_repository_version_response_list'
@@ -67,6 +73,9 @@ require 'pulp_deb_client/models/paginateddeb_release_architecture_response_list'
67
73
  require 'pulp_deb_client/models/paginateddeb_release_component_response_list'
68
74
  require 'pulp_deb_client/models/paginateddeb_release_file_response_list'
69
75
  require 'pulp_deb_client/models/paginateddeb_release_response_list'
76
+ require 'pulp_deb_client/models/paginateddeb_source_index_response_list'
77
+ require 'pulp_deb_client/models/paginateddeb_source_package_release_component_response_list'
78
+ require 'pulp_deb_client/models/paginateddeb_source_package_response_list'
70
79
  require 'pulp_deb_client/models/paginateddeb_verbatim_publication_response_list'
71
80
  require 'pulp_deb_client/models/patcheddeb_apt_distribution'
72
81
  require 'pulp_deb_client/models/patcheddeb_apt_remote'
@@ -91,6 +100,9 @@ require 'pulp_deb_client/api/content_release_architectures_api'
91
100
  require 'pulp_deb_client/api/content_release_components_api'
92
101
  require 'pulp_deb_client/api/content_release_files_api'
93
102
  require 'pulp_deb_client/api/content_releases_api'
103
+ require 'pulp_deb_client/api/content_source_indices_api'
104
+ require 'pulp_deb_client/api/content_source_packages_api'
105
+ require 'pulp_deb_client/api/content_source_release_components_api'
94
106
  require 'pulp_deb_client/api/deb_copy_api'
95
107
  require 'pulp_deb_client/api/distributions_apt_api'
96
108
  require 'pulp_deb_client/api/publications_apt_api'
@@ -39,8 +39,8 @@ describe 'ContentGenericContentsApi' do
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
41
  # @option opts [String] :artifact Artifact file representing the physical content
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
42
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
44
44
  # @return [AsyncOperationResponse]
45
45
  describe 'create test' do
46
46
  it 'should work' do
@@ -39,8 +39,8 @@ describe 'ContentInstallerPackagesApi' do
39
39
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
40
  # @option opts [String] :artifact Artifact file representing the physical content
41
41
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
42
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
44
44
  # @return [AsyncOperationResponse]
45
45
  describe 'create test' do
46
46
  it 'should work' do
@@ -39,8 +39,8 @@ describe 'ContentPackagesApi' do
39
39
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
40
  # @option opts [String] :artifact Artifact file representing the physical content
41
41
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
42
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
44
44
  # @option opts [String] :distribution Name of the distribution.
45
45
  # @option opts [String] :component Name of the component.
46
46
  # @return [AsyncOperationResponse]
@@ -68,6 +68,14 @@ describe 'ContentPackagesApi' do
68
68
  # @option opts [String] :origin Filter results where origin matches value
69
69
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
70
70
  # @option opts [String] :package Filter results where package matches value
71
+ # @option opts [String] :package__contains Filter results where package contains value
72
+ # @option opts [String] :package__icontains Filter results where package contains value
73
+ # @option opts [String] :package__iexact Filter results where package matches value
74
+ # @option opts [Array<String>] :package__in Filter results where package is in a comma-separated list of values
75
+ # @option opts [String] :package__iregex Filter results where package matches regex value
76
+ # @option opts [String] :package__istartswith Filter results where package starts with value
77
+ # @option opts [String] :package__regex Filter results where package matches regex value
78
+ # @option opts [String] :package__startswith Filter results where package starts with value
71
79
  # @option opts [String] :priority Filter results where priority matches value
72
80
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
81
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -0,0 +1,86 @@
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 PulpDebClient::ContentSourceIndicesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentSourceIndicesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDebClient::ContentSourceIndicesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentSourceIndicesApi' do
30
+ it 'should create an instance of ContentSourceIndicesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDebClient::ContentSourceIndicesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a source index
37
+ # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one &#39;Sources&#39; file. May optionally include one or more of &#39;Sources.gz&#39;, &#39;Sources.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file (with architecture always being &#39;source&#39;). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Sources&#39; files it needs when creating the publication. It does not make use of SourceIndex content.
38
+ # @param deb_source_index
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DebSourceIndexResponse]
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 list
48
+ # List SourceIndices
49
+ # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one &#39;Sources&#39; file. May optionally include one or more of &#39;Sources.gz&#39;, &#39;Sources.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file (with architecture always being &#39;source&#39;). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Sources&#39; files it needs when creating the publication. It does not make use of SourceIndex content.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :component Filter results where component matches value
52
+ # @option opts [Integer] :limit Number of results to return per page.
53
+ # @option opts [Integer] :offset The initial index from which to return the results.
54
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
56
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
57
+ # @option opts [String] :q
58
+ # @option opts [String] :relative_path Filter results where relative_path matches value
59
+ # @option opts [String] :repository_version Repository Version referenced by HREF
60
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
+ # @option opts [String] :sha256 Filter results where sha256 matches value
63
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
64
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
65
+ # @return [PaginateddebSourceIndexResponseList]
66
+ describe 'list test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ # unit tests for read
73
+ # Inspect a source index
74
+ # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one &#39;Sources&#39; file. May optionally include one or more of &#39;Sources.gz&#39;, &#39;Sources.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file (with architecture always being &#39;source&#39;). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Sources&#39; files it needs when creating the publication. It does not make use of SourceIndex content.
75
+ # @param deb_source_index_href
76
+ # @param [Hash] opts the optional parameters
77
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
78
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
79
+ # @return [DebSourceIndexResponse]
80
+ describe 'read test' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ end
@@ -0,0 +1,113 @@
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 PulpDebClient::ContentSourcePackagesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentSourcePackagesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDebClient::ContentSourcePackagesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentSourcePackagesApi' do
30
+ it 'should create an instance of ContentSourcePackagesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDebClient::ContentSourcePackagesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a source package
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
+ # @param deb_source_package
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
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 list
48
+ # List source packages
49
+ # A Debian Source Package file represents a &#39;.dsc&#39; file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one &#39;.dsc&#39; file.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :architecture Filter results where architecture matches value
52
+ # @option opts [String] :binary Filter results where binary matches value
53
+ # @option opts [String] :build_conflicts Filter results where build_conflicts matches value
54
+ # @option opts [String] :build_conflicts_arch Filter results where build_conflicts_arch matches value
55
+ # @option opts [String] :build_conflicts_indep Filter results where build_conflicts_indep matches value
56
+ # @option opts [String] :build_depends Filter results where build_depends matches value
57
+ # @option opts [String] :build_depends_arch Filter results where build_depends_arch matches value
58
+ # @option opts [String] :build_depends_indep Filter results where build_depends_indep matches value
59
+ # @option opts [String] :dgit Filter results where dgit matches value
60
+ # @option opts [String] :format Filter results where format matches value
61
+ # @option opts [String] :homepage Filter results where homepage matches value
62
+ # @option opts [Integer] :limit Number of results to return per page.
63
+ # @option opts [String] :maintainer Filter results where maintainer matches value
64
+ # @option opts [Integer] :offset The initial index from which to return the results.
65
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;format&#x60; - Format * &#x60;-format&#x60; - Format (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;binary&#x60; - Binary * &#x60;-binary&#x60; - Binary (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;uploaders&#x60; - Uploaders * &#x60;-uploaders&#x60; - Uploaders (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;vcs_browser&#x60; - Vcs browser * &#x60;-vcs_browser&#x60; - Vcs browser (descending) * &#x60;vcs_arch&#x60; - Vcs arch * &#x60;-vcs_arch&#x60; - Vcs arch (descending) * &#x60;vcs_bzr&#x60; - Vcs bzr * &#x60;-vcs_bzr&#x60; - Vcs bzr (descending) * &#x60;vcs_cvs&#x60; - Vcs cvs * &#x60;-vcs_cvs&#x60; - Vcs cvs (descending) * &#x60;vcs_darcs&#x60; - Vcs darcs * &#x60;-vcs_darcs&#x60; - Vcs darcs (descending) * &#x60;vcs_git&#x60; - Vcs git * &#x60;-vcs_git&#x60; - Vcs git (descending) * &#x60;vcs_hg&#x60; - Vcs hg * &#x60;-vcs_hg&#x60; - Vcs hg (descending) * &#x60;vcs_mtn&#x60; - Vcs mtn * &#x60;-vcs_mtn&#x60; - Vcs mtn (descending) * &#x60;vcs_snv&#x60; - Vcs snv * &#x60;-vcs_snv&#x60; - Vcs snv (descending) * &#x60;testsuite&#x60; - Testsuite * &#x60;-testsuite&#x60; - Testsuite (descending) * &#x60;dgit&#x60; - Dgit * &#x60;-dgit&#x60; - Dgit (descending) * &#x60;standards_version&#x60; - Standards version * &#x60;-standards_version&#x60; - Standards version (descending) * &#x60;build_depends&#x60; - Build depends * &#x60;-build_depends&#x60; - Build depends (descending) * &#x60;build_depends_indep&#x60; - Build depends indep * &#x60;-build_depends_indep&#x60; - Build depends indep (descending) * &#x60;build_depends_arch&#x60; - Build depends arch * &#x60;-build_depends_arch&#x60; - Build depends arch (descending) * &#x60;build_conflicts&#x60; - Build conflicts * &#x60;-build_conflicts&#x60; - Build conflicts (descending) * &#x60;build_conflicts_indep&#x60; - Build conflicts indep * &#x60;-build_conflicts_indep&#x60; - Build conflicts indep (descending) * &#x60;build_conflicts_arch&#x60; - Build conflicts arch * &#x60;-build_conflicts_arch&#x60; - Build conflicts arch (descending) * &#x60;package_list&#x60; - Package list * &#x60;-package_list&#x60; - Package list (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
66
+ # @option opts [String] :package_list Filter results where package_list matches value
67
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
68
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
69
+ # @option opts [String] :q
70
+ # @option opts [String] :relative_path Filter results where relative_path matches value
71
+ # @option opts [String] :release Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
72
+ # @option opts [String] :release_component Must be a comma-separated string: \&quot;release_component_href,repository_or_repository_version_href\&quot; release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
73
+ # @option opts [String] :repository_version Repository Version referenced by HREF
74
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
75
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
76
+ # @option opts [String] :source Filter results where source matches value
77
+ # @option opts [String] :standards_version Filter results where standards_version matches value
78
+ # @option opts [String] :testsuite Filter results where testsuite matches value
79
+ # @option opts [String] :uploaders Filter results where uploaders matches value
80
+ # @option opts [String] :vcs_arch Filter results where vcs_arch matches value
81
+ # @option opts [String] :vcs_browser Filter results where vcs_browser matches value
82
+ # @option opts [String] :vcs_bzr Filter results where vcs_bzr matches value
83
+ # @option opts [String] :vcs_cvs Filter results where vcs_cvs matches value
84
+ # @option opts [String] :vcs_darcs Filter results where vcs_darcs matches value
85
+ # @option opts [String] :vcs_git Filter results where vcs_git matches value
86
+ # @option opts [String] :vcs_hg Filter results where vcs_hg matches value
87
+ # @option opts [String] :vcs_mtn Filter results where vcs_mtn matches value
88
+ # @option opts [String] :vcs_snv Filter results where vcs_snv matches value
89
+ # @option opts [String] :version Filter results where version matches value
90
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
91
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
92
+ # @return [PaginateddebSourcePackageResponseList]
93
+ describe 'list test' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
96
+ end
97
+ end
98
+
99
+ # unit tests for read
100
+ # Inspect a source package
101
+ # A Debian Source Package file represents a &#39;.dsc&#39; file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one &#39;.dsc&#39; file.
102
+ # @param deb_source_package_href
103
+ # @param [Hash] opts the optional parameters
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 [DebSourcePackageResponse]
107
+ describe 'read test' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ end
@@ -0,0 +1,85 @@
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 PulpDebClient::ContentSourceReleaseComponentsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentSourceReleaseComponentsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentSourceReleaseComponentsApi' do
30
+ it 'should create an instance of ContentSourceReleaseComponentsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDebClient::ContentSourceReleaseComponentsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a source package release component
37
+ # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
38
+ # @param deb_source_package_release_component
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DebSourcePackageReleaseComponentResponse]
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 list
48
+ # List source package release components
49
+ # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [Integer] :limit Number of results to return per page.
52
+ # @option opts [Integer] :offset The initial index from which to return the results.
53
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
54
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
56
+ # @option opts [String] :q
57
+ # @option opts [String] :release_component Filter results where release_component matches value
58
+ # @option opts [String] :repository_version Repository Version referenced by HREF
59
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
60
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
61
+ # @option opts [String] :source_package Filter results where source_package matches value
62
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
63
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
+ # @return [PaginateddebSourcePackageReleaseComponentResponseList]
65
+ describe 'list test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for read
72
+ # Inspect a source package release component
73
+ # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
74
+ # @param deb_source_package_release_component_href
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
77
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
78
+ # @return [DebSourcePackageReleaseComponentResponse]
79
+ describe 'read test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ end
@@ -0,0 +1,71 @@
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 PulpDebClient::DebSourceIndexResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'DebSourceIndexResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpDebClient::DebSourceIndexResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DebSourceIndexResponse' do
31
+ it 'should create an instance of DebSourceIndexResponse' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::DebSourceIndexResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_href"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "pulp_created"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "artifacts"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "release"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "component"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "relative_path"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
@@ -0,0 +1,65 @@
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 PulpDebClient::DebSourceIndex
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'DebSourceIndex' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpDebClient::DebSourceIndex.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DebSourceIndex' do
31
+ it 'should create an instance of DebSourceIndex' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::DebSourceIndex)
33
+ end
34
+ end
35
+ describe 'test attribute "repository"' 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 "artifacts"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "release"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "component"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "relative_path"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
@@ -0,0 +1,59 @@
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 PulpDebClient::DebSourcePackageReleaseComponentResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'DebSourcePackageReleaseComponentResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DebSourcePackageReleaseComponentResponse' do
31
+ it 'should create an instance of DebSourcePackageReleaseComponentResponse' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::DebSourcePackageReleaseComponentResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_href"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "pulp_created"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "source_package"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "release_component"' 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
+ end
@@ -0,0 +1,53 @@
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 PulpDebClient::DebSourcePackageReleaseComponent
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'DebSourcePackageReleaseComponent' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpDebClient::DebSourcePackageReleaseComponent.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DebSourcePackageReleaseComponent' do
31
+ it 'should create an instance of DebSourcePackageReleaseComponent' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::DebSourcePackageReleaseComponent)
33
+ end
34
+ end
35
+ describe 'test attribute "repository"' 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 "source_package"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "release_component"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end