pulp_deb_client 2.9.1 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentGenericContentsApi.md +10 -10
  4. data/docs/ContentInstallerFileIndicesApi.md +14 -14
  5. data/docs/ContentInstallerPackagesApi.md +40 -40
  6. data/docs/ContentPackageIndicesApi.md +14 -14
  7. data/docs/ContentPackageReleaseComponentsApi.md +10 -10
  8. data/docs/ContentPackagesApi.md +42 -42
  9. data/docs/ContentReleaseArchitecturesApi.md +10 -10
  10. data/docs/ContentReleaseComponentsApi.md +10 -10
  11. data/docs/ContentReleaseFilesApi.md +14 -14
  12. data/docs/ContentReleasesApi.md +12 -12
  13. data/docs/ContentSummary.md +3 -3
  14. data/docs/ContentSummaryResponse.md +3 -3
  15. data/docs/DebAptDistribution.md +4 -0
  16. data/docs/DebAptDistributionResponse.md +4 -0
  17. data/docs/DebAptRemote.md +11 -1
  18. data/docs/DebAptRemoteResponse.md +7 -7
  19. data/docs/DebAptRepository.md +5 -1
  20. data/docs/DebAptRepositoryResponse.md +4 -0
  21. data/docs/DistributionsAptApi.md +20 -12
  22. data/docs/PatcheddebAptDistribution.md +4 -0
  23. data/docs/PatcheddebAptRemote.md +11 -1
  24. data/docs/PatcheddebAptRepository.md +5 -1
  25. data/docs/PublicationsAptApi.md +18 -14
  26. data/docs/PublicationsVerbatimApi.md +18 -14
  27. data/docs/RemotesAptApi.md +24 -16
  28. data/docs/RepositoriesAptApi.md +12 -4
  29. data/docs/RepositoriesDebVersionsApi.md +28 -28
  30. data/docs/RepositoryVersionResponse.md +2 -0
  31. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +10 -10
  32. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +14 -14
  33. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +43 -43
  34. data/lib/pulp_deb_client/api/content_package_indices_api.rb +14 -14
  35. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +10 -10
  36. data/lib/pulp_deb_client/api/content_packages_api.rb +45 -45
  37. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +10 -10
  38. data/lib/pulp_deb_client/api/content_release_components_api.rb +10 -10
  39. data/lib/pulp_deb_client/api/content_release_files_api.rb +14 -14
  40. data/lib/pulp_deb_client/api/content_releases_api.rb +12 -12
  41. data/lib/pulp_deb_client/api/distributions_apt_api.rb +26 -14
  42. data/lib/pulp_deb_client/api/publications_apt_api.rb +21 -15
  43. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +21 -15
  44. data/lib/pulp_deb_client/api/remotes_apt_api.rb +30 -18
  45. data/lib/pulp_deb_client/api/repositories_apt_api.rb +17 -5
  46. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +30 -30
  47. data/lib/pulp_deb_client/models/content_summary.rb +12 -6
  48. data/lib/pulp_deb_client/models/content_summary_response.rb +12 -6
  49. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +21 -1
  50. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
  51. data/lib/pulp_deb_client/models/deb_apt_remote.rb +56 -2
  52. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -32
  53. data/lib/pulp_deb_client/models/deb_apt_repository.rb +36 -1
  54. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +36 -1
  55. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +21 -1
  56. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +56 -2
  57. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +36 -1
  58. data/lib/pulp_deb_client/models/repository_version_response.rb +10 -1
  59. data/lib/pulp_deb_client/version.rb +1 -1
  60. data/spec/api/content_generic_contents_api_spec.rb +5 -5
  61. data/spec/api/content_installer_file_indices_api_spec.rb +7 -7
  62. data/spec/api/content_installer_packages_api_spec.rb +20 -20
  63. data/spec/api/content_package_indices_api_spec.rb +7 -7
  64. data/spec/api/content_package_release_components_api_spec.rb +5 -5
  65. data/spec/api/content_packages_api_spec.rb +21 -21
  66. data/spec/api/content_release_architectures_api_spec.rb +5 -5
  67. data/spec/api/content_release_components_api_spec.rb +5 -5
  68. data/spec/api/content_release_files_api_spec.rb +7 -7
  69. data/spec/api/content_releases_api_spec.rb +6 -6
  70. data/spec/api/distributions_apt_api_spec.rb +10 -6
  71. data/spec/api/publications_apt_api_spec.rb +9 -7
  72. data/spec/api/publications_verbatim_api_spec.rb +9 -7
  73. data/spec/api/remotes_apt_api_spec.rb +12 -8
  74. data/spec/api/repositories_apt_api_spec.rb +6 -2
  75. data/spec/api/repositories_deb_versions_api_spec.rb +14 -14
  76. data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
  77. data/spec/models/deb_apt_distribution_spec.rb +12 -0
  78. data/spec/models/deb_apt_remote_response_spec.rb +12 -12
  79. data/spec/models/deb_apt_remote_spec.rb +30 -0
  80. data/spec/models/deb_apt_repository_response_spec.rb +12 -0
  81. data/spec/models/deb_apt_repository_spec.rb +12 -0
  82. data/spec/models/patcheddeb_apt_distribution_spec.rb +12 -0
  83. data/spec/models/patcheddeb_apt_remote_spec.rb +30 -0
  84. data/spec/models/patcheddeb_apt_repository_spec.rb +12 -0
  85. data/spec/models/repository_version_response_spec.rb +6 -0
  86. metadata +56 -56
