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
@@ -101,19 +101,21 @@ module PulpDebClient
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @option opts [String] :architecture Filter results where architecture matches value
103
103
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
104
- # @option opts [Boolean] :build_essential Filter results where build_essential matches value
104
+ # @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
105
105
  # @option opts [String] :built_using Filter results where built_using matches value
106
- # @option opts [Boolean] :essential Filter results where essential matches value
106
+ # @option opts [Boolean] :essential Filter results where essential matches value * `True` - yes * `False` - no
107
107
  # @option opts [Integer] :installed_size Filter results where installed_size matches value
108
108
  # @option opts [Integer] :limit Number of results to return per page.
109
109
  # @option opts [String] :maintainer Filter results where maintainer matches value
110
- # @option opts [String] :multi_arch Filter results where multi_arch matches value
110
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
111
111
  # @option opts [Integer] :offset The initial index from which to return the results.
112
- # @option opts [Array<String>] :ordering Ordering
112
+ # @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;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
113
113
  # @option opts [String] :origin Filter results where origin matches value
114
114
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
115
115
  # @option opts [String] :package Filter results where package matches value
116
116
  # @option opts [String] :priority Filter results where priority matches value
117
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
118
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
117
119
  # @option opts [String] :repository_version Repository Version referenced by HREF
118
120
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
119
121
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -122,8 +124,8 @@ module PulpDebClient
122
124
  # @option opts [String] :source Filter results where source matches value
123
125
  # @option opts [String] :tag Filter results where tag matches value
124
126
  # @option opts [String] :version Filter results where version matches value
125
- # @option opts [String] :fields A list of fields to include in the response.
126
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
127
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
128
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
127
129
  # @return [PaginateddebBasePackageResponseList]
128
130
  def list(opts = {})
129
131
  data, _status_code, _headers = list_with_http_info(opts)
@@ -135,19 +137,21 @@ module PulpDebClient
135
137
  # @param [Hash] opts the optional parameters
136
138
  # @option opts [String] :architecture Filter results where architecture matches value
137
139
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
138
- # @option opts [Boolean] :build_essential Filter results where build_essential matches value
140
+ # @option opts [Boolean] :build_essential Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
139
141
  # @option opts [String] :built_using Filter results where built_using matches value
140
- # @option opts [Boolean] :essential Filter results where essential matches value
142
+ # @option opts [Boolean] :essential Filter results where essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
141
143
  # @option opts [Integer] :installed_size Filter results where installed_size matches value
142
144
  # @option opts [Integer] :limit Number of results to return per page.
143
145
  # @option opts [String] :maintainer Filter results where maintainer matches value
144
- # @option opts [String] :multi_arch Filter results where multi_arch matches value
146
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
145
147
  # @option opts [Integer] :offset The initial index from which to return the results.
146
- # @option opts [Array<String>] :ordering Ordering
148
+ # @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;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
147
149
  # @option opts [String] :origin Filter results where origin matches value
148
150
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
149
151
  # @option opts [String] :package Filter results where package matches value
150
152
  # @option opts [String] :priority Filter results where priority matches value
153
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
154
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
151
155
  # @option opts [String] :repository_version Repository Version referenced by HREF
152
156
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
153
157
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -156,8 +160,8 @@ module PulpDebClient
156
160
  # @option opts [String] :source Filter results where source matches value
157
161
  # @option opts [String] :tag Filter results where tag matches value
158
162
  # @option opts [String] :version Filter results where version matches value
159
- # @option opts [String] :fields A list of fields to include in the response.
160
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
163
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
164
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
161
165
  # @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
162
166
  def list_with_http_info(opts = {})
163
167
  if @api_client.config.debugging
@@ -175,7 +179,7 @@ module PulpDebClient
175
179
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
176
180
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
177
181
  end
