pulp_rpm_client 3.19.0 → 3.19.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b18cb8210d7f19c1b08322b10744a8e015a65710e895c859af77225a52c6456b
4
- data.tar.gz: aca17088bcf9bba420e72b217856846528672b97c5c3384652a724e70f8f6978
3
+ metadata.gz: 298f12cf792807fe740adf95635bd668e0e56d33d9ea6d6857bb1c6c597c4910
4
+ data.tar.gz: 8ef109edcb60605f2c4cc9e847e03a450a83dfc7a1b0a2d4ddd6bc3086d085d3
5
5
  SHA512:
6
- metadata.gz: 0bc65944b701b27065180a300a753e882caf13cf6520aed38ac9bc581592b75809da56ed27ca0143804ac86c69b32046aea153b7ac5017e82dba67d09274f418
7
- data.tar.gz: 5d1d53a54137c6be31f2046d294991ad1e3df4c547480df6c7ce08020cd143a1891cc54014aa47edc3d615ed987ef933d017f956c0af12e186e2c81e66d500d6
6
+ metadata.gz: ee6018329bac51d67b6c40879f1a4b900dee50ec433985dad6c3559ee7d07513d570aade8416c3dfaa9fdbfce41dbe1ec32cc82c83f8384dc4d01dd32dc0559e
7
+ data.tar.gz: e7b8bc889ea72057f4cc5d9fb9ff317b099b9cb9e9b989a622f8e6cc19a227426679be8b37abef6baca22c437d9e9f33b7c8bfcd736f6298fc0f0679f8dae050
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.19.0
10
+ - Package version: 3.19.2
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.19.0.gem
27
+ gem install ./pulp_rpm_client-3.19.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.19.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.19.2.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.19.0'
36
+ gem 'pulp_rpm_client', '~> 3.19.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -85,6 +85,10 @@ end
85
85
 
86
86
  api_instance = PulpRpmClient::ContentModulemdsApi.new