@@ -146,16 +146,18 @@ module PulpDebClient
146
146
  # List apt publications
147
147
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
152
- # @option opts [String] :pulp_created pulp_created
153
- # @option opts [String] :pulp_created__gt pulp_created__gt
154
- # @option opts [String] :pulp_created__gte pulp_created__gte
155
- # @option opts [String] :pulp_created__lt pulp_created__lt
156
- # @option opts [String] :pulp_created__lte pulp_created__lte
157
- # @option opts [String] :pulp_created__range pulp_created__range
158
- # @option opts [String] :repository_version repository_version
154
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
155
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
156
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
157
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
158
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
159
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
160
+ # @option opts [String] :repository_version Repository Version referenced by HREF
159
161
  # @option opts [String] :fields A list of fields to include in the response.
160
162
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
163
  # @return [PaginateddebAptPublicationResponseList]
@@ -167,16 +169,18 @@ module PulpDebClient
167
169
  # List apt publications
168
170
  # 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).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
173
- # @option opts [String] :pulp_created pulp_created
174
- # @option opts [String] :pulp_created__gt pulp_created__gt
175
- # @option opts [String] :pulp_created__gte pulp_created__gte
176
- # @option opts [String] :pulp_created__lt pulp_created__lt
177
- # @option opts [String] :pulp_created__lte pulp_created__lte
178
- # @option opts [String] :pulp_created__range pulp_created__range
179
- # @option opts [String] :repository_version repository_version
177
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
178
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
179
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
180
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
181
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
182
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
183
+ # @option opts [String] :repository_version Repository Version referenced by HREF
180
184
  # @option opts [String] :fields A list of fields to include in the response.
181
185
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
186
  # @return [Array<(PaginateddebAptPublicationResponseList, Integer, Hash)>] PaginateddebAptPublicationResponseList data, response status code and response headers
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -197,7 +203,7 @@ module PulpDebClient
197
203
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
198
204
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
199
205
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
200
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
206
+ query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
201
207
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
202
208
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
203
209
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
@@ -146,16 +146,18 @@ module PulpDebClient
146
146
  # List verbatim publications
147
147
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
152
- # @option opts [String] :pulp_created pulp_created
153
- # @option opts [String] :pulp_created__gt pulp_created__gt
154
- # @option opts [String] :pulp_created__gte pulp_created__gte
155
- # @option opts [String] :pulp_created__lt pulp_created__lt
156
- # @option opts [String] :pulp_created__lte pulp_created__lte
157
- # @option opts [String] :pulp_created__range pulp_created__range
158
- # @option opts [String] :repository_version repository_version
154
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
155
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
156
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
157
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
158
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
159
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
160
+ # @option opts [String] :repository_version Repository Version referenced by HREF
159
161
  # @option opts [String] :fields A list of fields to include in the response.
