pulp_rpm_client 3.19.1 → 3.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentModulemdsApi.md +12 -0
- data/docs/DistributionsRpmApi.md +4 -0
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/RepositoriesRpmApi.md +16 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +18 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +6 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +24 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +19 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +6 -0
- data/spec/api/distributions_rpm_api_spec.rb +2 -0
- data/spec/api/repositories_rpm_api_spec.rb +8 -0
- metadata +76 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd03b4a23fd45f544e518ec5604e56fe446c08478a88994360a6b2554db4af3a
|
4
|
+
data.tar.gz: 35e27dece9d29f45f8ba6b7ddc0b124dc757d8f15e43f07998df7500b13ff78f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f886f311628f90e70a22399e08805d1ff87035c19e0f9ca3e01e3d56539bf9e95ac0d8bb1463a809e903bdb50c109b29397b8d26c45cc5fcdc32249926656d1
|
7
|
+
data.tar.gz: b4019480aa9f360d002e544923e95bdc8788496ecfb96296927f9ed22bc0093fda1c62d0ed624aef33a0eb52a9fef70f0a0c47333865316e9582d6907ea72d75
|
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.
|
10
|
+
- Package version: 3.19.3
|
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.
|
27
|
+
gem install ./pulp_rpm_client-3.19.3.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.19.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.19.3.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.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.19.3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ContentModulemdsApi.md
CHANGED
@@ -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<String>**](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<String>**](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<String>**](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<String>**](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<String>**](String.md)| Filter results where version is in a comma-separated list of values | [optional]
|
128
140
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
129
141
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
130
142
|
|
data/docs/DistributionsRpmApi.md
CHANGED
@@ -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<String>**](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<String>**](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<String>**](String.md)| A list of fields to include in the response. | [optional]
|
249
253
|
**exclude_fields** | [**Array<String>**](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<String, String>** | | [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.
|
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]
|
data/docs/RepositoriesRpmApi.md
CHANGED
@@ -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<String>**](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<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
242
258
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
243
259
|
**exclude_fields** | [**Array<String>**](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** |
|
8
|
-
**remove_content_units** |
|
7
|
+
**add_content_units** | **Array<String>** | 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<String>** | A list of content units to remove from the latest repository version. You may also specify '*' 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
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [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.
|
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.
|
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.
|
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<
|
40
|
-
:'remove_content_units' => :'Array<
|
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.
|
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.
|
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.
|
@@ -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.
|
4
|
+
version: 3.19.3
|
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-03-
|
11
|
+
date: 2023-03-29 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/remotes_rpm_api_spec.rb
|
408
|
-
- spec/api/acs_rpm_api_spec.rb
|
409
|
-
- spec/api/content_packageenvironments_api_spec.rb
|
410
|
-
- spec/api/content_packages_api_spec.rb
|
411
|
-
- spec/api/content_modulemd_obsoletes_api_spec.rb
|
412
|
-
- spec/api/rpm_copy_api_spec.rb
|
413
|
-
- spec/api/content_packagelangpacks_api_spec.rb
|
414
|
-
- spec/api/rpm_comps_api_spec.rb
|
415
407
|
- spec/api/content_modulemds_api_spec.rb
|
416
|
-
- spec/api/
|
417
|
-
- spec/api/
|
408
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
409
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
418
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
|
419
414
|
- spec/api/repositories_rpm_versions_api_spec.rb
|
420
|
-
- spec/api/content_advisories_api_spec.rb
|
421
415
|
- spec/api/content_packagecategories_api_spec.rb
|
416
|
+
- spec/api/rpm_comps_api_spec.rb
|
417
|
+
- spec/api/content_distribution_trees_api_spec.rb
|
418
|
+
- spec/api/acs_rpm_api_spec.rb
|
422
419
|
- spec/api/repositories_rpm_api_spec.rb
|
423
420
|
- spec/api/content_modulemd_defaults_api_spec.rb
|
424
|
-
- spec/api/
|
425
|
-
- spec/api/
|
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
|
426
425
|
- spec/api/remotes_uln_api_spec.rb
|
426
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
427
427
|
- spec/api_client_spec.rb
|
428
428
|
- spec/configuration_spec.rb
|
429
|
-
- spec/models/
|
430
|
-
- spec/models/
|
431
|
-
- spec/models/
|
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
|
432
433
|
- spec/models/rpm_modulemd_spec.rb
|
433
|
-
- spec/models/
|
434
|
-
- spec/models/
|
435
|
-
- spec/models/
|
436
|
-
- spec/models/package_checksum_type_enum_spec.rb
|
437
|
-
- spec/models/rpm_uln_remote_response_spec.rb
|
438
|
-
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
439
|
-
- spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
|
440
|
-
- spec/models/paginatedrpm_package_response_list_spec.rb
|
434
|
+
- spec/models/skip_types_enum_spec.rb
|
435
|
+
- spec/models/rpm_package_langpacks_response_spec.rb
|
436
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
441
437
|
- spec/models/rpm_package_category_response_spec.rb
|
442
|
-
- spec/models/
|
443
|
-
- spec/models/variant_response_spec.rb
|
444
|
-
- spec/models/copy_spec.rb
|
445
|
-
- spec/models/rpm_rpm_remote_response_spec.rb
|
446
|
-
- spec/models/policy_enum_spec.rb
|
447
|
-
- spec/models/rpm_update_record_spec.rb
|
448
|
-
- spec/models/rpm_rpm_distribution_spec.rb
|
438
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
449
439
|
- spec/models/nested_role_spec.rb
|
450
|
-
- spec/models/
|
451
|
-
- spec/models/
|
452
|
-
- spec/models/
|
453
|
-
- spec/models/
|
454
|
-
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
455
|
-
- spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb
|
440
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
441
|
+
- spec/models/patchedrpm_uln_remote_spec.rb
|
442
|
+
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
443
|
+
- spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
|
456
444
|
- spec/models/metadata_checksum_type_enum_spec.rb
|
457
|
-
- spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
|
458
|
-
- spec/models/rpm_rpm_repository_response_spec.rb
|
459
|
-
- spec/models/addon_response_spec.rb
|
460
|
-
- spec/models/repository_add_remove_content_spec.rb
|
461
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
462
445
|
- spec/models/rpm_modulemd_response_spec.rb
|
463
|
-
- spec/models/
|
446
|
+
- spec/models/package_checksum_type_enum_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
|
464
450
|
- spec/models/patchedrpm_rpm_remote_spec.rb
|
465
451
|
- spec/models/rpm_rpm_alternate_content_source_spec.rb
|
452
|
+
- spec/models/repository_add_remove_content_spec.rb
|
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
|
466
459
|
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
467
|
-
- spec/models/
|
460
|
+
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
468
461
|
- spec/models/rpm_rpm_repository_spec.rb
|
469
|
-
- spec/models/
|
470
|
-
- spec/models/
|
471
|
-
- spec/models/
|
472
|
-
- spec/models/rpm_distribution_tree_response_spec.rb
|
473
|
-
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
474
|
-
- spec/models/rpm_rpm_publication_spec.rb
|
475
|
-
- spec/models/rpm_update_record_response_spec.rb
|
476
|
-
- spec/models/sync_policy_enum_spec.rb
|
477
|
-
- spec/models/rpm_package_langpacks_response_spec.rb
|
478
|
-
- spec/models/artifact_response_spec.rb
|
479
|
-
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
480
|
-
- spec/models/rpm_rpm_remote_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
|
481
465
|
- spec/models/async_operation_response_spec.rb
|
482
|
-
- spec/models/
|
483
|
-
- spec/models/
|
484
|
-
- spec/models/
|
485
|
-
- spec/models/rpm_package_group_response_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
|
486
469
|
- spec/models/rpm_update_collection_response_spec.rb
|
487
|
-
- spec/models/
|
488
|
-
- spec/models/
|
489
|
-
- spec/models/
|
490
|
-
- spec/models/
|
470
|
+
- spec/models/rpm_package_spec.rb
|
471
|
+
- spec/models/rpm_rpm_remote_response_spec.rb
|
472
|
+
- spec/models/addon_response_spec.rb
|
473
|
+
- spec/models/rpm_rpm_distribution_response_spec.rb
|
474
|
+
- spec/models/object_roles_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
|
491
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
|
492
484
|
- spec/models/rpm_package_environment_response_spec.rb
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/
|
485
|
+
- spec/models/comps_xml_spec.rb
|
486
|
+
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
487
|
+
- spec/models/artifact_response_spec.rb
|
488
|
+
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
489
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
490
|
+
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
491
|
+
- spec/models/rpm_update_record_spec.rb
|
495
492
|
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
496
|
-
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
497
493
|
- spec/models/task_group_operation_response_spec.rb
|
498
|
-
- spec/models/
|
499
|
-
- spec/models/
|
500
|
-
- spec/models/
|
501
|
-
- spec/models/rpm_rpm_distribution_response_spec.rb
|
502
|
-
- spec/models/checksum_response_spec.rb
|
503
|
-
- spec/models/paginatedrpm_package_category_response_list_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
|
504
497
|
- spec/models/rpm_package_response_spec.rb
|
505
|
-
- spec/models/
|
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
|