pulp_deb_client 2.21.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -7
  3. data/docs/ContentGenericContentsApi.md +7 -5
  4. data/docs/ContentInstallerFileIndicesApi.md +3 -1
  5. data/docs/ContentInstallerPackagesApi.md +7 -5
  6. data/docs/ContentPackageIndicesApi.md +3 -1
  7. data/docs/ContentPackageReleaseComponentsApi.md +3 -1
  8. data/docs/ContentPackagesApi.md +27 -5
  9. data/docs/ContentReleaseArchitecturesApi.md +5 -7
  10. data/docs/ContentReleaseComponentsApi.md +7 -7
  11. data/docs/ContentReleaseFilesApi.md +3 -1
  12. data/docs/ContentReleasesApi.md +13 -3
  13. data/docs/ContentSourceIndicesApi.md +204 -0
  14. data/docs/ContentSourcePackagesApi.md +258 -0
  15. data/docs/ContentSourceReleaseComponentsApi.md +202 -0
  16. data/docs/DebAptPublication.md +4 -2
  17. data/docs/DebAptPublicationResponse.md +4 -2
  18. data/docs/DebAptRepository.md +7 -1
  19. data/docs/DebAptRepositoryResponse.md +7 -1
  20. data/docs/DebCopyApi.md +1 -1
  21. data/docs/DebGenericContent.md +2 -2
  22. data/docs/DebInstallerPackage.md +2 -2
  23. data/docs/DebPackage.md +2 -2
  24. data/docs/DebRelease.md +9 -1
  25. data/docs/DebReleaseArchitecture.md +1 -5
  26. data/docs/DebReleaseArchitectureResponse.md +1 -5
  27. data/docs/DebReleaseComponent.md +1 -5
  28. data/docs/DebReleaseComponentResponse.md +1 -5
  29. data/docs/DebReleaseFile.md +3 -3
  30. data/docs/DebReleaseFileResponse.md +3 -3
  31. data/docs/DebReleaseResponse.md +9 -1
  32. data/docs/DebSourceIndex.md +25 -0
  33. data/docs/DebSourceIndexResponse.md +27 -0
  34. data/docs/DebSourcePackage.md +21 -0
  35. data/docs/DebSourcePackageReleaseComponent.md +21 -0
  36. data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
  37. data/docs/DebSourcePackageResponse.md +77 -0
  38. data/docs/DistributionsAptApi.md +123 -1
  39. data/docs/PaginateddebSourceIndexResponseList.md +23 -0
  40. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
  41. data/docs/PaginateddebSourcePackageResponseList.md +23 -0
  42. data/docs/PatcheddebAptRepository.md +7 -1
  43. data/docs/PublicationsAptApi.md +3 -1
  44. data/docs/PublicationsVerbatimApi.md +3 -1
  45. data/docs/RemotesAptApi.md +123 -1
  46. data/docs/RepositoriesAptApi.md +123 -1
  47. data/docs/RepositoriesAptVersionsApi.md +3 -1
  48. data/docs/SetLabel.md +19 -0
  49. data/docs/SetLabelResponse.md +19 -0
  50. data/docs/UnsetLabel.md +17 -0
  51. data/docs/UnsetLabelResponse.md +19 -0
  52. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +7 -4
  53. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
  54. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -4
  55. data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
  56. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
  57. data/lib/pulp_deb_client/api/content_packages_api.rb +37 -4
  58. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -9
  59. data/lib/pulp_deb_client/api/content_release_components_api.rb +9 -9
  60. data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
  61. data/lib/pulp_deb_client/api/content_releases_api.rb +18 -3
  62. data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
  63. data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
  64. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
  65. data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
  66. data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
  67. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
  68. data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
  69. data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
  70. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
  71. data/lib/pulp_deb_client/configuration.rb +2 -2
  72. data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
  73. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
  74. data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
  75. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
  76. data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
  77. data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
  78. data/lib/pulp_deb_client/models/deb_package.rb +2 -2
  79. data/lib/pulp_deb_client/models/deb_release.rb +104 -4
  80. data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
  81. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
  82. data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
  83. data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
  84. data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
  85. data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
  86. data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
  87. data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
  88. data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
  89. data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
  90. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
  91. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
  92. data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
  93. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
  94. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
  95. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
  96. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
  97. data/lib/pulp_deb_client/models/set_label.rb +252 -0
  98. data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
  99. data/lib/pulp_deb_client/models/unset_label.rb +242 -0
  100. data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
  101. data/lib/pulp_deb_client/version.rb +1 -1
  102. data/lib/pulp_deb_client.rb +16 -0
  103. data/spec/api/content_generic_contents_api_spec.rb +3 -2
  104. data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
  105. data/spec/api/content_installer_packages_api_spec.rb +3 -2
  106. data/spec/api/content_package_indices_api_spec.rb +1 -0
  107. data/spec/api/content_package_release_components_api_spec.rb +1 -0
  108. data/spec/api/content_packages_api_spec.rb +13 -2
  109. data/spec/api/content_release_architectures_api_spec.rb +2 -3
  110. data/spec/api/content_release_components_api_spec.rb +3 -3
  111. data/spec/api/content_release_files_api_spec.rb +1 -0
  112. data/spec/api/content_releases_api_spec.rb +6 -1
  113. data/spec/api/content_source_indices_api_spec.rb +86 -0
  114. data/spec/api/content_source_packages_api_spec.rb +113 -0
  115. data/spec/api/content_source_release_components_api_spec.rb +85 -0
  116. data/spec/api/distributions_apt_api_spec.rb +31 -0
  117. data/spec/api/publications_apt_api_spec.rb +1 -0
  118. data/spec/api/publications_verbatim_api_spec.rb +1 -0
  119. data/spec/api/remotes_apt_api_spec.rb +31 -0
  120. data/spec/api/repositories_apt_api_spec.rb +31 -0
  121. data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
  122. data/spec/configuration_spec.rb +3 -3
  123. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  124. data/spec/models/deb_apt_publication_spec.rb +6 -0
  125. data/spec/models/deb_apt_repository_response_spec.rb +18 -0
  126. data/spec/models/deb_apt_repository_spec.rb +18 -0
  127. data/spec/models/deb_release_architecture_response_spec.rb +0 -12
  128. data/spec/models/deb_release_architecture_spec.rb +0 -12
  129. data/spec/models/deb_release_component_response_spec.rb +0 -12
  130. data/spec/models/deb_release_component_spec.rb +0 -12
  131. data/spec/models/deb_release_response_spec.rb +24 -0
  132. data/spec/models/deb_release_spec.rb +24 -0
  133. data/spec/models/deb_source_index_response_spec.rb +71 -0
  134. data/spec/models/deb_source_index_spec.rb +65 -0
  135. data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
  136. data/spec/models/deb_source_package_release_component_spec.rb +53 -0
  137. data/spec/models/deb_source_package_response_spec.rb +221 -0
  138. data/spec/models/deb_source_package_spec.rb +53 -0
  139. data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
  140. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
  141. data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
  142. data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
  143. data/spec/models/set_label_response_spec.rb +47 -0
  144. data/spec/models/set_label_spec.rb +47 -0
  145. data/spec/models/unset_label_response_spec.rb +47 -0
  146. data/spec/models/unset_label_spec.rb +41 -0
  147. metadata +122 -58