160
162
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
163
  # @return [PaginateddebVerbatimPublicationResponseList]
@@ -167,16 +169,18 @@ module PulpDebClient
167
169
  # List verbatim publications
168
170
  # 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).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
173
- # @option opts [String] :pulp_created pulp_created
174
- # @option opts [String] :pulp_created__gt pulp_created__gt
175
- # @option opts [String] :pulp_created__gte pulp_created__gte
176
- # @option opts [String] :pulp_created__lt pulp_created__lt
177
- # @option opts [String] :pulp_created__lte pulp_created__lte
178
- # @option opts [String] :pulp_created__range pulp_created__range
179
- # @option opts [String] :repository_version repository_version
177
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
178
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
179
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
180
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
181
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
182
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
183
+ # @option opts [String] :repository_version Repository Version referenced by HREF
180
184
  # @option opts [String] :fields A list of fields to include in the response.
181
185
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
186
  # @return [Array<(PaginateddebVerbatimPublicationResponseList, Integer, Hash)>] PaginateddebVerbatimPublicationResponseList data, response status code and response headers
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -197,7 +203,7 @@ module PulpDebClient
197
203
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
198
204
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
199
205
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
200
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
206
+ query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
201
207
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
202
208
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
203
209
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
@@ -149,16 +149,20 @@ module PulpDebClient
149
149
  # 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.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name name
153
- # @option opts [String] :name__in name__in
152
+ # @option opts [String] :name
153
+ # @option opts [String] :name__contains Filter results where name contains value
154
+ # @option opts [String] :name__icontains Filter results where name contains value
155
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
+ # @option opts [String] :name__startswith Filter results where name starts with value
154
157
  # @option opts [Integer] :offset The initial index from which to return the results.
155
158
  # @option opts [String] :ordering Which field to use when ordering the results.
156
- # @option opts [String] :pulp_last_updated pulp_last_updated
157
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
158
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
159
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
160
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
161
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
159
+ # @option opts [String] :pulp_label_select Filter labels by search string
160
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
161
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
162
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
163
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
164
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
165
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
162
166
  # @option opts [String] :fields A list of fields to include in the response.
163
167
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
168
  # @return [PaginateddebAptRemoteResponseList]
@@ -171,16 +175,20 @@ module PulpDebClient
171
175
  # 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.
172
176
  # @param [Hash] opts the optional parameters
173
177
  # @option opts [Integer] :limit Number of results to return per page.
174
- # @option opts [String] :name name
175
- # @option opts [String] :name__in name__in
178
+ # @option opts [String] :name
179
+ # @option opts [String] :name__contains Filter results where name contains value
180
+ # @option opts [String] :name__icontains Filter results where name contains value
181
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
182
+ # @option opts [String] :name__startswith Filter results where name starts with value
176
183
  # @option opts [Integer] :offset The initial index from which to return the results.
177
184
  # @option opts [String] :ordering Which field to use when ordering the results.
178
- # @option opts [String] :pulp_last_updated pulp_last_updated
179
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
180
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
181
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
182
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
183
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
185
+ # @option opts [String] :pulp_label_select Filter labels by search string
186
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
187
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
188
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
189
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
190
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
191
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
184
192
  # @option opts [String] :fields A list of fields to include in the response.
185
193
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
194
  # @return [Array<(PaginateddebAptRemoteResponseList, Integer, Hash)>] PaginateddebAptRemoteResponseList data, response status code and response headers
@@ -195,15 +203,19 @@ module PulpDebClient
195
203
  query_params = opts[:query_params] || {}
196
204
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
197
205
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
198
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
206
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
207
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
208
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
209
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
199
210
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
200
211
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
212
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
201
213
  query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
202
214
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
203
215
  query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
204
216
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
205
217
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
206
- query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
218
+ query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
207
219
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
208
220
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
209
221
 
@@ -149,10 +149,14 @@ module PulpDebClient
149
149
  # 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.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name name
