pulp_deb_client 2.20.1 → 2.20.3
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 +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -10
- data/docs/ContentInstallerPackagesApi.md +20 -16
- data/docs/ContentPackageIndicesApi.md +14 -10
- data/docs/ContentPackageReleaseComponentsApi.md +16 -12
- data/docs/ContentPackagesApi.md +20 -16
- data/docs/ContentReleaseArchitecturesApi.md +15 -11
- data/docs/ContentReleaseComponentsApi.md +15 -11
- data/docs/ContentReleaseFilesApi.md +14 -10
- data/docs/ContentReleasesApi.md +14 -10
- data/docs/DebAptDistribution.md +1 -1
- data/docs/DebAptDistributionResponse.md +1 -1
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebAptRemoteResponse.md +4 -2
- 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 +22 -14
- data/docs/PatcheddebAptDistribution.md +1 -1
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PatcheddebAptRepository.md +2 -2
- data/docs/PublicationsAptApi.md +16 -12
- data/docs/PublicationsVerbatimApi.md +16 -12
- data/docs/RemotesAptApi.md +18 -14
- data/docs/RepositoriesAptApi.md +33 -13
- data/docs/RepositoriesAptVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
- data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
- data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
- 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 +5 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
- 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 +5 -3
- 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 +7 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
- data/spec/api/content_installer_packages_api_spec.rb +10 -8
- data/spec/api/content_package_indices_api_spec.rb +7 -5
- data/spec/api/content_package_release_components_api_spec.rb +7 -5
- data/spec/api/content_packages_api_spec.rb +10 -8
- data/spec/api/content_release_architectures_api_spec.rb +7 -5
- data/spec/api/content_release_components_api_spec.rb +7 -5
- data/spec/api/content_release_files_api_spec.rb +7 -5
- data/spec/api/content_releases_api_spec.rb +7 -5
- data/spec/api/distributions_apt_api_spec.rb +11 -7
- data/spec/api/publications_apt_api_spec.rb +8 -6
- data/spec/api/publications_verbatim_api_spec.rb +8 -6
- data/spec/api/remotes_apt_api_spec.rb +9 -7
- data/spec/api/repositories_apt_api_spec.rb +16 -6
- data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
- 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 +57 -53
@@ -51,13 +51,15 @@ describe 'ContentReleaseComponentsApi' do
|
|
51
51
|
# @option opts [String] :component Filter results where component matches value
|
52
52
|
# @option opts [Integer] :limit Number of results to return per page.
|
53
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
|
-
# @option opts [Array<String>] :ordering Ordering
|
54
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - 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.
|
55
57
|
# @option opts [String] :release Filter results where release matches value
|
56
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
60
|
# @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.
|
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.
|
61
63
|
# @return [PaginateddebReleaseComponentResponseList]
|
62
64
|
describe 'list test' do
|
63
65
|
it 'should work' do
|
@@ -70,8 +72,8 @@ describe 'ContentReleaseComponentsApi' do
|
|
70
72
|
# 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
73
|
# @param deb_release_component_href
|
72
74
|
# @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.
|
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.
|
75
77
|
# @return [DebReleaseComponentResponse]
|
76
78
|
describe 'read test' do
|
77
79
|
it 'should work' do
|
@@ -51,15 +51,17 @@ describe 'ContentReleaseFilesApi' do
|
|
51
51
|
# @option opts [String] :codename Filter results where codename matches value
|
52
52
|
# @option opts [Integer] :limit Number of results to return per page.
|
53
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
|
-
# @option opts [Array<String>] :ordering Ordering
|
54
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - 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.
|
55
57
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
56
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
60
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
61
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
60
62
|
# @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.
|
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.
|
63
65
|
# @return [PaginateddebReleaseFileResponseList]
|
64
66
|
describe 'list test' do
|
65
67
|
it 'should work' do
|
@@ -72,8 +74,8 @@ describe 'ContentReleaseFilesApi' do
|
|
72
74
|
# 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
75
|
# @param deb_release_file_href
|
74
76
|
# @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.
|
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.
|
77
79
|
# @return [DebReleaseFileResponse]
|
78
80
|
describe 'read test' do
|
79
81
|
it 'should work' do
|
@@ -52,13 +52,15 @@ describe 'ContentReleasesApi' do
|
|
52
52
|
# @option opts [String] :distribution Filter results where distribution matches value
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
55
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
60
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
61
|
# @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.
|
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.
|
62
64
|
# @return [PaginateddebReleaseResponseList]
|
63
65
|
describe 'list test' do
|
64
66
|
it 'should work' do
|
@@ -71,8 +73,8 @@ describe 'ContentReleasesApi' do
|
|
71
73
|
# 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
74
|
# @param deb_release_href
|
73
75
|
# @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.
|
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.
|
76
78
|
# @return [DebReleaseResponse]
|
77
79
|
describe 'read test' do
|
78
80
|
it 'should work' do
|
@@ -60,22 +60,26 @@ 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
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @option opts [Array<String>] :ordering Ordering
|
74
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
75
77
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
78
|
+
# @option opts [String] :repository Filter results where repository matches value
|
79
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
76
80
|
# @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.
|
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.
|
79
83
|
# @return [PaginateddebAptDistributionResponseList]
|
80
84
|
describe 'list test' do
|
81
85
|
it 'should work' do
|
@@ -101,8 +105,8 @@ describe 'DistributionsAptApi' do
|
|
101
105
|
# 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
106
|
# @param deb_apt_distribution_href
|
103
107
|
# @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.
|
108
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
109
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
110
|
# @return [DebAptDistributionResponse]
|
107
111
|
describe 'read test' do
|
108
112
|
it 'should work' do
|
@@ -64,17 +64,19 @@ describe 'PublicationsAptApi' do
|
|
64
64
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
68
|
-
# @option opts [DateTime] :pulp_created
|
67
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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
|
72
72
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
75
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
74
76
|
# @option opts [String] :repository Repository referenced by HREF
|
75
77
|
# @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.
|
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.
|
78
80
|
# @return [PaginateddebAptPublicationResponseList]
|
79
81
|
describe 'list test' do
|
80
82
|
it 'should work' do
|
@@ -87,8 +89,8 @@ describe 'PublicationsAptApi' do
|
|
87
89
|
# 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
90
|
# @param deb_apt_publication_href
|
89
91
|
# @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.
|
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.
|
92
94
|
# @return [DebAptPublicationResponse]
|
93
95
|
describe 'read test' do
|
94
96
|
it 'should work' do
|
@@ -64,17 +64,19 @@ describe 'PublicationsVerbatimApi' do
|
|
64
64
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
68
|
-
# @option opts [DateTime] :pulp_created
|
67
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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
|
72
72
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
75
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
74
76
|
# @option opts [String] :repository Repository referenced by HREF
|
75
77
|
# @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.
|
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.
|
78
80
|
# @return [PaginateddebVerbatimPublicationResponseList]
|
79
81
|
describe 'list test' do
|
80
82
|
it 'should work' do
|
@@ -87,8 +89,8 @@ describe 'PublicationsVerbatimApi' do
|
|
87
89
|
# 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
90
|
# @param deb_verbatim_publication_href
|
89
91
|
# @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.
|
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.
|
92
94
|
# @return [DebVerbatimPublicationResponse]
|
93
95
|
describe 'read test' do
|
94
96
|
it 'should work' do
|
@@ -61,22 +61,24 @@ 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
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
71
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
71
73
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [DateTime] :pulp_last_updated
|
74
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
73
75
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
76
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
77
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
78
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
79
|
# @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.
|
80
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
81
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
82
|
# @return [PaginateddebAptRemoteResponseList]
|
81
83
|
describe 'list test' do
|
82
84
|
it 'should work' do
|
@@ -102,8 +104,8 @@ describe 'RemotesAptApi' do
|
|
102
104
|
# 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
105
|
# @param deb_apt_remote_href
|
104
106
|
# @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.
|
107
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
109
|
# @return [DebAptRemoteResponse]
|
108
110
|
describe 'read test' do
|
109
111
|
it 'should work' do
|
@@ -61,17 +61,27 @@ 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
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
71
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
71
73
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
74
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
-
# @option opts [
|
74
|
-
# @option opts [
|
75
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
76
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
77
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
78
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
79
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
80
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
81
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
82
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
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.
|
75
85
|
# @return [PaginateddebAptRepositoryResponseList]
|
76
86
|
describe 'list test' do
|
77
87
|
it 'should work' do
|
@@ -110,8 +120,8 @@ describe 'RepositoriesAptApi' do
|
|
110
120
|
# 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
121
|
# @param deb_apt_repository_href
|
112
122
|
# @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.
|
123
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
124
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
125
|
# @return [DebAptRepositoryResponse]
|
116
126
|
describe 'read test' do
|
117
127
|
it 'should work' do
|
@@ -52,22 +52,23 @@ 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
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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] :
|
70
|
-
# @option opts [String] :
|
69
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
72
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
73
|
describe 'list test' do
|
73
74
|
it 'should work' do
|
@@ -80,8 +81,8 @@ describe 'RepositoriesAptVersionsApi' do
|
|
80
81
|
# 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
82
|
# @param deb_apt_repository_version_href
|
82
83
|
# @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.
|
84
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
85
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
86
|
# @return [RepositoryVersionResponse]
|
86
87
|
describe 'read test' do
|
87
88
|
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
|