@@ -48,18 +48,18 @@ describe 'ContentReleaseComponentsApi' do
48
48
  # List release components
49
49
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
50
50
  # @param [Hash] opts the optional parameters
51
- # @option opts [String] :codename Filter results where codename matches value
52
51
  # @option opts [String] :component Filter results where component matches value
53
52
  # @option opts [String] :distribution Filter results where distribution matches value
54
53
  # @option opts [Integer] :limit Number of results to return per page.
55
54
  # @option opts [Integer] :offset The initial index from which to return the results.
56
- # @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;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @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;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
+ # @option opts [String] :package Must be a comma-separated string: \&quot;package_href,repository_or_repository_version_href\&quot; package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
57
57
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
58
58
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
59
+ # @option opts [String] :q
59
60
  # @option opts [String] :repository_version Repository Version referenced by HREF
60
61
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
62
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
- # @option opts [String] :suite Filter results where suite matches value
63
63
  # @option opts [Array<String>] :fields A list of fields to include in the response.
64
64
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
65
65
  # @return [PaginateddebReleaseComponentResponseList]
@@ -54,6 +54,7 @@ describe 'ContentReleaseFilesApi' do
54
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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;components&#x60; - Components * &#x60;-components&#x60; - Components (descending) * &#x60;architectures&#x60; - Architectures * &#x60;-architectures&#x60; - Architectures (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;artifact_set_sha256&#x60; - Artifact set sha256 * &#x60;-artifact_set_sha256&#x60; - Artifact set sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
55
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
56
56
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
57
+ # @option opts [String] :q
57
58
  # @option opts [String] :relative_path Filter results where relative_path matches value