87
87
  opts = {
88
+ arch: 'arch_example', # String | Filter results where arch matches value
89
+ arch__in: ['arch__in_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
90
+ context: 'context_example', # String | Filter results where context matches value
91
+ context__in: ['context__in_example'], # Array<String> | Filter results where context is in a comma-separated list of values
88
92
  limit: 56, # Integer | Number of results to return per page.
89
93
  name: 'name_example', # String | Filter results where name matches value
90
94
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -96,6 +100,8 @@ opts = {
96
100
  sha256: 'sha256_example', # String |
97
101
  stream: 'stream_example', # String | Filter results where stream matches value
98
102
  stream__in: ['stream__in_example'], # Array<String> | Filter results where stream is in a comma-separated list of values
103
+ version: 'version_example', # String | Filter results where version matches value
104
+ version__in: ['version__in_example'], # Array<String> | Filter results where version is in a comma-separated list of values
99
105
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
100
106
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
101
107
  }
@@ -114,6 +120,10 @@ end
114
120
 
115
121
  Name | Type | Description | Notes
116
122
  ------------- | ------------- | ------------- | -------------
123
+ **arch** | **String**| Filter results where arch matches value | [optional]
124
+ **arch__in** | [**Array&lt;String&gt;**](String.md)| Filter results where arch is in a comma-separated list of values | [optional]
125
+ **context** | **String**| Filter results where context matches value | [optional]
126
+ **context__in** | [**Array&lt;String&gt;**](String.md)| Filter results where context is in a comma-separated list of values | [optional]
117
127
  **limit** | **Integer**| Number of results to return per page. | [optional]
118
128
  **name** | **String**| Filter results where name matches value | [optional]
119
129
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -125,6 +135,8 @@ Name | Type | Description | Notes
125
135
  **sha256** | **String**| | [optional]
126
136
  **stream** | **String**| Filter results where stream matches value | [optional]
127
137
  **stream__in** | [**Array&lt;String&gt;**](String.md)| Filter results where stream is in a comma-separated list of values | [optional]
138
+ **version** | **String**| Filter results where version matches value | [optional]
139
+ **version__in** | [**Array&lt;String&gt;**](String.md)| Filter results where version is in a comma-separated list of values | [optional]
128
140
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
129
141
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
130
142
 
@@ -212,6 +212,8 @@ opts = {
212
212
  offset: 56, # Integer | The initial index from which to return the results.
213
213
  ordering: ['ordering_example'], # Array<String> | Ordering
214
214
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
215
+ repository: 'repository_example', # String | Filter results where repository matches value
216
+ repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
215
217
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
216
218
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
217
219
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
@@ -244,6 +246,8 @@ Name | Type | Description | Notes
244
246
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
245
247
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
246
248
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
249
+ **repository** | **String**| Filter results where repository matches value | [optional]
250
+ **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
247
251
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
248
252
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
249
253
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
@@ -211,6 +211,14 @@ opts = {
211
211
  ordering: ['ordering_example'], # Array<String> | Ordering
212
212
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
213
213
  remote: 'remote_example', # String | Foreign Key referenced by HREF
214
+ retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
215
+ retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
216
+ retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
217
+ retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
218
+ retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
219
+ retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
220
+ retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
221
+ retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
214
222
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
215
223
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
216
224
  }
@@ -239,6 +247,14 @@ Name | Type | Description | Notes
239
247
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
240
248
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
241
249
  **remote** | **String**| Foreign Key referenced by HREF | [optional]
250
+ **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
251
+ **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
252
+ **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
253
+ **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
254
+ **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
255
+ **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
256
+ **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
257
+ **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
242
258
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
243
259
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
244
260
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **add_content_units** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
- **remove_content_units** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
7
+ **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
+ **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
9
  **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
10
 
11
11
  ## Code Sample
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
14
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
15
15
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
16
16
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
17
17
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
@@ -86,6 +86,10 @@ module PulpRpmClient
86
86
  # List modulemds
87
87
  # ViewSet for Modulemd.
88
88
  # @param [Hash] opts the optional parameters
89
+ # @option opts [String] :arch Filter results where arch matches value
90
+ # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
91
+ # @option opts [String] :context Filter results where context matches value
92
+ # @option opts [Array<String>] :context__in Filter results where context is in a comma-separated list of values
89
93
  # @option opts [Integer] :limit Number of results to return per page.
90
94
  # @option opts [String] :name Filter results where name matches value
91
95
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -97,6 +101,8 @@ module PulpRpmClient
97
101
  # @option opts [String] :sha256
98
102
  # @option opts [String] :stream Filter results where stream matches value
99
103
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
104
+ # @option opts [String] :version Filter results where version matches value
105
+ # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
100
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
101
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
108
  # @return [PaginatedrpmModulemdResponseList]
@@ -108,6 +114,10 @@ module PulpRpmClient
108
114
  # List modulemds
109
115
  # ViewSet for Modulemd.
110
116
  # @param [Hash] opts the optional parameters
117
+ # @option opts [String] :arch Filter results where arch matches value
118
+ # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
119
+ # @option opts [String] :context Filter results where context matches value
120
+ # @option opts [Array<String>] :context__in Filter results where context is in a comma-separated list of values
111
121
  # @option opts [Integer] :limit Number of results to return per page.
112
122
  # @option opts [String] :name Filter results where name matches value
113
123
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -119,6 +129,8 @@ module PulpRpmClient
119
129
  # @option opts [String] :sha256
120
130
  # @option opts [String] :stream Filter results where stream matches value
121
131
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
132
+ # @option opts [String] :version Filter results where version matches value
133
+ # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
122
134
  # @option opts [Array<String>] :fields A list of fields to include in the response.
123
135
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
136
  # @return [Array<(PaginatedrpmModulemdResponseList, Integer, Hash)>] PaginatedrpmModulemdResponseList data, response status code and response headers
@@ -135,6 +147,10 @@ module PulpRpmClient
135
147
 
136
148
  # query parameters
137
149
  query_params = opts[:query_params] || {}
150
+ query_params[:'arch'] = opts[:'arch'] if !opts[:'arch'].nil?
151
+ query_params[:'arch__in'] = @api_client.build_collection_param(opts[:'arch__in'], :csv) if !opts[:'arch__in'].nil?
152
+ query_params[:'context'] = opts[:'context'] if !opts[:'context'].nil?
153
+ query_params[:'context__in'] = @api_client.build_collection_param(opts[:'context__in'], :csv) if !opts[:'context__in'].nil?
138
154
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
139
155
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
140
156
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
@@ -146,6 +162,8 @@ module PulpRpmClient
146
162
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
147
163
  query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
148
164
  query_params[:'stream__in'] = @api_client.build_collection_param(opts[:'stream__in'], :csv) if !opts[:'stream__in'].nil?
165
+ query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
166
+ query_params[:'version__in'] = @api_client.build_collection_param(opts[:'version__in'], :csv) if !opts[:'version__in'].nil?
149
167
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
150
168
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
151
169
 
@@ -229,6 +229,8 @@ module PulpRpmClient
229
229
  # @option opts [Integer] :offset The initial index from which to return the results.
230
230
  # @option opts [Array<String>] :ordering Ordering
231
231
  # @option opts [String] :pulp_label_select Filter labels by search string
232
+ # @option opts [String] :repository Filter results where repository matches value
233
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
232
234
  # @option opts [String] :with_content Filter distributions based on the content served by them
233
235
  # @option opts [Array<String>] :fields A list of fields to include in the response.
234
236
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -254,6 +256,8 @@ module PulpRpmClient
254
256
  # @option opts [Integer] :offset The initial index from which to return the results.
255
257
  # @option opts [Array<String>] :ordering Ordering
256
258
  # @option opts [String] :pulp_label_select Filter labels by search string
259
+ # @option opts [String] :repository Filter results where repository matches value
260
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
257
261
  # @option opts [String] :with_content Filter distributions based on the content served by them
258
262
  # @option opts [Array<String>] :fields A list of fields to include in the response.
259
263
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -284,6 +288,8 @@ module PulpRpmClient
284
288
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
285
289
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
286
290
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
291
+ query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
292
+ query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
287
293
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
288
294
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
289
295
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
@@ -226,6 +226,14 @@ module PulpRpmClient
226
226
  # @option opts [Array<String>] :ordering Ordering
227
227
  # @option opts [String] :pulp_label_select Filter labels by search string
228
228
  # @option opts [String] :remote Foreign Key referenced by HREF
229
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
230
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
231
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
232
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
233
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
234
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
235
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
236
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
229
237
  # @option opts [Array<String>] :fields A list of fields to include in the response.
230
238
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
231
239
  # @return [PaginatedrpmRpmRepositoryResponseList]
@@ -247,6 +255,14 @@ module PulpRpmClient
247
255
  # @option opts [Array<String>] :ordering Ordering
248
256
  # @option opts [String] :pulp_label_select Filter labels by search string
249
257
  # @option opts [String] :remote Foreign Key referenced by HREF
258
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
259
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
260
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
261
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
262
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
263
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
264
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
265
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
250
266
  # @option opts [Array<String>] :fields A list of fields to include in the response.
251
267
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
252
268
  # @return [Array<(PaginatedrpmRpmRepositoryResponseList, Integer, Hash)>] PaginatedrpmRpmRepositoryResponseList data, response status code and response headers
@@ -273,6 +289,14 @@ module PulpRpmClient
273
289
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
274
290
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
275
291
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
292
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
293
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
294
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
295
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
296
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
297
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
298
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
299
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
276
300
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
277
301
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
278
302
 
@@ -85,6 +85,10 @@ module PulpRpmClient
85
85
  invalid_properties.push('invalid value for "role", role cannot be nil.')
86
86
  end
87
87
 
88
+ if @role.to_s.length < 1
89
+ invalid_properties.push('invalid value for "role", the character length must be great than or equal to 1.')
90
+ end
91
+
88
92
  invalid_properties
89
93
  end
90
94
 
@@ -92,9 +96,24 @@ module PulpRpmClient
92
96
  # @return true if the model is valid
93
97
  def valid?
94
98
  return false if @role.nil?
99
+ return false if @role.to_s.length < 1
95
100
  true
96
101
  end
97
102
 
103
+ # Custom attribute writer method with validation
104
+ # @param [Object] role Value to be assigned
105
+ def role=(role)
106
+ if role.nil?
107
+ fail ArgumentError, 'role cannot be nil'
108
+ end
109
+
110
+ if role.to_s.length < 1
111
+ fail ArgumentError, 'invalid value for "role", the character length must be great than or equal to 1.'
112
+ end
113
+
114
+ @role = role
115
+ end
116
+
98
117
  # Checks equality by comparing each attribute.
99
118
  # @param [Object] Object to be compared
100
119
  def ==(o)
@@ -23,7 +23,7 @@ module PulpRpmClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
26
+ # Retain X versions of the repository. Default is null which retains all versions.
27
27
  attr_accessor :retain_repo_versions
28
28
 
29
29
  # An optional remote to use by default when syncing.
@@ -36,8 +36,8 @@ module PulpRpmClient
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'add_content_units' => :'Array<AnyType>',
40
- :'remove_content_units' => :'Array<AnyType>',
39
+ :'add_content_units' => :'Array<String>',
40
+ :'remove_content_units' => :'Array<String>',
41
41
  :'base_version' => :'String'
42
42
  }
43
43
  end
@@ -23,7 +23,7 @@ module PulpRpmClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
26
+ # Retain X versions of the repository. Default is null which retains all versions.
27
27
  attr_accessor :retain_repo_versions
28
28
 
29
29
  # An optional remote to use by default when syncing.
@@ -32,7 +32,7 @@ module PulpRpmClient
32
32
  # An optional description.
33
33
  attr_accessor :description
34
34
 
35
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
35
+ # Retain X versions of the repository. Default is null which retains all versions.
36
36
  attr_accessor :retain_repo_versions
37
37
 
38
38
  # An optional remote to use by default when syncing.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.19.0'
14
+ VERSION = '3.19.2'
15
15
  end
@@ -48,6 +48,10 @@ describe 'ContentModulemdsApi' do
48
48
  # List modulemds
49
49
  # ViewSet for Modulemd.
50
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :arch Filter results where arch matches value
52
+ # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
53
+ # @option opts [String] :context Filter results where context matches value
54
+ # @option opts [Array<String>] :context__in Filter results where context is in a comma-separated list of values
51
55
  # @option opts [Integer] :limit Number of results to return per page.
52
56
  # @option opts [String] :name Filter results where name matches value
53
57
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -59,6 +63,8 @@ describe 'ContentModulemdsApi' do
59
63
  # @option opts [String] :sha256
60
64
  # @option opts [String] :stream Filter results where stream matches value
61
65
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
66
+ # @option opts [String] :version Filter results where version matches value
67
+ # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
62
68
  # @option opts [Array<String>] :fields A list of fields to include in the response.
63
69
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
70
  # @return [PaginatedrpmModulemdResponseList]
@@ -85,6 +85,8 @@ describe 'DistributionsRpmApi' do
85
85
  # @option opts [Integer] :offset The initial index from which to return the results.
86
86
  # @option opts [Array<String>] :ordering Ordering
87
87
  # @option opts [String] :pulp_label_select Filter labels by search string
88
+ # @option opts [String] :repository Filter results where repository matches value
89
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
88
90
  # @option opts [String] :with_content Filter distributions based on the content served by them
89
91
  # @option opts [Array<String>] :fields A list of fields to include in the response.
90
92
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -82,6 +82,14 @@ describe 'RepositoriesRpmApi' do
82
82
  # @option opts [Array<String>] :ordering Ordering
83
83
  # @option opts [String] :pulp_label_select Filter labels by search string
84
84
  # @option opts [String] :remote Foreign Key referenced by HREF
85
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
86
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
87
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
88
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
89
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
90
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
91
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
92
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
85
93
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
94
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
95
  # @return [PaginatedrpmRpmRepositoryResponseList]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.19.0
4
+ version: 3.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -404,103 +404,103 @@ signing_key:
404
404
  specification_version: 4
405
405
  summary: Pulp 3 API Ruby Gem
406
406
  test_files:
407
- - spec/api/repositories_rpm_versions_api_spec.rb
408
- - spec/api/rpm_copy_api_spec.rb
409
- - spec/api/remotes_rpm_api_spec.rb
410
- - spec/api/publications_rpm_api_spec.rb
411
- - spec/api/content_distribution_trees_api_spec.rb
412
- - spec/api/content_advisories_api_spec.rb
413
- - spec/api/content_packagegroups_api_spec.rb
414
407
  - spec/api/content_modulemds_api_spec.rb
408
+ - spec/api/content_packagelangpacks_api_spec.rb
409
+ - spec/api/content_repo_metadata_files_api_spec.rb
410
+ - spec/api/content_packagegroups_api_spec.rb
411
+ - spec/api/publications_rpm_api_spec.rb
412
+ - spec/api/content_packages_api_spec.rb
413
+ - spec/api/distributions_rpm_api_spec.rb
414
+ - spec/api/repositories_rpm_versions_api_spec.rb
415
415
  - spec/api/content_packagecategories_api_spec.rb
416
416
  - spec/api/rpm_comps_api_spec.rb
417
+ - spec/api/content_distribution_trees_api_spec.rb
417
418
  - spec/api/acs_rpm_api_spec.rb
418
- - spec/api/content_modulemd_obsoletes_api_spec.rb
419
- - spec/api/content_packagelangpacks_api_spec.rb
419
+ - spec/api/repositories_rpm_api_spec.rb
420
420
  - spec/api/content_modulemd_defaults_api_spec.rb
421
- - spec/api/content_packages_api_spec.rb
422
- - spec/api/content_repo_metadata_files_api_spec.rb
421
+ - spec/api/content_advisories_api_spec.rb
422
+ - spec/api/remotes_rpm_api_spec.rb
423
+ - spec/api/rpm_copy_api_spec.rb
424
+ - spec/api/content_modulemd_obsoletes_api_spec.rb
423
425
  - spec/api/remotes_uln_api_spec.rb
424
- - spec/api/distributions_rpm_api_spec.rb
425
- - spec/api/repositories_rpm_api_spec.rb
426
426
  - spec/api/content_packageenvironments_api_spec.rb
427
427
  - spec/api_client_spec.rb
428
428
  - spec/configuration_spec.rb
429
- - spec/models/metadata_checksum_type_enum_spec.rb
430
- - spec/models/rpm_rpm_repository_response_spec.rb
431
- - spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
429
+ - spec/models/image_response_spec.rb
430
+ - spec/models/repository_version_response_spec.rb
431
+ - spec/models/rpm_repo_metadata_file_response_spec.rb
432
+ - spec/models/my_permissions_response_spec.rb
433
+ - spec/models/rpm_modulemd_spec.rb
432
434
  - spec/models/skip_types_enum_spec.rb
433
- - spec/models/rpm_rpm_repository_spec.rb
434
- - spec/models/rpm_update_record_response_spec.rb
435
- - spec/models/nested_role_response_spec.rb
436
- - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
437
- - spec/models/rpm_modulemd_defaults_spec.rb
438
- - spec/models/paginated_repository_version_response_list_spec.rb
439
- - spec/models/rpm_package_category_response_spec.rb
440
- - spec/models/artifact_response_spec.rb
441
- - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
442
- - spec/models/rpm_uln_remote_response_spec.rb
443
- - spec/models/rpm_modulemd_response_spec.rb
444
435
  - spec/models/rpm_package_langpacks_response_spec.rb
445
- - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
446
- - spec/models/addon_response_spec.rb
447
- - spec/models/sync_policy_enum_spec.rb
448
436
  - spec/models/rpm_rpm_publication_spec.rb
449
- - spec/models/rpm_modulemd_obsolete_response_spec.rb
450
- - spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
451
- - spec/models/paginatedrpm_update_record_response_list_spec.rb
452
- - spec/models/rpm_rpm_alternate_content_source_response_spec.rb
437
+ - spec/models/rpm_package_category_response_spec.rb
438
+ - spec/models/rpm_repository_sync_url_spec.rb
439
+ - spec/models/nested_role_spec.rb
440
+ - spec/models/rpm_modulemd_defaults_spec.rb
453
441
  - spec/models/patchedrpm_uln_remote_spec.rb
454
- - spec/models/rpm_rpm_remote_response_spec.rb
455
- - spec/models/rpm_uln_remote_spec.rb
456
- - spec/models/repair_spec.rb
457
442
  - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
458
- - spec/models/paginatedrpm_package_response_list_spec.rb
443
+ - spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
444
+ - spec/models/metadata_checksum_type_enum_spec.rb
445
+ - spec/models/rpm_modulemd_response_spec.rb
459
446
  - spec/models/package_checksum_type_enum_spec.rb
460
- - spec/models/rpm_package_response_spec.rb
447
+ - spec/models/rpm_update_collection_spec.rb
448
+ - spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb
449
+ - spec/models/rpm_distribution_tree_response_spec.rb
450
+ - spec/models/patchedrpm_rpm_remote_spec.rb
451
+ - spec/models/rpm_rpm_alternate_content_source_spec.rb
461
452
  - spec/models/repository_add_remove_content_spec.rb
462
- - spec/models/repository_version_response_spec.rb
463
- - spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
464
- - spec/models/paginatedrpm_package_category_response_list_spec.rb
465
- - spec/models/rpm_repository_sync_url_spec.rb
466
- - spec/models/rpm_rpm_publication_response_spec.rb
467
453
  - spec/models/paginatedrpm_package_group_response_list_spec.rb
454
+ - spec/models/rpm_modulemd_obsolete_response_spec.rb
455
+ - spec/models/rpm_rpm_repository_response_spec.rb
456
+ - spec/models/sync_policy_enum_spec.rb
457
+ - spec/models/repair_spec.rb
458
+ - spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
459
+ - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
468
460
  - spec/models/rpm_modulemd_defaults_response_spec.rb
469
- - spec/models/variant_response_spec.rb
461
+ - spec/models/rpm_rpm_repository_spec.rb
462
+ - spec/models/rpm_uln_remote_response_spec.rb
463
+ - spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
464
+ - spec/models/rpm_modulemd_obsolete_spec.rb
470
465
  - spec/models/async_operation_response_spec.rb
471
- - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
472
- - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
473
- - spec/models/rpm_package_environment_response_spec.rb
474
- - spec/models/content_summary_response_spec.rb
475
- - spec/models/rpm_modulemd_spec.rb
476
- - spec/models/my_permissions_response_spec.rb
477
- - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
478
- - spec/models/rpm_package_spec.rb
479
- - spec/models/policy_enum_spec.rb
480
- - spec/models/rpm_rpm_distribution_spec.rb
466
+ - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
467
+ - spec/models/checksum_response_spec.rb
468
+ - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
481
469
  - spec/models/rpm_update_collection_response_spec.rb
482
- - spec/models/rpm_rpm_remote_spec.rb
470
+ - spec/models/rpm_package_spec.rb
471
+ - spec/models/rpm_rpm_remote_response_spec.rb
472
+ - spec/models/addon_response_spec.rb
483
473
  - spec/models/rpm_rpm_distribution_response_spec.rb
484
- - spec/models/rpm_modulemd_obsolete_spec.rb
485
- - spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb
486
- - spec/models/task_group_operation_response_spec.rb
487
- - spec/models/patchedrpm_rpm_repository_spec.rb
488
474
  - spec/models/object_roles_response_spec.rb
489
- - spec/models/patchedrpm_rpm_distribution_spec.rb
490
- - spec/models/copy_spec.rb
491
- - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
492
- - spec/models/patchedrpm_rpm_remote_spec.rb
493
- - spec/models/rpm_repo_metadata_file_response_spec.rb
475
+ - spec/models/rpm_uln_remote_spec.rb
476
+ - spec/models/paginatedrpm_package_response_list_spec.rb
477
+ - spec/models/policy_enum_spec.rb
478
+ - spec/models/paginatedrpm_package_category_response_list_spec.rb
479
+ - spec/models/variant_response_spec.rb
480
+ - spec/models/rpm_rpm_publication_response_spec.rb
481
+ - spec/models/rpm_rpm_remote_spec.rb
482
+ - spec/models/content_summary_response_spec.rb
483
+ - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
484
+ - spec/models/rpm_package_environment_response_spec.rb
494
485
  - spec/models/comps_xml_spec.rb
495
- - spec/models/rpm_package_group_response_spec.rb
496
- - spec/models/nested_role_spec.rb
497
- - spec/models/rpm_update_collection_spec.rb
498
- - spec/models/paginatedrpm_package_environment_response_list_spec.rb
486
+ - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
487
+ - spec/models/artifact_response_spec.rb
499
488
  - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
500
- - spec/models/paginatedrpm_modulemd_response_list_spec.rb
501
- - spec/models/rpm_rpm_alternate_content_source_spec.rb
502
- - spec/models/image_response_spec.rb
503
- - spec/models/checksum_response_spec.rb
504
- - spec/models/rpm_distribution_tree_response_spec.rb
489
+ - spec/models/rpm_rpm_distribution_spec.rb
490
+ - spec/models/paginatedrpm_package_environment_response_list_spec.rb
505
491
  - spec/models/rpm_update_record_spec.rb
492
+ - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
493
+ - spec/models/task_group_operation_response_spec.rb
494
+ - spec/models/nested_role_response_spec.rb
495
+ - spec/models/paginatedrpm_modulemd_response_list_spec.rb
496
+ - spec/models/patchedrpm_rpm_distribution_spec.rb
497
+ - spec/models/rpm_package_response_spec.rb
498
+ - spec/models/paginated_repository_version_response_list_spec.rb
499
+ - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
500
+ - spec/models/paginatedrpm_update_record_response_list_spec.rb
501
+ - spec/models/patchedrpm_rpm_repository_spec.rb
502
+ - spec/models/rpm_update_record_response_spec.rb
503
+ - spec/models/rpm_package_group_response_spec.rb
504
+ - spec/models/copy_spec.rb
505
+ - spec/models/rpm_rpm_alternate_content_source_response_spec.rb
506
506
  - spec/spec_helper.rb