178
- allowable_values = ["-_artifacts", "-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-content_ptr", "-contentartifact", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-group_roles", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-repositories", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "content_ptr", "contentartifact", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "group_roles", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "repositories", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
182
+ allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
179
183
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
180
184
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
181
185
  end
@@ -199,6 +203,8 @@ module PulpDebClient
199
203
  query_params[:'original_maintainer'] = opts[:'original_maintainer'] if !opts[:'original_maintainer'].nil?
200
204
  query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
201
205
  query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
206
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
207
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
202
208
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
203
209
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
204
210
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -207,8 +213,8 @@ module PulpDebClient
207
213
  query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
208
214
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
209
215
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
210
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
211
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
216
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
217
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
212
218
 
213
219
  # header parameters
214
220
  header_params = opts[:header_params] || {}
@@ -247,8 +253,8 @@ module PulpDebClient
247
253
  # 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.
248
254
  # @param deb_installer_package_href [String]
249
255
  # @param [Hash] opts the optional parameters
250
- # @option opts [String] :fields A list of fields to include in the response.
251
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
256
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
257
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
252
258
  # @return [DebBasePackageResponse]
253
259
  def read(deb_installer_package_href, opts = {})
254
260
  data, _status_code, _headers = read_with_http_info(deb_installer_package_href, opts)
@@ -259,8 +265,8 @@ module PulpDebClient
259
265
  # An InstallerPackage represents a &#39;.udeb&#39; installer package. Associated artifacts: Exactly one &#39;.udeb&#39; 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.
260
266
  # @param deb_installer_package_href [String]
261
267
  # @param [Hash] opts the optional parameters
262
- # @option opts [String] :fields A list of fields to include in the response.
263
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
268
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
269
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
264
270
  # @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
265
271
  def read_with_http_info(deb_installer_package_href, opts = {})
266
272
  if @api_client.config.debugging
@@ -275,8 +281,8 @@ module PulpDebClient
275
281
 
276
282
  # query parameters
277
283
  query_params = opts[:query_params] || {}
278
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
279
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
284
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
285
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
280
286
 
281
287
  # header parameters
282
288
  header_params = opts[:header_params] || {}
@@ -90,14 +90,16 @@ module PulpDebClient
90
90
  # @option opts [String] :component Filter results where component matches value
91
91
  # @option opts [Integer] :limit Number of results to return per page.
92
92
  # @option opts [Integer] :offset The initial index from which to return the results.
93
- # @option opts [Array<String>] :ordering Ordering
93
+ # @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;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (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)
94
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
95
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
94
96
  # @option opts [String] :relative_path Filter results where relative_path matches value
95
97
  # @option opts [String] :repository_version Repository Version referenced by HREF
96
98
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
97
99
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
98
100
  # @option opts [String] :sha256 Filter results where sha256 matches value
99
- # @option opts [String] :fields A list of fields to include in the response.
100
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
102
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
103
  # @return [PaginateddebPackageIndexResponseList]
102
104
  def list(opts = {})
103
105
  data, _status_code, _headers = list_with_http_info(opts)
@@ -111,20 +113,22 @@ module PulpDebClient
111
113
  # @option opts [String] :component Filter results where component matches value
112
114
  # @option opts [Integer] :limit Number of results to return per page.
113
115
  # @option opts [Integer] :offset The initial index from which to return the results.
114
- # @option opts [Array<String>] :ordering Ordering
116
+ # @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;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (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)
117
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
118
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
115
119
  # @option opts [String] :relative_path Filter results where relative_path matches value
116
120
  # @option opts [String] :repository_version Repository Version referenced by HREF
117
121
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
118
122
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
119
123
  # @option opts [String] :sha256 Filter results where sha256 matches value
120
- # @option opts [String] :fields A list of fields to include in the response.
121
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
124
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
125
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
126
  # @return [Array<(PaginateddebPackageIndexResponseList, Integer, Hash)>] PaginateddebPackageIndexResponseList data, response status code and response headers
123
127
  def list_with_http_info(opts = {})
124
128
  if @api_client.config.debugging
125
129
  @api_client.config.logger.debug 'Calling API: ContentPackageIndicesApi.list ...'
126
130
  end
127
- allowable_values = ["-_artifacts", "-architecture", "-artifact_set_sha256", "-component", "-content_ptr", "-contentartifact", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-release", "-repositories", "-sha256", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "architecture", "artifact_set_sha256", "component", "content_ptr", "contentartifact", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "release", "repositories", "sha256", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
131
+ allowable_values = ["-architecture", "-artifact_set_sha256", "-component", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "architecture", "artifact_set_sha256", "component", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
128
132
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
133
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
134
  end
@@ -138,13 +142,15 @@ module PulpDebClient
138
142
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
139
143
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
140
144
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
145
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
146
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
141
147
  query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
142
148
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
143
149
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
144
150
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
145
151
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
146
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
147
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
152
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
153
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
148
154
 
149
155
  # header parameters
150
156
  header_params = opts[:header_params] || {}
@@ -183,8 +189,8 @@ module PulpDebClient
183
189
  # 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.
184
190
  # @param deb_package_index_href [String]
185
191
  # @param [Hash] opts the optional parameters
186
- # @option opts [String] :fields A list of fields to include in the response.
187
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
188
194
  # @return [DebPackageIndexResponse]
189
195
  def read(deb_package_index_href, opts = {})
190
196
  data, _status_code, _headers = read_with_http_info(deb_package_index_href, opts)
@@ -195,8 +201,8 @@ module PulpDebClient
195
201
  # A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one &#39;Packages&#39; file. May optionally include one or more of &#39;Packages.gz&#39;, &#39;Packages.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; 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 &#39;Packages&#39; files it needs when creating the publication. It does not make use of PackageIndex content.
196
202
  # @param deb_package_index_href [String]
197
203
  # @param [Hash] opts the optional parameters
198
- # @option opts [String] :fields A list of fields to include in the response.
199
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
204
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
205
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
200
206
  # @return [Array<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
201
207
  def read_with_http_info(deb_package_index_href, opts = {})
202
208
  if @api_client.config.debugging
@@ -211,8 +217,8 @@ module PulpDebClient
211
217
 
212
218
  # query parameters
213
219
  query_params = opts[:query_params] || {}
214
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
215
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
220
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
221
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
216
222
 
217
223
  # header parameters
218
224
  header_params = opts[:header_params] || {}
@@ -88,14 +88,16 @@ module PulpDebClient
88
88
  # @param [Hash] opts the optional parameters
89
89
  # @option opts [Integer] :limit Number of results to return per page.
90
90
  # @option opts [Integer] :offset The initial index from which to return the results.
91
- # @option opts [Array<String>] :ordering Ordering
91
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
92
  # @option opts [String] :package Filter results where package matches value
93
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
93
95
  # @option opts [String] :release_component Filter results where release_component matches value
94
96
  # @option opts [String] :repository_version Repository Version referenced by HREF
95
97
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
96
98
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
97
- # @option opts [String] :fields A list of fields to include in the response.
98
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
100
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
99
101
  # @return [PaginateddebPackageReleaseComponentResponseList]
100
102
  def list(opts = {})
101
103
  data, _status_code, _headers = list_with_http_info(opts)
@@ -107,20 +109,22 @@ module PulpDebClient
107
109
  # @param [Hash] opts the optional parameters
108
110
  # @option opts [Integer] :limit Number of results to return per page.
109
111
  # @option opts [Integer] :offset The initial index from which to return the results.
110
- # @option opts [Array<String>] :ordering Ordering
112
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
111
113
  # @option opts [String] :package Filter results where package matches value
114
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
115
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
112
116
  # @option opts [String] :release_component Filter results where release_component matches value
113
117
  # @option opts [String] :repository_version Repository Version referenced by HREF
114
118
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
115
119
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
116
- # @option opts [String] :fields A list of fields to include in the response.
117
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
122
  # @return [Array<(PaginateddebPackageReleaseComponentResponseList, Integer, Hash)>] PaginateddebPackageReleaseComponentResponseList data, response status code and response headers
119
123
  def list_with_http_info(opts = {})
120
124
  if @api_client.config.debugging
121
125
  @api_client.config.logger.debug 'Calling API: ContentPackageReleaseComponentsApi.list ...'
122
126
  end
123
- allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-package", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-release_component", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "package", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "release_component", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
127
+ allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
124
128
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
125
129
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
126
130
  end
@@ -133,12 +137,14 @@ module PulpDebClient
133
137
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
134
138
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
135
139
  query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
140
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
141
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
136
142
  query_params[:'release_component'] = opts[:'release_component'] if !opts[:'release_component'].nil?
137
143
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
138
144
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
139
145
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
140
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
141
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
146
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
147
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
142
148
 
143
149
  # header parameters
144
150
  header_params = opts[:header_params] || {}
@@ -177,8 +183,8 @@ module PulpDebClient
177
183
  # 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.
178
184
  # @param deb_package_release_component_href [String]
179
185
  # @param [Hash] opts the optional parameters
180
- # @option opts [String] :fields A list of fields to include in the response.
181
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
187
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
182
188
  # @return [DebPackageReleaseComponentResponse]
183
189
  def read(deb_package_release_component_href, opts = {})
184
190
  data, _status_code, _headers = read_with_http_info(deb_package_release_component_href, opts)
@@ -189,8 +195,8 @@ module PulpDebClient
189
195
  # 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.
190
196
  # @param deb_package_release_component_href [String]
191
197
  # @param [Hash] opts the optional parameters
192
- # @option opts [String] :fields A list of fields to include in the response.
193
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
198
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
199
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
200
  # @return [Array<(DebPackageReleaseComponentResponse, Integer, Hash)>] DebPackageReleaseComponentResponse data, response status code and response headers
195
201
  def read_with_http_info(deb_package_release_component_href, opts = {})
196
202
  if @api_client.config.debugging
@@ -205,8 +211,8 @@ module PulpDebClient
205
211
 
206
212
  # query parameters
207
213
  query_params = opts[:query_params] || {}
208
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
209
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
214
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
215
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
210
216
 
211
217
  # header parameters
212
218
  header_params = opts[:header_params] || {}
@@ -101,19 +101,21 @@ module PulpDebClient
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @option opts [String] :architecture Filter results where architecture matches value
103
103
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
104
- # @option opts [Boolean] :build_essential Filter results where build_essential matches value
104
+ # @option opts [Boolean] :build_essential Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
105
105
  # @option opts [String] :built_using Filter results where built_using matches value
106
- # @option opts [Boolean] :essential Filter results where essential matches value
106
+ # @option opts [Boolean] :essential Filter results where essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
107
107
  # @option opts [Integer] :installed_size Filter results where installed_size matches value
108
108
  # @option opts [Integer] :limit Number of results to return per page.
109
109
  # @option opts [String] :maintainer Filter results where maintainer matches value
110
- # @option opts [String] :multi_arch Filter results where multi_arch matches value
110
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
111
111
  # @option opts [Integer] :offset The initial index from which to return the results.
112
- # @option opts [Array<String>] :ordering Ordering
112
+ # @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;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
113
113
  # @option opts [String] :origin Filter results where origin matches value
114
114
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
115
115
  # @option opts [String] :package Filter results where package matches value
116
116
  # @option opts [String] :priority Filter results where priority matches value
117
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
118
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
117
119
  # @option opts [String] :relative_path Filter results where relative_path matches value
118
120
  # @option opts [String] :repository_version Repository Version referenced by HREF
119
121
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -123,8 +125,8 @@ module PulpDebClient
123
125
  # @option opts [String] :source Filter results where source matches value
124
126
  # @option opts [String] :tag Filter results where tag matches value
125
127
  # @option opts [String] :version Filter results where version matches value
126
- # @option opts [String] :fields A list of fields to include in the response.
127
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
128
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
129
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
130
  # @return [PaginateddebBasePackageResponseList]
129
131
  def list(opts = {})
130
132
  data, _status_code, _headers = list_with_http_info(opts)
@@ -136,19 +138,21 @@ module PulpDebClient
136
138
  # @param [Hash] opts the optional parameters
137
139
  # @option opts [String] :architecture Filter results where architecture matches value
138
140
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
139
- # @option opts [Boolean] :build_essential Filter results where build_essential matches value
141
+ # @option opts [Boolean] :build_essential Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
140
142
  # @option opts [String] :built_using Filter results where built_using matches value
141
- # @option opts [Boolean] :essential Filter results where essential matches value
143
+ # @option opts [Boolean] :essential Filter results where essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
142
144
  # @option opts [Integer] :installed_size Filter results where installed_size matches value
143
145
  # @option opts [Integer] :limit Number of results to return per page.
144
146
  # @option opts [String] :maintainer Filter results where maintainer matches value
145
- # @option opts [String] :multi_arch Filter results where multi_arch matches value
147
+ # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
146
148
  # @option opts [Integer] :offset The initial index from which to return the results.
147
- # @option opts [Array<String>] :ordering Ordering
149
+ # @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;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
148
150
  # @option opts [String] :origin Filter results where origin matches value
149
151
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
150
152
  # @option opts [String] :package Filter results where package matches value
151
153
  # @option opts [String] :priority Filter results where priority matches value
154
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
155
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
152
156
  # @option opts [String] :relative_path Filter results where relative_path matches value
153
157
  # @option opts [String] :repository_version Repository Version referenced by HREF
154
158
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -158,8 +162,8 @@ module PulpDebClient
158
162
  # @option opts [String] :source Filter results where source matches value
159
163
  # @option opts [String] :tag Filter results where tag matches value
160
164
  # @option opts [String] :version Filter results where version matches value
161
- # @option opts [String] :fields A list of fields to include in the response.
162
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
165
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
166
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
163
167
  # @return [Array<(PaginateddebBasePackageResponseList, Integer, Hash)>] PaginateddebBasePackageResponseList data, response status code and response headers
164
168
  def list_with_http_info(opts = {})
165
169
  if @api_client.config.debugging
@@ -177,7 +181,7 @@ module PulpDebClient
177
181
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
178
182
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
179
183
  end
180
- allowable_values = ["-_artifacts", "-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-content_ptr", "-contentartifact", "-custom_fields", "-deb_packagereleasecomponent", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-group_roles", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-repositories", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "content_ptr", "contentartifact", "custom_fields", "deb_packagereleasecomponent", "depends", "description", "description_md5", "enhances", "essential", "group_roles", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "repositories", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
184
+ allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
181
185
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
182
186
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
183
187
  end
@@ -201,6 +205,8 @@ module PulpDebClient
201
205
  query_params[:'original_maintainer'] = opts[:'original_maintainer'] if !opts[:'original_maintainer'].nil?
202
206
  query_params[:'package'] = opts[:'package'] if !opts[:'package'].nil?
203
207
  query_params[:'priority'] = opts[:'priority'] if !opts[:'priority'].nil?
208
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
209
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
204
210
  query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
205
211
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
206
212
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -210,8 +216,8 @@ module PulpDebClient
210
216
  query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
211
217
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
212
218
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
213
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
214
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
219
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
220
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
215
221
 
216
222
  # header parameters
217
223
  header_params = opts[:header_params] || {}
@@ -250,8 +256,8 @@ module PulpDebClient
250
256
  # A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
251
257
  # @param deb_package_href [String]
252
258
  # @param [Hash] opts the optional parameters
253
- # @option opts [String] :fields A list of fields to include in the response.
254
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
259
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
260
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
255
261
  # @return [DebBasePackageResponse]
256
262
  def read(deb_package_href, opts = {})
257
263
  data, _status_code, _headers = read_with_http_info(deb_package_href, opts)
@@ -262,8 +268,8 @@ module PulpDebClient
262
268
  # A Package represents a &#39;.deb&#39; binary package. Associated artifacts: Exactly one &#39;.deb&#39; package file.
263
269
  # @param deb_package_href [String]
264
270
  # @param [Hash] opts the optional parameters
265
- # @option opts [String] :fields A list of fields to include in the response.
266
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
271
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
272
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
267
273
  # @return [Array<(DebBasePackageResponse, Integer, Hash)>] DebBasePackageResponse data, response status code and response headers
268
274
  def read_with_http_info(deb_package_href, opts = {})
269
275
  if @api_client.config.debugging
@@ -278,8 +284,8 @@ module PulpDebClient
278
284
 
279
285
  # query parameters
280
286
  query_params = opts[:query_params] || {}
281
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
282
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
287
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
288
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
283
289
 
284
290
  # header parameters
285
291
  header_params = opts[:header_params] || {}