153
- # @option opts [String] :name__in name__in
152
+ # @option opts [String] :name
153
+ # @option opts [String] :name__contains Filter results where name contains value
154
+ # @option opts [String] :name__icontains Filter results where name contains value
155
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
+ # @option opts [String] :name__startswith Filter results where name starts with value
154
157
  # @option opts [Integer] :offset The initial index from which to return the results.
155
158
  # @option opts [String] :ordering Which field to use when ordering the results.
159
+ # @option opts [String] :pulp_label_select Filter labels by search string
156
160
  # @option opts [String] :fields A list of fields to include in the response.
157
161
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
158
162
  # @return [PaginateddebAptRepositoryResponseList]
@@ -165,10 +169,14 @@ module PulpDebClient
165
169
  # 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.
166
170
  # @param [Hash] opts the optional parameters
167
171
  # @option opts [Integer] :limit Number of results to return per page.
168
- # @option opts [String] :name name
169
- # @option opts [String] :name__in name__in
172
+ # @option opts [String] :name
173
+ # @option opts [String] :name__contains Filter results where name contains value
174
+ # @option opts [String] :name__icontains Filter results where name contains value
175
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
176
+ # @option opts [String] :name__startswith Filter results where name starts with value
170
177
  # @option opts [Integer] :offset The initial index from which to return the results.
171
178
  # @option opts [String] :ordering Which field to use when ordering the results.
179
+ # @option opts [String] :pulp_label_select Filter labels by search string
172
180
  # @option opts [String] :fields A list of fields to include in the response.
173
181
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
174
182
  # @return [Array<(PaginateddebAptRepositoryResponseList, Integer, Hash)>] PaginateddebAptRepositoryResponseList data, response status code and response headers
@@ -183,9 +191,13 @@ module PulpDebClient
183
191
  query_params = opts[:query_params] || {}
184
192
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
185
193
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
186
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
194
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
195
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
196
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
197
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
187
198
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
188
199
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
200
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
189
201
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
190
202
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
191
203
 
@@ -85,23 +85,23 @@ module PulpDebClient
85
85
  # 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.
86
86
  # @param deb_apt_repository_href [String]
87
87
  # @param [Hash] opts the optional parameters
88
- # @option opts [String] :content content
89
- # @option opts [String] :content__in content__in
88
+ # @option opts [String] :content Content Unit referenced by HREF
89
+ # @option opts [String] :content__in Content Unit referenced by HREF
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
- # @option opts [String] :number number
92
- # @option opts [String] :number__gt number__gt
93
- # @option opts [String] :number__gte number__gte
94
- # @option opts [String] :number__lt number__lt
95
- # @option opts [String] :number__lte number__lte
96
- # @option opts [String] :number__range number__range
91
+ # @option opts [Integer] :number
92
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
93
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
94
+ # @option opts [Integer] :number__lt Filter results where number is less than value
95
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
98
  # @option opts [String] :ordering Which field to use when ordering the results.
99
- # @option opts [String] :pulp_created pulp_created
100
- # @option opts [String] :pulp_created__gt pulp_created__gt
101
- # @option opts [String] :pulp_created__gte pulp_created__gte
102
- # @option opts [String] :pulp_created__lt pulp_created__lt
103
- # @option opts [String] :pulp_created__lte pulp_created__lte
104
- # @option opts [String] :pulp_created__range pulp_created__range
99
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
100
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
105
  # @option opts [String] :fields A list of fields to include in the response.
106
106
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
107
  # @return [PaginatedRepositoryVersionResponseList]
@@ -114,23 +114,23 @@ module PulpDebClient
114
114
  # 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.
115
115
  # @param deb_apt_repository_href [String]
116
116
  # @param [Hash] opts the optional parameters
117
- # @option opts [String] :content content
118
- # @option opts [String] :content__in content__in
117
+ # @option opts [String] :content Content Unit referenced by HREF
118
+ # @option opts [String] :content__in Content Unit referenced by HREF
119
119
  # @option opts [Integer] :limit Number of results to return per page.
120
- # @option opts [String] :number number
121
- # @option opts [String] :number__gt number__gt
122
- # @option opts [String] :number__gte number__gte
123
- # @option opts [String] :number__lt number__lt
124
- # @option opts [String] :number__lte number__lte
125
- # @option opts [String] :number__range number__range
120
+ # @option opts [Integer] :number
121
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
122
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
123
+ # @option opts [Integer] :number__lt Filter results where number is less than value
124
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
125
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
126
  # @option opts [Integer] :offset The initial index from which to return the results.