58
59
  # @option opts [String] :repository_version Repository Version referenced by HREF
59
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -50,15 +50,20 @@ describe 'ContentReleasesApi' do
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [String] :codename Filter results where codename matches value
52
52
  # @option opts [String] :distribution Filter results where distribution matches value
53
+ # @option opts [String] :label Filter results where label matches value
53
54
  # @option opts [Integer] :limit Number of results to return per page.
54
55
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
+ # @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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;label&#x60; - Label * &#x60;-label&#x60; - Label (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
57
+ # @option opts [String] :origin Filter results where origin matches value
58
+ # @option opts [String] :package Must be a comma-separated string: \&quot;package_href,repository_or_repository_version_href\&quot; package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
56
59
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
60
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
61
+ # @option opts [String] :q
58
62
  # @option opts [String] :repository_version Repository Version referenced by HREF
59
63
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
60
64
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
61
65
  # @option opts [String] :suite Filter results where suite matches value
66
+ # @option opts [String] :version Filter results where version matches value
62
67
  # @option opts [Array<String>] :fields A list of fields to include in the response.
63
68
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
69
  # @return [PaginateddebReleaseResponseList]
@@ -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
@@ -68,13 +68,18 @@ describe 'DistributionsAptApi' do
68
68
  # @option opts [String] :name Filter results where name matches value
69
69
  # @option opts [String] :name__contains Filter results where name contains value
70
70
  # @option opts [String] :name__icontains Filter results where name contains value
71
+ # @option opts [String] :name__iexact Filter results where name matches value
71
72
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
73
+ # @option opts [String] :name__iregex Filter results where name matches regex value
74
+ # @option opts [String] :name__istartswith Filter results where name starts with value
75
+ # @option opts [String] :name__regex Filter results where name matches regex value
72
76
  # @option opts [String] :name__startswith Filter results where name starts with value
73
77
  # @option opts [Integer] :offset The initial index from which to return the results.
74
78
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
75
79
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
76
80
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
77
81
  # @option opts [String] :pulp_label_select Filter labels by search string
82
+ # @option opts [String] :q
78
83
  # @option opts [String] :repository Filter results where repository matches value
79
84
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
80
85
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -114,6 +119,32 @@ describe 'DistributionsAptApi' do
114
119
  end
115
120
  end
116
121
 
122
+ # unit tests for set_label
123
+ # Set a label
124
+ # Set a single pulp_label on the object to a specific value or null.
125
+ # @param deb_apt_distribution_href
126
+ # @param set_label
127
+ # @param [Hash] opts the optional parameters
128
+ # @return [SetLabelResponse]
129
+ describe 'set_label test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
132
+ end
133
+ end
134
+
135
+ # unit tests for unset_label
136
+ # Unset a label
137
+ # Unset a single pulp_label on the object.
138
+ # @param deb_apt_distribution_href
139
+ # @param unset_label
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [UnsetLabelResponse]
142
+ describe 'unset_label test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
117
148
  # unit tests for update
118
149
  # Update an apt distribution
119
150
  # Trigger an asynchronous update task
@@ -73,6 +73,7 @@ describe 'PublicationsAptApi' do
73
73
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
74
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
75
75
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
76
+ # @option opts [String] :q
76
77
  # @option opts [String] :repository Repository referenced by HREF
77
78
  # @option opts [String] :repository_version Repository Version referenced by HREF
78
79
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -73,6 +73,7 @@ describe 'PublicationsVerbatimApi' do
73
73
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
74
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
75
75
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
76
+ # @option opts [String] :q
76
77
  # @option opts [String] :repository Repository referenced by HREF
77
78
  # @option opts [String] :repository_version Repository Version referenced by HREF
78
79
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -64,7 +64,11 @@ describe 'RemotesAptApi' do
64
64
  # @option opts [String] :name Filter results where name matches value
65
65
  # @option opts [String] :name__contains Filter results where name contains value
66
66
  # @option opts [String] :name__icontains Filter results where name contains value
67
+ # @option opts [String] :name__iexact Filter results where name matches value
67
68
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
69
+ # @option opts [String] :name__iregex Filter results where name matches regex value
70
+ # @option opts [String] :name__istartswith Filter results where name starts with value
71
+ # @option opts [String] :name__regex Filter results where name matches regex value
68
72
  # @option opts [String] :name__startswith Filter results where name starts with value
69
73
  # @option opts [Integer] :offset The initial index from which to return the results.
