pulp_deb_client 2.20.1 → 2.20.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +8 -8
- data/docs/ContentInstallerFileIndicesApi.md +8 -8
- data/docs/ContentInstallerPackagesApi.md +8 -8
- data/docs/ContentPackageIndicesApi.md +8 -8
- data/docs/ContentPackageReleaseComponentsApi.md +10 -10
- data/docs/ContentPackagesApi.md +8 -8
- data/docs/ContentReleaseArchitecturesApi.md +9 -9
- data/docs/ContentReleaseComponentsApi.md +9 -9
- data/docs/ContentReleaseFilesApi.md +8 -8
- data/docs/ContentReleasesApi.md +8 -8
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +1 -1
- data/docs/DebAptRemoteResponse.md +3 -1
- data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
- data/docs/DebAptRepository.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -2
- data/docs/DebInstallerFileIndex.md +0 -2
- data/docs/DebInstallerFileIndexResponse.md +0 -2
- data/docs/DebPackageIndex.md +0 -2
- data/docs/DebPackageIndexResponse.md +0 -2
- data/docs/DistributionsAptApi.md +16 -12
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +1 -1
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +10 -10
- data/docs/PublicationsVerbatimApi.md +10 -10
- data/docs/RemotesAptApi.md +12 -12
- data/docs/RepositoriesAptApi.md +27 -11
- data/docs/RepositoriesAptVersionsApi.md +12 -12
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_packages_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_release_components_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_release_files_api.rb +13 -13
- data/lib/pulp_deb_client/api/content_releases_api.rb +13 -13
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -15
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -15
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +17 -17
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +39 -15
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +17 -17
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +4 -2
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +17 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +4 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -0
- data/spec/api/content_generic_contents_api_spec.rb +4 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
- data/spec/api/content_installer_packages_api_spec.rb +4 -4
- data/spec/api/content_package_indices_api_spec.rb +4 -4
- data/spec/api/content_package_release_components_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_release_architectures_api_spec.rb +4 -4
- data/spec/api/content_release_components_api_spec.rb +4 -4
- data/spec/api/content_release_files_api_spec.rb +4 -4
- data/spec/api/content_releases_api_spec.rb +4 -4
- data/spec/api/distributions_apt_api_spec.rb +8 -6
- data/spec/api/publications_apt_api_spec.rb +5 -5
- data/spec/api/publications_verbatim_api_spec.rb +5 -5
- data/spec/api/remotes_apt_api_spec.rb +6 -6
- data/spec/api/repositories_apt_api_spec.rb +13 -5
- data/spec/api/repositories_apt_versions_api_spec.rb +6 -6
- data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
- data/spec/models/deb_installer_file_index_spec.rb +0 -6
- data/spec/models/deb_package_index_response_spec.rb +0 -6
- data/spec/models/deb_package_index_spec.rb +0 -6
- metadata +54 -50
@@ -58,8 +58,8 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
58
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
60
60
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
61
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
62
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
63
|
# @return [PaginateddebInstallerFileIndexResponseList]
|
64
64
|
describe 'list test' do
|
65
65
|
it 'should work' do
|
@@ -72,8 +72,8 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
72
72
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
73
73
|
# @param deb_installer_file_index_href
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
76
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
76
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
77
77
|
# @return [DebInstallerFileIndexResponse]
|
78
78
|
describe 'read test' do
|
79
79
|
it 'should work' do
|
@@ -75,8 +75,8 @@ describe 'ContentInstallerPackagesApi' do
|
|
75
75
|
# @option opts [String] :source Filter results where source matches value
|
76
76
|
# @option opts [String] :tag Filter results where tag matches value
|
77
77
|
# @option opts [String] :version Filter results where version matches value
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginateddebBasePackageResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -89,8 +89,8 @@ describe 'ContentInstallerPackagesApi' do
|
|
89
89
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
90
90
|
# @param deb_installer_package_href
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
93
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
92
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
94
|
# @return [DebBasePackageResponse]
|
95
95
|
describe 'read test' do
|
96
96
|
it 'should work' do
|
@@ -58,8 +58,8 @@ describe 'ContentPackageIndicesApi' do
|
|
58
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
60
60
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
61
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
62
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
63
|
# @return [PaginateddebPackageIndexResponseList]
|
64
64
|
describe 'list test' do
|
65
65
|
it 'should work' do
|
@@ -72,8 +72,8 @@ describe 'ContentPackageIndicesApi' do
|
|
72
72
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
73
73
|
# @param deb_package_index_href
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
76
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
76
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
77
77
|
# @return [DebPackageIndexResponse]
|
78
78
|
describe 'read test' do
|
79
79
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
56
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [PaginateddebPackageReleaseComponentResponseList]
|
62
62
|
describe 'list test' do
|
63
63
|
it 'should work' do
|
@@ -70,8 +70,8 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
70
70
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
71
71
|
# @param deb_package_release_component_href
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [DebPackageReleaseComponentResponse]
|
76
76
|
describe 'read test' do
|
77
77
|
it 'should work' do
|
@@ -76,8 +76,8 @@ describe 'ContentPackagesApi' do
|
|
76
76
|
# @option opts [String] :source Filter results where source matches value
|
77
77
|
# @option opts [String] :tag Filter results where tag matches value
|
78
78
|
# @option opts [String] :version Filter results where version matches value
|
79
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
80
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
81
81
|
# @return [PaginateddebBasePackageResponseList]
|
82
82
|
describe 'list test' do
|
83
83
|
it 'should work' do
|
@@ -90,8 +90,8 @@ describe 'ContentPackagesApi' do
|
|
90
90
|
# A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
|
91
91
|
# @param deb_package_href
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
94
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
93
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
94
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
95
95
|
# @return [DebBasePackageResponse]
|
96
96
|
describe 'read test' do
|
97
97
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
56
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
62
62
|
describe 'list test' do
|
63
63
|
it 'should work' do
|
@@ -70,8 +70,8 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
70
70
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
71
71
|
# @param deb_release_architecture_href
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [DebReleaseArchitectureResponse]
|
76
76
|
describe 'read test' do
|
77
77
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentReleaseComponentsApi' do
|
|
56
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [PaginateddebReleaseComponentResponseList]
|
62
62
|
describe 'list test' do
|
63
63
|
it 'should work' do
|
@@ -70,8 +70,8 @@ describe 'ContentReleaseComponentsApi' do
|
|
70
70
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata. Every ReleaseComponent is always associated with exactly one Release. This indicates that the release/distribution in question contains this component.
|
71
71
|
# @param deb_release_component_href
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [DebReleaseComponentResponse]
|
76
76
|
describe 'read test' do
|
77
77
|
it 'should work' do
|
@@ -58,8 +58,8 @@ describe 'ContentReleaseFilesApi' do
|
|
58
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
59
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
60
60
|
# @option opts [String] :suite Filter results where suite matches value
|
61
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
62
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
63
|
# @return [PaginateddebReleaseFileResponseList]
|
64
64
|
describe 'list test' do
|
65
65
|
it 'should work' do
|
@@ -72,8 +72,8 @@ describe 'ContentReleaseFilesApi' do
|
|
72
72
|
# A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
|
73
73
|
# @param deb_release_file_href
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
76
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
76
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
77
77
|
# @return [DebReleaseFileResponse]
|
78
78
|
describe 'read test' do
|
79
79
|
it 'should work' do
|
@@ -57,8 +57,8 @@ describe 'ContentReleasesApi' do
|
|
57
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
59
|
# @option opts [String] :suite Filter results where suite matches value
|
60
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
61
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
62
|
# @return [PaginateddebReleaseResponseList]
|
63
63
|
describe 'list test' do
|
64
64
|
it 'should work' do
|
@@ -71,8 +71,8 @@ describe 'ContentReleasesApi' do
|
|
71
71
|
# A Release represents a single APT release/distribution. Associated artifacts: None; contains only metadata. Note that in the context of the \"Release content\", the terms \"distribution\" and \"release\" are synonyms. An \"APT repository release/distribution\" is associated with a single 'Release' file below the 'dists/' folder. The \"distribution\" refers to the path between 'dists/' and the 'Release' file. The \"distribution\" could be considered the name of the \"release\". It is often (but not always) equal to the \"codename\" or \"suite\".
|
72
72
|
# @param deb_release_href
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
75
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
75
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
76
76
|
# @return [DebReleaseResponse]
|
77
77
|
describe 'read test' do
|
78
78
|
it 'should work' do
|
@@ -60,12 +60,12 @@ describe 'DistributionsAptApi' do
|
|
60
60
|
# List apt distributions
|
61
61
|
# An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
63
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
64
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
65
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
66
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
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
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -73,9 +73,11 @@ describe 'DistributionsAptApi' do
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
|
+
# @option opts [String] :repository Filter results where repository matches value
|
77
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
76
78
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
77
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
78
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
79
81
|
# @return [PaginateddebAptDistributionResponseList]
|
80
82
|
describe 'list test' do
|
81
83
|
it 'should work' do
|
@@ -101,8 +103,8 @@ describe 'DistributionsAptApi' do
|
|
101
103
|
# An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
|
102
104
|
# @param deb_apt_distribution_href
|
103
105
|
# @param [Hash] opts the optional parameters
|
104
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
105
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
108
|
# @return [DebAptDistributionResponse]
|
107
109
|
describe 'read test' do
|
108
110
|
it 'should work' do
|
@@ -65,7 +65,7 @@ describe 'PublicationsAptApi' do
|
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
67
|
# @option opts [Array<String>] :ordering Ordering
|
68
|
-
# @option opts [DateTime] :pulp_created
|
68
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
69
69
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
70
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
71
71
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
@@ -73,8 +73,8 @@ 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 [String] :repository Repository referenced by HREF
|
75
75
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
76
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
77
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
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
78
|
# @return [PaginateddebAptPublicationResponseList]
|
79
79
|
describe 'list test' do
|
80
80
|
it 'should work' do
|
@@ -87,8 +87,8 @@ describe 'PublicationsAptApi' do
|
|
87
87
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
88
88
|
# @param deb_apt_publication_href
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
91
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
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
92
|
# @return [DebAptPublicationResponse]
|
93
93
|
describe 'read test' do
|
94
94
|
it 'should work' do
|
@@ -65,7 +65,7 @@ describe 'PublicationsVerbatimApi' do
|
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
67
|
# @option opts [Array<String>] :ordering Ordering
|
68
|
-
# @option opts [DateTime] :pulp_created
|
68
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
69
69
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
70
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
71
71
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
@@ -73,8 +73,8 @@ 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 [String] :repository Repository referenced by HREF
|
75
75
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
76
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
77
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
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
78
|
# @return [PaginateddebVerbatimPublicationResponseList]
|
79
79
|
describe 'list test' do
|
80
80
|
it 'should work' do
|
@@ -87,8 +87,8 @@ describe 'PublicationsVerbatimApi' do
|
|
87
87
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
88
88
|
# @param deb_verbatim_publication_href
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
91
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
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
92
|
# @return [DebVerbatimPublicationResponse]
|
93
93
|
describe 'read test' do
|
94
94
|
it 'should work' do
|
@@ -61,7 +61,7 @@ describe 'RemotesAptApi' do
|
|
61
61
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
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
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -69,14 +69,14 @@ describe 'RemotesAptApi' do
|
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [DateTime] :pulp_last_updated
|
72
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
74
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginateddebAptRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesAptApi' do
|
|
102
102
|
# An AptRemote represents an external APT repository content source. It contains the location of the upstream APT repository, as well as the user options that are applied when using the remote to synchronize the upstream repository to Pulp.
|
103
103
|
# @param deb_apt_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [DebAptRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -61,7 +61,7 @@ describe 'RepositoriesAptApi' do
|
|
61
61
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
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
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -70,8 +70,16 @@ describe 'RepositoriesAptApi' do
|
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
-
# @option opts [
|
74
|
-
# @option opts [
|
73
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
74
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
75
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
76
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
77
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
78
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
79
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
80
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
81
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
82
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
83
|
# @return [PaginateddebAptRepositoryResponseList]
|
76
84
|
describe 'list test' do
|
77
85
|
it 'should work' do
|
@@ -110,8 +118,8 @@ describe 'RepositoriesAptApi' do
|
|
110
118
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
111
119
|
# @param deb_apt_repository_href
|
112
120
|
# @param [Hash] opts the optional parameters
|
113
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
114
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
121
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
122
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
123
|
# @return [DebAptRepositoryResponse]
|
116
124
|
describe 'read test' do
|
117
125
|
it 'should work' do
|
@@ -52,7 +52,7 @@ describe 'RepositoriesAptVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
55
|
+
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -60,14 +60,14 @@ describe 'RepositoriesAptVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
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
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesAptVersionsApi' do
|
|
80
80
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
81
81
|
# @param deb_apt_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebAptRemoteResponseHiddenFields
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebAptRemoteResponseHiddenFields' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebAptRemoteResponseHiddenFields.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebAptRemoteResponseHiddenFields' do
|
31
|
+
it 'should create an instance of DebAptRemoteResponseHiddenFields' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebAptRemoteResponseHiddenFields)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' 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 "is_set"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -146,6 +146,12 @@ describe 'DebAptRemoteResponse' do
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
describe 'test attribute "hidden_fields"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
149
155
|
describe 'test attribute "distributions"' do
|
150
156
|
it 'should work' do
|
151
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,12 +50,6 @@ describe 'DebInstallerFileIndexResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
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
53
|
describe 'test attribute "component"' do
|
60
54
|
it 'should work' do
|
61
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'DebInstallerFileIndex' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "release"' 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
41
|
describe 'test attribute "component"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,12 +50,6 @@ describe 'DebPackageIndexResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
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
53
|
describe 'test attribute "component"' do
|
60
54
|
it 'should work' do
|
61
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'DebPackageIndex' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "release"' 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
41
|
describe 'test attribute "component"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|