127
127
  # @option opts [String] :ordering Which field to use when ordering the results.
128
- # @option opts [String] :pulp_created pulp_created
129
- # @option opts [String] :pulp_created__gt pulp_created__gt
130
- # @option opts [String] :pulp_created__gte pulp_created__gte
131
- # @option opts [String] :pulp_created__lt pulp_created__lt
132
- # @option opts [String] :pulp_created__lte pulp_created__lte
133
- # @option opts [String] :pulp_created__range pulp_created__range
128
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
129
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
131
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
132
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
133
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
134
134
  # @option opts [String] :fields A list of fields to include in the response.
135
135
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
136
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -155,7 +155,7 @@ module PulpDebClient
155
155
  query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
156
156
  query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
157
157
  query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
158
- query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
158
+ query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
159
159
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
160
160
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
161
161
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
@@ -163,7 +163,7 @@ module PulpDebClient
163
163
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
164
164
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
165
165
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
166
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
166
+ query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
167
167
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
168
168
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
169
169
 
@@ -33,9 +33,9 @@ module PulpDebClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpDebClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -33,9 +33,9 @@ module PulpDebClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpDebClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -21,9 +21,14 @@ module PulpDebClient
21
21
  # An optional content-guard.
22
22
  attr_accessor :content_guard
23
23
 
24
+ attr_accessor :pulp_labels
25
+
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
27
32
  # Publication to be served
28
33
  attr_accessor :publication
29
34
 
@@ -32,7 +37,9 @@ module PulpDebClient
32
37
  {
33
38
  :'base_path' => :'base_path',
34
39
  :'content_guard' => :'content_guard',
40
+ :'pulp_labels' => :'pulp_labels',
35
41
  :'name' => :'name',
42
+ :'repository' => :'repository',
36
43
  :'publication' => :'publication'
37
44
  }
38
45
  end
@@ -42,7 +49,9 @@ module PulpDebClient
42
49
  {
43
50
  :'base_path' => :'String',
44
51
  :'content_guard' => :'String',
52
+ :'pulp_labels' => :'Object',
45
53
  :'name' => :'String',
54
+ :'repository' => :'String',
46
55
  :'publication' => :'String'
47
56
  }
48
57
  end
@@ -51,6 +60,7 @@ module PulpDebClient
51
60
  def self.openapi_nullable
52
61
  Set.new([
53
62
  :'content_guard',
63
+ :'repository',
54
64
  :'publication'
55
65
  ])
56
66
  end
@@ -78,10 +88,18 @@ module PulpDebClient
78
88
  self.content_guard = attributes[:'content_guard']
79
89
  end
80
90
 
91
+ if attributes.key?(:'pulp_labels')
92
+ self.pulp_labels = attributes[:'pulp_labels']
93
+ end
94
+
81
95
  if attributes.key?(:'name')
82
96
  self.name = attributes[:'name']
83
97
  end
84
98
 
99
+ if attributes.key?(:'repository')
100
+ self.repository = attributes[:'repository']
101
+ end
102
+
85
103
  if attributes.key?(:'publication')
86
104
  self.publication = attributes[:'publication']
87
105
  end
@@ -117,7 +135,9 @@ module PulpDebClient
117
135
  self.class == o.class &&
118
136
  base_path == o.base_path &&
119
137
  content_guard == o.content_guard &&
138
+ pulp_labels == o.pulp_labels &&
120
139
  name == o.name &&
140
+ repository == o.repository &&
121
141
  publication == o.publication
122
142
  end
123
143
 
@@ -130,7 +150,7 @@ module PulpDebClient
130
150
  # Calculates hash code according to all attributes.
131
151
  # @return [Integer] Hash code
132
152
  def hash
133
- [base_path, content_guard, name, publication].hash
153
+ [base_path, content_guard, pulp_labels, name, repository, publication].hash
134
154
  end
135
155
 
136
156
  # Builds the object from hash