70
74
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -77,6 +81,7 @@ describe 'RemotesAptApi' do
77
81
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
78
82
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
79
83
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
84
+ # @option opts [String] :q
80
85
  # @option opts [Array<String>] :fields A list of fields to include in the response.
81
86
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
82
87
  # @return [PaginateddebAptRemoteResponseList]
@@ -113,6 +118,32 @@ describe 'RemotesAptApi' do
113
118
  end
114
119
  end
115
120
 
121
+ # unit tests for set_label
122
+ # Set a label
123
+ # Set a single pulp_label on the object to a specific value or null.
124
+ # @param deb_apt_remote_href
125
+ # @param set_label
126
+ # @param [Hash] opts the optional parameters
127
+ # @return [SetLabelResponse]
128
+ describe 'set_label test' do
129
+ it 'should work' do
130
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
131
+ end
132
+ end
133
+
134
+ # unit tests for unset_label
135
+ # Unset a label
136
+ # Unset a single pulp_label on the object.
137
+ # @param deb_apt_remote_href
138
+ # @param unset_label
139
+ # @param [Hash] opts the optional parameters
140
+ # @return [UnsetLabelResponse]
141
+ describe 'unset_label test' do
142
+ it 'should work' do
143
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
144
+ end
145
+ end
146
+
116
147
  # unit tests for update
117
148
  # Update an apt remote
118
149
  # Trigger an asynchronous update task
@@ -65,13 +65,18 @@ describe 'RepositoriesAptApi' do
65
65
  # @option opts [String] :name Filter results where name matches value
66
66
  # @option opts [String] :name__contains Filter results where name contains value
67
67
  # @option opts [String] :name__icontains Filter results where name contains value
68
+ # @option opts [String] :name__iexact Filter results where name matches value
68
69
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
70
+ # @option opts [String] :name__iregex Filter results where name matches regex value
71
+ # @option opts [String] :name__istartswith Filter results where name starts with value
72
+ # @option opts [String] :name__regex Filter results where name matches regex value
69
73
  # @option opts [String] :name__startswith Filter results where name starts with value
70
74
  # @option opts [Integer] :offset The initial index from which to return the results.
71
75
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
72
76
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
77
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
74
78
  # @option opts [String] :pulp_label_select Filter labels by search string
79
+ # @option opts [String] :q
75
80
  # @option opts [String] :remote Foreign Key referenced by HREF
76
81
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
77
82
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -131,6 +136,19 @@ describe 'RepositoriesAptApi' do
131
136
  end
132
137
  end
133
138
 
139
+ # unit tests for set_label
140
+ # Set a label
141
+ # Set a single pulp_label on the object to a specific value or null.
142
+ # @param deb_apt_repository_href
143
+ # @param set_label
144
+ # @param [Hash] opts the optional parameters
145
+ # @return [SetLabelResponse]
146
+ describe 'set_label test' do
147
+ it 'should work' do
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+
134
152
  # unit tests for sync
135
153
  # Sync from remote
136
154
  # Trigger an asynchronous task to sync content
@@ -144,6 +162,19 @@ describe 'RepositoriesAptApi' do
144
162
  end
145
163
  end
146
164
 
165
+ # unit tests for unset_label
166
+ # Unset a label
167
+ # Unset a single pulp_label on the object.
168
+ # @param deb_apt_repository_href
169
+ # @param unset_label
170
+ # @param [Hash] opts the optional parameters
171
+ # @return [UnsetLabelResponse]
172
+ describe 'unset_label test' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
175
+ end
176
+ end
177
+
147
178
  # unit tests for update
148
179
  # Update an apt repository
149
180
  # Trigger an asynchronous update task
@@ -67,6 +67,7 @@ describe 'RepositoriesAptVersionsApi' do
67
67
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
68
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
69
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
+ # @option opts [String] :q
70
71
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
72
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
72
73
  # @return [PaginatedRepositoryVersionResponseList]
@@ -18,7 +18,7 @@ describe PulpDebClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("https://pulp")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpDebClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpDebClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("https://pulp")
31
+ # expect(config.base_url).to eq("http://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("https://pulp")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -74,4 +74,10 @@ describe 'DebAptPublicationResponse' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "publish_upstream_release_fields"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
77
83
  end
@@ -62,4 +62,10 @@ describe 'DebAptPublication' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "publish_upstream_release_fields"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  end
@@ -86,4 +86,22 @@ describe 'DebAptRepositoryResponse' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "publish_upstream_release_fields"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "signing_service"' 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
+ describe 'test attribute "signing_service_release_overrides"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
89
107
  end