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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGenericContentsApi.md +14 -10
  4. data/docs/ContentInstallerFileIndicesApi.md +14 -10
  5. data/docs/ContentInstallerPackagesApi.md +20 -16
  6. data/docs/ContentPackageIndicesApi.md +14 -10
  7. data/docs/ContentPackageReleaseComponentsApi.md +16 -12
  8. data/docs/ContentPackagesApi.md +20 -16
  9. data/docs/ContentReleaseArchitecturesApi.md +15 -11
  10. data/docs/ContentReleaseComponentsApi.md +15 -11
  11. data/docs/ContentReleaseFilesApi.md +14 -10
  12. data/docs/ContentReleasesApi.md +14 -10
  13. data/docs/DebAptDistribution.md +1 -1
  14. data/docs/DebAptDistributionResponse.md +1 -1
  15. data/docs/DebAptRemote.md +2 -2
  16. data/docs/DebAptRemoteResponse.md +4 -2
  17. data/docs/DebAptRemoteResponseHiddenFields.md +19 -0
  18. data/docs/DebAptRepository.md +2 -2
  19. data/docs/DebAptRepositoryResponse.md +2 -2
  20. data/docs/DebInstallerFileIndex.md +0 -2
  21. data/docs/DebInstallerFileIndexResponse.md +0 -2
  22. data/docs/DebPackageIndex.md +0 -2
  23. data/docs/DebPackageIndexResponse.md +0 -2
  24. data/docs/DistributionsAptApi.md +22 -14
  25. data/docs/PatcheddebAptDistribution.md +1 -1
  26. data/docs/PatcheddebAptRemote.md +2 -2
  27. data/docs/PatcheddebAptRepository.md +2 -2
  28. data/docs/PublicationsAptApi.md +16 -12
  29. data/docs/PublicationsVerbatimApi.md +16 -12
  30. data/docs/RemotesAptApi.md +18 -14
  31. data/docs/RepositoriesAptApi.md +33 -13
  32. data/docs/RepositoriesAptVersionsApi.md +16 -14
  33. data/docs/RepositoryAddRemoveContent.md +2 -2
  34. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +21 -15
  35. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +21 -15
  36. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +27 -21
  37. data/lib/pulp_deb_client/api/content_package_indices_api.rb +21 -15
  38. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +21 -15
  39. data/lib/pulp_deb_client/api/content_packages_api.rb +27 -21
  40. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +21 -15
  41. data/lib/pulp_deb_client/api/content_release_components_api.rb +21 -15
  42. data/lib/pulp_deb_client/api/content_release_files_api.rb +21 -15
  43. data/lib/pulp_deb_client/api/content_releases_api.rb +21 -15
  44. data/lib/pulp_deb_client/api/distributions_apt_api.rb +31 -19
  45. data/lib/pulp_deb_client/api/publications_apt_api.rb +23 -17
  46. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +23 -17
  47. data/lib/pulp_deb_client/api/remotes_apt_api.rb +25 -19
  48. data/lib/pulp_deb_client/api/repositories_apt_api.rb +47 -17
  49. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +22 -19
  50. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -2
  51. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +4 -2
  52. data/lib/pulp_deb_client/models/deb_apt_remote.rb +5 -3
  53. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -4
  54. data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +215 -0
  55. data/lib/pulp_deb_client/models/deb_apt_repository.rb +5 -3
  56. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +5 -3
  57. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -16
  58. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -16
  59. data/lib/pulp_deb_client/models/deb_package_index.rb +1 -16
  60. data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -16
  61. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +4 -2
  62. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +5 -3
  63. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +5 -3
  64. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +2 -2
  65. data/lib/pulp_deb_client/version.rb +1 -1
  66. data/lib/pulp_deb_client.rb +1 -0
  67. data/spec/api/content_generic_contents_api_spec.rb +7 -5
  68. data/spec/api/content_installer_file_indices_api_spec.rb +7 -5
  69. data/spec/api/content_installer_packages_api_spec.rb +10 -8
  70. data/spec/api/content_package_indices_api_spec.rb +7 -5
  71. data/spec/api/content_package_release_components_api_spec.rb +7 -5
  72. data/spec/api/content_packages_api_spec.rb +10 -8
  73. data/spec/api/content_release_architectures_api_spec.rb +7 -5
  74. data/spec/api/content_release_components_api_spec.rb +7 -5
  75. data/spec/api/content_release_files_api_spec.rb +7 -5
  76. data/spec/api/content_releases_api_spec.rb +7 -5
  77. data/spec/api/distributions_apt_api_spec.rb +11 -7
  78. data/spec/api/publications_apt_api_spec.rb +8 -6
  79. data/spec/api/publications_verbatim_api_spec.rb +8 -6
  80. data/spec/api/remotes_apt_api_spec.rb +9 -7
  81. data/spec/api/repositories_apt_api_spec.rb +16 -6
  82. data/spec/api/repositories_apt_versions_api_spec.rb +8 -7
  83. data/spec/models/deb_apt_remote_response_hidden_fields_spec.rb +47 -0
  84. data/spec/models/deb_apt_remote_response_spec.rb +6 -0
  85. data/spec/models/deb_installer_file_index_response_spec.rb +0 -6
  86. data/spec/models/deb_installer_file_index_spec.rb +0 -6
  87. data/spec/models/deb_package_index_response_spec.rb +0 -6
  88. data/spec/models/deb_package_index_spec.rb +0 -6
  89. 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 * &#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;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.
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 * &#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
+ # @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 &#39;Release&#39; and &#39;InRelease&#39; file. If the &#39;Release&#39; file is present, then there may also be a &#39;Release.gpg&#39; 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 &#39;Release&#39; 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 * &#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>] :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 \&quot;Release content\&quot;, the terms \&quot;distribution\&quot; and \&quot;release\&quot; are synonyms. An \&quot;APT repository release/distribution\&quot; is associated with a single &#39;Release&#39; file below the &#39;dists/&#39; folder. The \&quot;distribution\&quot; refers to the path between &#39;dists/&#39; and the &#39;Release&#39; file. The \&quot;distribution\&quot; could be considered the name of the \&quot;release\&quot;. It is often (but not always) equal to the \&quot;codename\&quot; or \&quot;suite\&quot;.
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 * &#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;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 ISO 8601 formatted dates are supported
67
+ # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; 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 ISO 8601 formatted dates are supported
67
+ # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 \&quot;mirrored\&quot; 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 * &#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)
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 ISO 8601 formatted dates are supported
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 * &#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)
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 [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 [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 ISO 8601 formatted dates are supported
62
+ # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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] :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>] :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